-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doxygen-latex-cannot-create-pdf-when-using-param-tags #17
Comments
Any progress on this? One more discussion about it here doxygen/doxygen#6769 |
I have skimmed the linked discussions. Using the following example, the tabular in my local output PDF looks alright. Would you please provide a MWE (minimal working example, see how to prepare a MWE) to show the problem? Source: \documentclass{article}
\usepackage{longtable}
\usepackage{tabu}
\usepackage{ifthen}
\usepackage{lipsum}
\listfiles
% Copied from post https://stackoverflow.com/q/54780072/8590320
% Used by parameter lists
\newenvironment{DoxyParams}[2][]{%
\tabulinesep=1mm%
\par%
\ifthenelse{\equal{#1}{}}%
{\begin{longtabu*}spread 0pt [l]{|X[-1,l]|X[-1,l]|}}% name + description
{\ifthenelse{\equal{#1}{1}}%
{\begin{longtabu*}spread 0pt [l]{|X[-1,l]|X[-1,l]|X[-1,l]|}}% in/out + name + desc
{\begin{longtabu*}spread 0pt [l]{|X[-1,l]|X[-1,l]|X[-1,l]|X[-1,l]|}}% in/out + type + name + desc
}
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]%
\hline%
\endfirsthead%
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]%
\hline%
\endhead%
}{%
\end{longtabu*}%
\vspace{6pt}%
}
\begin{document}
\begin{DoxyParams}{Parameter}
content & \lipsum[1] \\ \hline
\end{DoxyParams}
\end{document} Version info (excerpted from the first line and very ending of the
|
Example:
Stripped log:
|
The example you provided is not complete. A complete example normally begins from More detailed guidelines about how to prepare a qualified MWE can be found from the link I have posted in #17 (comment). |
Not a minimal, but complete example. Start with refman.tex |
A MWE simplified from your uploaded example. Currently I am not able to fix the problem, but I will try. \documentclass{article}
\usepackage{xcolor}
%% Uncomment "xcolor" line then error "Missing } inserted" occurs.
%% Loading "color" instead of "xcolor" raises the same error.
\usepackage{tabu}
\begin{document}
% alright
\begin{tabu}{X}
bar
\end{tabu}
% alright
\begin{tabu} spread 100pt {l}
zz
\end{tabu}
% error
\begin{tabu} spread 100pt {X}
bar
\end{tabu}
\end{document} |
Actually the repro said so from day one. It isn't our package and it was made in a way that went below any supported interface. All we did with this repro was to try fixing it to the point that it didn't die in all circumstances. But as it turned out fixing other bugs was too compicated without a major rewrite (which we can't do). So all I did in the latest commit was to make this even more prominent, because it seemed that people had (understandably) too much hope that we could resolve the remaining issues fast. |
@vng The related change is made in commit 4de1453 (denoted in commit message by If the latest version causes other problems (this may happen), new issues can be opened and new MWEs can be prepared. |
@muzimuzhi Well, when I manually replaced tabu.sty in a MiKTeX installation package, the sample works fine now .. |
I am seeing a problem generating pdf from the Latex output generated by doxygen.
came across the thread below
https://stackoverflow.com/questions/54780072/doxygen-latex-cannot-create-pdf-when-using-param-tags
I tried using the tabu.sty from this repo but that did not help solve the problem
instead i see another error "missing \begin{document}"
I have tried using MikTex and TexLive.
Could you please advice how do fix the issue doxygen-latex-cannot-create-pdf-when-using-param-tags?
Regards
The text was updated successfully, but these errors were encountered: