Problem with Graphic Signature

enrico.pirani's Avatar

enrico.pirani

12 Mar, 2014 10:14 AM

Hi,

I try to add a signature to the letter sample file. I put the 'Graphic Signature:' metadata but after compiling i don't get my signature. Where should I put that file ?? In the custom-letterhead.xslt it is written that it should be in my Latex class directory . But of which class file are you talking about? I have two different locations:
~/Library/texmf/tex/latex/mmd/mmd-letterhead/ /usr/local/texlive/2013/texmf-dist/tex/latex/ Thanks
E.

  1. Support Staff 1 Posted by fletcher on 12 Mar, 2014 08:28 PM

    fletcher's Avatar

    It doesn't matter, it just had to be in a location that LaTeX searches.
    I use the mmd-letterhead directory.

    The XSLT approach is for older versions of MMD, and I don't maintain it
    any more. It should still work, but might not work correctly with MMD-3
    or MMD-4, which have built in LaTeX support.

    https://github.com/fletcher/MultiMarkdown-Gallery

    https://github.com/fletcher/peg-multimarkdown-latex-support

    F-

  2. 2 Posted by enrico.pirani on 12 Mar, 2014 10:02 PM

    enrico.pirani's Avatar

    Ok. This is the sample file letter.tex (just preamble and closing) but still there is no signature in the pdf out. I don’t understand why Latex doesn’t see my file…. (I commented out the .xslt file as you said)

    \input{mmd-letterhead-header}
    \def\mytitle{Test Letter}
    \def\myauthor{John Doe}
    \def\email{[email blocked]}
    \def\address{123 Main St.  \\
    Some City, ST  12345}
    \def\recipient{Some Person}
    \def\recipientaddress{321 Main St  \\
    Some City, ST  54321}
    \def\phone{(555) 555-5555}
    \def\mydate{December 15, 2007}
    \def\signature{Distinti Saluti}
    \def\graphicsignature{signature}
    %\def\latexxslt{letterhead.xslt}
    \def\blackandwhite{true}
    \def\usexelatex{true}
    \def\latexmode{memoir}
    \input{mmd-letterhead-begin-doc}

    To Whom It May Concern,

    ………………………...

    Enjoy!

    \input{mmd-letterhead-footer}

    \end{document}

  3. Support Staff 3 Posted by fletcher on 13 Mar, 2014 12:08 AM

    fletcher's Avatar

    Do you have the latex support files installed?

  4. 4 Posted by enrico.pirani on 13 Mar, 2014 12:12 AM

    enrico.pirani's Avatar

    Of course yes. Everything is installed in ~/Library/texmf/tex/latex/mmd/

    Inviato da iPad

  5. Support Staff 5 Posted by fletcher on 13 Mar, 2014 12:17 AM

    fletcher's Avatar

    Which version of MMD are you using?

    Can you send the original file?

    F-

  6. 6 Posted by enrico.pirani on 13 Mar, 2014 12:23 AM

    enrico.pirani's Avatar

    MMD 4.5.2

  7. 7 Posted by enrico.pirani on 13 Mar, 2014 12:27 AM

    enrico.pirani's Avatar

    Sorry this is the original .md file converted to tex.

    On 13 Mar 2014 at 01:23:28, Enrico Pirani ([email blocked]) wrote:

    MMD 4.5.2

  8. Support Staff 8 Posted by fletcher on 13 Mar, 2014 12:29 AM

    fletcher's Avatar

    If you want the signature to appear, you have to set the metadata to "true"

    F-

  9. 9 Posted by enrico.pirani on 13 Mar, 2014 08:45 AM

    enrico.pirani's Avatar

    Set the metadata to true but still not working.. 

  10. Support Staff 10 Posted by fletcher on 13 Mar, 2014 09:45 PM

    fletcher's Avatar

    You're redefining the signature to "Distinti Saluti", but not including
    any command to embed graphics. The defaults handle graphics, but you
    overrode them.

    Change the mmd-letterhead files if you want to keep the graphics but use
    Italian.

    F-

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

Recent Discussions

22 Apr, 2018 11:04 PM
13 Apr, 2018 10:58 PM
09 Apr, 2018 09:47 PM
09 Apr, 2018 04:28 PM
19 Feb, 2018 10:29 PM

Recent Articles