Closed parithibang closed 1 month ago
Try running with --verbose
and check any error or warning messages.
That will give you a better idea what is happening.
I am getting this as output
root@342de4184c7e:/app/rtf# pandoc test.rtf -s --pdf-engine=pdflatex -o test.pdf --verbose
[INFO] Extracting /tmp/tex2pdf.-4fde2e42ed5def70/567267a998ff7a1b10e0b6ddff2ce87bbed8272e.png...
[INFO] Extracting /tmp/tex2pdf.-4fde2e42ed5def70/f0fee71865babe4df97088370e44b7aa76d949d0.jpg...
[INFO] [makePDF] Temp dir:
/tmp/tex2pdf.-4fde2e42ed5def70
[INFO] [makePDF] Command line:
lualatex "-halt-on-error" "-interaction" "nonstopmode" "-output-directory" "/tmp/tex2pdf.-4fde2e42ed5def70" "/tmp/tex2pdf.-4fde2e42ed5def70/input.tex"
[INFO] [makePDF] Relevant environment variables:
("TEXINPUTS","/tmp/tex2pdf.-4fde2e42ed5def70:")
("TEXMFOUTPUT","/tmp/tex2pdf.-4fde2e42ed5def70")
("PWD","/app/rtf")
("HOME","/root")
("PATH","/usr/local/texlive/2024/bin/aarch64-linux:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin")
[INFO] [makePDF] Source:
% Options for packages loaded elsewhere
\PassOptionsToPackage{unicode}{hyperref}
\PassOptionsToPackage{hyphens}{url}
%
\documentclass[
]{article}
\usepackage{amsmath,amssymb}
\usepackage{iftex}
\ifPDFTeX
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{textcomp} % provide euro and other symbols
\else % if luatex or xetex
\usepackage{unicode-math} % this also loads fontspec
\defaultfontfeatures{Scale=MatchLowercase}
\defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
\fi
\usepackage{lmodern}
\ifPDFTeX\else
% xetex/luatex font selection
\fi
% Use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
\IfFileExists{microtype.sty}{% use microtype if available
\usepackage[]{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}
\makeatletter
\@ifundefined{KOMAClassName}{% if non-KOMA class
\IfFileExists{parskip.sty}{%
\usepackage{parskip}
}{% else
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}}
}{% if KOMA class
\KOMAoptions{parskip=half}}
\makeatother
\usepackage{xcolor}
\usepackage{longtable,booktabs,array}
\usepackage{calc} % for calculating minipage widths
% Correct order of tables after \paragraph or \subparagraph
\usepackage{etoolbox}
\makeatletter
\patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{}
\makeatother
% Allow footnotes in longtable head/foot
\IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}}
\makesavenoteenv{longtable}
\ifLuaTeX
\usepackage{luacolor}
\usepackage[soul]{lua-ul}
\else
\usepackage{soul}
\fi
\setlength{\emergencystretch}{3em} % prevent overfull lines
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
\usepackage{bookmark}
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
\urlstyle{same}
\hypersetup{
hidelinks,
pdfcreator={LaTeX via pandoc}}
\author{}
\date{}
\begin{document}
\textbf{Lorem ipsum }
\begin{itemize}
\item
\textbf{Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc
ac faucibus odio. }
\end{itemize}
Vestibulum neque massa, scelerisque sit amet ligula eu, congue molestie
mi. Praesent ut varius sem. Nullam at porttitor arcu, nec lacinia nisi.
Ut ac dolor vitae odio interdum condimentum. \textbf{Vivamus dapibus
sodales ex, vitae malesuada ipsum cursus convallis. Maecenas sed egestas
nulla, ac condimentum orci. }Mauris diam felis, vulputate ac suscipit
et, iaculis non est. Curabitur semper arcu ac ligula semper, nec luctus
nisl blandit. Integer lacinia ante ac libero lobortis imperdiet.
\emph{Nullam mollis convallis ipsum, ac accumsan nunc vehicula vitae.
}Nulla eget justo in felis tristique fringilla. Morbi sit amet tortor
quis risus auctor condimentum. Morbi in ullamcorper elit. Nulla iaculis
tellus sit amet mauris tempus fringilla.
Maecenas mauris lectus, lobortis et purus mattis, blandit dictum tellus.
\begin{itemize}
\item
\textbf{Maecenas non lorem quis tellus placerat varius. }
\item
\emph{Nulla facilisi. }
\item
\ul{Aenean congue fringilla justo ut aliquam. }
\item
Nunc vulputate neque vitae justo facilisis, non condimentum ante
sagittis.
\item
Morbi viverra semper lorem nec molestie.
\item
Maecenas tincidunt est efficitur ligula euismod, sit amet ornare est
vulputate.
\end{itemize}
In non mauris justo. Duis vehicula mi vel mi pretium, a viverra erat
efficitur. Cras aliquam est ac eros varius, id iaculis dui auctor. Duis
pretium neque ligula, et pulvinar mi placerat et. Nulla nec nunc sit
amet nunc posuere vestibulum. Ut id neque eget tortor mattis tristique.
Donec ante est, blandit sit amet tristique vel, lacinia pulvinar arcu.
Pellentesque scelerisque fermentum erat, id posuere justo pulvinar ut.
Cras id eros sed enim aliquam lobortis. Sed lobortis nisl ut eros
efficitur tincidunt. Cras justo mi, porttitor quis mattis vel, ultricies
ut purus. Ut facilisis et lacus eu cursus.
In eleifend velit vitae libero sollicitudin euismod. Fusce vitae
vestibulum velit. Pellentesque vulputate lectus quis pellentesque
commodo. Aliquam erat volutpat. Vestibulum in egestas velit.
Pellentesque fermentum nisl vitae fringilla venenatis. Etiam id mauris
vitae orci maximus ultricies.
\begin{longtable}[]{@{}
>{\raggedright\arraybackslash}p{(\linewidth - 6\tabcolsep) * \real{0.2500}}
>{\raggedright\arraybackslash}p{(\linewidth - 6\tabcolsep) * \real{0.2500}}
>{\raggedright\arraybackslash}p{(\linewidth - 6\tabcolsep) * \real{0.2500}}
>{\raggedright\arraybackslash}p{(\linewidth - 6\tabcolsep) * \real{0.2500}}@{}}
\toprule\noalign{}
\endhead
\bottomrule\noalign{}
\endlastfoot
& \begin{itemize}
\item
\textbf{Cras fringilla ipsum magna, in fringilla dui commodo a.}
\end{itemize}
Lorem ipsum & Lorem ipsum & Lorem ipsum \\
& & & \\
1 & In eleifend velit vitae libero sollicitudin euismod. & Lorem & \\
2 & Cras fringilla ipsum magna, in fringilla dui commodo a. & Ipsum & \\
3 & Aliquam erat volutpat. & Lorem & \\
4 & \textbf{Fusce vitae vestibulum velit. } & Lorem & \\
5 & Etiam vehicula luctus fermentum. & Ipsum & \\
& & & \\
\end{longtable}
fermentum erat, id posuere justo pulvinar ut. Cras id eros sed enim
aliquam lobortis. Sed lobortis nisl ut eros efficitur tincidunt. Cras
justo mi, porttitor quis mattis vel, ultricies ut purus. Ut facilisis et
lacus eu cursus.
\begin{itemize}
\item
\textbf{Lorem ipsum dolor sit amet, consectetur adipiscing elit. }
\end{itemize}
Nunc ac faucibus odio. Vestibulum neque massa, scelerisque sit amet
ligula eu, congue molestie mi. Praesent ut varius sem. Nullam at
porttitor arcu, nec lacinia nisi. Ut ac dolor vitae odio interdum
condimentum. Vivamus dapibus sodales ex, vitae malesuada ipsum cursus
convallis. Maecenas sed egestas nulla, ac condimentum orci. Mauris diam
felis, vulputate ac suscipit et, iaculis non est. Curabitur semper arcu
ac ligula semper, nec luctus nisl blandit. Integer lacinia ante ac
libero lobortis imperdiet. Nullam mollis convallis ipsum, ac accumsan
nunc vehicula vitae. Nulla eget justo in felis tristique fringilla.
Morbi sit amet tortor quis risus auctor condimentum. Morbi in
ullamcorper elit. Nulla iaculis tellus sit amet mauris tempus fringilla.
\begin{itemize}
\item
\textbf{Maecenas mauris lectus, lobortis et purus mattis, blandit
dictum tellus. }
\end{itemize}
\end{document}
[INFO] [makePDF] LaTeX run number 1
[INFO] [makePDF] LaTeX output
This is LuaHBTeX, Version 1.18.0 (TeX Live 2024)
restricted system commands enabled.
(/tmp/tex2pdf.-4fde2e42ed5def70/input.tex
LaTeX2e <2024-06-01> patch level 2
L3 programming layer <2024-05-27>
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/article.cls
Document Class: article 2024/02/08 v1.4n Standard LaTeX document class
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/local/texlive/2024/texmf-dist/tex/generic/iftex/iftex.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/unicode-math/unicode-math.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/l3backend/l3backend-luatex.def))
(/usr/local/texlive/2024/texmf-dist/tex/latex/unicode-math/unicode-math-luatex.
sty (/usr/local/texlive/2024/texmf-dist/tex/latex/l3packages/xparse/xparse.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty
) (/usr/local/texlive/2024/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/fontenc.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/fix-cm.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/ts1enc.def))
(/usr/local/texlive/2024/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.st
y (/usr/local/texlive/2024/texmf-dist/tex/latex/etoolbox/etoolbox.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/unicode-math/unicode-math-table.t
ex))) (/usr/local/texlive/2024/texmf-dist/tex/latex/lm/lmodern.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/upquote/upquote.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/textcomp.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/microtype/microtype.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/microtype/microtype-luatex.def)
(/usr/local/texlive/2024/texmf-dist/tex/latex/microtype/microtype.cfg))
(/usr/local/texlive/2024/texmf-dist/tex/latex/parskip/parskip.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/kvoptions/kvoptions.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty)))
(/usr/local/texlive/2024/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics-def/luatex.def)
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/mathcolor.ltx))
(/usr/local/texlive/2024/texmf-dist/tex/latex/tools/longtable.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/booktabs/booktabs.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/tools/array.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/tools/calc.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/footnotehyper/footnotehyper.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/luacolor/luacolor.sty)
(/usr/local/texlive/2024/texmf-dist/tex/lualatex/lua-ul/lua-ul.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/bookmark/bookmark.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty)
(/usr/local/texlive/2024/texmf-dist/tex/generic/pdfescape/pdfescape.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/infwarerr/infwarerr.sty)))
(/usr/local/texlive/2024/texmf-dist/tex/latex/hycolor/hycolor.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/refcount/refcount.sty)
(/usr/local/texlive/2024/texmf-dist/tex/generic/gettitlestring/gettitlestring.s
ty)) (/usr/local/texlive/2024/texmf-dist/tex/generic/stringenc/stringenc.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2024/texmf-dist/tex/generic/intcalc/intcalc.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/puenc.def)
(/usr/local/texlive/2024/texmf-dist/tex/latex/url/url.sty)
(/usr/local/texlive/2024/texmf-dist/tex/generic/bitset/bitset.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/atbegshi-ltx.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/hluatex.def
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/atveryend-ltx.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty
))) (/usr/local/texlive/2024/texmf-dist/tex/latex/bookmark/bkm-pdftex.def))
(/usr/local/texlive/2024/texmf-dist/tex/latex/xurl/xurl.sty)
No file input.aux.
(/usr/local/texlive/2024/texmf-dist/tex/latex/lm/omllmm.fd)
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsfonts/umsb.fd)
(/usr/local/texlive/2024/texmf-dist/tex/latex/microtype/mt-LatinModernRoman.cfg
) (/usr/local/texlive/2024/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
)
[1{/usr/local/texlive/2024/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
Package longtable Warning: Column widths have changed
(longtable) in table 1 on input line 148.
[2]
Package longtable Warning: Table widths have changed. Rerun LaTeX.
[3] (/tmp/tex2pdf.-4fde2e42ed5def70/input.aux))
833 words of node memory still in use:
7 hlist, 2 vlist, 3 rule, 1 local_par, 5 glue, 5 kern, 1 penalty, 3 glyph, 9
1 attribute, 60 glue_spec, 42 attribute_list, 1 write nodes
avail lists: 1:1,2:14095,3:199,4:85,5:319,6:78,7:8220,8:1,9:560,10:7,11:597
</usr/local/texlive/2024/texmf-dist/fonts/opentype/public/lm/lmroman10-italic.o
tf></usr/local/texlive/2024/texmf-dist/fonts/opentype/public/lm/lmroman10-regul
ar.otf></usr/local/texlive/2024/texmf-dist/fonts/opentype/public/lm/lmroman10-b
old.otf>
Output written on input.pdf (3 pages, 19350 bytes).
Transcript written on input.log.
[INFO] [makePDF] Rerun needed
Package longtable Warning: Table widths have changed. Rerun LaTeX.
[INFO] [makePDF] LaTeX run number 2
[INFO] [makePDF] LaTeX output
This is LuaHBTeX, Version 1.18.0 (TeX Live 2024)
restricted system commands enabled.
(/tmp/tex2pdf.-4fde2e42ed5def70/input.tex
LaTeX2e <2024-06-01> patch level 2
L3 programming layer <2024-05-27>
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/article.cls
Document Class: article 2024/02/08 v1.4n Standard LaTeX document class
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/local/texlive/2024/texmf-dist/tex/generic/iftex/iftex.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/unicode-math/unicode-math.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/l3backend/l3backend-luatex.def))
(/usr/local/texlive/2024/texmf-dist/tex/latex/unicode-math/unicode-math-luatex.
sty (/usr/local/texlive/2024/texmf-dist/tex/latex/l3packages/xparse/xparse.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty
) (/usr/local/texlive/2024/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/fontenc.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/fix-cm.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/ts1enc.def))
(/usr/local/texlive/2024/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.st
y (/usr/local/texlive/2024/texmf-dist/tex/latex/etoolbox/etoolbox.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/unicode-math/unicode-math-table.t
ex))) (/usr/local/texlive/2024/texmf-dist/tex/latex/lm/lmodern.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/upquote/upquote.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/textcomp.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/microtype/microtype.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/microtype/microtype-luatex.def)
(/usr/local/texlive/2024/texmf-dist/tex/latex/microtype/microtype.cfg))
(/usr/local/texlive/2024/texmf-dist/tex/latex/parskip/parskip.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/kvoptions/kvoptions.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty)))
(/usr/local/texlive/2024/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics-def/luatex.def)
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/mathcolor.ltx))
(/usr/local/texlive/2024/texmf-dist/tex/latex/tools/longtable.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/booktabs/booktabs.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/tools/array.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/tools/calc.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/footnotehyper/footnotehyper.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/luacolor/luacolor.sty)
(/usr/local/texlive/2024/texmf-dist/tex/lualatex/lua-ul/lua-ul.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/bookmark/bookmark.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty)
(/usr/local/texlive/2024/texmf-dist/tex/generic/pdfescape/pdfescape.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/infwarerr/infwarerr.sty)))
(/usr/local/texlive/2024/texmf-dist/tex/latex/hycolor/hycolor.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/refcount/refcount.sty)
(/usr/local/texlive/2024/texmf-dist/tex/generic/gettitlestring/gettitlestring.s
ty)) (/usr/local/texlive/2024/texmf-dist/tex/generic/stringenc/stringenc.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2024/texmf-dist/tex/generic/intcalc/intcalc.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/puenc.def)
(/usr/local/texlive/2024/texmf-dist/tex/latex/url/url.sty)
(/usr/local/texlive/2024/texmf-dist/tex/generic/bitset/bitset.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/atbegshi-ltx.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/hluatex.def
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/atveryend-ltx.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty
))) (/usr/local/texlive/2024/texmf-dist/tex/latex/bookmark/bkm-pdftex.def))
(/usr/local/texlive/2024/texmf-dist/tex/latex/xurl/xurl.sty)
(/tmp/tex2pdf.-4fde2e42ed5def70/input.aux)
(/usr/local/texlive/2024/texmf-dist/tex/latex/lm/omllmm.fd)
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsfonts/umsb.fd)
(/usr/local/texlive/2024/texmf-dist/tex/latex/microtype/mt-LatinModernRoman.cfg
) (/usr/local/texlive/2024/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
)
[1{/usr/local/texlive/2024/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
[2]
[3] (/tmp/tex2pdf.-4fde2e42ed5def70/input.aux))
833 words of node memory still in use:
7 hlist, 2 vlist, 3 rule, 1 local_par, 5 glue, 5 kern, 1 penalty, 3 glyph, 9
1 attribute, 60 glue_spec, 42 attribute_list, 1 write nodes
avail lists: 1:1,2:14079,3:199,4:85,5:315,6:78,7:8220,8:1,9:560,10:7,11:597
</usr/local/texlive/2024/texmf-dist/fonts/opentype/public/lm/lmroman10-italic.o
tf></usr/local/texlive/2024/texmf-dist/fonts/opentype/public/lm/lmroman10-regul
ar.otf></usr/local/texlive/2024/texmf-dist/fonts/opentype/public/lm/lmroman10-b
old.otf>
Output written on input.pdf (3 pages, 19414 bytes).
Transcript written on input.log.
OK. Pandoc's rtf reader is not recognizing the images. The image is encoded thus:
{\*\shppict{\pict{\*\picprop{\sp{\sn wzDescription}{\sv }}{\sp{\sn wzName}{\sv }}}\picscalex100\picscaley100\piccropl0\piccropr0\piccropt0\piccropb0\picw11383\pich5720\picwgoal6453\pichgoal3243\pngblip
89504e470d0a1a0a0000000d49484452000001ae000000d808020000003c9b90a50000177c49444154789ceddd7b5c4cf9ff07f0cf9c99d454ab548862d7ea5e...
When I removed the \*\shpict
it worked, so I guess the fix is to change pandoc so it understands \*\shpict
.
Actually the problem is not the \*\shpict
; if I simply remove the {..}
surrounding the whole thing, it works.
@jgm Thanks for this. Can this be fixed in the next release?
Is there a workaround to achieve the desired one?
By adding any arguments while running the CLI
You could modify the RTF manually along the lines suggested above, then it should work. There's no workaround on the cli, sorry. I'll see if I can fix this when I can find the time, hopefully before the next release but no promises.
The image in the original file is still not be converting. I tried with the latest version of the pandoc convert.pdf
It works for me. Check that you are using pandoc 3.3? (I also see an image in the convert.pdf you uploaded...)
On the last page there is an image that is not getting converted.
I am also using the latest version
root@8836c60d377f:/app/docs/pdf# pandoc --version
pandoc 3.3
Features: +server +lua
Scripting engine: Lua 5.4
User data directory: /root/.local/share/pandoc
Copyright (C) 2006-2024 John MacFarlane. Web: https://pandoc.org
This is free software; see the source for copying conditions. There is no
warranty, not even for merchantability or fitness for a particular purpose.
root@8836c60d377f:/app/docs/pdf#
OK, I see the issue; it's a separate issue from the one I fixed before. I'll open a new issue for this.
Explain the problem.
I am trying to convert rtf to pdf using pandoc. I have installed textlive package too. While converting the images embedded inside rtf is not getting converted to pdf. To check an alternative approach I converted the same rtf file to docx and then used pandoc to convert docx to pdf. I can able to see images in pdf.
pandoc test.rtf -s --pdf-engine=pdflatex -o test.pdf
Pandoc version?
I have also installed graphicx
Since I can't attach rtf file I will share the link where I downloaded that file
https://file-examples.com/wp-content/storage/2019/09/file-sample_300kB.rtf
This is the output converted file. test.pdf