LaTeX labels contain umlauts in MMD4

axel

04 Aug, 2014 11:03 PM

Hi there,

I'm not sure if this is the right place to ask for help. Please let me know if it isn't.

I'm using Scrivener to write my thesis in MMD and compile it to LaTeX. Everything was quite perfect with MMD3. But since I wanted to use superscripting I installed MMD4. And now TeXShop stops with the following error message:

./thesis.aux:51: Missing \endcsname inserted.
\protect
l.51 ...isprüfung}{section.3.1}{}}

After I compared the tex file produced by MMD3.6 with the one of MMD4.5.3 I noticed the following difference:

MMD3.6:

\section{Ergebnisprüfung}
\label{ergebnisprfung}

MMD4.5.3

\section{Ergebnisprüfung}
\label{ergebnisprüfung}

After removing the umlaut from the label everything works as expected.

Is that a MMD4 issue?

Kind regards,
Axel

1. Support Staff Posted by fletcher on 05 Aug, 2014 12:43 AM

This is the right place.

There was a change in a recent commit to MMD 4 allowing special characters in labels. I'll have to look at this for LaTeX.

Thanks for submitting this.

F-

--
Fletcher T. Penney
[email blocked]

2. Support Staff Posted by fletcher on 05 Aug, 2014 04:44 PM

I test this, and it works fine for me in various output formats:

# Header with ümlaut #

link to [Header with ümlaut].


Can you send me the entire document that is not working for you?

3. Posted by axel on 05 Aug, 2014 10:03 PM

Hi Fletcher,

thanks for your quick reply! I've attached a test project I created in Scrivener and the LaTeX file it produces. Compiling exactly the same Scrivener file with MMD3 produces a LaTeX file that doesn't contain umlauts in the LaTeX labels (as described in my first post). And the umlauts in the LaTeX labels produce the error when I try to typeset the document with TeXShop-

Basically the problem seems to be that most TeX engines have issues with "\usepackage[utf8]{inputenc}" (the recommended way to get umlauts on a Mac) and umlauts in the LaTeX labels.

Kind regards,
Axel

4. Support Staff Posted by fletcher on 08 Aug, 2014 09:11 PM

I have no problems using umlauts in labels.

See attached.

It may be the packages you are using.

You are, of course, welcome to modify MMD to not include non-ascii
characters in the latex labels if it conflicts with the packages you
prefer to use.

FTP

5. Posted by axel on 11 Aug, 2014 09:06 AM

Hi Fletcher,

thanks for your support! I'm not so much into C programming so I'll rather stick with MMD 3 ;)

Kind regards,
Axel

6. fletcher closed this discussion on 16 Aug, 2014 01:57 PM.

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

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