Skip to content

newline in \AddInvoiceItem creates unwanted control sequences in XML #39

Description

@spi43984

I'm trying out creating e-invoices with LaTeX and the current version 0.9c of ZUGFeRD.

If adding a newline in \AddInvoiceItem in document.tex, the cretead pdf looks good, but the XML isn't.

\AddInvoiceItem{5}{Rundungstest\break
2. Zeile\break
3. Zeile}{95.38}

This renders a pdf like
image

But the XML contains something like

Rundungstest\protect \penalty -\@M 2. Zeile\protect \penalty -\@M 3. Zeile

What is the correct way to add newlines into invoice items' descriptions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    demorelated to the demo packagequestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions