Skip to content

Commit fc680c5

Browse files
committed
Update test cases where ltx:graphics options are now more cleanly formatted
1 parent 22154a6 commit fc680c5

File tree

3 files changed

+358
-358
lines changed

3 files changed

+358
-358
lines changed

t/complex/figure_dual_caption.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
<tag role="typerefnum">Figure 2</tag>
1313
</tags>
1414
<figure align="center" class="ltx_figure_panel ltx_minipage" vattach="middle" width="172.5pt" xml:id="S0.F2.fig1">
15-
<graphics candidates="../graphics/none.png" class="ltx_centering" graphic="../graphics/none.png" options="width=411.93767pt,keepaspectratio=true" xml:id="S0.F2.g1"/>
15+
<graphics candidates="../graphics/none.png" class="ltx_centering" graphic="../graphics/none.png" options="width=411.9pt,keepaspectratio=true" xml:id="S0.F2.g1"/>
1616
<toccaption class="ltx_centering"><tag close=" ">1</tag>Left figure.</toccaption>
1717
<caption class="ltx_centering"><tag close=": ">Figure 1</tag>Left figure.</caption>
1818
</figure>
1919
<figure align="center" class="ltx_figure_panel ltx_minipage" vattach="middle" width="172.5pt" xml:id="S0.F2.fig2">
20-
<graphics candidates="../graphics/none.png" class="ltx_centering" graphic="../graphics/none.png" options="width=411.93767pt,keepaspectratio=true" xml:id="S0.F2.g2"/>
20+
<graphics candidates="../graphics/none.png" class="ltx_centering" graphic="../graphics/none.png" options="width=411.9pt,keepaspectratio=true" xml:id="S0.F2.g2"/>
2121
<toccaption class="ltx_centering"><tag close=" ">2</tag>Right figure.</toccaption>
2222
<caption class="ltx_centering"><tag close=": ">Figure 2</tag>Right figure.</caption>
2323
</figure>

