I don't want to use longtabular, so I need to translate the table element to plain latex to create a PDF. Examples: Before Filter [CODE] \begin{longtable}[]{@{}ll@{}} \caption{\textbf{Adress}}\tabularnewline \toprule\noalign{} \textbf{Name} & \textbf{City} \\ \midrule\noalign{} \endfirsthead \toprule\noalign{} \textbf{Name} & \textbf{City} \\ \midrule\noalign{} \endhead \bottomrule\noalign{} \endlastfoot NameOne & Bonn \\ NameTwo & Munich \\ NameThre & Cologne \\ \end{longtable} [/CODE] After LUA Filter [CODE] \begin{longtblr}[ theme=captionlinksbuendig, caption = \textbf{Adress}, ]{ colspec = {X[l]X[l]}, width = 1\linewidth, rowhead = 1, rowfoot = 0, row{odd} = {shadecolor}, row{1} = {white}, } \hline \textbf{Name} & \textbf{City}\\ \hline NameOne & Bonn\\ NameTwo & Munich\\ NameThre & Cologne\\ \hline \end{longtblr} [/CODE] The captions are passed as inline elements which I have to convert to the appropriate latex format. EXAMPLE [CODE] Plain [Strong [Emph [Str "A"]],Str "dre",Emph [Str "ssen"]] [/CODE] must be convert to the Plain latex Code [CODE] \textbf{\emph{A.... [/CODE] Bastien Dumont schrieb am Dienstag, 31. Januar 2023 um 15:06:56 UTC+1: > Doesn't Pandoc do the conversion? What do you want, what do you do and > what do you get? > > Le Tuesday 31 January 2023 à 04:51:01AM, Frank Wisniewski a écrit : > > I have the following Plain Element fron caption > > Plain [Strong [Emph [Str "A"]],Str "dre",Emph [Str "ssen"],Space,Str > > "Sa",Strong [Str "mm"],Str "lung"] > > i would convert this to Latex Code: > > '{\textbf{\emph{A}}dre\emph{ssen}' > > > > Is there a function for this? > > > > -- > > You received this message because you are subscribed to the Google Groups > > "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email > > to [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [2] > https://groups.google.com/d/msgid/ > > pandoc-discuss/76501da2-0d17-4aaa-9dfd-c236abd93de8n%40googlegroups.com. > > > > References: > > > > [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [2] > https://groups.google.com/d/msgid/pandoc-discuss/76501da2-0d17-4aaa-9dfd-c236abd93de8n%40googlegroups.com?utm_medium=email&utm_source=footer > > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/9c6c56a7-4b45-4d8f-8152-c85822932b6cn%40googlegroups.com.