From 5ed8f515a9eb2f772cfbb96035c45ea77c2c70f2 Mon Sep 17 00:00:00 2001 From: Bastien Dumont Date: Wed, 29 May 2024 15:14:44 +0200 Subject: [PATCH] =?UTF-8?q?Mettre=20=C3=A0=20jour=20le=20test=20LaTeX=20ve?= =?UTF-8?q?rs=20Pandoc=203.1.7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- text-crossrefs/test/sample-latex.native | 31 +++++++++++-------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/text-crossrefs/test/sample-latex.native b/text-crossrefs/test/sample-latex.native index 7cfcb88..87152c2 100644 --- a/text-crossrefs/test/sample-latex.native +++ b/text-crossrefs/test/sample-latex.native @@ -22,7 +22,7 @@ , Space , Str "published" , Space - , RawInline (Format "latex") "\\label{publication}" + , Str "" , Span ( "publication" , [] , [] ) [ Emph [ Str "L\8217Affaire" , Space , Str "Lerouge" ] @@ -43,7 +43,7 @@ , Space , Str "very" , Space - , RawInline (Format "latex") "\\label{my-evaluation}" + , Str "" , Span ( "my-evaluation" , [] , [] ) [ Str "fine" @@ -60,7 +60,7 @@ , RawInline (Format "latex") "" ] , Para - [ RawInline (Format "latex") "\\label{reception}" + [ Str "" , Span ( "reception" , [] , [] ) [ Str "It" @@ -148,7 +148,7 @@ , RawInline (Format "latex") "" , Note [ Para - [ RawInline (Format "latex") "\\label{format}" + [ Str "" , Span ( "format" , [] , [] ) [ Str "Whatever" , Space , Str "format" ] @@ -161,7 +161,7 @@ , Space , Str "can" , Space - , RawInline (Format "latex") "\\label{refer-to-note}" + , Str "" , Span ( "refer-to-note" , [] , [] ) [ Str "refer" @@ -181,7 +181,7 @@ , Space , Str "of" , Space - , RawInline (Format "latex") "\\label{which-identifier}" + , Str "" , Span ( "which-identifier" , [] , [] ) [ Str "any" @@ -198,7 +198,7 @@ , Space , Str "even" , Space - , RawInline (Format "latex") "\\label{nested-spans}" + , Str "" , Span ( "nested-spans" , [] , [] ) [ Str "nest" , Space , Str "spans" ] @@ -209,7 +209,7 @@ , RawInline (Format "latex") "" ] , Para - [ RawInline (Format "latex") "\\label{toc-notes-begin}" + [ Str "" , Span ( "toc-notes-begin" , [] , [] ) [ Str "I" @@ -384,15 +384,12 @@ ] ] ] +, Para [ Str "" , Span ( "toc-notes-end" , [] , [] ) [] ] , Para - [ RawInline (Format "latex") "\\label{toc-notes-end}" - , Span ( "toc-notes-end" , [] , [] ) [] - ] -, Para - [ RawInline (Format "latex") "\\label{doubledlbl}" + [ Str "" , Span ( "doubledlbl" , [] , [ ( "refanchor" , "both" ) ] ) - [ RawInline (Format "latex") "\\label{doubledlbl-beg}" + [ Str "" , Span ( "doubledlbl-beg" , [] , [] ) [] , Str "A" , Space @@ -413,12 +410,12 @@ , Str "page" , Space , Str "break." - , RawInline (Format "latex") "\\label{doubledlbl-end}" + , Str "" , Span ( "doubledlbl-end" , [] , [] ) [] ] ] , Para - [ RawInline (Format "latex") "\\label{lblatend}" + [ Str "" , Span ( "lblatend" , [] , [ ( "refanchor" , "end" ) ] ) [ Str "And" @@ -436,7 +433,7 @@ , Str "the" , Space , Str "end." - , RawInline (Format "latex") "\\label{lblatend}" + , Str "" , Span ( "lblatend" , [] , [] ) [] ] ]