t/complex/figure_mixed_content.xml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
<tag><text fontsize="90%">(a)</text></tag>
8080
<tag role="refnum">1(a)</tag>
8181
</tags>
82-
<graphics candidates="../graphics/none.png" graphic="../graphics/none.png" options="width=85.35826pt,keepaspectratio=true" xml:id="S0.F1.sf1.g1"/>
82+
<graphics candidates="../graphics/none.png" graphic="../graphics/none.png" options="width=85.4pt,keepaspectratio=true" xml:id="S0.F1.sf1.g1"/>
8383
<toccaption><tag close=" ">(a)</tag></toccaption>
8484
<caption><tag close=" "><text fontsize="90%">(a)</text></tag></caption>
8585
</figure>
@@ -89,7 +89,7 @@
8989
<tag><text fontsize="90%">(b)</text></tag>
9090
<tag role="refnum">1(b)</tag>
9191
</tags>
92-
<graphics candidates="../graphics/none.png" graphic="../graphics/none.png" options="width=85.35826pt,keepaspectratio=true" xml:id="S0.F1.sf2.g1"/>
92+
<graphics candidates="../graphics/none.png" graphic="../graphics/none.png" options="width=85.4pt,keepaspectratio=true" xml:id="S0.F1.sf2.g1"/>
9393
<toccaption><tag close=" ">(b)</tag></toccaption>
9494
<caption><tag close=" "><text fontsize="90%">(b)</text></tag></caption>
9595
</figure>
@@ -159,10 +159,10 @@
159159
<tag role="typerefnum">Figure 3</tag>
160160
</tags>
161161
<block class="ltx_figure_panel ltx_minipage" vattach="top" width="138.0pt">
162-
<graphics candidates="../graphics/none.png" graphic="../graphics/none.png" options="width=55.1983pt,keepaspectratio=true" xml:id="S0.F3.g1"/>
162+
<graphics candidates="../graphics/none.png" graphic="../graphics/none.png" options="width=55.2pt,keepaspectratio=true" xml:id="S0.F3.g1"/>
163163
</block>
164164
<block class="ltx_figure_panel ltx_minipage" vattach="top" width="138.0pt">
165-
<graphics candidates="../graphics/none.png" graphic="../graphics/none.png" options="width=55.1983pt,keepaspectratio=true" xml:id="S0.F3.g2"/>
165+
<graphics candidates="../graphics/none.png" graphic="../graphics/none.png" options="width=55.2pt,keepaspectratio=true" xml:id="S0.F3.g2"/>
166166
</block>
167167
<break/>
168168
<itemize class="ltx_centering ltx_figure_panel" xml:id="S0.I1">
@@ -407,8 +407,8 @@
407407
<tag role="refnum">5</tag>
408408
<tag role="typerefnum">Figure 5</tag>
409409
</tags>
410-
<graphics candidates="../graphics/none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=113.85063pt,keepaspectratio=true" xml:id="S0.F5.g1"/>
411-
<graphics candidates="../graphics/none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=113.85063pt,keepaspectratio=true" xml:id="S0.F5.g2"/>
410+
<graphics candidates="../graphics/none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=113.9pt,keepaspectratio=true" xml:id="S0.F5.g1"/>
411+
<graphics candidates="../graphics/none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=113.9pt,keepaspectratio=true" xml:id="S0.F5.g2"/>
412412
<break class="ltx_break"/>
413413
<p class="ltx_figure_panel">.</p>
414414
<toccaption><tag close=" ">5</tag>Caption</toccaption>
@@ -425,13 +425,13 @@
425425
<tag role="refnum">6</tag>
426426
<tag role="typerefnum">Figure 6</tag>
427427
</tags>
428-
<graphics candidates="../graphics/none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=113.85063pt,keepaspectratio=true" xml:id="S0.F6.g1"/>
429-
<graphics candidates="../graphics/none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=113.85063pt,keepaspectratio=true" xml:id="S0.F6.g2"/>
428+
<graphics candidates="../graphics/none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=113.9pt,keepaspectratio=true" xml:id="S0.F6.g1"/>
429+
<graphics candidates="../graphics/none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=113.9pt,keepaspectratio=true" xml:id="S0.F6.g2"/>
430430
<break/>
431431
<toccaption><tag close=" ">6</tag>mid-fig caption</toccaption>
432432
<caption><tag close=": "><text fontsize="90%">Figure 6</text></tag><text fontsize="90%">mid-fig caption</text></caption>
433-
<graphics candidates="../graphics/none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=113.85063pt,keepaspectratio=true" xml:id="S0.F6.g3"/>
434-
<graphics candidates="../graphics/none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=113.85063pt,keepaspectratio=true" xml:id="S0.F6.g4"/>
433+
<graphics candidates="../graphics/none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=113.9pt,keepaspectratio=true" xml:id="S0.F6.g3"/>
434+
<graphics candidates="../graphics/none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=113.9pt,keepaspectratio=true" xml:id="S0.F6.g4"/>
435435
</figure>
436436
<pagination role="newpage"/>
437437
<figure inlist="lof" xml:id="S0.F9">
@@ -442,13 +442,13 @@
442442
</tags>
443443
<toccaption><tag close=" ">7</tag>leading caption</toccaption>
444444
<caption><tag close=": "><text fontsize="90%">Figure 7</text></tag><text fontsize="90%">leading caption</text></caption>
445-
<graphics candidates="../graphics/none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=113.85063pt,keepaspectratio=true" xml:id="S0.F9.g1"/>
446-
<graphics candidates="../graphics/none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=113.85063pt,keepaspectratio=true" xml:id="S0.F9.g2"/>
445+
<graphics candidates="../graphics/none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=113.9pt,keepaspectratio=true" xml:id="S0.F9.g1"/>
446+
<graphics candidates="../graphics/none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=113.9pt,keepaspectratio=true" xml:id="S0.F9.g2"/>
447447
<break/>
448448
<toccaption><tag close=" ">8</tag>mid-fig caption</toccaption>
449449
<caption><tag close=": "><text fontsize="90%">Figure 8</text></tag><text fontsize="90%">mid-fig caption</text></caption>
450-
<graphics candidates="../graphics/none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=113.85063pt,keepaspectratio=true" xml:id="S0.F9.g3"/>
451-
<graphics candidates="../graphics/none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=113.85063pt,keepaspectratio=true" xml:id="S0.F9.g4"/>
450+
<graphics candidates="../graphics/none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=113.9pt,keepaspectratio=true" xml:id="S0.F9.g3"/>
451+
<graphics candidates="../graphics/none.png" class="ltx_figure_panel" graphic="../graphics/none.png" options="width=113.9pt,keepaspectratio=true" xml:id="S0.F9.g4"/>
452452
<toccaption><tag close=" ">9</tag>trailing caption</toccaption>
453453
<caption><tag close=": "><text fontsize="90%">Figure 9</text></tag><text fontsize="90%">trailing caption</text></caption>
454454
</figure>

0 commit comments

Comments
 (0)