Hi,
1. the "revtex4 home page" that I use is:
        http://authors.aps.org/revtex4/
2. the summary of revtex4 commands and options is here:
        http://authors.aps.org/revtex4/summary.ps
        http://authors.aps.org/revtex4/summary.tex
   according to this summary the following commands/options can have
   "[optional text]": "\email", "\homepage", "\altaffiliation",
   "\bibitem" (have a look at "\bibinfo" and "\footnotetext", too).
3. the revtex4 author's guide:
        http://authors.aps.org/revtex4/auguide.ps
        http://authors.aps.org/revtex4/auguide.tex
   contains some more elaborate descriptions of the "[optional text]".
4. please find attached a simple "tex2lyx_import_test.tex" file, which
   demonstrates the "tex2lyx import problems" (this is for sure not an
   comprehensive set of characters that are badly imported, just the
   result of my quick scan)
5. last, but not least, I did consider adding my problems into bugzilla,
   but it required me to "create an account" - that was too much for me.
   Sending an email to lyx related lists was much easier - my email
   address gets "confirmed" just the first time I send to a particular
   list. (I'm pretty sure that the bugzilla would require me to remember
   yet another "user" and "password" pair - that sucks, I've got way too
   many of them already).
Hope it helps,
Best regards,
Jacek.
\documentclass[twocolumn]{article}

\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{eurosym}

\begin{document}

\title{tex2lyx import test}
\author{Jacek M. Holeczek}

\maketitle

\section*{Introduction}
This small tex file contains some characters that are expected to be
recognized by tex2lyx. Note that, for some of these characters, there
are several equivalent ways to write them in LaTeX (I've seen all of
them used in different LaTeX files).
There are three general problems (compare the dvi/ps output from
native LaTeX for this file, with the one that you get from LyX after
tex2lyx):
(a) tex2lyx does not recognize it as a valid character and marks it as
an ERT, sometimes even two ERTs;
(b) tex2lyx recognizes it as a valid character, but it preserves the
follwing "space character", which should be deleted;
(c) tex2lyx recognizes it as a valid character, but the following
"\{\}" pair is marked as an ERT.
(Note that, there are cases where you can see problems (b)+(c) or
(a)+(b)+(c) together.)
(If you have problems with "eurosym", try "eurofont" in the LaTeX
Preamble, this is only needed for the "euro sign" anyhow.)

\section*{Some characters}

\# Polish characters

cedilla a : "\k{a}"

cedilla A : "\k{A}"

acute c : "\'{c}"

acute C : "\'{C}"

cedilla e : "\k{e}"

cedilla E : "\k{E}"

hugarian\_umlaut l : "\l{}", "\l {}", "\l "

hugarian\_umlaut L : "\L{}", "\L {}", "\L "

acute n : "\'{n}"

acute N : "\'{N}"

acute o : "\'{o}"

acute O : "\'{O}"

acute s : "\'{s}"

acute S : "\'{S}"

dot z : "\.{z}"

dot Z : "\.{Z}"

acute z : "\'{z}"

acute Z : "\'{Z}"

\# German characters

umlaut a : "\"a{}", "\"a", "\"{a}"

umlaut A : "\"A{}", "\"A", "\"{A}"

umlaut o : "\"o{}", "\"o", "\"{o}"

umlaut O : "\"O{}", "\"O", "\"{O}"

umlaut u : "\"u{}", "\"u", "\"{u}"

umlaut U : "\"U{}", "\"U", "\"{U}"

umlaut s : "\ss{}", "\ss {}", "\ss "

umlaut S : "\ss{}", "\ss {}", "\ss "

\# special ISO 8859-1 characters

umlaut \$ : "\pounds{}", "\pounds {}", "\pounds "

(depreciated) umlaut \# : "\S{}", "\S {}", "\S "

underdot \# : "\S{}", "\S {}", "\S "

(depreciated) umlaut \~{} : "\textdegree{}" , "\textdegree {}" , "\textdegree "

underdot \~{} : "\textdegree{}", "\textdegree {}", "\textdegree "

underdot 0 : "\textdegree{}", "\textdegree {}", "\textdegree "

underdot a : "\ae{}", "\ae {}", "\ae "

underdot A : "\AE{}", "\AE {}", "\AE "

underdot d : "\dh{}", "\dh {}", "\dh "

underdot D : "\DH{}", "\DH {}", "\DH "

underdot o : "\o{}", "\o {}", "\o "

underdot O : "\O{}", "\O {}", "\O "

underdot t : "\th{}", "\th {}", "\th "

underdot T : "\TH{}", "\TH {}", "\TH "

\# special ISO 8859-15 characters

underdot \$ : "\euro{}", "\euro {}", "\euro "

underdot e : "\oe{}", "\oe {}", "\oe "

underdot E : "\OE{}", "\OE {}", "\OE "

\end{document}

Reply via email to