This project is read-only.

PDF table of contents


Using a font to typeset sections
h1,h2,h3,h4,h5 {
  font-family: Helvetica;
  font-weight: bold;
causes the generated file to have the name of the font in the PDF's table of contents. Note this is not in the document itself -- just the metadata that hyperref puts with the file.

See attached screenshot.

file attachments


daan wrote May 15 at 8:47 PM

Hi Nate,

Thanks for the bug report! I tried to reproduce it but couldn't :-( Are you using a special latex style like "book" or something? Did you try updateing Madoko to the latest version (npm install -g madoko)?
You may try to use:
h1,h2,h3,h4,h5 {
  font-weight: bold;
Hope this helps,
-- Daan

ps. I am moving Madoko to github currently so in the future try to report it there.

daan wrote May 15 at 8:56 PM

Just to confirm, you are seeing this in the 'bookmarks' tab of the PDF viewer right?

jnfoster wrote May 16 at 2:26 AM

That's correct.

I did update Madoko to newest version on NPM.

If you were willing to try to reproduce the error against our code, the branch is here:

It should work with TexLive. Right now I have some fancy fonts (which you may or may not have) but I'm seeing the error with most custom fonts.


ps. Should I move this issue to GitHub or continue here?