> Hi Uwe,
> 2014-10-12 19:12 GMT+02:00 Uwe Brauer <[email protected]>:
> I can reproduce the bug with XEmacs but not with GNU Emacs, though I'm
> not familiar enough with preview internals to find the culprit by
> myself.
Sort of solved:
\newcounter{ubcomment}
\newcommand{\ubcomment}[2][]{%
\stepcounter{ubcomment}%
{%
%\todo[color={red!100!green!33},size=\small]{%
\todo[color={red!90!},size=\footnotesize]{%
\textbf{Fixme: UB [\uppercase{#1}\theubcomment]:}~#2}%
}}
Gives an error and its commented out version as well:
,----
|
| Runaway argument?
| \newcommand {\ubcomment }[2][]{^^M\stepcounter {ubcomment}^^M{^^M\todo \ETC.
| ! File ended while scanning use of ^^M.
| <inserted text>
| \par
| <*> &prv_test-preview test-preview.tex
|
| ! Emergency stop.
| <*> &prv_test-preview test-preview.tex
|
| No pages of output.
| Transcript written on test-preview.log.
`----
However
\newcounter{ubcomment}
\newcommand{\ubcomment}[2][]{%
\stepcounter{ubcomment}%
{%
\todo[color={red!90!},size=\footnotesize]{%
\textbf{Fixme: UB [\uppercase{#1}\theubcomment]:}~#2}%
}}
does not give an error, nor its commented out version.
Odd odd, but I can live with it.
Uwe
_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex