Multiple newlines in textbox give invalid latex on pdf/latex export

Bug #1081603 reported by Frederik TIlmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

When exporting to pdf/latex and there is a text box with a double newline (i.e. an empty line), then the resulting latex file does not compile.

Example textbox content
"some text

some more text"

The reason is that each newline generates a "\\" command, and in the minipage context a repeated newline " some text \\ \\ some more text"

Instead of "\\ \\" the double newline should be converted to
"\\[\baselinskip] " or
"\\ \hspace*{0cm} \\"
which both give the desired empty line.

As the workaround is easy, not a big deal, but should also be fairly easy to fix.

Revision history for this message
Frederik TIlmann (tilmann) wrote :

This is linked to bug #771959, but not the same

su_v (suv-lp)
tags: added: exporting
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.