Re: Fwd: Undefined control sequence

2020-04-15 Thread Dr Eberhard Lisse
Jess,

this is not a minimal working example.

It has lots of stuff in the preamble, requires specific fonts and
packages to be installed.

Stepwise removal of all packages/stuff that doesn't cause the error to a
really skinned down document often helps...

Also exporting to LaTeX and running this sometimes helps.

el


On 13/04/2020 15:34, jezZiFeR wrote:
> Hello,
> 
> I get several »Undefined control sequence«-errors – could anybody
> please tell me, what the problem might be?  I add a minimal example
> and hope it is useful.
> 
> Thanks very much and well, happy Easter nonetheless, all best :)
> Jess

-- 
If you want to email me, replace nospam with el


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Undefined control sequence

2020-04-13 Thread Paul A. Rubin

On 4/13/20 1:05 PM, jezZiFeR wrote:


Am 13. Apr. 2020, 17:23 +0200 schrieb Paul A. Rubin :

On 4/13/20 10:28 AM, jezZiFeR wrote:


Am 13. Apr. 2020, 15:55 +0200 schrieb Kornel Benko :

Am Mon, 13 Apr 2020 15:34:56 +0200
schrieb jezZiFeR :


Hello,

I get several »Undefined control sequence«-errors – could anybody 
please tell me, what

the problem might be? I add a minimal example and hope it is useful.

Thanks very much and well, happy Easter nonetheless, all best :)
Jess





