PDF exporting - how to generate TOC in pdf, as well as specific fonts

elev007's Avatar

elev007

20 Nov, 2013 01:12 AM

Hi,

I am trying to do the following in MultiMarkdown Composer:
- generate a TOC in the exported pdf (first page) that matches the one that MMD Composer visually shows me
- control the heading and text font within the PDF (corresponding to my company's specific font requirements)

Is there any way to do the above? If it isn't possible via MMD Composer - is there any other possible way for me to do this?

Thanks for your help.

  1. Support Staff 1 Posted by Fletcher on 20 Nov, 2013 02:00 AM

    Fletcher's Avatar

    See my other response for more information.

    Additionally, if you want to control fonts in HTML, you do that via CSS. If you use LaTeX, you can customize the fonts within LaTeX (though if you use a Mac, you may want to focus on XeLaTeX).

    F-

  2. 2 Posted by elev007 on 20 Nov, 2013 07:03 AM

    elev007's Avatar

    Hi Fletcher,

    Thank you for this additional detail.

    Eli

  3. 3 Posted by Tamer on 20 Nov, 2013 10:55 PM

    Tamer's Avatar

    I'm interested in the same functionality. What is this other response that you're referring, Fletcher?

  4. 4 Posted by elev007 on 20 Nov, 2013 11:10 PM

    elev007's Avatar

    Hi Tamer,

    Here is the other response from Fletcher:

    ==============================================
    There are two ways (in general) to create a PDF:

    1) via LaTeX --- offers many features, e.g. TOC, index, and more. A bit of a learning curve, but powerful.

    2) via HTML --- a bit easier, since most people are used to HTML, but not as many features. You can post-process with XSLT to prepend a TOC (google MultiMarkdown XSLT TOC to find more information). Creating a PDF this way is effectively like printing, so internal links don't work.

    If you really want to convert HTML to PDF, you could consider something like Prince --- commercial, powerful, and I've never used it. But from what I read on the internet, it offers many of the features of LaTeX, but at a price.

    My recommendation would be to use MMD->HTML for the web page, and MMD->LaTeX->PDF to generate high quality PDFs.

    Also, sending emails to the MultiMarkdown discussion list can potentially get you in touch with other people with similar workflows.
    ==============================================

    As a point of reference - I checked out Prince but it is really expensive.

  5. Fletcher closed this discussion on 24 Nov, 2013 11:06 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac