> > > The same problem happens if you write, for example,
> > >      title = "The \\textit{ABC} of Music";
> > > 
> > 
> > What is the difficulty about writing regular expressions to match
> > everything from one double quote to the next unescaped double quote.  
> 
> The problem is to parse the TeX code which may contain nested
> curly braces of any depth. The example above would result in:
> 
> \def\mudelatitle{The \textit{ABC}%
>   of Music}%
> 

An obvious fix for this example, at least, is to change the formatter
so that it doesn't add a '%' when it breaks a line at a place that had
white space in the original input.

 -- Bill Mitchell

Reply via email to