This issue has been created
 
 
LaTeX / cid:jira-generated-image-avatar-b6647c02-9e49-4ead-bd0c-eaf3fc1dac58 LATEX-157 Open

Opening square bracket after new line results in invalid LaTeX code

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-cbe6723a-0b1d-49b3-b641-8069f66e3acc Guido Kracke created this issue on 20/Nov/24 14:24
 
Summary: Opening square bracket after new line results in invalid LaTeX code
Issue Type: cid:jira-generated-image-avatar-b6647c02-9e49-4ead-bd0c-eaf3fc1dac58 Bug
Assignee: Unassigned
Created: 20/Nov/24 14:24
Priority: cid:jira-generated-image-static-minor-51a8a042-45d8-4353-8383-bf0103fd3081 Minor
Reporter: Guido Kracke
Description:

A new line ist mapped to

\\*

The full syntax specification of this command is

\\[*][extra-space]

Hence, the following XWiki fragment

[Gupta98] Frederic Gupta etal, 1998, Fractal symmetries in hot soups
[Kracke99] ... 

maps to the LaTeX code fragment

... Fractal symmetries in hot soups\\*[Kracke99] ...

that will no compile since the expression in square brackets is assumed to be a number.

Hence, a new line should be better mapped to

\\*[0pt]