Menu

#22 Commands over two lines are not recognized

open
nobody
7
2008-08-20
2002-05-01
No

If the argument of a (La)TeX command is placed on
another line, than the command itself, the structure
parser won't recognize the command (i.e. \section,
\caption, et.).

Discussion

  • Giuseppe Valitutti Netto

    Logged In: YES
    user_id=977860

    I think this is a parser problem. I tested with another
    LaTeX editor (TeXShell, very bad!), and the results is the
    same.
    This is not a TXC bug.

     
  • Tino Weinkauf

    Tino Weinkauf - 2008-08-20

    Logged In: YES
    user_id=439379
    Originator: NO

    The problem:

    \section
    {Not recognized}

    To fix it, we need to scan the input not line by line, but
    continuous. But this may create problems, if the regexp are
    not reviewed in detail.

    Fixing this looks more or less like rewriting the structure parser.
    Therefore, the person doing this should consider other bugs
    and features regarding this as well.

    @gspnetto: The parser is part of TXC. So it is a bug of TXC.

     
  • Tino Weinkauf

    Tino Weinkauf - 2008-08-20
    • summary: Command Arguments are not recognized --> Commands over two lines are not recognized
     

Anonymous
Anonymous

Add attachments
Cancel