>>From: Steve Litt <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Re: How to detect current font size, shape, series and the like?
>>Date: Mon, 14 May 2007 19:16:10 -0400
>>
>>On Friday 11 May 2007 15:09, Paul A. Rubin wrote:
>>> Steve Litt wrote:
[...]
>>This didn't work for me. Here's a tiny LaTeX file incorporating it:
>>
>>%====================================
>>\documentclass[12pt]{book}
>>[EMAIL PROTECTED]
>>
>>\begin{document}
>>mysize is \mysize
>>\end{document}
>>%====================================
>>
>>When I try to compile it, here's what happens:
[...]
>>Any ideas what I should do?

@ is not legal in latex documents, you must say that it is a plain letter:
\makeatletter
[EMAIL PROTECTED]
\makeatother

LyX does it for you, for the whole preamble, so without adding these commands,
tex2lyx yourdoc.tex; lyx -e dvi yourdoc.lyx; xdvi yourdoc
works...

-- 
Jean-Pierre

Reply via email to