# Problem with Graphic Signature

#### 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:
E.

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

It doesn't matter, it just had to be in a location that LaTeX searches.

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. Posted by enrico.pirani on 12 Mar, 2014 10:02 PM

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)

\def\mytitle{Test Letter}
\def\myauthor{John Doe}
\def\email{[email blocked]}
Some City, ST  12345}
\def\recipient{Some Person}
Some City, ST  54321}
\def\phone{(555) 555-5555}
\def\mydate{December 15, 2007}
\def\signature{Distinti Saluti}
\def\graphicsignature{signature}
\def\blackandwhite{true}
\def\usexelatex{true}
\def\latexmode{memoir}

To Whom It May Concern,

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

Enjoy!

\end{document}

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

Do you have the latex support files installed?

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

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

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

Which version of MMD are you using?

Can you send the original file?

F-

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

MMD 4.5.2

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

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 Posted by fletcher on 13 Mar, 2014 12:29 AM

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

F-

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

Set the metadata to true but still not working..

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

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-

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

### »

#### 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 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 Top to bottom file representation order is not the same as Left to Right 13 Apr, 2018 10:58 PM citations 09 Apr, 2018 09:47 PM Metadata interpreted as text 09 Apr, 2018 04:28 PM MMD FOOTER wrong position - possibly 19 Feb, 2018 10:29 PM mmd tags as variables