Result:
Cannot find '../Nextcloud/MaM/2020_MaM/Diss4.bib'!
Changing to Minimal and selecting other font (Dejavu instead of non 
installed "Stempel
Schneidler Std") I got no errors. This is with the master version 
of lyx (2.4).


With the same modification also no problem on lyx 2.3.

Kornel

— 




Hello,

thanks for your quick reply and sorry for not changing the path in 
the document. I have now also changed the font now and have updated 
to 2.3.4.2 on OSX 10.14.6 – but still get those errors.


I hope it is helpful, what is written in the error-description:

\select@language {german}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.


Thanks

Jess


Like Kornel, it compiles with no problems on my system (Linux Mint) 
after the changes he mentioned. From the error message, I wonder if 
babel cannot find a German language package. Which TeX system are you 
using? If TeXLive, do you have texlive-lang-german installed?


Paul

—




Dear Paul,

thanks! I still had TeXLive-2019 installed. After an update now things 
work fine. But nonetheless: waht is tex live-lang-german? In TeX Live 
Utility I could see I have TeX Live manual (German) installed. I 
suppose you mean this?


Best
Jess


There are a number of TeXLive packages for language support, including 
texlive-lang-german. They might more properly be called bundles of 
smaller LaTeX packages. See, for instance, 
https://trac.macports.org/wiki/TeXLivePackages. You might already have 
some/most of the packages in texlive-lang-german, but installing it is 
an easy way to make sure you have them all (and thus, hopefully, all the 
ones you need).


Paul

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Undefined control sequence

2020-04-13 Thread jezZiFeR

Am 13. Apr. 2020, 17:23 +0200 schrieb Paul A. Rubin :
> On 4/13/20 10:28 AM, jezZiFeR wrote:
> >
> > Am 13. Apr. 2020, 15:55 +0200 schrieb Kornel Benko :
> > > Am Mon, 13 Apr 2020 15:34:56 +0200
> > > schrieb jezZiFeR :
> > >
> > > > Hello,
> > > >
> > > > I get several »Undefined control sequence«-errors – could anybody 
> > > > please tell me, what
> > > > the problem might be? I add a minimal example and hope it is useful.
> > > >
> > > > Thanks very much and well, happy Easter nonetheless, all best :)
> > > > Jess
> > > >
> > > >
> > > >
> > >
> > > Result:
> > > Cannot find '../Nextcloud/MaM/2020_MaM/Diss4.bib'!
> > > Changing to Minimal and selecting other font (Dejavu instead of non 
> > > installed "Stempel
> > > Schneidler Std") I got no errors. This is with the master version of lyx 
> > > (2.4).
> > >
> > > With the same modification also no problem on lyx 2.3.
> > >
> > > Kornel
> > >
> > > —
> >
> >
> >
> > Hello,
> >
> > thanks for your quick reply and sorry for not changing the path in the 
> > document. I have now also changed the font now and have updated to 2.3.4.2 
> > on OSX 10.14.6 – but still get those errors.
> >
> > I hope it is helpful, what is written in the error-description:
> > \select@language {german}
> > The control sequence at the end of the top line
> > of your error message was never \def'ed. If you have
> > misspelled it (e.g., `\hobx'), type `I' and the correct
> > spelling (e.g., `I\hbox'). Otherwise just continue,
> > and I'll forget about whatever was undefined.
> >
> > Thanks
> > Jess
> >
> Like Kornel, it compiles with no problems on my system (Linux Mint) after the 
> changes he mentioned. From the error message, I wonder if babel cannot find a 
> German language package. Which TeX system are you using? If TeXLive, do you 
> have texlive-lang-german installed?
>
> Paul
>
> —



Dear Paul,

thanks! I still had TeXLive-2019 installed. After an update now things work 
fine. But nonetheless: waht is tex live-lang-german? In TeX Live Utility I 
could see I have TeX Live manual (German) installed. I suppose you mean this?

Best
Jess


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Undefined control sequence

2020-04-13 Thread Paul A. Rubin

On 4/13/20 10:28 AM, jezZiFeR wrote:


Am 13. Apr. 2020, 15:55 +0200 schrieb Kornel Benko :

Am Mon, 13 Apr 2020 15:34:56 +0200
schrieb jezZiFeR :


Hello,

I get several »Undefined control sequence«-errors – could anybody 
please tell me, what

the problem might be? I add a minimal example and hope it is useful.

Thanks very much and well, happy Easter nonetheless, all best :)
Jess





Result:
Cannot find '../Nextcloud/MaM/2020_MaM/Diss4.bib'!
Changing to Minimal and selecting other font (Dejavu instead of non 
installed "Stempel
Schneidler Std") I got no errors. This is with the master version of 
lyx (2.4).


With the same modification also no problem on lyx 2.3.

Kornel

— 




Hello,

thanks for your quick reply and sorry for not changing the path in the 
document. I have now also changed the font now and have updated to 
2.3.4.2 on OSX 10.14.6 – but still get those errors.


I hope it is helpful, what is written in the error-description:

\select@language {german}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.


Thanks

Jess


Like Kornel, it compiles with no problems on my system (Linux Mint) 
after the changes he mentioned. From the error message, I wonder if 
babel cannot find a German language package. Which TeX system are you 
using? If TeXLive, do you have texlive-lang-german installed?


Paul

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Undefined control sequence

2020-04-13 Thread jezZiFeR

Am 13. Apr. 2020, 15:55 +0200 schrieb Kornel Benko :
> Am Mon, 13 Apr 2020 15:34:56 +0200
> schrieb jezZiFeR :
>
> > Hello,
> >
> > I get several »Undefined control sequence«-errors – could anybody please 
> > tell me, what
> > the problem might be? I add a minimal example and hope it is useful.
> >
> > Thanks very much and well, happy Easter nonetheless, all best :)
> > Jess
> >
> >
> >
>
> Result:
> Cannot find '../Nextcloud/MaM/2020_MaM/Diss4.bib'!
> Changing to Minimal and selecting other font (Dejavu instead of non installed 
> "Stempel
> Schneidler Std") I got no errors. This is with the master version of lyx 
> (2.4).
>
> With the same modification also no problem on lyx 2.3.
>
> Kornel
>
> —



Hello,

thanks for your quick reply and sorry for not changing the path in the 
document. I have now also changed the font now and have updated to 2.3.4.2 on 
OSX 10.14.6 – but still get those errors.

I hope it is helpful, what is written in the error-description:
\select@language {german}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

Thanks
Jess
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Undefined control sequence

2020-04-13 Thread Kornel Benko
Am Mon, 13 Apr 2020 15:34:56 +0200
schrieb jezZiFeR :

> Hello,
> 
> I get several »Undefined control sequence«-errors – could anybody please tell 
> me, what
> the problem might be? I add a minimal example and hope it is useful.
> 
> Thanks very much and well, happy Easter nonetheless, all best :)
> Jess
> 
> 
> 

Result:
Cannot find '../Nextcloud/MaM/2020_MaM/Diss4.bib'!
Changing to Minimal and selecting other font (Dejavu instead of non installed 
"Stempel
Schneidler Std") I got no errors. This is with the master version of lyx (2.4).

With the same modification also no problem on lyx 2.3.

Kornel


pgp59_B76WxOL.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Fwd: Undefined control sequence

2020-04-13 Thread jezZiFeR
Hello,

I get several »Undefined control sequence«-errors – could anybody please tell 
me, what the problem might be? I add a minimal example and hope it is useful.

Thanks very much and well, happy Easter nonetheless, all best :)
Jess








2020-04-13_Minimal.lyx
Description: Binary data


Minimal.bib
Description: Binary data
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Beamer document: Undefined control sequence [FIXED]

2020-04-10 Thread Rich Shepard

On Fri, 10 Apr 2020, Paul A. Rubin wrote:


I think you have a typo in the last line of your preamble, in the argument
to \logo (should be \pdfuseimage rather than \pfuseimage)?


Paul,

Oops! That did sneak in somehow. Correcting the typo didn't fix the problem,
but I'm not using a logo in this webinar so I commented out those two lines.
That fixed the problem.


Also, thanks for using the EastLansing theme. Go Green! Go White! Go
State!


Glad you're not partisan, Paul.

I've used several themes in presentations because I tire of one, and I want
to control audience response by the colors and layout used with in-person
presentations. I don't think it's that important with webinars.

Stay well,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Beamer document: Undefined control sequence

2020-04-10 Thread Paul A. Rubin

On 4/10/20 11:18 AM, Rich Shepard wrote:

I copied a .lyx beamer class file to a new name and am modifying the copy
for a different presentation. (I did this because I like the layout in 
the

original and copying is a quick way to get that in the new document.)

However, when I compile it (pdflatex) using Ctrl-h an error box 
displays an
undefined control sequence in \makebeamertitle only the copied file, 
not the

original. Yet, the .pdf file is produced and displays. A mwe.lyx is
attached.

While I close the error box and go on, I'd like to understand what 
broke in

the copy so I can fix it.

I hope you're all healthy -- and stay that way -- and coping with the
pandemic and economic disruptions.

Regards,

Rich


Rich,

I think you have a typo in the last line of your preamble, in the 
argument to \logo (should be \pdfuseimage rather than \pfuseimage)?


Also, thanks for using the EastLansing theme. Go Green! Go White! Go State!

Paul

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Beamer document: Undefined control sequence

2020-04-10 Thread Rich Shepard

I copied a .lyx beamer class file to a new name and am modifying the copy
for a different presentation. (I did this because I like the layout in the
original and copying is a quick way to get that in the new document.)

However, when I compile it (pdflatex) using Ctrl-h an error box displays an
undefined control sequence in \makebeamertitle only the copied file, not the
original. Yet, the .pdf file is produced and displays. A mwe.lyx is
attached.

While I close the error box and go on, I'd like to understand what broke in
the copy so I can fix it.

I hope you're all healthy -- and stay that way -- and coping with the
pandemic and economic disruptions.

Regards,

Rich#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass beamer
\begin_preamble
\usepackage{palatino}
\date{}
\usepackage{mathpazo}
\usepackage{pdfpages}
\usetheme{EastLansing}
\useinnertheme{circles}
\useoutertheme{smoothtree}
\usecolortheme{beaver}
\setbeamercovered{transparent}
\usepackage{graphicx,relsize}

\pgfdeclareimage[height=0.5cm]{institution-logo}{/home/rshepard/data/wpdocs/seminars/aesi-logo}

\logo{\pfuseimage{institution-logo}}
\end_preamble
\use_default_options false
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "palatino" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 0
\use_package mathdots 0
\use_package mathtools 1
\use_package mhchem 0
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 2
\tocdepth 2
\paragraph_separation skip
\defskip medskip
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Title
Title
\end_layout

\begin_layout Subtitle
Subtitle
\end_layout

\begin_layout Author

\size small
\begin_inset Argument 1
status collapsed

\begin_layout Plain Layout
Rich Shepard
\end_layout

\end_inset

Richard B.
 Shepard, Ph.D.
\begin_inset Newline newline
\end_inset

Applied Ecosystem Services, LLC.
\begin_inset Newline newline
\end_inset


\size scriptsize
(Copyright 
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
copyright
\end_layout

\end_inset

 2020 
\noun on
Applied Ecosystem Services, LLC
\noun default
)
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout

%
\backslash
beamerdefaultoverlayspecification{<+->}
\end_layout

\end_inset


\end_layout

\begin_layout Section*
Introduction
\end_layout

\end_body
\end_document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Lyx Fehlermeldung Undefined control sequence

2017-07-12 Thread Jürgen Spitzmüller
2017-07-12 11:23 GMT+02:00 Matthias Wagner :

> Hello Jürgen,
>
>
>
> you’re right with the english. Sorry.
>
>
>
> After loading the refstyle it works. Thank you for your fast help! :-)
>
>
>
> But do you know why  it works some times without  editing the refstyle
> package in the preamble?
>

Probably since you have a "native" LyX cross reference inserted which
causes LyX to load the package (see my description in the last post).

I still think the main problem is that you use TeX mode for labels and
references.

Jürgen

>


Re: Lyx Fehlermeldung Undefined control sequence

2017-07-12 Thread Jürgen Spitzmüller
Am 12. Juli 2017 um 08:41 schrieb Matthias Wagner <
matthias.wagne...@yahoo.de>:

> Hallo Zusammen,
>
>
>
> ich hoffe Ihr könnt mir weiterhelfen.
>

Hi. This is an English list, so I answer in English.


>
>
> Ich habe ein Problem mit den Bildunterschriften.
>
>
>
> Ich habe folgenden Textvorspann:
>
>
>
> \parindent0em
>
> \parskip3pt
>
>
>
> % Text in Kopfzeile aussen
>
> \fancyhead[LE,RO]{\nouppercase{\leftmark} }
>
> % Text in Kopfzeile innen
>
> \fancyhead[RE,LO]{}
>
> % Text in Fusszeile mittig
>
> \fancyfoot[CE,CO]{\thepage}
>
>
>
> \usepackage[hyphens]{url}
>
>
>
> \usepackage{hyperref}
>
>
>
> \usepackage{flafter}
>
>
>
> \usepackage[justification=RaggedRight, singlelinecheck=false]{caption}
>
> \usepackage[section]{placeins}
>
>
>
> \usepackage{colortbl}
>
>
>
> \usepackage{placeins}
>
>
>
>
>
>
>
>
>
> Leider habe ich das Problem, dass ich ein paar Stunden schreiben kann und
> auch die PDF Datei immer korrekt erzeugt wird und auf einmal bekomme ich
> ständig diese Fehlermeldung:
>
>
>
>

\figref is a command of the refstyle package. Make sure this is loaded.
Refstyle is loaded by LyX if:

1. You have "Use refstyle instead of prettyref ..." checked in Document >
Settings > Class Settings
2. You have actually inserted a cross reference whose format requires
refstyle


>
>
> Hier ist ein Beispiel für meine Bildunterschrift:
>
>
>
>
>
>
>
> Hier wäre ein Beispiel für einen textbezug zu dem Bild:
>
>
>
>

Why do you use TeX mode for the caption, label and figure? LyX provides
native support for these.

If you insist in using TeX mode, you need to manually load refstyle in the
preamble.

HTH
Jürgen



>


Lyx Fehlermeldung Undefined control sequence

2017-07-11 Thread Matthias Wagner
Hallo Zusammen,

 

ich hoffe Ihr könnt mir weiterhelfen.

 

Ich habe ein Problem mit den Bildunterschriften.

 

Ich habe folgenden Textvorspann:

 

\parindent0em

\parskip3pt

 

% Text in Kopfzeile aussen

\fancyhead[LE,RO]{\nouppercase{\leftmark} }

% Text in Kopfzeile innen

\fancyhead[RE,LO]{}

% Text in Fusszeile mittig

\fancyfoot[CE,CO]{\thepage}

 

\usepackage[hyphens]{url}

 

\usepackage{hyperref}

 

\usepackage{flafter}

 

\usepackage[justification=RaggedRight, singlelinecheck=false]{caption} 

\usepackage[section]{placeins}

 

\usepackage{colortbl}

 

\usepackage{placeins}

 

 

 

 

Leider habe ich das Problem, dass ich ein paar Stunden schreiben kann und
auch die PDF Datei immer korrekt erzeugt wird und auf einmal bekomme ich
ständig diese Fehlermeldung:

 



 

 

Ich kann mehrere Stunden am Stück arbeiten und bekomme jedes Mal die PDF
Datei ohne Fehler erzeugt.

 

Hier ist ein Beispiel für meine Bildunterschrift:

 

 

 

Hier wäre ein Beispiel für einen textbezug zu dem Bild:

 



 

In meinen Augen sollte das alles passen..

 

Könnt Ihr mir bitte helfen was hier das Problem ist in meinem Fall?

 

 

Sobald der Fehler einmal aufgetreten ist, muss ich das gesamte Dokument neu
aufbauen, dass dieser wieder weg geht.

 

 

Vorab Vielen Dank für Eure Hilfe.

 

Viele Grüße

Matthias

 

 

 



Re: Spell check, babel, multiple languages, and undefined control sequence error.

2016-08-22 Thread Jürgen Spitzmüller
Am Donnerstag, den 11.08.2016, 11:16 -0400 schrieb Marshall Feldman:
> I'm using the memoir class to produce a LyX document that's mainly
> written in U.S. English but has several quotes that use British (UK)
> English. So when I put the document through LyX's spell check and
> came
> to words like "behaviours," I just marked them as UK English. But
> when I
> tried to compile the document, LaTeX threw an error saying the
> command
> "\foreignlanguage{british}{behaviours}" was undefined.

This is strange. Can you post a minimal example (LyX) file?

> 
> No problem, I thought. I'll just put a command in the document
> preface
> to load babel with both languages:
> \usepackage[british,american]{babel}.
> But this didn't work because LaTeX threw an error saying babel had
> already been loaded. But for the life of me, I can't find where babel
> is
> being loaded. The memoir manual says it does not duplicate the
> functionality of packages like babel, and babel is not in the list of
> packages memoir loads. So by a process of elimination, I can only
> guess
> that LyX is surreptitiously loading babel. But if so, shouldn't it be
> doing so with options for all the languages used in the document?
> (I.e.,
> is this a bug in LyX?)

No, it's a feature. LyX loads babel when needed.

Jürgen

signature.asc
Description: This is a digitally signed message part


Re: Spell check, babel, multiple languages, and undefined control sequence error.

2016-08-11 Thread Jürgen Lange
Mark the quote, then (rightclick) > Text Style > Customized... > Language  
to English (UK).
The whole quote is now underlined with blue color, indicating that a  
"foreign" language is used.

The rest of the document remains English (USA).

Regards
Jürgen

Am 11.08.2016, 17:16 Uhr, schrieb Marshall Feldman:


I'm using the memoir class to produce a LyX document that's mainly
written in U.S. English but has several quotes that use British (UK)
English. So when I put the document through LyX's spell check and came
to words like "behaviours," I just marked them as UK English. But when I
tried to compile the document, LaTeX threw an error saying the command
"\foreignlanguage{british}{behaviours}" was undefined.

No problem, I thought. I'll just put a command in the document preface
to load babel with both languages: \usepackage[british,american]{babel}.
But this didn't work because LaTeX threw an error saying babel had
already been loaded. But for the life of me, I can't find where babel is
being loaded. The memoir manual says it does not duplicate the
functionality of packages like babel, and babel is not in the list of
packages memoir loads. So by a process of elimination, I can only guess
that LyX is surreptitiously loading babel. But if so, shouldn't it be
doing so with options for all the languages used in the document? (I.e.,
is this a bug in LyX?)

This is happening using LyX 2.2.1 on an iMac running OS X 10.10.5
(Yosemite), with MacTeX 2016 and all packages updated to their latest
version with the TeX Live utility. The Language settings in the LyX file
are "English (USA)," with Encoding set to Unicode (utf8), and Language
package set to "Automatic."

How can I fix this problem?

Thanks.





Spell check, babel, multiple languages, and undefined control sequence error.

2016-08-11 Thread Marshall Feldman
I'm using the memoir class to produce a LyX document that's mainly
written in U.S. English but has several quotes that use British (UK)
English. So when I put the document through LyX's spell check and came
to words like "behaviours," I just marked them as UK English. But when I
tried to compile the document, LaTeX threw an error saying the command
"\foreignlanguage{british}{behaviours}" was undefined.

No problem, I thought. I'll just put a command in the document preface
to load babel with both languages: \usepackage[british,american]{babel}.
But this didn't work because LaTeX threw an error saying babel had
already been loaded. But for the life of me, I can't find where babel is
being loaded. The memoir manual says it does not duplicate the
functionality of packages like babel, and babel is not in the list of
packages memoir loads. So by a process of elimination, I can only guess
that LyX is surreptitiously loading babel. But if so, shouldn't it be
doing so with options for all the languages used in the document? (I.e.,
is this a bug in LyX?)

This is happening using LyX 2.2.1 on an iMac running OS X 10.10.5
(Yosemite), with MacTeX 2016 and all packages updated to their latest
version with the TeX Live utility. The Language settings in the LyX file
are "English (USA)," with Encoding set to Unicode (utf8), and Language
package set to "Automatic."

How can I fix this problem?

Thanks.






Re: Undefined control sequence

2014-04-30 Thread Jürgen Spitzmüller
2014-04-30 14:44 GMT+02:00 Patrick Dupre:

> This is was come in the tex file:
>
> \documentclass[11pt,a4paper,english,\use_default_options false]{moderncv}
>

Are you able to reproduce this problem? If so, can you tell us how?

In any case, removing \use_default_options false will fix the problem for
you.

Jürgen


Undefined control sequence

2014-04-30 Thread Patrick Dupre
Also,

With the new version, I get:
! Undefined control sequence.
 11pt,a4paper,english,\use 
                                     _default

This is was come in the tex file:

\documentclass[11pt,a4paper,english,\use_default_options false]{moderncv}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}

===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===


Undefined control sequence

2014-01-12 Thread Colin Kincaid Williams
I created a table in a paragraph section and it won't render to pdf. Not
sure what I'm doing wrong.


% Preview source code for paragraph 0



\paragraph{%

\begin{tabular}{|c|c|c|c|c|c|c|c|c|}

\hline

binary & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0\tabularnewline

\hline

\hline

$2^{n}$ & $2^{7}$ & $2^{6}$ & $2^{5}$ & $2^{4}$ & $2^{3}$ & $2^{2}$ &
$2^{1}$ & $2^{0}$\tabularnewline

\hline

base 10 & 128 & 64 & 32 & 16 & 8 & 4 & 2 & 1\tabularnewline

\hline

\end{tabular}}


Re: Problems with Undefined control sequence - \newfloat \float \floatstyle

2013-05-20 Thread Julien Rioux

On 14/05/2013 7:21 PM, caio rodrigues wrote:

Hi Stefano,

The Makefile has solved my issues by just ignoring the error and forcing
the compilation by doing : make recompile. The Lyx version is : LyX 2.0.3 .



Actually, maybe LyX should just have an option to keep processing even 
in case of errors, as is possible with many LaTeX editors or by 
compiling yourself.



Here is the latex generated preamble : http://sprunge.us/eHWi


In the tex source code I 've seen that : Lyx automatically inserts this
codes.


\DeclareTextSymbol{\~}{LGR}{126}
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
\floatstyle{}
\newfloat{}{}{}
\providecommand{\name}{}
\floatname{}{\protect\name}




Can you please provide a minimal LyX file and the custom layout file you 
are using? Obviously, LyX shouldn't be outputting these empty float 
definitions.



If I compile by exporting to tex  and doing :   pdflatex
monografia-parcial18.tex  it will give the same errors that are reported
in Lyx.

If I remove this codes in the tex file and compile it , there won't be
any errors reported and any issues.

If I don't remove this trouble code and export to Tex  and do:  pdflatex
  .tex   and hit CR every time and do all others steps like
bibitex,  makeindex and forcing the compilation. It will build the
  target pdf file as expected. That is what the makefile does.

I believe that another benefit of Makefile is more control  and make
more easier to find the errors by viewing the error log file and all the
compilation process.  In addition the user can add more automation like
version control , send to remote repository ...  The makefile is one the
best Unix tools.

I hope this Makefile be useful to someone.

Regards,
Caio


That's great, thanks for sharing!

--
Julien



Re: Problems with Undefined control sequence - \newfloat \float \floatstyle

2013-05-14 Thread caio rodrigues
Hi Stefano,

The Makefile has solved my issues by just ignoring the error and forcing
the compilation by doing : make recompile. The Lyx version is : LyX 2.0.3 .

 The makefile  exports the lyx file to tex file and compiles by using:
   lyx -batch -f -e latex finalproject-report.lyx
and generates   finalproject-report.tex and compiles it.

There are a lot of errors in LaTex that aren't  important and annoying .  I
have installed all LaTex packages in Linux .

Here is the makefile code:  http://sprunge.us/WhPi

Going back to the error subject:
The  LyX gives three errors when I try to compile:

(1)

 \floatstyle

{}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.


(2)

 \newfloat

{}{}{}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.


(3)

 \floatname

{}{\protect\name}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.



Here is the complete error log :  http://sprunge.us/aQXJ

Here is the latex generated preamble :  http://sprunge.us/eHWi


In the tex source code I 've seen that : Lyx automatically inserts this
codes.


\DeclareTextSymbol{\~}{LGR}{126}
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
\floatstyle{}
\newfloat{}{}{}
\providecommand{\name}{}
\floatname{}{\protect\name}


If I compile by exporting to tex  and doing :   pdflatex
monografia-parcial18.tex  it will give the same errors that are reported in
Lyx.

If I remove this codes in the tex file and compile it , there won't be any
errors reported and any issues.

If I don't remove this trouble code and export to Tex  and do:  pdflatex
 .tex   and hit CR every time and do all others steps like bibitex,
 makeindex and forcing the compilation. It will build the  target pdf file
as expected. That is what the makefile does.

I believe that another benefit of Makefile is more control  and make more
easier to find the errors by viewing the error log file and all the
compilation process.  In addition the user can add more automation like
version control , send to remote repository ...  The makefile is one the
best Unix tools.

I hope this Makefile be useful to someone.

Regards,
Caio







2013/5/14 stefano franchi 

>
>
>
> On Mon, May 13, 2013 at 11:08 AM, caio rodrigues <
> caiorss.rodrig...@gmail.com> wrote:
>
>> Thanks anyway. I have found the following solution.  It's better to use a
>> Makefile to compile the LyX file . One advantage of using the makefile is
>> that debugging is more easier and the folder gets more clean after
>> compilation and the  It can ignore the LaTex errors that are not critical
>> and perform intermediare operations. And makes the Unix Junkies more happy.
>>
>>
> Hi Caio,
>
> I am not really sure how switching to Latex export plus direct compilation
> with a makefile solved your original issues. What happened to those errors
> you got when compiling from within lyx? Did they magically disappear? That
> may indicate that lyx is not finding all your Tex packages.
>
> Cheers,
>
> S.
>
> --
> __
> Stefano Franchi
> Associate Research Professor
> Department of Hispanic StudiesPh:   +1 (979) 845-2125
> Texas A&M University  Fax:  +1 (979) 845-6421
> College Station, Texas, USA
>
> stef...@tamu.edu
> http://stefano.cleinias.org
>


Re: Problems with Undefined control sequence - \newfloat \float \floatstyle

2013-05-14 Thread stefano franchi
On Mon, May 13, 2013 at 11:08 AM, caio rodrigues <
caiorss.rodrig...@gmail.com> wrote:

> Thanks anyway. I have found the following solution.  It's better to use a
> Makefile to compile the LyX file . One advantage of using the makefile is
> that debugging is more easier and the folder gets more clean after
> compilation and the  It can ignore the LaTex errors that are not critical
> and perform intermediare operations. And makes the Unix Junkies more happy.
>
>
Hi Caio,

I am not really sure how switching to Latex export plus direct compilation
with a makefile solved your original issues. What happened to those errors
you got when compiling from within lyx? Did they magically disappear? That
may indicate that lyx is not finding all your Tex packages.

Cheers,

S.

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A&M University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Problems with Undefined control sequence - \newfloat \float \floatstyle

2013-05-13 Thread caio rodrigues
Thanks anyway. I have found the following solution.  It's better to use a
Makefile to compile the LyX file . One advantage of using the makefile is
that debugging is more easier and the folder gets more clean after
compilation and the  It can ignore the LaTex errors that are not critical
and perform intermediare operations. And makes the Unix Junkies more happy.

Here the makefile code: I hope this to be useful to someone else :

To compile and catch the errors:   $ make
To compile and ignore the annoying errors:  $ make remake  ( automatically
open the document in pdf )
To compile and update without reopen the document in pdf: $ make update




#  Author: Caio Rodrigues
#  Description: Compiles lyx file to pdflatex
#
#  Commands:
#  make remake:  Force recompile and ignore non critical errors and
open the pdf
#  make update :  Update the generated pdf
#  make :  Compile catching the errors
#
#

# LYX FILE NAME TO BE COMPILED
#
SRCC=monografia-parcial18.lyx


# BASENAME - Name without file type
SRC=$(basename $(SRCC))
# TEX file name
TEXNAME=$(SRC).tex
REPORT=$(SRC).pdf

#
# LATEX PROCESSOR TOOLS   #
#
#
# LATEX PROCESSOR
TEX = pdflatex -shell-escape -interaction=nonstopmode -file-line-error
# Index Processor
INDEX= makeindex
# BIBTEX PROCESSOR
BIB= bibtex
# PDF VIWER
#PDF=okular
PDF=evince


ALL:$(REPORT)



$(REPORT) : $(TEXNAME)

$(TEX) $(SRC)
 # Generates the reference
 $(BIB) $(SRC)
$(BIB) $(SRC)
$(INDEX)  $(SRC).nlo -s nomencl.ist -o $(SRC).nls
 $(TEX) $(SRC)
$(TEX) $(SRC)
$(TEX) $(SRC)
# Generate list of symbols and names
 #
#$(INDEX)  $(SRC).nlo -s nomencl.ist -o $(SRC).nls
#$(TEX) $(SRC)
 #$(TEX) $(SRC)
@echo ""
@echo "--"
 @echo "   END of compilation "
@echo "--"



$(TEXNAME) : $(SRCC)
lyx -batch -f -e latex   $(SRCC)



remake:
 #   Clean and make the target file again
#  and clean the mess and view pdf
#
 make cleanall # Restart compile
make -i# Ignore errors
 make clean  # Clean the mess
$(PDF) $(REPORT) & > /dev/null 2>&1

update:
#   Update the taret file and clean the mess
#
rm -rf $(REPORT)
 make -i
# make clean

clean:
rm -rf  $(TEXNAME)   *.bak *.aux *.blg *.idx
 rm -rf *.toc *.out *.dvi *.siglx *.symbols *.lof *.bbl
rm -rf *.ilg *.lot *.nlo *.sigla *.nls *.siglax *.symbolsx


cleanall:
rm -rf $(REPORT)
make clean



# Dummy to command to test the makefile commands
#
dummy:
@echo  "TEXNAME="$(TEXNAME)
 @echo  "SRCC="$(SRCC)
@echo  "SRC="$(SRC)
@echo  "REPORT="$(REPORT)








2013/5/10 stefano franchi 

>
> On Tue, Apr 30, 2013 at 12:42 PM, caio rodrigues <
> caiorss.rodrig...@gmail.com> wrote:
>
>>
>> %% Because html converters don't know tabularnewline
>> \providecommand{\tabularnewline}{\\}
>> \floatstyle{}
>> \newfloat{}{}{}
>> \providecommand{\name}{}
>> \floatname{}{\protect\name}
>>
>
> The first line is inserted automatically as soon as you start a new table
> float. But I have never seen the following 4 lines. Did LyX insert them in
> the preamble? Have you tried inserting a table into  a new test file?
>
>
> Cheers,
>
> Stefano
>
>
> --
> __
> Stefano Franchi
> Associate Research Professor
> Department of Hispanic StudiesPh:   +1 (979) 845-2125
> Texas A&M University  Fax:  +1 (979) 845-6421
> College Station, Texas, USA
>
> stef...@tamu.edu
> http://stefano.cleinias.org
>


Re: Problems with Undefined control sequence - \newfloat \float \floatstyle

2013-05-10 Thread stefano franchi
On Tue, Apr 30, 2013 at 12:42 PM, caio rodrigues <
caiorss.rodrig...@gmail.com> wrote:

>
> %% Because html converters don't know tabularnewline
> \providecommand{\tabularnewline}{\\}
> \floatstyle{}
> \newfloat{}{}{}
> \providecommand{\name}{}
> \floatname{}{\protect\name}
>

The first line is inserted automatically as soon as you start a new table
float. But I have never seen the following 4 lines. Did LyX insert them in
the preamble? Have you tried inserting a table into  a new test file?


Cheers,

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A&M University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Problems with Undefined control sequence - \newfloat \float \floatstyle

2013-04-30 Thread caio rodrigues
I am using Lyx 2.0.5.1 on linux / Archlinux and using the class a derivate
of class report .  When I try to generate the PDF I get the errors :


)) (/usr/share/texmf-dist/tex/latex/fragments/subscript.sty)

! Undefined control sequence.

l.24 \floatstyle

{}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.



! Undefined control sequence.

l.25 \newfloat

{}{}{}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.


! Undefined control sequence.

l.27 \floatname

{}{\protect\name}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.



Those errors always happens when I put a table  inside a table float.
Viewing the table float source code I get :

% Preview source code for paragraph 248


\begin{table}

\begin{espacoumemeio}

\begin{tabular}{|l|l|l||l||l||cl|}

\hline

\multicolumn{7}{|c|}{\textbf{Especificações do Projeto}}\tabularnewline

\hline

Topologia da conversor & \multicolumn{6}{l|}{Boost - Elevador de
tensão}\tabularnewline

\hline

Mínima tensão de entrada & Vi1 & \multicolumn{4}{r}{10} & V\tabularnewline

\hline

Máxima tensão de entrada & Vi2 & \multicolumn{4}{r}{21} & V\tabularnewline

\hline

Mínima tensão de saída & Vo1 & \multicolumn{4}{r}{27} & V\tabularnewline

\hline

Máxima tensão de saída & Vo2 & \multicolumn{4}{r}{28.8} & V\tabularnewline

\hline

Máxima potência transmitida & Pmax & \multicolumn{4}{r}{30} &
W\tabularnewline

\hline

Frequência de chaveadmento & fs & \multicolumn{4}{r}{20} &
KHz\tabularnewline

\hline

Ondulação da tensão de saída & $\Delta v_{O\%}$ & \multicolumn{4}{r}{1} &
\%\tabularnewline

\hline

\end{tabular}

\end{espacoumemeio}

\caption{\textbf{Especificações do Projeto}}



\end{table}



But when I export to tex-pdflatex and remove the lines


%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
\floatstyle{}
\newfloat{}{}{}
\providecommand{\name}{}
\floatname{}{\protect\name}


and it compiles as expected.

Anyone has faced this kind of problem ? Or have any clues ?
Or is there any way to remove those commands by overriding them ?


Re: Could you help me to solve lyx error "Undefined control sequence" at \maketitle...

2012-05-01 Thread PhilipPirrip

Minimal example files, please.




Re: Child document and "Undefined control sequence"

2011-08-02 Thread Richard Heck
On 08/02/2011 05:21 AM, enrico wrote:
> hello,
>
> i need to use this functionality that has been reported to have a bug
>
The problem reported below has been fixed in svn branch...

> [i'm including a child custom program listing in a child document.
> when i try to compile it, after adding all the definitions in the master 
> document preamble i get 'undefined control sequence'. if i put my program 
> listing in the main document the compile completes successfully]
>
> is this problem resolved in the svn version?
>
but I am not sure if this is the same problem. I suppose you can find out.

Richard

> thank you
>
>
> On Fri, 15 Jul 2011 18:50:11 -0400, Richard Heck wrote:
>
>> On 07/15/2011 06:10 AM, Giacomo Z wrote:
>>> Dear all,
>>>
>>> I am having a problem with a child document - I attached the minimal
>>> working files to be copied in the same directory. The "master" file
>>> contains the child document "Child" (as include). When I try to compile
>>> the PDF I get several "Undefined control sequence" error. If I open
>>> only the child document "Child", I can compile the PDF with no problem.
>>> I tried some solutions I found on the list but with no success so far.
>>>
>>> Some more information:
>>> - AMS maths package seems to be active in both files - Preamble is
>>> empty for both files
>>>
>>> Any idea on how can I solve the problem?
>>>
>> Actually, I'll report this. I see the problem.
>>
>> rh



Re: Child document and "Undefined control sequence"

2011-08-02 Thread enrico
hello,

i need to use this functionality that has been reported to have a bug

[i'm including a child custom program listing in a child document.
when i try to compile it, after adding all the definitions in the master 
document preamble i get 'undefined control sequence'. if i put my program 
listing in the main document the compile completes successfully]

is this problem resolved in the svn version?

thank you


On Fri, 15 Jul 2011 18:50:11 -0400, Richard Heck wrote:

> On 07/15/2011 06:10 AM, Giacomo Z wrote:
>> Dear all,
>>
>> I am having a problem with a child document - I attached the minimal
>> working files to be copied in the same directory. The "master" file
>> contains the child document "Child" (as include). When I try to compile
>> the PDF I get several "Undefined control sequence" error. If I open
>> only the child document "Child", I can compile the PDF with no problem.
>> I tried some solutions I found on the list but with no success so far.
>>
>> Some more information:
>> - AMS maths package seems to be active in both files - Preamble is
>> empty for both files
>>
>> Any idea on how can I solve the problem?
>>
> Actually, I'll report this. I see the problem.
> 
> rh




Re: Child document and "Undefined control sequence"

2011-07-15 Thread Richard Heck
On 07/15/2011 06:10 AM, Giacomo Z wrote:
> Dear all,
>
> I am having a problem with a child document - I attached the minimal
> working files to be copied in the same directory. The "master" file
> contains the child document "Child" (as include). When I try to
> compile the PDF I get several "Undefined control sequence" error. If I
> open only the child document "Child", I can compile the PDF with no
> problem. I tried some solutions I found on the list but with no
> success so far.
>
> Some more information:
> - AMS maths package seems to be active in both files
> - Preamble is empty for both files
>
> Any idea on how can I solve the problem?
>
Actually, I'll report this. I see the problem.

rh



Re: Child document and "Undefined control sequence"

2011-07-15 Thread Richard Heck
On 07/15/2011 06:10 AM, Giacomo Z wrote:
> Dear all,
>
> I am having a problem with a child document - I attached the minimal
> working files to be copied in the same directory. The "master" file
> contains the child document "Child" (as include). When I try to
> compile the PDF I get several "Undefined control sequence" error. If I
> open only the child document "Child", I can compile the PDF with no
> problem. I tried some solutions I found on the list but with no
> success so far.
>
> Some more information:
> - AMS maths package seems to be active in both files
> - Preamble is empty for both files
>
> Any idea on how can I solve the problem?
>
I can confirm the bug. The problem is that, for some reason, certain
macros the child needs are not being written to the preamble for the
master, when those constructs are only present in the child. What's
weirder is that they DO appear in View>Source for the master, when you
check "Complete source". I'll try to fix this soon. A workaround would
be (a) to export the child as LaTeX, (b) open it in a text editor, (c)
find the declarations of the \textgreek and \lyxmathsym stuff in there,
and (d) manually copy that stuff to the preamble of the master. Ugly, I
know, but it should help.

Richard

PS Can you please report this bug on trac, and attach these files?



Child document and "Undefined control sequence"

2011-07-15 Thread Giacomo Z
Dear all,

I am having a problem with a child document - I attached the minimal working
files to be copied in the same directory. The "master" file contains the
child document "Child" (as include). When I try to compile the PDF I get
several "Undefined control sequence" error. If I open only the child
document "Child", I can compile the PDF with no problem. I tried some
solutions I found on the list but with no success so far.

Some more information:
- AMS maths package seems to be active in both files
- Preamble is empty for both files

Any idea on how can I solve the problem?

Thanks a lot for your help.
Giacomo


master.lyx
Description: Binary data


child.lyx
Description: Binary data


Re: Undefined control sequence

2011-05-18 Thread Paul Rubin
Sølvi  gmail.com> writes:

> And while I'm at it (sorry for asking another question in the same mail),
> can anyone explain why some of my cross references and references just
> turn out as question marks in the compiled pdf document?

If you are using BibTeX, it's possible that something is borked in your .bib 
file (such as a character with a funny encoding, or a malformed record). Does
the LaTeX log file give any indication what is wrong?

Paul






Re: Undefined control sequence

2011-05-17 Thread Sølvi
Hi

I have solved the problem and as someone suggested it was something with the
installation. I simply uninstalled and then reinstalled LyX 1.6.9 and now I
can compile the document without any problems (haven't checked the document
in detail, but it look OK). Strange how the set-up can change just by
turning on and off the computer. Someone also suggested to install the
latest version (2.0), but that gives me, if possible, even more errors so
I'll just stick to the 1.6.9 vs for now.

And while I'm at it (sorry for asking another question in the same mail),
can anyone explain why some of my cross references and references just turn
out as question marks in the compiled pdf document?

And thanks everyone for the help.

Solvi

2011/5/16 Richard Heck 

>  On 05/16/2011 08:00 AM, Sølvi wrote:
>
> Hi.
>
> Hope someone can help me with this beacuse I'm getting desperate.
>
> I use LYX version 1.6.9 on a XP-platform
>
> I have a Masterdocument with several included files, I worked on this
> document only a few weeks ago with no problems, but now I can't view it in
> PDF anymore. When I press the "view PDF"-button i get a long list which says
> "Undefined control sequence" and the following error message:
>
>
> *\ltx@newglobalif *
>
> * \ifGPT@pagecolor*
>
> *The control sequence at the end of the top line*
>
> *of your error message was never \def'ed. If you have*
>
> *misspelled it (e.g., `\hobx'), type `I' and the correct*
>
> *spelling (e.g., `I\hbox'). Otherwise just continue,*
>
> *and I'll forget about whatever was undefined.*
>
>
>  I've also tried to PDF just the smaller, included douments seperatly but
> get the same error. I've looked everywhere for a solution and can't figure
> out what's wrong, considering the document was fine a few weeks ago. Hope
> anyone can help me with this, and please keep in mind that I'm a novise to
> LYX and need simple explanations :)
>
>
>  Can you post the full error log? What we really want is the first of
> these errors.
>
> Richard
>
>


Re: Undefined control sequence

2011-05-16 Thread Julio Rojas
I know it is hard work, but I suspect it has nothing to do with the text
itself, but with latex installation. This is why I suggested doing not a
totally backtrace on your big file, but a controlled test case on a similar
document. Also, as Richard suggested, send the first error you find in the
log for help from the list.

Regards and good luck.

-
Julio Rojas
jcredbe...@gmail.com


On Mon, May 16, 2011 at 4:04 PM, Sølvi  wrote:

> Well that was helpful. I have been working on this document for over 3
> years now, without any problems so it is a little late trying to
> retrace/recreate what I have done, It is many hundred pages when i compile
> it. And as I said the document worked fine when I last worked on it a couple
> of weeks ago, today it's not working at all.
>
> S.
>
>
> 2011/5/16 Julio Rojas 
>
>> Hi Solvi. You should start little by little. Try creating a new document
>> exactly set up as your problematic document. Add only one paragraph to test
>> it, and compile. If you have some problem, start removing one line at a
>> time, the packages included in the preamble. Lets see how that goes before
>> proceeding.
>>
>> Regards.
>> -
>> Julio Rojas
>> jcredbe...@gmail.com
>>
>>
>>
>> On Mon, May 16, 2011 at 2:00 PM, Sølvi  wrote:
>>
>>> Hi.
>>>
>>> Hope someone can help me with this beacuse I'm getting desperate.
>>>
>>> I use LYX version 1.6.9 on a XP-platform
>>>
>>> I have a Masterdocument with several included files, I worked on this
>>> document only a few weeks ago with no problems, but now I can't view it in
>>> PDF anymore. When I press the "view PDF"-button i get a long list which says
>>> "Undefined control sequence" and the following error message:
>>>
>>>
>>> *\ltx@newglobalif *
>>>
>>> * \ifGPT@pagecolor*
>>>
>>> *The control sequence at the end of the top line*
>>>
>>> *of your error message was never \def'ed. If you have*
>>>
>>> *misspelled it (e.g., `\hobx'), type `I' and the correct*
>>>
>>> *spelling (e.g., `I\hbox'). Otherwise just continue,*
>>>
>>> *and I'll forget about whatever was undefined.*
>>>
>>>
>>> I've also tried to PDF just the smaller, included douments seperatly but
>>> get the same error. I've looked everywhere for a solution and can't figure
>>> out what's wrong, considering the document was fine a few weeks ago. Hope
>>> anyone can help me with this, and please keep in mind that I'm a novise to
>>> LYX and need simple explanations :)
>>>
>>>
>>> Regards
>>>
>>>
>>> Solvi
>>>
>>
>>
>


Re: Undefined control sequence

2011-05-16 Thread Richard Heck
On 05/16/2011 08:00 AM, Sølvi wrote:
> Hi.
>
> Hope someone can help me with this beacuse I'm getting desperate.
>
> I use LYX version 1.6.9 on a XP-platform
>
> I have a Masterdocument with several included files, I worked on this
> document only a few weeks ago with no problems, but now I can't view
> it in PDF anymore. When I press the "view PDF"-button i get a long
> list which says "Undefined control sequence" and the following error
> message:
>
>
> *\ltx@newglobalif *
>
> *\ifGPT@pagecolor*
>
> *The control sequence at the end of the top line*
>
> *of your error message was never \def'ed. If you have*
>
> *misspelled it (e.g., `\hobx'), type `I' and the correct*
>
> *spelling (e.g., `I\hbox'). Otherwise just continue,*
>
> *and I'll forget about whatever was undefined.*
>
>
> I've also tried to PDF just the smaller, included douments seperatly
> but get the same error. I've looked everywhere for a solution and
> can't figure out what's wrong, considering the document was fine a few
> weeks ago. Hope anyone can help me with this, and please keep in mind
> that I'm a novise to LYX and need simple explanations :)
>
>
Can you post the full error log? What we really want is the first of
these errors.

Richard



Re: Undefined control sequence

2011-05-16 Thread Julio Rojas
Hi Solvi. You should start little by little. Try creating a new document
exactly set up as your problematic document. Add only one paragraph to test
it, and compile. If you have some problem, start removing one line at a
time, the packages included in the preamble. Lets see how that goes before
proceeding.

Regards.
-
Julio Rojas
jcredbe...@gmail.com


On Mon, May 16, 2011 at 2:00 PM, Sølvi  wrote:

> Hi.
>
> Hope someone can help me with this beacuse I'm getting desperate.
>
> I use LYX version 1.6.9 on a XP-platform
>
> I have a Masterdocument with several included files, I worked on this
> document only a few weeks ago with no problems, but now I can't view it in
> PDF anymore. When I press the "view PDF"-button i get a long list which says
> "Undefined control sequence" and the following error message:
>
>
> *\ltx@newglobalif *
>
> * \ifGPT@pagecolor*
>
> *The control sequence at the end of the top line*
>
> *of your error message was never \def'ed. If you have*
>
> *misspelled it (e.g., `\hobx'), type `I' and the correct*
>
> *spelling (e.g., `I\hbox'). Otherwise just continue,*
>
> *and I'll forget about whatever was undefined.*
>
>
> I've also tried to PDF just the smaller, included douments seperatly but
> get the same error. I've looked everywhere for a solution and can't figure
> out what's wrong, considering the document was fine a few weeks ago. Hope
> anyone can help me with this, and please keep in mind that I'm a novise to
> LYX and need simple explanations :)
>
>
> Regards
>
>
> Solvi
>


Undefined control sequence

2011-05-16 Thread Sølvi
 Hi.

Hope someone can help me with this beacuse I'm getting desperate.

I use LYX version 1.6.9 on a XP-platform

I have a Masterdocument with several included files, I worked on this
document only a few weeks ago with no problems, but now I can't view it in
PDF anymore. When I press the "view PDF"-button i get a long list which says
"Undefined control sequence" and the following error message:


*\ltx@newglobalif *

* \ifGPT@pagecolor*

*The control sequence at the end of the top line*

*of your error message was never \def'ed. If you have*

*misspelled it (e.g., `\hobx'), type `I' and the correct*

*spelling (e.g., `I\hbox'). Otherwise just continue,*

*and I'll forget about whatever was undefined.*


I've also tried to PDF just the smaller, included douments seperatly but get
the same error. I've looked everywhere for a solution and can't figure out
what's wrong, considering the document was fine a few weeks ago. Hope anyone
can help me with this, and please keep in mind that I'm a novise to LYX and
need simple explanations :)


Regards


Solvi


Re: undefined control sequence with pdflatex but not with dvipdfm

2010-11-17 Thread Uwe Stöhr

Am 17.11.2010 20:29, schrieb Julien Rioux:


powerdot is known not to work with pdflatex; this class supports only
dvipdfm or ps2pdf. This ought to be mentioned with a note in the LyX
template.


LyX doesn't have a powerdot template file. But as you said, in the 
powerdot example file that comes with LyX it is clearly stated in the 
first yellow note:


Note: You must not use the view PDF button to preview this file! For 
viewing and exporting this as PDF use in the menus the method PDF 
(ps2pdf) or PDF (dvipdfm). For more informations, please read the 
powerdot manual.
Note: Depending on your LaTeX-system you might have to add the option 
«dvips» to the document class options to get proper DVI output.


regards Uwe


Re: undefined control sequence with pdflatex but not with dvipdfm

2010-11-17 Thread Julien Rioux

On 17/11/2010 2:02 PM, Matt Funk wrote:

does anyone know what this is?


powerdot is known not to work with pdflatex; this class supports only 
dvipdfm or ps2pdf. This ought to be mentioned with a note in the LyX 
template.


(in fact this is correctly noted in the version that comes with LyX, in 
the examples directory.


Cheers,
Julien



undefined control sequence with pdflatex but not with dvipdfm

2010-11-17 Thread Matt Funk
Hi,

this i probably only indirectly related to lyx, but i thought there are some 
experts on this list who might have an answer.

I downloaded the powerdot presentation (see here: http://www.ctan.org/tex-
archive/macros/latex/contrib/powerdot/lyx/)

i opened it up in lyx and used pdflatex on it, which then gave me many 
'undefined control sequence' errors.
When i did file->export-?pdf(dvipdfm) and then opened the resulting pdf file it 
worked right out of the box.

I was under the impression that pdflatex is equivalent to dvipdfm except for 
the intermediate dvi output.

I am using lyx: v1.6.5, 

pdflatex:
pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian)
kpathsea version 5.0.0
Copyright 2009 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.2.42; using libpng 1.2.42
Compiled with zlib 1.2.3.3; using zlib 1.2.3.3
Compiled with poppler version 0.12.4


does anyone know what this is?


thanks
matt


Re: Undefined control sequence: \dddot ??

2010-08-30 Thread Uwe Stöhr

For information:
The next LyX version LyX 1.6.8 will also fully support \ot and all \dddot 
bugs are fixed.

regards Uwe


Re: Undefined control sequence: \dddot ??

2010-08-29 Thread Uwe Stöhr

Am 29.08.2010 23:16, schrieb Daniel Gross:


Here's what I'm facing: I compose an inline eqn, hit Ctrl+L to manually
insert LaTeX code,


You don't need to use CTRL+L in math mode to enter commands, the backslash key "\" automatically 
switches to command-insertion mode.



type \dddot  k, and then a triple-dot k shows in
the editing space. Great. The problem is when I go to create DVI or PDF: the
compiler gives me an "Undefined control sequence" error for every instance
of the triple-dot k. I cannot figure out why.


You found a Bug in LyX. I fixed this now for the next LyX version. But Paul 
explained you a workaround.

regards Uwe


Re: Undefined control sequence: \dddot ??

2010-08-29 Thread Paul Rubin
By the way, you should not need to use Ctrl-L to insert the command.  While in a
math inset, just type \dddot  and an inset with three dots over it will
be created.  LyX does not know \ot (four dots), though, so for that you will
need Ctrl-L.

/Paul



Re: Undefined control sequence: \dddot ??

2010-08-29 Thread Paul Rubin
Daniel Gross  gmail.com> writes:

> I already have AMS math and esint packages enabled in Document -> Settings. 

I suspect you have "Use AMS math package automatically" checked (and the same
for esint).  Uncheck the automatic load of AMS math and check "Use AMS math
package".  That made the difference for me.  The automatic versions mean LyX
will load the corresponding package if it detects the need for it.  Apparently
it's not catching that \dddot requires AMS math (and apparently the other
formulas in the document are not triggering it either).

/Paul



Undefined control sequence: \dddot ??

2010-08-29 Thread Daniel Gross
I'm a relative novice with Lyx, and I can't figure out how to create
documents with triple- and quadruple-dots in math formulae.

Here's what I'm facing: I compose an inline eqn, hit Ctrl+L to manually
insert LaTeX code, type \dddot  k, and then a triple-dot k shows in
the editing space. Great. The problem is when I go to create DVI or PDF: the
compiler gives me an "Undefined control sequence" error for every instance
of the triple-dot k. I cannot figure out why.

I already have AMS math and esint packages enabled in Document -> Settings.
Not to mention the document I'm writing has dozens of other equations and
accents that compile without problem.

Can you tell me what I'm missing?

-- 

Daniel Gross
gross.danie...@gmail.com


Re: Windows upgrade issues - Undefined control sequence

2009-01-04 Thread Hartmann Sybill
Peter Bowyer  writes:

> 

> Since then I've uninstalled LyX and MikTex and reinstalled both of them
> numerous times, with no success. I have tried to use the "Download MikTex"
> option in the LyX installer (in case this fixes things) but it fails with
> the error: "Downloading MiKTeX failed. Would you like to try again?
> (Redirection (302))"
> 
> Can anyone help? It would be good not to have to go back to 1.5.7!
> 
> Thanks,
> Peter

If I was you, I would now, deinstall lyx and Miktex, would then restart the
computer and install first Miktex and then LyX.

Your problem might have had to do with hyperref. At least I got that warning as
well, when hyperref was loaded via the preamble, so after installing Lyx 1.6.1
you should take care of your document setting and load hyperref via the given
window.

HTH,
Hartmann





Windows upgrade issues - Undefined control sequence

2009-01-03 Thread Peter Bowyer

Hi list,

I had LyX 1.5.6 installed along with MikTex 2.7 on Windows XP. Today I
decided to upgrade to LyX 1.6.1 and downloaded the installer:
LyX-1.6.1-1-Installer.exe

I uninstalled LyX 1.5 and then ran the installer. It detected my MikTex
installation and completed successfully... however as soon as I tried to
compile the initial welcome screen to DVI or PDF I got the following errors:

Undefined control sequence.
LaTex Error: Missing \begin{document}
Undefined control sequence.
LaTex Error: Missing \begin{document} 

I tried reconfiguring but that did not help.

Since then I've uninstalled LyX and MikTex and reinstalled both of them
numerous times, with no success. I have tried to use the "Download MikTex"
option in the LyX installer (in case this fixes things) but it fails with
the error: "Downloading MiKTeX failed. Would you like to try again?
(Redirection (302))"

Can anyone help? It would be good not to have to go back to 1.5.7!

Thanks,
Peter
-- 
View this message in context: 
http://n2.nabble.com/Windows-upgrade-issues---Undefined-control-sequence-tp2107363p2107363.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: kslt2pro.lyx letter template undefined control sequence after changing language setting

2008-08-15 Thread Graham Smith

Many thanks for this, its very useful to me.

Graham

On 15 Aug 2008, at 07:05, Jean-Marie Pacquet wrote:


Graham Smith a écrit :

I am trying to use this template from the Lyx wiki which defaults to
French when I open it. But it compiles without any trouble.

Changing the language settings from French to British (and
reconfiguring) gives me three undefined control sequence errors  
when I

try to compile.

If I don't load the lco file, it compiles OK but obviously with  
aspect

missing.

If I comment out lines in the lco file, it seems that two of the
undefined control sequences are linked to the firsthead code, and  
one of
the undefined control sequences is associated with the firstfoot  
coding.


I can't see where the errors might be and wondered if anyone had gone
through the same language conversion issues. Jean-Marie has been  
helping
me with some other issues but I am hoping someone has gone through  
this

specific French to British problem.

I found two control sequences which seem to be french specific in  
the NFpro.lco options file. You should replace at line 53 "\no" by  
"n°" and at line 74 "\nombre{1234,56}" by "1234,56".
I don't know why three errors were reported as it compiles now OK  
in english language with these two modifications.

--
jean-marie pacquet




Re: kslt2pro.lyx letter template undefined control sequence after changing language setting

2008-08-14 Thread Jean-Marie Pacquet

Graham Smith a écrit :

I am trying to use this template from the Lyx wiki which defaults to
French when I open it. But it compiles without any trouble.

Changing the language settings from French to British (and
reconfiguring) gives me three undefined control sequence errors when I
try to compile.

If I don't load the lco file, it compiles OK but obviously with aspect
missing.

If I comment out lines in the lco file, it seems that two of the
undefined control sequences are linked to the firsthead code, and one of
the undefined control sequences is associated with the firstfoot coding.

I can't see where the errors might be and wondered if anyone had gone
through the same language conversion issues. Jean-Marie has been helping
me with some other issues but I am hoping someone has gone through this
specific French to British problem.
  
I found two control sequences which seem to be french specific in the 
NFpro.lco options file. You should replace at line 53 "\no" by "n°" and 
at line 74 "\nombre{1234,56}" by "1234,56".
I don't know why three errors were reported as it compiles now OK in 
english language with these two modifications.

--
jean-marie pacquet


kslt2pro.lyx letter template undefined control sequence after changing language setting

2008-08-14 Thread Graham Smith
I am trying to use this template from the Lyx wiki which defaults to
French when I open it. But it compiles without any trouble.

Changing the language settings from French to British (and
reconfiguring) gives me three undefined control sequence errors when I
try to compile.

If I don't load the lco file, it compiles OK but obviously with aspect
missing.

If I comment out lines in the lco file, it seems that two of the
undefined control sequences are linked to the firsthead code, and one of
the undefined control sequences is associated with the firstfoot coding.

I can't see where the errors might be and wondered if anyone had gone
through the same language conversion issues. Jean-Marie has been helping
me with some other issues but I am hoping someone has gone through this
specific French to British problem. 

Thanks,

Graham
-- 
  Graham Smith
  [EMAIL PROTECTED]



Problem with Algorithm Floats: Undefined Control Sequence

2008-08-06 Thread Ryan Cross
Hello,
I'm having a weird problem with Algorithm Floats. I am using a master
document with several child documents (one for each chapter). The odd thing
is that when I compile/pdf the child document by itself, the algorithm
floats seem to work just fine. However, when I try to compile/pdf the master
document, I get an error: Undefined Control Sequence. In the details, it
basically tells me that the algorithm command isn't defined correctly.

I am using the 'report' class. Also using OSX 10.5 (leopard).

On a related note, when using a program listing (without any algorithms)
that seems to be fine. I am also trying ot understand the difference between
the program listing, the algorithm float, and the lyx-code format, since
they all seem to be similar to what I want.

Please help! =)


Re: "Undefined control sequence" after first installation

2008-08-02 Thread Uwe Stöhr

Georg Freitag schrieb:


After i install LyX with the LyX-156-3-25-AltInstalle and upgrade the german
language pack with the aspell6-el-0.50-3.exe i could not export my lyx
document.


What exactly have you done? You haven't had LyX 1.5 installed before?
If you had LyX 1.5 installed before, have you used the update installer?

What do you mean by "upgrade the german language pack with the 
aspell6-el-0.50-3.exe"?
"el" is for Greek and not German.


I try it with a realy simple text like "hello world" and get the
following error messages.

"Undefined control sequence"  - "[EMAIL PROTECTED]"
"Latex Error: Missing \begin{document}" - "[EMAIL PROTECTED]"
"Undefined control sequence"  - "[EMAIL PROTECTED]"


This sounds like a problem of the babel configuration.
Please try this:

- open a command console
- execute the command
  initexmf --dump
- restart LyX

Then it should work (this was a bug of MiKTeX). If not, please update your MiKTeX installation again 
using MiKTeX's update program.


regards Uwe


Re: "Undefined control sequence" after first installation

2008-08-02 Thread rgheck

Georg Freitag wrote:

Hi Lyx Team and Users.

After i install LyX with the LyX-156-3-25-AltInstalle and upgrade the german
language pack with the aspell6-el-0.50-3.exe i could not export my lyx
document. I try it with a realy simple text like "hello world" and get the
following error messages.

  
Sorry, I don't have any idea what might cause this. When Uwe gets back 
from the weekend, though, I'll bet he'll have some ideas.


rh


"Undefined control sequence"  - "[EMAIL PROTECTED]"
"Latex Error: Missing \begin{document}" - "[EMAIL PROTECTED]"
"Undefined control sequence"  - "[EMAIL PROTECTED]"

thats the code:

% Quellcode vorschauen

%% LyX 1.5.6 created this file. For more info, see http://www.lyx.org/.

%% Do not edit unless you really know what you are doing.

\makeatletter

[EMAIL PROTECTED]"J:/Dokumente und
Einstellungen/crux/Desktop/\string"/}}

\makeatother

\documentclass[ngerman]{scrartcl}

\usepackage[T1]{fontenc}

\usepackage[latin9]{inputenc}

\usepackage{babel}

\begin{document}

hello world

\end{document}


In LyX  and document preferences, i choose the german language.


I hope anyone could help me to find out the error.


Thx a lot, Georg

  




"Undefined control sequence" after first installation

2008-08-02 Thread Georg Freitag
Hi Lyx Team and Users.

After i install LyX with the LyX-156-3-25-AltInstalle and upgrade the german
language pack with the aspell6-el-0.50-3.exe i could not export my lyx
document. I try it with a realy simple text like "hello world" and get the
following error messages.


"Undefined control sequence"  - "[EMAIL PROTECTED]"
"Latex Error: Missing \begin{document}" - "[EMAIL PROTECTED]"
"Undefined control sequence"  - "[EMAIL PROTECTED]"

thats the code:

% Quellcode vorschauen

%% LyX 1.5.6 created this file. For more info, see http://www.lyx.org/.

%% Do not edit unless you really know what you are doing.

\makeatletter

[EMAIL PROTECTED]"J:/Dokumente und
Einstellungen/crux/Desktop/\string"/}}

\makeatother

\documentclass[ngerman]{scrartcl}

\usepackage[T1]{fontenc}

\usepackage[latin9]{inputenc}

\usepackage{babel}

\begin{document}

hello world

\end{document}


In LyX  and document preferences, i choose the german language.


I hope anyone could help me to find out the error.


Thx a lot, Georg


[Lyx] undefined control sequence su algorithm

2008-05-22 Thread FalcoG
Salve a tutti, ho un problema con Lyx.
Utilizzo i comandi del package algorithm2e per la scrittura di algoritmi, ma
alla compilazione, vengono fuori tanti errori quanti sono i comandi di
algorithm2e utilizzati. Tutti i messaggi di errori sono del tipo
"Undefined control sequence".

Premetto che ho l'installazione completta della macchina Latex, non so come
cavarci le gambe.

Ne sapete nulla..?? Grazie




Re: Undefined Control Sequence Error for /LRH

2008-04-30 Thread G. Milde
On 30.04.08, Jeff Sese wrote:
> Thanks for the reply.

> I'm looking at the packaged tex file and it includes an article.cls  
> file. I'm not familiar with LaTex tags but it seems that the article.cls 
> file included in package declares the control sequences that I'm 
> referring. 

Always rename a modification of article.cls to something else. (AFAIK,
this is a requirement of the LaTeX Project Public License.)
   
This will help to prevent confusion for both, computer programs and
users.

> Now the problem is, how can I make LyX use that cls file 
> instead of the one included in the LaTex distribution? (I think LaTex 
> uses the original article.cls and not the one that is included in the 
> package. Both files, the imported tex file and the cls file are in the 
> same folder).

There are three ways:

1. Rename the modified article.cls and create a LyX layout file for it
   (See Help>Customization).
   
2. Copy the modified part of the private article.cls to the document
   preamble.
   
3. Put the modifications in a LaTeX package file and include this in
   the document preamble with \usepackage.
   
Günter   


Re: Undefined Control Sequence Error for /LRH

2008-04-29 Thread Jeff Sese

Here 's the original preamble of the imported tex file:

%%%
\documentclass{article}
%%%

\usepackage{natbib}
\def\newblock{\hskip .11em plus .33em minus .07em}

%
%%\usepackage(natbib}
%\usepackage{amssymb}
%\usepackage{amsbsy,natbib}
%\usepackage{amsthm}
%\usepackage{amsfonts,amsmath,bm}
\usepackage[dvipsone]{epsfig}
\RequirePackage{graphics,epsf}

%
\begin{document}
%

-- Jeff

On 04 30, 08, at 10:18 AM, Jeff Sese wrote:


Thanks for the reply.

I'm looking at the packaged tex file and it includes an article.cls  
file. I'm not familiar with LaTex tags but it seems that the  
article.cls file included in package declares the control sequences  
that I'm referring. Now the problem is, how can I make LyX use that  
cls file instead of the one included in the LaTex distribution? (I  
think LaTex uses the original article.cls and not the one that is  
included in the package. Both files, the imported tex file and the  
cls file are in the same folder).


Thanks,
Jeff

On 04 29, 08, at 8:44 PM, rgheck wrote:


Jeff Sese wrote:

Hi,

I'm getting multiple Undefined Control Sequence Error on an  
imported LaTex document and the errors point to the following  
control sequences:


\LRH
\RRH
\VOL
\authorA
\affA
etc.

All are some sort of metadata information about the article.

Probably these are being generated in \maketitle, but that's only  
a guess. In any event, I suspect that the document class used in  
the LaTeX file wasn't article but something else and that it got  
set to article because LyX didn't know about whatever class that  
was. You'd have to look at the original file to tell.


rh




If I open it in TeXnicCenter, it doesn't report any problem with  
these control sequences, am I missing a package or something?


Here is the preamble of the imported file in LyX:

% Preview source code

%% LyX 1.5.4 created this file.  For more info, see http:// 
www.lyx.org/.

%% Do not edit unless you really know what you are doing.
\makeatletter
[EMAIL PROTECTED]"/Users/jeffsese/RND/LaTex to OOo/ 
originals/IJPD-07-12-Final-TexFiles/IJPDMattsonTexFiles/\string"/}}

\makeatother
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{graphicx}
\usepackage[authoryear]{natbib}

\makeatletter

%% LyX specific LaTeX commands.
%% Bold symbol macro for standard LaTeX users
\providecommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}}

%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}

%% User specified LaTeX commands.
% Please direction questions to Chris Mattson [EMAIL PROTECTED]  
801.422.6544


%%%

%%%


\def\newblock{\hskip .11em plus .33em minus .07em}

%
%%\usepackage(natbib}
%\usepackage{amssymb}
%\usepackage{amsbsy,natbib}
%\usepackage{amsthm}
%\usepackage{amsfonts,amsmath,bm}
\usepackage[dvipsone]{epsfig}

\RequirePackage{graphics,epsf}

%


\usepackage{babel}
\makeatother

Thanks in advance,

-- Jeff

Jeferson L. Sese
jeferson dot sese at asiatype dot com
Asiatype Inc.
Suite 114 Columbia Tower
Ortigas Ave., Greenhills
Mandaluyong City 1550 Philippines
Tel: +632-744-6262
Mobile: +63927-671-7901








Jeferson L. Sese
jeferson dot sese at asiatype dot com
Asiatype Inc.
Suite 114 Columbia Tower
Ortigas Ave., Greenhills
Mandaluyong City 1550 Philippines
Tel: +632-744-6262
Mobile: +63927-671-7901





Jeferson L. Sese
jeferson dot sese at asiatype dot com
Asiatype Inc.
Suite 114 Columbia Tower
Ortigas Ave., Greenhills
Mandaluyong City 1550 Philippines
Tel: +632-744-6262
Mobile: +63927-671-7901





Re: Undefined Control Sequence Error for /LRH

2008-04-29 Thread Jeff Sese

Thanks for the reply.

I'm looking at the packaged tex file and it includes an article.cls  
file. I'm not familiar with LaTex tags but it seems that the  
article.cls file included in package declares the control sequences  
that I'm referring. Now the problem is, how can I make LyX use that  
cls file instead of the one included in the LaTex distribution? (I  
think LaTex uses the original article.cls and not the one that is  
included in the package. Both files, the imported tex file and the  
cls file are in the same folder).


Thanks,
Jeff

On 04 29, 08, at 8:44 PM, rgheck wrote:


Jeff Sese wrote:

Hi,

I'm getting multiple Undefined Control Sequence Error on an  
imported LaTex document and the errors point to the following  
control sequences:


\LRH
\RRH
\VOL
\authorA
\affA
etc.

All are some sort of metadata information about the article.

Probably these are being generated in \maketitle, but that's only a  
guess. In any event, I suspect that the document class used in the  
LaTeX file wasn't article but something else and that it got set to  
article because LyX didn't know about whatever class that was.  
You'd have to look at the original file to tell.


rh




If I open it in TeXnicCenter, it doesn't report any problem with  
these control sequences, am I missing a package or something?


Here is the preamble of the imported file in LyX:

% Preview source code

%% LyX 1.5.4 created this file.  For more info, see http:// 
www.lyx.org/.

%% Do not edit unless you really know what you are doing.
\makeatletter
[EMAIL PROTECTED]"/Users/jeffsese/RND/LaTex to OOo/ 
originals/IJPD-07-12-Final-TexFiles/IJPDMattsonTexFiles/\string"/}}

\makeatother
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{graphicx}
\usepackage[authoryear]{natbib}

\makeatletter

%% LyX specific LaTeX commands.
%% Bold symbol macro for standard LaTeX users
\providecommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}}

%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}

%% User specified LaTeX commands.
% Please direction questions to Chris Mattson [EMAIL PROTECTED]  
801.422.6544


%%%

%%%


\def\newblock{\hskip .11em plus .33em minus .07em}

%
%%\usepackage(natbib}
%\usepackage{amssymb}
%\usepackage{amsbsy,natbib}
%\usepackage{amsthm}
%\usepackage{amsfonts,amsmath,bm}
\usepackage[dvipsone]{epsfig}

\RequirePackage{graphics,epsf}

%


\usepackage{babel}
\makeatother

Thanks in advance,

-- Jeff

Jeferson L. Sese
jeferson dot sese at asiatype dot com
Asiatype Inc.
Suite 114 Columbia Tower
Ortigas Ave., Greenhills
Mandaluyong City 1550 Philippines
Tel: +632-744-6262
Mobile: +63927-671-7901








Jeferson L. Sese
jeferson dot sese at asiatype dot com
Asiatype Inc.
Suite 114 Columbia Tower
Ortigas Ave., Greenhills
Mandaluyong City 1550 Philippines
Tel: +632-744-6262
Mobile: +63927-671-7901





Re: URGENT: Please help! -- Undefined control sequence

2008-04-29 Thread Peter Kämpf

Hi Alain,

I had the same problem with 1.5.4. Turned out I was using the wrong  
LaTeX implementation.  To solve the problem, I edited the document  
settings and reduced the options from "openany,liststotoc,xetex" to  
just "openany,liststotoc". I had used Xetex in the past, but now have  
GWTex, so taking out this option was no problem.


The credit for solving this has to go to Jürgen Spitzmüller.

Let me know if it helped!

Peter

Am 28.04.2008 um 22:59 schrieb Desilets, Alain:


Dear Lyx users,

I am a total newbie user of Lyx, using it to co-write a paper with  
two =

other folks. The paper is due in 4 days (Sat May 3rd), and we seem =
unable to generate a PDF file from the .lyx file.

The only person in our team who knows how to use Lyx and Latex is in =
Cuba right now and is mostly incommunicado.

The problem is that when we try to generate a PDF file from the .lyx =
file, we get a bunch of "Undefined control sequence" errors.

We generate the PDF using: File > Export > pdflatex.

This used to work about a week ago, but it doesn't anymore. No idea  
why.


I tried to debug the .lyx file by deleting text from the end, and  
found

=
that even if I delete everything except the very first instruction:

\conferenceinfo{WikiSym'08,} {September 8--10, 2008, Porto, Portugal.}

The PDF generation still fails.

Any help you can provide will be greatly appreciated and will  
greatly =

improve your future Karma I'm sure ;-).

Thank you,

Alain D=E9silets




Re: Undefined Control Sequence Error for /LRH

2008-04-29 Thread rgheck

Jeff Sese wrote:

Hi,

I'm getting multiple Undefined Control Sequence Error on an imported 
LaTex document and the errors point to the following control sequences:


\LRH
\RRH
\VOL
\authorA
\affA
etc.

All are some sort of metadata information about the article.

Probably these are being generated in \maketitle, but that's only a 
guess. In any event, I suspect that the document class used in the LaTeX 
file wasn't article but something else and that it got set to article 
because LyX didn't know about whatever class that was. You'd have to 
look at the original file to tell.


rh




If I open it in TeXnicCenter, it doesn't report any problem with these 
control sequences, am I missing a package or something?


Here is the preamble of the imported file in LyX:

% Preview source code

%% LyX 1.5.4 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\makeatletter
[EMAIL PROTECTED]"/Users/jeffsese/RND/LaTex to 
OOo/originals/IJPD-07-12-Final-TexFiles/IJPDMattsonTexFiles/\string"/}}

\makeatother
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{graphicx}
\usepackage[authoryear]{natbib}

\makeatletter

%% LyX specific LaTeX commands.
%% Bold symbol macro for standard LaTeX users
\providecommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}}

%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}

%% User specified LaTeX commands.
% Please direction questions to Chris Mattson [EMAIL PROTECTED] 
801.422.6544


%%%

%%%


\def\newblock{\hskip .11em plus .33em minus .07em}

%
%%\usepackage(natbib}
%\usepackage{amssymb}
%\usepackage{amsbsy,natbib}
%\usepackage{amsthm}
%\usepackage{amsfonts,amsmath,bm}
\usepackage[dvipsone]{epsfig}

\RequirePackage{graphics,epsf}

%


\usepackage{babel}
\makeatother

Thanks in advance,

-- Jeff

Jeferson L. Sese
jeferson dot sese at asiatype dot com
Asiatype Inc.
Suite 114 Columbia Tower
Ortigas Ave., Greenhills
Mandaluyong City 1550 Philippines
Tel: +632-744-6262
Mobile: +63927-671-7901








Undefined Control Sequence Error for /LRH

2008-04-29 Thread Jeff Sese

Hi,

I'm getting multiple Undefined Control Sequence Error on an imported  
LaTex document and the errors point to the following control sequences:


\LRH
\RRH
\VOL
\authorA
\affA
etc.

All are some sort of metadata information about the article.

If I open it in TeXnicCenter, it doesn't report any problem with  
these control sequences, am I missing a package or something?


Here is the preamble of the imported file in LyX:

% Preview source code

%% LyX 1.5.4 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\makeatletter
[EMAIL PROTECTED]"/Users/jeffsese/RND/LaTex to OOo/originals/ 
IJPD-07-12-Final-TexFiles/IJPDMattsonTexFiles/\string"/}}

\makeatother
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{graphicx}
\usepackage[authoryear]{natbib}

\makeatletter

%% LyX specific LaTeX commands.
%% Bold symbol macro for standard LaTeX users
\providecommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}}

%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}

%% User specified LaTeX commands.
% Please direction questions to Chris Mattson [EMAIL PROTECTED]  
801.422.6544


%%%

%%%


\def\newblock{\hskip .11em plus .33em minus .07em}

%
%%\usepackage(natbib}
%\usepackage{amssymb}
%\usepackage{amsbsy,natbib}
%\usepackage{amsthm}
%\usepackage{amsfonts,amsmath,bm}
\usepackage[dvipsone]{epsfig}

\RequirePackage{graphics,epsf}

%


\usepackage{babel}
\makeatother

Thanks in advance,

-- Jeff

Jeferson L. Sese
jeferson dot sese at asiatype dot com
Asiatype Inc.
Suite 114 Columbia Tower
Ortigas Ave., Greenhills
Mandaluyong City 1550 Philippines
Tel: +632-744-6262
Mobile: +63927-671-7901





Re: URGENT: Please help! -- Undefined control sequence

2008-04-28 Thread rgheck

Desilets, Alain wrote:

Thx for answering!

  

It seems like you must be using the wrong document class. The
\conferenceinfo command isn't standard LaTeX but will be defined by
some
document class. Probably this setting got changed. So what do you have
under Doucument>Settings>Document Class?



Looking at the raw Latex file, I have:

   \typeout{Document Class 'sig-alternate' <7th. June '07>.  Modified by G.K.M. 
Tobin/Gerry Murray}

So, it looks like I am using the sig-alternate class.

Yet, when I go to Document > Settings > Document Class,  I see "article". If I click on the drop down list,  I don't see any sig-alternate document class. Yet, I have files called sig-alternate.cls and sig-alternat.layout in the same directory as my .lyx file. 


What should I do?

  

Yes, you're probably supposed to be using sig-alternate. Now BACKUP THE
LYX FILE in case anything goes badly wrong. OK. Open the LyX file in a
standard text editor. Near the top, you will see a line like this:
\textclass article
Change it to:
\textclass sig-alternate
Save and try to open the file with LyX. This should work.

It is possible to use "local layout files" with LyX---that's why
sig-alternate.layout is where it is---but at present it's not possible
to select such a file in the GUI. The local file stuff makes it possible
for someone to create a layout file, then send it to you with a LyX
file, and you don't have to put it into your personal LyX configuration
directory, which is where layout files normally go, so they can be used
by any file, rather than just by a single file. I think this is
different in 1.6, but I'm not sure.

Richard




Re: URGENT: Please help! -- Undefined control sequence

2008-04-28 Thread rgheck

Desilets, Alain wrote:

Thx for answering!

  

It seems like you must be using the wrong document class. The
\conferenceinfo command isn't standard LaTeX but will be defined by
some
document class. Probably this setting got changed. So what do you have
under Doucument>Settings>Document Class?



Looking at the raw Latex file, I have:

   \typeout{Document Class 'sig-alternate' <7th. June '07>.  Modified by G.K.M. 
Tobin/Gerry Murray}

So, it looks like I am using the sig-alternate class.

Yet, when I go to Document > Settings > Document Class,  I see "article". If I click on the drop down list,  I don't see any sig-alternate document class. Yet, I have files called sig-alternate.cls and sig-alternat.layout in the same directory as my .lyx file. 


What should I do?

  
Yes, you're probably supposed to be using sig-alternate. Now BACKUP THE 
LYX FILE in case anything goes badly wrong. OK. Open the LyX file in a 
standard text editor. Near the top, you will see a line like this:

\textclass article
Change it to:
\textclass sig-alternate
Save and try to open the file with LyX. This should work.

It is possible to use "local layout files" with LyX---that's why 
sig-alternate.layout is where it is---but at present it's not possible 
to select such a file in the GUI. The local file stuff makes it possible 
for someone to create a layout file, then send it to you with a LyX 
file, and you don't have to put it into your personal LyX configuration 
directory, which is where layout files normally go, so they can be used 
by any file, rather than just by a single file. I think this is 
different in 1.6, but I'm not sure.


Richard



Re: URGENT: Please help! -- Undefined control sequence

2008-04-28 Thread Mathias Girel
if you have the french version of lyx, the preamble text would be in
document/paramètres/préambule latex.
(or documents/settings/preamble in the english version). Unless you have
done a lot of ERT, the box should not be empty if you use specific packages.
I guess you can safely copy and paste


2008/4/28 rgheck <[EMAIL PROTECTED]>:

> Desilets, Alain wrote:
>
> > Dear Lyx users,
> >
> > I am a total newbie user of Lyx, using it to co-write a paper with two =
> > other folks. The paper is due in 4 days (Sat May 3rd), and we seem =
> > unable to generate a PDF file from the .lyx file.
> >
> > The only person in our team who knows how to use Lyx and Latex is in =
> > Cuba right now and is mostly incommunicado.
> >
> > The problem is that when we try to generate a PDF file from the .lyx =
> > file, we get a bunch of "Undefined control sequence" errors.
> >
> > We generate the PDF using: File > Export > pdflatex.
> >
> > This used to work about a week ago, but it doesn't anymore. No idea why.
> >
> > I tried to debug the .lyx file by deleting text from the end, and found
> > =
> > that even if I delete everything except the very first instruction:
> >
> > \conferenceinfo{WikiSym'08,} {September 8--10, 2008, Porto, Portugal.}
> >
> > The PDF generation still fails.
> >
> > Any help you can provide will be greatly appreciated and will greatly =
> > improve your future Karma I'm sure ;-).
> >
> >
> >
> It seems like you must be using the wrong document class. The
> \conferenceinfo command isn't standard LaTeX but will be defined by some
> document class. Probably this setting got changed. So what do you have under
> Doucument>Settings>Document Class?
>
> rh
>
>


Re: URGENT: Please help! -- Undefined control sequence

2008-04-28 Thread rgheck

Desilets, Alain wrote:

Dear Lyx users,

I am a total newbie user of Lyx, using it to co-write a paper with two =
other folks. The paper is due in 4 days (Sat May 3rd), and we seem =
unable to generate a PDF file from the .lyx file.

The only person in our team who knows how to use Lyx and Latex is in =
Cuba right now and is mostly incommunicado.

The problem is that when we try to generate a PDF file from the .lyx =
file, we get a bunch of "Undefined control sequence" errors.

We generate the PDF using: File > Export > pdflatex.

This used to work about a week ago, but it doesn't anymore. No idea why.

I tried to debug the .lyx file by deleting text from the end, and found
=
that even if I delete everything except the very first instruction:

\conferenceinfo{WikiSym'08,} {September 8--10, 2008, Porto, Portugal.}

The PDF generation still fails.

Any help you can provide will be greatly appreciated and will greatly =
improve your future Karma I'm sure ;-).

  
It seems like you must be using the wrong document class. The 
\conferenceinfo command isn't standard LaTeX but will be defined by some 
document class. Probably this setting got changed. So what do you have 
under Doucument>Settings>Document Class?


rh



URGENT: Please help! -- Undefined control sequence

2008-04-28 Thread Desilets, Alain
Dear Lyx users,

I am a total newbie user of Lyx, using it to co-write a paper with two =
other folks. The paper is due in 4 days (Sat May 3rd), and we seem =
unable to generate a PDF file from the .lyx file.

The only person in our team who knows how to use Lyx and Latex is in =
Cuba right now and is mostly incommunicado.

The problem is that when we try to generate a PDF file from the .lyx =
file, we get a bunch of "Undefined control sequence" errors.

We generate the PDF using: File > Export > pdflatex.

This used to work about a week ago, but it doesn't anymore. No idea why.

I tried to debug the .lyx file by deleting text from the end, and found
=
that even if I delete everything except the very first instruction:

\conferenceinfo{WikiSym'08,} {September 8--10, 2008, Porto, Portugal.}

The PDF generation still fails.

Any help you can provide will be greatly appreciated and will greatly =
improve your future Karma I'm sure ;-).

Thank you,

Alain D=E9silets


Re: Why Does ERT Cause 'Undefined Control Sequence?' -- More Information

2008-02-27 Thread Paul A. Rubin

Rich Shepard wrote:


  That actually looks ugly. But, I've come up with the acceptable
work-around: use \textsuperscript{SM}, just as I need to do with OO.o.



Looking at \textservicemark in the Holy Tome of LaTeX Symbols, I 
wondered what the difference between that and \textsuperscript{SM} was 
(other than maybe kerning??).  I have absolutely no eye for typeface 
issues -- I can tell monospace from proportional and slanted from 
upright, and sometimes serif from sans serif, and that's about it.  If 
the superscript thing is acceptable, clearly it is the path of least 
resistance.


/Paul



Re: Why Does ERT Cause 'Undefined Control Sequence?' -- More Information

2008-02-27 Thread Rich Shepard

On Tue, 26 Feb 2008, Paul A. Rubin wrote:


If that's too aggravating (and assuming you're ok with the service mark
being in Computer Modern), you might hack the textcomp.sty package and
delete the warning part from the definition of [EMAIL PROTECTED] (so that it 
just
does the \bgroup ... \egroup stuff).


Paul,

  That actually looks ugly. But, I've come up with the acceptable
work-around: use \textsuperscript{SM}, just as I need to do with OO.o.

  The Bitstream and other fonts do not have the SM glyph, but they do have
the TM glyph. Why is a mystery, and I'm not about to spend a lot of time
fixing the foundry's omissions in the typefaces I use. I think that the
\textregistered (the circled R) is also a missing glyph in these typefaces.

  Now on to learning how to incorporate PSTricks code into a LyX document so
the figure is produced in the text.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Why Does ERT Cause 'Undefined Control Sequence?' -- More Information

2008-02-27 Thread Rich Shepard

On Tue, 26 Feb 2008, Paul A. Rubin wrote:


After reading the preambles, I would expect vice versa.  The textcompsym
package fakes a number of missing symbols but apparently not
textservicemark (so I would expect the original error to repeat); the
textcompfix package supposedly switches the font to Computer Modern long
enough to print the service mark, then back to the previous font, so that
should handle textservicemark (don't know about creating any new errors).


Paul,

  textcomp itself makes the substitution; at least, it appears to us CM
(san-serif) for the symbol. There is no space after the symbol, however.

  Exporting to pdflatex and running that didn't work. But, exporting to
plain latex, running it through once followed by dvips and ps2pdf produced a
readable document. The typeface difference is noticable to me, but perhaps
not to others.

Looks like the "error" message that you got in the first place was actually 
just a warning that textcomp was substituting another font (cmr, I think) in 
order to print the service mark.


  It apparently was trying to.


Try exporting your original doc to a LaTeX file and run latex (or
pdflatex) against it.  I did that on a small test doc, got your error
message, just hit enter to run through it, and the latex run finished and
gave me what looks like a correct DVI file.  Methinks perhaps LyX just
can't tell the difference between a warning and a fatal error.  (In
fairness, latex does ask for input at that point, so maybe it's latex that
doesn't distinguish warnings from errors.)


  I believe that latex halts on warnings to ensure they're seen and acted
upon. Fatal errors, I believe, cause the compiler to halt.

If that's too aggravating (and assuming you're ok with the service mark being 
in Computer Modern), you might hack the textcomp.sty package and delete the 
warning part from the definition of [EMAIL PROTECTED] (so that it just does the 
\bgroup ... \egroup stuff).


  This kludge will work, but what I'd rather do is learn how to add the
symbol to the Palatino typeface (if not to the others, too). Not that I'm
looking for a ton of extra work, but the missing symbol should be added
rather than using a work-around.

Many thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Why Does ERT Cause 'Undefined Control Sequence?' -- More Information

2008-02-26 Thread Paul A. Rubin

Rich Shepard wrote:

On Tue, 26 Feb 2008, Rich Shepard wrote:


 Don't have either, but will grab them from CTAN.


Paul,

  Both textcompsym.sty and textcompfix.sty come from the Georgia Tech 
thesis

collection. The latter makes no difference in the error message; the former
generates a whole bunch of different LaTeX errors. Sigh.

Thanks,

Rich



After reading the preambles, I would expect vice versa.  The textcompsym 
package fakes a number of missing symbols but apparently not 
textservicemark (so I would expect the original error to repeat); the 
textcompfix package supposedly switches the font to Computer Modern long 
enough to print the service mark, then back to the previous font, so 
that should handle textservicemark (don't know about creating any new 
errors).


Looks like the "error" message that you got in the first place was 
actually just a warning that textcomp was substituting another font 
(cmr, I think) in order to print the service mark.  Try exporting your 
original doc to a LaTeX file and run latex (or pdflatex) against it.  I 
did that on a small test doc, got your error message, just hit enter to 
run through it, and the latex run finished and gave me what looks like a 
correct DVI file.  Methinks perhaps LyX just can't tell the difference 
between a warning and a fatal error.  (In fairness, latex does ask for 
input at that point, so maybe it's latex that doesn't distinguish 
warnings from errors.)


If that's too aggravating (and assuming you're ok with the service mark 
being in Computer Modern), you might hack the textcomp.sty package and 
delete the warning part from the definition of [EMAIL PROTECTED] (so that it 
just does the \bgroup ... \egroup stuff).


/Paul



Adding Symbol to Typeface (was: 'Why Does ERT Cause 'Undefined Control Sequence?')

2008-02-26 Thread Rich Shepard

  Testing reveals that most typefaces available here do not have the
textservicemark symbol. How difficult might it be to add the glyph to
Palatino (since that's my default typeface) using an existing glyph (e.g.,
Almost European) as a template or direct copy?

  Don't know about anyone else, but we need that symbol frequently so it
should be added to the available type faces.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Why Does ERT Cause 'Undefined Control Sequence?' -- More Information

2008-02-26 Thread Rich Shepard

On Tue, 26 Feb 2008, Rich Shepard wrote:


 Don't have either, but will grab them from CTAN.


Paul,

  Both textcompsym.sty and textcompfix.sty come from the Georgia Tech thesis
collection. The latter makes no difference in the error message; the former
generates a whole bunch of different LaTeX errors. Sigh.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Why Does ERT Cause 'Undefined Control Sequence?' -- More Information

2008-02-26 Thread Rich Shepard

On Tue, 26 Feb 2008, Paul A. Rubin wrote:


Not sure this applies, but apparently some fonts (including some
Postscript fonts) don't contain all the symbols in the textcomp package. 
There are at least two other packages (textcompsym and textcompfix) that

apparently invoke different workarounds. The comments in both point to
Palatino, for instance, as a font that doesn't have all the textcomp
symbols.


Paul,

  I interpreted the log's error message that the Palatino font does not have
textservicemark, but I also saw that a substitute was used. Thinking about
it, I guess that was false hope.

You might try loading one or the other of those and see if anything useful 
happens.


  Don't have either, but will grab them from CTAN.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Why Does ERT Cause 'Undefined Control Sequence?' -- More Information

2008-02-26 Thread Paul A. Rubin

Rich Shepard wrote:

On Tue, 26 Feb 2008, Rich Shepard wrote:


 Perhaps it's related to the document coding? The text was plain ASCII
text when imported. In the document settings I left the language 
choice as

English and activated the checkbox for Use language's default encoding.


  Here's the error in the log file:

! Package textcomp Error: Symbol \textservicemark not provided by
(textcomp)font family ppl in TS1 encoding.
(textcomp)Default family used instead.

See the textcomp package documentation for explanation.

  It's a LaTeX error, not a TeX error. It looks contradictory to me. If the
symbol is not in the 'font family ppl in TS1 encoding', but the default
family is used instead, why is it an error?

Rich



Rich,

Not sure this applies, but apparently some fonts (including some 
Postscript fonts) don't contain all the symbols in the textcomp package. 
 There are at least two other packages (textcompsym and textcompfix) 
that apparently invoke different workarounds.  The comments in both 
point to Palatino, for instance, as a font that doesn't have all the 
textcomp symbols.


You might try loading one or the other of those and see if anything 
useful happens.


/Paul



Re: Why Does ERT Cause 'Undefined Control Sequence?' -- More Information

2008-02-26 Thread Rich Shepard

On Tue, 26 Feb 2008, Rich Shepard wrote:


 Perhaps it's related to the document coding? The text was plain ASCII
text when imported. In the document settings I left the language choice as
English and activated the checkbox for Use language's default encoding.


  Here's the error in the log file:

! Package textcomp Error: Symbol \textservicemark not provided by
(textcomp)font family ppl in TS1 encoding.
(textcomp)Default family used instead.

See the textcomp package documentation for explanation.

  It's a LaTeX error, not a TeX error. It looks contradictory to me. If the
symbol is not in the 'font family ppl in TS1 encoding', but the default
family is used instead, why is it an error?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Why Does ERT Cause 'Undefined Control Sequence?' -- More Information

2008-02-26 Thread Rich Shepard

On Tue, 26 Feb 2008, rgheck wrote:


I've got it in my version of the package:
[EMAIL PROTECTED] latex]$ grep -R textservicemark *
base/ts1enc.dfu:\DeclareUnicodeCharacter{2120}{\textservicemark}
base/textcomp.sty:[EMAIL PROTECTED]@symbol2\textservicemark}
base/ts1enc.def:\DeclareTextSymbol{\textservicemark}{TS1}{159}
base/utf8enc.dfu:\DeclareUnicodeCharacter{2120}{\textservicemark}


  I've the same here:

[EMAIL PROTECTED] /usr/share/texmf/tex/latex/base]$ grep -R textservicemark *
textcomp.sty:[EMAIL PROTECTED]@symbol2\textservicemark}
ts1enc.def:\DeclareTextSymbol{\textservicemark}{TS1}{159}
ts1enc.dfu:\DeclareUnicodeCharacter{2120}{\textservicemark}
utf8enc.dfu:\DeclareUnicodeCharacter{2120}{\textservicemark}


Maybe your version is older, newer, ???


2004-03-13 18:19 textcomp.sty

  Perhaps it's related to the document coding? The text was plain, ASCII
text when imported. In the document settings I left the language choice as
English and activated the checkbox for Use language's default encoding.

  Should I specify a specific encoding? When I try UTF8 the error is that
the CJK style is not found; UTF8-plain produces another error. The .lyx file
now shows:

\language english
\inputencoding auto

That's the same as other docs I've written.

  What do you suggest I do next to find the problems source?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Why Does ERT Cause 'Undefined Control Sequence?' -- More Information

2008-02-26 Thread rgheck

Rich Shepard wrote:

On Tue, 26 Feb 2008, Rich Shepard wrote:

Except that adding \usepackage{textcomp} still generates an error 
that the

package does not provide the symbol.


However, textcomp _does_ provide the symbol texttrademark. Any ideas why
the one is found but not the other? The LaTeX comprehensive symbol list
(page 13) shows both provided by the package.


I've got it in my version of the package:
[EMAIL PROTECTED] latex]$ grep -R textservicemark *
base/ts1enc.dfu:\DeclareUnicodeCharacter{2120}{\textservicemark}
base/textcomp.sty:[EMAIL PROTECTED]@symbol2\textservicemark}
base/ts1enc.def:\DeclareTextSymbol{\textservicemark}{TS1}{159}
base/utf8enc.dfu:\DeclareUnicodeCharacter{2120}{\textservicemark}
Maybe your version is older, newer, ???


Re: Why Does ERT Cause 'Undefined Control Sequence?' -- More Information

2008-02-26 Thread Rich Shepard

On Tue, 26 Feb 2008, Rich Shepard wrote:


 Except that adding \usepackage{textcomp} still generates an error that the
package does not provide the symbol.


  However, textcomp _does_ provide the symbol texttrademark. Any ideas why
the one is found but not the other? The LaTeX comprehensive symbol list
(page 13) shows both provided by the package.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Why Does ERT Cause 'Undefined Control Sequence?'

2008-02-26 Thread Rich Shepard

On Mon, 25 Feb 2008, Rich Shepard wrote:


 The proper missing package was pointed out to me.


  Except that adding \usepackage{textcomp} still generates an error that the
package does not provide the symbol.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Why Does ERT Cause 'Undefined Control Sequence?' -- ANSWERED

2008-02-25 Thread Rich Shepard

On Mon, 25 Feb 2008, Rich Shepard wrote:


 What did I do incorrectly?


  The proper missing package was pointed out to me.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Why Does ERT Cause 'Undefined Control Sequence?'

2008-02-25 Thread Rich Shepard

  Every time the service name is in the text, it's followed by an ERT box
containing \textservicemark. For some reason, this generates an 'undefined
control sequence' error in LaTeX/TeX. Here's a sample from the log file:

LaTeX Font Info:Font shape `T1/ppl/bx/n' in size <14.4> not available
(Font)  Font shape `T1/ppl/b/n' tried instead on input line 75.
! Undefined control sequence.
l.88 PermitWatch\textservicemark
 is hosted on secure servers and accessible
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type ' and the correct
spelling (e.g., \hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

  What did I do incorrectly?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
<http://www.appl-ecosys.com> Voice: 503-667-4517  Fax: 503-667-8863


Re: Undefined control sequence. \[

2005-03-11 Thread Jean-Marc Lasgouttes
>>>>> "Ernesto" == Ernesto Jardim <[EMAIL PROTECTED]> writes:

Ernesto> Hi, I'm using a document class nrc1 with the layout attach
Ernesto> below and I'm getting this error when I run latex.

Ernesto> Undefined control sequence. \[

Ernesto> It's a bit odd to me because it's a standard latex command
Ernesto> but I'm not a latex guru so it puzles me how to solve this.

Hello Ernesto,

Could you send a LyX file that shows the problem?

Concerning the packages that get added to the preamble, I have a few
remarks:

These packages are already used by LyX as needed. You should not need
to specify them.

  \usepackage{graphicx}
  \usepackage{amsmath}
  \usepackage{amssymb}
  \usepackage{babel}

This command is probably not useful, as amsmath provides the
equivalent \boldmath:
  \usepackage{bm}

These packages may be useful but maybe only in some cases. They should
probably be used in the preamble of the document.

  \usepackage{dcolumn}
  \usepackage{url}
  \NRCurl{url}
  \usepackage{array}

This is probably useful:

  \renewcommand{\topfraction}{.95}
  \renewcommand{\textfraction}{.05}
  \renewcommand{\floatpagefraction}{.95}
  \numberby {equation}{section}
  \setcounter{equation}{0}

These macros really look like something people _may_ want to use, but
that are not really required:

  \newcommand{\PreserveBackslash}[1]{\let\temp=\\#1\let\\=\temp}
  \let\PBS=\PreserveBackslash
  \let\p=\phantom
  \let\mc=\multicolumn
  \newcommand\T{\rule{0pt}{2.6ex}}
  \newcommand\B{\rule[-1.2ex]{0pt}{0pt}}


In general, I think nothing should be added to the preamble of the
layout file, but rather in the preamble of a template, so that people
can modify the code.

JMarc


Undefined control sequence. \[

2005-03-11 Thread Ernesto Jardim
Hi,
I'm using a document class nrc1 with the layout attach below and I'm 
getting this error when I run latex.

Undefined control sequence.
\[
It's a bit odd to me because it's a standard latex command but I'm not a 
latex guru so it puzles me how to solve this.

Any help will be welcomed.
Regards
EJ

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{nrc1}
# Article textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich <[EMAIL PROTECTED]>
# Transposed by Pascal André <[EMAIL PROTECTED]>
# Heavily modifed and enhanced by serveral developers.
Preamble
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{dcolumn}
\usepackage{bm}
\usepackage{url}
\NRCurl{url}
\usepackage{array}
\usepackage{babel}
\newcommand{\PreserveBackslash}[1]{\let\temp=\\#1\let\\=\temp}
\let\PBS=\PreserveBackslash
\renewcommand{\topfraction}{.95}
\renewcommand{\textfraction}{.05}
\renewcommand{\floatpagefraction}{.95}
\numberby {equation}{section}
\setcounter{equation}{0}
\let\p=\phantom
\let\mc=\multicolumn
\newcommand\T{\rule{0pt}{2.6ex}}
\newcommand\B{\rule[-1.2ex]{0pt}{0pt}}
EndPreamble
# Input general definitions
Input stdclass.inc
# There are no chapters in an article.
NoStyle Chapter
NoStyle Chapter*


Re: Problem with undefined control sequence

2001-12-16 Thread Herbert Voss



Markus Mohr wrote:

> Hi!
> 
> I have a problem with creating a dvi-file. I've extracted the smallest
> piece of text that produces the error. I'm sorry, but I can't see my
> error. No manual additions were done. This is an excerpt from the
> logfile:
> 
> ! Undefined control sequence.
> l.23 \centering \( v_{G}=\s
> _{G}*108,4\frac{1}{s} \)



for latex \s is like a command, therefore you get an
error message. In LyX you can see it as a RED s, means
TeX command. I suppose you mean s_ and have a typo???

delete the s and write it again.

by the way, it looks a bit ugly when having uppercase
letters as indexes. try a \scriptscriptstyle (double
scripot is correct!) befor the G, looks nicer.

Herbert




-- 
http://www.lyx.org/help/




Problem with undefined control sequence

2001-12-16 Thread Markus Mohr

Hi!

I have a problem with creating a dvi-file. I've extracted the smallest
piece of text that produces the error. I'm sorry, but I can't see my
error. No manual additions were done. This is an excerpt from the
logfile:

! Undefined control sequence.
l.23 \centering \( v_{G}=\s
_{G}*108,4\frac{1}{s} \)
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

thanks for your help
marksu

#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\language german
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Subsubsection

Encodergeschwindigkeit
\layout Standard

Da der Zeittakt in denen die Impulse gemessen werden bekannt und konstant
 ist ergibt sich daraus direkt die Gesamtgeschwindigkeit: 
\layout Standard
\align center 

\begin_inset Formula \( v_{G}=\s _{G}*108,4\frac{1}{s} \)
\end_inset 


\the_end