Skip to content

Adding newlines in <trade-party>/name metadata entries #19

Description

@t-b

I very often have very involved buyer names. Until now I have used multi line names like

BigCompany
SubDivision
Name

when I do that with zugferd

	buyer/name = {BigCompany\\ SubDivision\\Name},

I do get a standards compliant XML file but not every recipient might like the embedded tex code:

        <ram:Name>BigCompany\protect \@normalcr  SubDivision\protect \@normalcr Name</ram:Name>

As I want to define a single source of truth for the buyer names I would prefer to be able to keep the newlines as I also use them for the letter head. Is there some tex magic I need to apply?

PS: Adding a newline into an XML file does not violate the standard compliantness. I've checked that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions