There is 1 update.
 
 
LaTeX / cid:jira-generated-image-avatar-282d4897-f679-4c11-8247-f457d5fb5bda LATEX-157 Open

Opening square bracket after new line results in invalid LaTeX code

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-97ad87b4-6de6-48ed-b6b4-fbf53bf6dcd3 Changes by Guido Kracke on 21/Nov/24 22:38
 
Description: A new line ist mapped to
{noformat}
\\*
{noformat}
The full syntax specification of this command is
{noformat}
\\[*][extra-space]
{noformat}
Hence, the following XWiki fragment
{noformat}
[Gupta98] Frederic Gupta etal, 1998, Fractal symmetries in hot soups
[Kracke99] ...
{noformat}
maps to the LaTeX code fragment
{noformat}
... Fractal symmetries in hot soups\\*[Kracke99] ...
{noformat}
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
{noformat}
\\*
[0pt] {}
{noformat}