Skip to content
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

Math does not work in LaTeX with custom header and footer. (Origin: bugzilla #682373) #4856

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Copy link
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity major in component general for ---
Reported in version 1.8.2 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2012-08-21 15:59:41 +0000, Bastiaan wrote:

Created attachment 222043
Testcase.

When LATEX_HEADER and LATEX_FOOTER are defined and a formula is written inbetween \f$, a refman.tex is produced without any header or footer. Naturally, LaTeX cannot handle this, complaining
! Undefined control sequence.
l.1 \chapter

Best regards,
Bastiaan.

On 2012-10-28 11:47:04 +0000, Dimitri van Heesch wrote:

Hi Bastiaan,

I haven't been able to reproduce this with the example you produced.
Both the HTML and LaTeX output look ok, with or without the custom header and footer.

Can you double check if the example indeed shows the problem? If so, please also attach the output generated so I can compare it with what I see.

Regards,
Dimitri

On 2012-10-29 10:06:17 +0000, Bastiaan wrote:

Created attachment 227509
Example with output

Hi Dimitri,

My previous example was lacking a few backslashes, and I found that this problem only occurs when gswin32c.exe is not in the path and HTML generation is on. During HTML generation you then see this:

'gswin32c.exe' is not recognized as an internal or external command,
operable program or batch file.
Problem running ghostscript gswin32c.exe -q -g76x56 -r384x384x -sDEVICE=ppmraw -sOutputFile=_form0.pnm -dNOPAUSE -dBATCH -- _form0.ps. Check your installation!
error: file header.tex' not found error: file footer.tex' not found

Then LaTeX is generated without the header and footer.

The problem goes away if you switch off generation of HTML output, or install the correct version of Ghostscript (not 64 bit!) and put it in your path manually.

Eventually, anybody would want to fix the GS installation, but it would be nice if the LaTeX output would be generated correctly disregarding any problems in the HTML output.

Thanks,
Bastiaan.

On 2015-07-24 13:56:48 +0000, albert wrote:

I've just pushed a proposed solution to github (pull request 369)

On 2015-07-26 10:03:04 +0000, Dimitri van Heesch wrote:

Thanks, I've merged the pull request

On 2015-12-30 10:19:49 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.11. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant (preferably in the form of a self-contained example).

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.