From be14a313b881a66012b899e552a25c1c8d3a1fa5 Mon Sep 17 00:00:00 2001 From: Fred Atherden <43879983+fred-atherden@users.noreply.github.com> Date: Tue, 4 Feb 2025 10:19:24 +0000 Subject: [PATCH] RP XSL - catch further cases --- src/preprint-changes.xsl | 8 ++++---- .../preprint-changes/bold-follow-xref-cleanup/input.xml | 5 +++++ .../preprint-changes/bold-follow-xref-cleanup/output.xml | 5 +++++ test/tests/preprint-changes/fix-truncated-xrefs/input.xml | 5 +++++ .../tests/preprint-changes/fix-truncated-xrefs/output.xml | 5 +++++ 5 files changed, 24 insertions(+), 4 deletions(-) diff --git a/src/preprint-changes.xsl b/src/preprint-changes.xsl index 91f81d1ef9..01dc684a34 100644 --- a/src/preprint-changes.xsl +++ b/src/preprint-changes.xsl @@ -1382,7 +1382,7 @@ - + @@ -1401,6 +1401,9 @@ + + + @@ -1412,9 +1415,6 @@ - - - diff --git a/test/tests/preprint-changes/bold-follow-xref-cleanup/input.xml b/test/tests/preprint-changes/bold-follow-xref-cleanup/input.xml index 00bbfd39cf..9758354d03 100644 --- a/test/tests/preprint-changes/bold-follow-xref-cleanup/input.xml +++ b/test/tests/preprint-changes/bold-follow-xref-cleanup/input.xml @@ -3,4 +3,9 @@

something Figure 1, bottom panel) something

something Figure 1; and Figure 2, bottom panel) something

something Table 1, middle and lower;. Something

+

Fig. 1Bc i,

+

Fig5 E,F).

+

Figure 4—figure supplement S4C and D

+

Figure 1A&C

+

Fig. 3e- f

\ No newline at end of file diff --git a/test/tests/preprint-changes/bold-follow-xref-cleanup/output.xml b/test/tests/preprint-changes/bold-follow-xref-cleanup/output.xml index a09937eaf2..272138e70d 100644 --- a/test/tests/preprint-changes/bold-follow-xref-cleanup/output.xml +++ b/test/tests/preprint-changes/bold-follow-xref-cleanup/output.xml @@ -3,4 +3,9 @@

something Figure 1, bottom panel) something

something Figure 1; and Figure 2, bottom panel) something

something Table 1, middle and lower;. Something

+

Fig. 1Bc i,

+

Fig5 E,F).

+

Figure 4—figure supplement S4C and D

+

Figure 1A&C

+

Fig. 3e- f

\ No newline at end of file diff --git a/test/tests/preprint-changes/fix-truncated-xrefs/input.xml b/test/tests/preprint-changes/fix-truncated-xrefs/input.xml index 1ef51ad707..7cf7484f90 100644 --- a/test/tests/preprint-changes/fix-truncated-xrefs/input.xml +++ b/test/tests/preprint-changes/fix-truncated-xrefs/input.xml @@ -3,4 +3,9 @@

something Figure 1, bottom panel) something

something Figure 1; and Figure 2, bottom panel) something

something Table 1, middle and lower;. Something

+

Fig. 1Bc i,

+

Fig5 E,F).

+

Figure 4—figure supplement S4C and D

+

Figure 1A&C

+

Fig. 3e- f

\ No newline at end of file diff --git a/test/tests/preprint-changes/fix-truncated-xrefs/output.xml b/test/tests/preprint-changes/fix-truncated-xrefs/output.xml index 8bf03f2036..673c1ab137 100644 --- a/test/tests/preprint-changes/fix-truncated-xrefs/output.xml +++ b/test/tests/preprint-changes/fix-truncated-xrefs/output.xml @@ -3,4 +3,9 @@

something Figure 1, bottom panel) something

something Figure 1; and Figure 2, bottom panel) something

something Table 1, middle and lower;. Something

+

Fig. 1Bc i,

+

Fig5 E,F).

+

Figure 4—figure supplement S4C and D

+

Figure 1A&C

+

Fig. 3e- f

\ No newline at end of file