I'm using polyglossia (utf encoding) which collides with the old T2A/LGR encoding. Supposedly I'm not the only person with this problem...?
Here is what comes as error message: ! LaTeX Error: Command \textpalhookvar already defined. (for tipx) ... ! LaTeX Error: Command \iint already defined. (for amsopn) ... ! LaTeX Error: Command \textgreek already defined. (for polyglossia) Bernd -------- Original-Nachricht -------- > Datum: Mon, 05 Sep 2011 17:22:47 -0400 > Von: Richard Heck <rgh...@comcast.net> > An: Guest_NP <bernd.kappenb...@gmx.de> > CC: lyx-users@lists.lyx.org > Betreff: textgreek and textcyr > On 09/05/2011 01:32 PM, Guest_NP wrote: > > The biggest concern is everything that follows the "LyX specific > > LaTeX commands" (especially /greektext and /cyrtext). > > > What is the problem with these? LyX adds them for a reason, though the > people who added them would have to explain what the reason is. > > It may be possible to suppress them by adding: > Provides textgreek 1 > Provides textcry 1 > to your layout, e.g., in Local Layout under Document>Settings. (Do not > forget the format tag, though.) However, you will need to declare some > alternate declarations, I believe, since LyX uses the macros they declare. > > Richard > > > Bernd > > > > > > On Sep 5, 2011, at 4:49 PM, Richard Heck wrote: > > > >> On 09/05/2011 07:04 AM, Guest_NP wrote: > >>> Everything that shows up in LyX (from /userpackage(rotating) to > >>> "User-specified LaTeX commands."). > >>> > >>> I imagine that it must be somewhere in a file. > >>> > >> All of that is added automatically by LyX, depending upon various > >> factors in Document>Settings. Some of it you can suppress (e.g., > whether > >> esint is loaded "automatically"). What exactly do you wish to do? > >> > >> Richard > >> > >>> I can't change it in LyX itself because it is not editable. > >>> > >>> Bernd > >>> > >>> > >>> On Sep 5, 2011, at 12:08 AM, Richard Heck wrote: > >>> > >>>> On 09/04/2011 06:58 AM, Bernd Kappenberg wrote: > >>>>> That's what I did - but the lines don't show up. > >>>>> > >>>>> > >>>>> Here is what the LyX file says when opened in WordPad: > >>>>> > >>>>> #LyX 2.0 created this file. For more info see http://www.lyx.org/ > >>>>> \lyxformat 413 > >>>>> \begin_document > >>>>> \begin_header > >>>>> \textclass scrartcl > >>>>> \begin_preamble > >>>>> > >>>>> \usepackage[ table]{xcolor} > >>>>> ... > >>>>> > >>>>> > >>>>> Here is what the LyX file says when opened with LyX (2.0): > >>>>> > >>>>> %% LyX 2.0.0 created this file. For more info, see > >>>>> http://www.lyx.org/. > >>>>> %% Do not edit unless you really know what you are doing. > >>>>> \documentclass[twoside, fontsize=14, headinclude=true, > >>>>> DIV=calc]{scrartcl} > >>>>> \usepackage{fontspec} > >>>>> \setmainfont[Mapping=tex-text,Numbers=OldStyle]{Copperplate Gothic > >>>>> Bold} > >>>>> \setsansfont[Mapping=tex-text]{Comic Sans MS} > >>>>> \usepackage{geometry} > >>>>> > \geometry{verbose,tmargin=2.7cm,bmargin=2cm,lmargin=2cm,rmargin=2cm,headsep=0.021\textheight,footskip=0.7cm} > >>>>> > >>>>> > >>>>> \usepackage{rotating} > >>>>> \usepackage{tipa} > >>>>> \usepackage{tipx} > >>>>> \usepackage{textcomp} > >>>>> \usepackage{graphicx} > >>>>> \usepackage{setspace} > >>>>> \usepackage{esint} > >>>>> > >>>>> \makeatletter > >>>>> > >>>>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands. > >>>>> > \providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} > >>>>> > >>>>> \DeclareRobustCommand{\greektext}{% > >>>>> \fontencoding{LGR}\selectfont\def\encodingdefault{LGR}} > >>>>> \DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}} > >>>>> \DeclareFontEncoding{LGR}{}{} > >>>>> \DeclareTextSymbol{\~}{LGR}{126} > >>>>> \DeclareRobustCommand{\cyrtext}{% > >>>>> \fontencoding{T2A}\selectfont\def\encodingdefault{T2A}} > >>>>> \DeclareRobustCommand{\textcyr}[1]{\leavevmode{\cyrtext #1}} > >>>>> \AtBeginDocument{\DeclareFontEncoding{T2A}{}{}} > >>>>> > >>>>> %% Because html converters don't know tabularnewline > >>>>> \providecommand{\tabularnewline}{\\} > >>>>> %% A simple dot to overcome graphicx limitations > >>>>> \newcommand{\lyxdot}{.} > >>>>> > >>>>> > >>>>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. > >>>>> > >>>>> \usepackage[ table]{xcolor} > >>>>> ... > >>>>> > >>>>> > >>>>> So where are those additional settings hiding? > >>>>> > >>>> What settings are you looking for? > >>>> > >>>> Richard > >>>> > >> > -- Fragen zum Leben und Arbeiten in der EU? Der Wegweiserdienst der Europäischen Kommission bietet kostenlose Beratung per E-Mail: http://ec.europa.eu/citizensrights/front_end/index_de.htm ----------------------------------------------------------------------------- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone