Re: Conditional printing

2005-06-13 Thread G. Milde
On 12.06.05, Richard Brown wrote:

 What I'd like to be able to do is write all the elements for each
 exercise at the same time in the same file, defining them as students
 book, teachers book CD stuff as I go, so that everything is
 checkable as I write it, and is co-ordinated. 

The ifthen latex package is your friend here.

In the LaTeX preamble (FormatDocumentLatex Preamble) insert

\usepackage{ifthen}

% create toggles
\newboolean{students} % print students parts?  TRUE|FALSE
\newboolean{teachers} % print teachers parts?  TRUE|FALSE
\newboolean{CDscript} % print CDscript parts?  TRUE|FALSE

% print everything by default
\setboolean{students}{true}
\setboolean{teachers}{true}
\setboolean{CDscript}{true}


and in the document, include the relevant parts with ERT boxes
(red latex text press Ctrl-l to get it) containing

  \ifthenelse{\boolean{students}}{}{

and  

  }
  
.

 Then, when I come to print
 it, to have the software automatically understand where the elements go,
 and print it to the right file so that I end up with 4 files: the
 master, the students book, the teachers book and the CD script. All
 properly cross-reefernced.

There are 2 options: You change in the preamble or in an ERT box at the
top of your document e.g.

  \setboolean{students}{false}
  \setboolean{CDscript}{false}

to get the teachers script. (And change and print again for all other
versions.)

Or you create wrappers for all versions that contain the right preamble
and include the main content (InsertFileLyX-Document). In this case,
the inserted file should not contain the setup code in the preamble, as
this would override the wrapper setting.

Günter



-- 
G.Milde web.de


Re: Environment menu problem

2005-06-13 Thread G. Milde
On 10.06.05, Declan O'Byrne wrote:
 Greetings from a would-be Lyx user,
 
 I have a little problem which could stop me using what appears to be a
 wonderful program (lyx).  It is that the environment menu often does
 not work for me.
 Just to confirm that: I bring the cursor to above the menu, and
 left-click and nothing happens.
 In fact, a little rectangle is drawn on the right hand side of the
 menu bar, but no more.

The same problem was reported on this list (or lyx-devel) some days
ago but noone knew an answer :-( Is this with LyX on Windows? Could you
report the LyX version and Qt version ...

I once had a problem with the layouts drop down list that related to a
home-made layout file. Did you set up/modify layouts in your personal
LyX directory? If so, does temporarily renaming this directory to another
name help?

Günter

-- 
G.Milde web.de


About Beamer and Lyx

2005-06-13 Thread max
Hi everybody
  I think there is something wrong with Beamer class and Lyx. I have already 
found in the mailing list someone else having the same problems but I could 
not find the solution. In my case I have started to prepare a presentation 
(just title, authors and Outline section) and  wanted to check if everything 
was ok. Therefore I have choosed View-PDF(pdflatex) and the error issued by 
latex was

Undefined control sequence.
 \lyxframeend
 {}\section*{Outline}

etc...

I have compared a working presentation with this one and I have found in the 
Latex exported file that section

%% Textclass specific LaTeX commands.
 \AtBeginDocument{
   \let\origtableofcontents=\tableofcontents
   [EMAIL PROTECTED]
{\gobbletableofcontents}}
   \def\gobbletableofcontents#1{\origtableofcontents}
 }
 \makeatletter
 [EMAIL PROTECTED]@lyxframestop}%
 [EMAIL PROTECTED]@ifnextchar{\@@lyxframe}{\@@lyxframe*}}%
 \def\@@lyxframe#1[EMAIL PROTECTED]@@@lyxframe#1}{\@@@lyxframe#1[]}}
 \def\@@@lyxframe#1[EMAIL PROTECTED]{\@lyxframe#1[}
{\lyxframe#1[*][}}
 \def\@lyxframe#1[EMAIL PROTECTED]lyxframe#1[#2]}
{\lyxframe#1[#2][]}}
 \long\def\lyxframe#1[EMAIL PROTECTED]
   \frame#1[#2][#3]{\frametitle{#4}#5}}
 \makeatother
 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
 \def\lyxframeend{} % In case there is a superfluous frame end

was missing. These commands are defined in the beamer.layout file and I 
suppose they should be inserted by Lyx in the temporary Latex file.
The question is: why does Lyx sometimes export these commands and sometime it 
does not? I have exported today both presentations, I suppose there are some 
minor details in the skeleton presentation which issue an internal error in 
Lyx.
Thanks a lot
   MAX



Re: About Beamer and Lyx

2005-06-13 Thread Uwe Stöhr

max wrote:

Therefore I have choosed View-PDF(pdflatex) and the error issued by 
latex was


Undefined control sequence.
 \lyxframeend
 {}\section*{Outline}


If you send a minimal example LyX-file, I'll have a look at it.

regards Uwe


Re: About Beamer and Lyx

2005-06-13 Thread Jean-Pierre Chretien

Date: Mon, 13 Jun 2005 12:15:24 +0200
From: Uwe Stöhr [EMAIL PROTECTED]
To: max [EMAIL PROTECTED]
CC: lyx-users@lists.lyx.org
Subject: Re: About Beamer and Lyx

max wrote:

 Therefore I have choosed View-PDF(pdflatex) and the error issued by 
 latex was
 
 Undefined control sequence.
  \lyxframeend
  {}\section*{Outline}

If you send a minimal example LyX-file, I'll have a look at it.

Looks like an EndFrame layout missing at the end of the document
(AFAIR, one is needed, that's why the layout does exist in the Style menu).

-- 
Jean-Pierre





placement of figure floats, again

2005-06-13 Thread Martin A. Hansen
in an two column article with some figures spanning both columns and
some not - i cant get the figures placed the way i want them. i want the
figures placed in numeric order and before the reference section. the
default float placement is not ok (figure numbers are ok in the text,
but figure 3 comes before figure 2). changing the float placement to
here if possible or here definitely doent do the trick either and
also moves some figures to after the reference section?!?


best regards


martin


Re: Problem with adjacent thingies

2005-06-13 Thread Andre Poenitz
On Sun, Jun 12, 2005 at 11:22:32PM +0100, Paul Smith wrote:
 On 6/11/05, Andre Poenitz [EMAIL PROTECTED] wrote:
   I originally reported this difficuly with the case environment but have
   since noticed the problem with lots of other environments, including 
   Lemma,
   Definition, etc. Essentially the problem is that Lyx wont let me create
   adjacent Lemmas (without proofs), or adjacent Definitions, without some
   intervening (Standard) text. In the absence of any such text it merges the
   two adjacent entities into one. Does anyone have a workaround for this?
  
  Yes. Put a standard text paragraph with 'nothing' in between, i.e.
  {} in an ERT inset or such.
 
 Actually, Andre', it is not necessary to insert {}; it is only
 necessary to have an empty ERT.

I see. Well, so this is certainly the visually nicer solution.

Andre'


Re: Formatting source code

2005-06-13 Thread Helge Hafting

Invisible Person wrote:

Hello list, 


I want to insert source code ( Java, Sql) into the document.
Can I insert it formatted (indent and/or colored) like in an IDE?
 


If you can live with some ERT, consider the listings package.
It lets you list source code files, it parses many programming
languages (including java). You can select how different
items (keywords, commands, separators, and so on) should
be highlighted, so you can have colors if you want that.

The colors won't be there on screen when you edit, but
they will appear in print as well as view-pdf.

Helge Hafting


Re: About Beamer and Lyx

2005-06-13 Thread Rich Shepard

On Mon, 13 Jun 2005, Jean-Pierre Chretien wrote:


Looks like an EndFrame layout missing at the end of the document (AFAIR,
one is needed, that's why the layout does exist in the Style menu).


  When I trimmed a lot of the template's end off my presentation the
\endframe went with it. I saw the same error message. It was an easy fix: go
to the end of the presentation, press [Enter] to generate a new line, and
change the environment from standard to EndFrame. That fixed it right up and
I'm now aware of keeping that command in place.

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Lyx template for ACS (World Scientific)

2005-06-13 Thread Cheng-shan Frank Liu

Dear Lyx Team:

I am writing a paper and preparing to submit it to Advances in Complex 
Systems (ACS), a journal published by World  Scientific. I found that 
the format of ACS is consistent with International Journal of Modern 
Physics D (also published by ws), which is supported by the ijmpd 
package (described 
herehttp://nuclear.gla.ac.uk/computing/LyX_doc/Extended.html#tth_chAp1). 
The only difference is the format of references.


Could you give me a hint how to modify the ijmpd package so that I can 
use the new template for ACS? If the modification is not possible, could 
you help create such a template?


The ACS's LaTeX template files can be found here: 
http://www.tbi.univie.ac.at/ACS/TemplateFiles.html


Thank you very much.

Sincerely,

Frank Liu
--
Cheng-shan Frank Liu
Dept. of Political ScienceE-mail: [EMAIL PROTECTED]
University of Kansas  Web: http://lark.cc.ku.edu/~ashan
1541 Lilac Lane, Room 504 Office: (785) 864-9019
Lawrence, Kansas 66044-3177   FAX: (785) 864-5700


Re: Lyx template for ACS (World Scientific)

2005-06-13 Thread Ingar Pareliussen
Måndag 13. juni 2005 16:02 skreiv Cheng-shan Frank Liu:
 Dear Lyx Team:

 I am writing a paper and preparing to submit it to Advances in Complex
 Systems (ACS), a journal published by World  Scientific. I found that
 the format of ACS is consistent with International Journal of Modern
 Physics D (also published by ws), which is supported by the ijmpd
 package (described
 herehttp://nuclear.gla.ac.uk/computing/LyX_doc/Extended.html#tth_chAp1).
 The only difference is the format of references.

If it is only the references you can use the ijmp layout and use the abbrv for 
your bibtex references. 

 Could you give me a hint how to modify the ijmpd package so that I can
 use the new template for ACS? If the modification is not possible, could
 you help create such a template?

 The ACS's LaTeX template files can be found here:
 http://www.tbi.univie.ac.at/ACS/TemplateFiles.html

However, if you want to make a layout file for  ACS you can do that offcourse.

Download and install the the  ws-acs.cls in your latex tree. Run texhash (if 
you use tetex). Copy your (your path may 
vary) /usr/local/share/lyx/layout/ijmpd.layout  
to /usr/local/share/lyx/layout/ws-acs.layout and change the second line from
#  \DeclareLaTeXClass[ws-ijmpd]{article (ijmpd)}
to
#  \DeclareLaTeXClass[ws-acs]{article (ws-acs)}
save the file. Run reconfigure in LyX from Edit-reconfigure and restart Lyx 
and chose article(ws-acs).

This should work if there are no other differences between the two. But I have 
not tried, so no guarantees :). 

Ingar


Clean EPS Files

2005-06-13 Thread Bruce Pourciau
A while back on this list, I read that Photoshop by default saves eps 
files with an embedded tiff preview (which causes problems for LaTex), 
but that there is a way to force Photoshop to create a clean eps file. 
Does anyone know how to do this in Photoshop?


Bruce



lyx 1.3.5 install under debian/kanotox

2005-06-13 Thread Wolfgang Engelmann

I try to install lyx-1.3.5-1fc2 xforms.i386.rpm under debian/kanotix

using alien -i lyx-1.3.5-1fc2_xforms.i386.rpm

I get:
trying to overwrite /usr/bib/reLyx, which is also in the package lyx-common, 
the subprocess paste is killed with signal (data transfer interrupted (broken 
pipe)
(sorry, I translated it from German, hope its alright)

I removed therefore the file reLyx, made sure it is removed, and tried again 
with   alien -i lyx-1.3.5-1fc2_xforms.i386.rpm, but get the same error 
message as before. 
How comes, although reLyx is removed?

Do I have to do something additional after removing?

Wolfgang


Re: Clean EPS Files

2005-06-13 Thread Geoffrey Lloyd
When you save an eps, definately in photoshop 6 and also in Illustrator 11, 
you have the option of what sort of preview you want to have - usually you 
choose a file name, click save and then up pops a box of eps specific 
options. In here you can just choose 'none' for the preview bit.


In my experience the previews have caused no problems in Lyx but as they 
aren't necessary I select none.
- Original Message - 
From: Bruce Pourciau [EMAIL PROTECTED]

To: LyXFolks lyx-users@lists.lyx.org
Sent: Monday, June 13, 2005 4:44 PM
Subject: Clean EPS Files


A while back on this list, I read that Photoshop by default saves eps files 
with an embedded tiff preview (which causes problems for LaTex), but that 
there is a way to force Photoshop to create a clean eps file. Does anyone 
know how to do this in Photoshop?


Bruce






Re: Clean EPS Files

2005-06-13 Thread Bruce Pourciau

Thanks, Geoffrey. Ill give it a try.

Bruce

On Monday, June 13, 2005, at 11:16 AM, Geoffrey Lloyd wrote:

When you save an eps, definately in photoshop 6 and also in 
Illustrator 11, you have the option of what sort of preview you want 
to have - usually you choose a file name, click save and then up pops 
a box of eps specific options. In here you can just choose 'none' for 
the preview bit.


In my experience the previews have caused no problems in Lyx but as 
they aren't necessary I select none.
- Original Message - From: Bruce Pourciau 
[EMAIL PROTECTED]

To: LyXFolks lyx-users@lists.lyx.org
Sent: Monday, June 13, 2005 4:44 PM
Subject: Clean EPS Files


A while back on this list, I read that Photoshop by default saves eps 
files with an embedded tiff preview (which causes problems for 
LaTex), but that there is a way to force Photoshop to create a clean 
eps file. Does anyone know how to do this in Photoshop?


Bruce







Previewing Figures

2005-06-13 Thread Bruce Pourciau
A LyX file with inserted eps figures prints fine, but only if I print 
directly from LyX. Normally I preview in and print from Preview (on my 
Mac), but running pdflatex on my LyX file gives me this LaTex error 
message: I could not locate the file with any of these extensions: 
.png, .pdf, .mps, .tif


How do I preview and print from Preview when my LyX file contains eps 
figures?


Bruce



Re: Previewing Figures

2005-06-13 Thread Stephen Buonopane

If you have eps graphics use latex (View...PDF) not pdflatex

On Jun 13, 2005, at 12:39 PM, Bruce Pourciau wrote:

A LyX file with inserted eps figures prints fine, but only if I print 
directly from LyX. Normally I preview in and print from Preview (on my 
Mac), but running pdflatex on my LyX file gives me this LaTex error 
message: I could not locate the file with any of these extensions: 
.png, .pdf, .mps, .tif


How do I preview and print from Preview when my LyX file contains eps 
figures?


Bruce





Re: Previewing Figures

2005-06-13 Thread Bruce Pourciau

Well that was easy. Thanks, Steve.

Bruce

On Monday, June 13, 2005, at 11:54 AM, Stephen Buonopane wrote:


If you have eps graphics use latex (View...PDF) not pdflatex

On Jun 13, 2005, at 12:39 PM, Bruce Pourciau wrote:

A LyX file with inserted eps figures prints fine, but only if I print 
directly from LyX. Normally I preview in and print from Preview (on 
my Mac), but running pdflatex on my LyX file gives me this LaTex 
error message: I could not locate the file with any of these 
extensions: .png, .pdf, .mps, .tif


How do I preview and print from Preview when my LyX file contains eps 
figures?


Bruce







modified eepic pictures are not altered in ps preview

2005-06-13 Thread Gunnar
Hi.
If I make changes to an eepic picture that is created in a separate file and 
included in LyX by the \parpic and \input commands in an ERT, the picture is 
not updated when I do update postscript.

How can I make the changes in the eepic files turn up in the final postscript?


Re: lyx 1.3.5 install under debian/kanotox

2005-06-13 Thread piechoc
Am Montag, 13. Juni 2005 18:12 schrieb Wolfgang Engelmann:
 I try to install lyx-1.3.5-1fc2 xforms.i386.rpm under debian/kanotix
 using alien -i lyx-1.3.5-1fc2_xforms.i386.rpm
[...]

You don't need to convert LyX with alien. LyX is an official Debian Sid 
package. Try apt-get install lyx. Or compile it from source if you need the 
latest version. 

Thomas



Re: Conditional printing

2005-06-13 Thread Richard Brown
Thank you Gunter. I didn't really understand because it's all new to me,
but I just followed your instructions and it worked!! Hurray!!

But I don't really follow the wrapper idea: you wrote

Or you create wrappers for all versions that contain the right preamble
and include the main content (InsertFileLyX-Document). In this case,
the inserted file should not contain the setup code in the preamble, as
this would override the wrapper setting.

What is a wrapper? It sounds like a separate file with some preamble- but what 
is the right preamble?
Do I need to have 3 different wrappers (students, teachers, CDscript)? With 
different preambles in each?
What is the main content in each wrapper?

Thanks again!

Richard

PS - sorry to everyone because I haven't yet worked out how to get my
posts in the thread. It's all very new, but I'm trying to learn

G. Milde wrote:

On 12.06.05, Richard Brown wrote:

  

What I'd like to be able to do is write all the elements for each
exercise at the same time in the same file, defining them as students
book, teachers book CD stuff as I go, so that everything is
checkable as I write it, and is co-ordinated. 



The ifthen latex package is your friend here.

In the LaTeX preamble (FormatDocumentLatex Preamble) insert

\usepackage{ifthen}

% create toggles
\newboolean{students} % print students parts?  TRUE|FALSE
\newboolean{teachers} % print teachers parts?  TRUE|FALSE
\newboolean{CDscript} % print CDscript parts?  TRUE|FALSE

% print everything by default
\setboolean{students}{true}
\setboolean{teachers}{true}
\setboolean{CDscript}{true}


and in the document, include the relevant parts with ERT boxes
(red latex text press Ctrl-l to get it) containing

  \ifthenelse{\boolean{students}}{}{

and  

  }
  
.

  

Then, when I come to print
it, to have the software automatically understand where the elements go,
and print it to the right file so that I end up with 4 files: the
master, the students book, the teachers book and the CD script. All
properly cross-reefernced.



There are 2 options: You change in the preamble or in an ERT box at the
top of your document e.g.

  \setboolean{students}{false}
  \setboolean{CDscript}{false}

to get the teachers script. (And change and print again for all other
versions.)

Or you create wrappers for all versions that contain the right preamble
and include the main content (InsertFileLyX-Document). In this case,
the inserted file should not contain the setup code in the preamble, as
this would override the wrapper setting.

Günter



  



thesis initial pages numbering and title page

2005-06-13 Thread Vaibhav Srivastava

HI all,
a)  Does anyone have a template for the title page of a thesis. Is there 
a easier way to do it the lyx way rather than using latex tempates
b) It is required that arabic numbering starts only from the chapters 
and pages before that are numbered in the roman numerals . How can that 
be done. I am using the article class for my thesis.
c) How does one force something to start from a fresh page. Inserting a 
page break does not work.


Thanks,
Vaibhav

--
Vaibhav Srivastava
Graduate Student,
Department of Electrical and Computer Engineering,
North Carolina State University,
Raleigh,NC
[EMAIL PROTECTED]
Phone: 919 412 4073




Re: thesis initial pages numbering and title page

2005-06-13 Thread Nicolás
Just try searching for Lyx + thesis in Google. You will get several 
thesis layouts for Lyx. Maybe some of them fits you


Vaibhav Srivastava wrote:

HI all,
a)  Does anyone have a template for the title page of a thesis. Is there 
a easier way to do it the lyx way rather than using latex tempates
b) It is required that arabic numbering starts only from the chapters 
and pages before that are numbered in the roman numerals . How can that 
be done. I am using the article class for my thesis.
c) How does one force something to start from a fresh page. Inserting a 
page break does not work.


Thanks,
Vaibhav





Re: Conditional printing

2005-06-13 Thread G. Milde
On 12.06.05, Richard Brown wrote:

 What I'd like to be able to do is write all the elements for each
 exercise at the same time in the same file, defining them as students
 book, teachers book CD stuff as I go, so that everything is
 checkable as I write it, and is co-ordinated. 

The ifthen latex package is your friend here.

In the LaTeX preamble (FormatDocumentLatex Preamble) insert

\usepackage{ifthen}

% create toggles
\newboolean{students} % print students parts?  TRUE|FALSE
\newboolean{teachers} % print teachers parts?  TRUE|FALSE
\newboolean{CDscript} % print CDscript parts?  TRUE|FALSE

% print everything by default
\setboolean{students}{true}
\setboolean{teachers}{true}
\setboolean{CDscript}{true}


and in the document, include the relevant parts with ERT boxes
(red latex text press Ctrl-l to get it) containing

  \ifthenelse{\boolean{students}}{}{

and  

  }
  
.

 Then, when I come to print
 it, to have the software automatically understand where the elements go,
 and print it to the right file so that I end up with 4 files: the
 master, the students book, the teachers book and the CD script. All
 properly cross-reefernced.

There are 2 options: You change in the preamble or in an ERT box at the
top of your document e.g.

  \setboolean{students}{false}
  \setboolean{CDscript}{false}

to get the teachers script. (And change and print again for all other
versions.)

Or you create wrappers for all versions that contain the right preamble
and include the main content (InsertFileLyX-Document). In this case,
the inserted file should not contain the setup code in the preamble, as
this would override the wrapper setting.

Günter



-- 
G.Milde web.de


Re: Environment menu problem

2005-06-13 Thread G. Milde
On 10.06.05, Declan O'Byrne wrote:
 Greetings from a would-be Lyx user,
 
 I have a little problem which could stop me using what appears to be a
 wonderful program (lyx).  It is that the environment menu often does
 not work for me.
 Just to confirm that: I bring the cursor to above the menu, and
 left-click and nothing happens.
 In fact, a little rectangle is drawn on the right hand side of the
 menu bar, but no more.

The same problem was reported on this list (or lyx-devel) some days
ago but noone knew an answer :-( Is this with LyX on Windows? Could you
report the LyX version and Qt version ...

I once had a problem with the layouts drop down list that related to a
home-made layout file. Did you set up/modify layouts in your personal
LyX directory? If so, does temporarily renaming this directory to another
name help?

Günter

-- 
G.Milde web.de


About Beamer and Lyx

2005-06-13 Thread max
Hi everybody
  I think there is something wrong with Beamer class and Lyx. I have already 
found in the mailing list someone else having the same problems but I could 
not find the solution. In my case I have started to prepare a presentation 
(just title, authors and Outline section) and  wanted to check if everything 
was ok. Therefore I have choosed View-PDF(pdflatex) and the error issued by 
latex was

Undefined control sequence.
 \lyxframeend
 {}\section*{Outline}

etc...

I have compared a working presentation with this one and I have found in the 
Latex exported file that section

%% Textclass specific LaTeX commands.
 \AtBeginDocument{
   \let\origtableofcontents=\tableofcontents
   [EMAIL PROTECTED]
{\gobbletableofcontents}}
   \def\gobbletableofcontents#1{\origtableofcontents}
 }
 \makeatletter
 [EMAIL PROTECTED]@lyxframestop}%
 [EMAIL PROTECTED]@ifnextchar{\@@lyxframe}{\@@lyxframe*}}%
 \def\@@lyxframe#1[EMAIL PROTECTED]@@@lyxframe#1}{\@@@lyxframe#1[]}}
 \def\@@@lyxframe#1[EMAIL PROTECTED]{\@lyxframe#1[}
{\lyxframe#1[*][}}
 \def\@lyxframe#1[EMAIL PROTECTED]lyxframe#1[#2]}
{\lyxframe#1[#2][]}}
 \long\def\lyxframe#1[EMAIL PROTECTED]
   \frame#1[#2][#3]{\frametitle{#4}#5}}
 \makeatother
 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
 \def\lyxframeend{} % In case there is a superfluous frame end

was missing. These commands are defined in the beamer.layout file and I 
suppose they should be inserted by Lyx in the temporary Latex file.
The question is: why does Lyx sometimes export these commands and sometime it 
does not? I have exported today both presentations, I suppose there are some 
minor details in the skeleton presentation which issue an internal error in 
Lyx.
Thanks a lot
   MAX



Re: About Beamer and Lyx

2005-06-13 Thread Uwe Stöhr

max wrote:

Therefore I have choosed View-PDF(pdflatex) and the error issued by 
latex was


Undefined control sequence.
 \lyxframeend
 {}\section*{Outline}


If you send a minimal example LyX-file, I'll have a look at it.

regards Uwe


Re: About Beamer and Lyx

2005-06-13 Thread Jean-Pierre Chretien

Date: Mon, 13 Jun 2005 12:15:24 +0200
From: Uwe Stöhr [EMAIL PROTECTED]
To: max [EMAIL PROTECTED]
CC: lyx-users@lists.lyx.org
Subject: Re: About Beamer and Lyx

max wrote:

 Therefore I have choosed View-PDF(pdflatex) and the error issued by 
 latex was
 
 Undefined control sequence.
  \lyxframeend
  {}\section*{Outline}

If you send a minimal example LyX-file, I'll have a look at it.

Looks like an EndFrame layout missing at the end of the document
(AFAIR, one is needed, that's why the layout does exist in the Style menu).

-- 
Jean-Pierre





placement of figure floats, again

2005-06-13 Thread Martin A. Hansen
in an two column article with some figures spanning both columns and
some not - i cant get the figures placed the way i want them. i want the
figures placed in numeric order and before the reference section. the
default float placement is not ok (figure numbers are ok in the text,
but figure 3 comes before figure 2). changing the float placement to
here if possible or here definitely doent do the trick either and
also moves some figures to after the reference section?!?


best regards


martin


Re: Problem with adjacent thingies

2005-06-13 Thread Andre Poenitz
On Sun, Jun 12, 2005 at 11:22:32PM +0100, Paul Smith wrote:
 On 6/11/05, Andre Poenitz [EMAIL PROTECTED] wrote:
   I originally reported this difficuly with the case environment but have
   since noticed the problem with lots of other environments, including 
   Lemma,
   Definition, etc. Essentially the problem is that Lyx wont let me create
   adjacent Lemmas (without proofs), or adjacent Definitions, without some
   intervening (Standard) text. In the absence of any such text it merges the
   two adjacent entities into one. Does anyone have a workaround for this?
  
  Yes. Put a standard text paragraph with 'nothing' in between, i.e.
  {} in an ERT inset or such.
 
 Actually, Andre', it is not necessary to insert {}; it is only
 necessary to have an empty ERT.

I see. Well, so this is certainly the visually nicer solution.

Andre'


Re: Formatting source code

2005-06-13 Thread Helge Hafting

Invisible Person wrote:

Hello list, 


I want to insert source code ( Java, Sql) into the document.
Can I insert it formatted (indent and/or colored) like in an IDE?
 


If you can live with some ERT, consider the listings package.
It lets you list source code files, it parses many programming
languages (including java). You can select how different
items (keywords, commands, separators, and so on) should
be highlighted, so you can have colors if you want that.

The colors won't be there on screen when you edit, but
they will appear in print as well as view-pdf.

Helge Hafting


Re: About Beamer and Lyx

2005-06-13 Thread Rich Shepard

On Mon, 13 Jun 2005, Jean-Pierre Chretien wrote:


Looks like an EndFrame layout missing at the end of the document (AFAIR,
one is needed, that's why the layout does exist in the Style menu).


  When I trimmed a lot of the template's end off my presentation the
\endframe went with it. I saw the same error message. It was an easy fix: go
to the end of the presentation, press [Enter] to generate a new line, and
change the environment from standard to EndFrame. That fixed it right up and
I'm now aware of keeping that command in place.

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Lyx template for ACS (World Scientific)

2005-06-13 Thread Cheng-shan Frank Liu

Dear Lyx Team:

I am writing a paper and preparing to submit it to Advances in Complex 
Systems (ACS), a journal published by World  Scientific. I found that 
the format of ACS is consistent with International Journal of Modern 
Physics D (also published by ws), which is supported by the ijmpd 
package (described 
herehttp://nuclear.gla.ac.uk/computing/LyX_doc/Extended.html#tth_chAp1). 
The only difference is the format of references.


Could you give me a hint how to modify the ijmpd package so that I can 
use the new template for ACS? If the modification is not possible, could 
you help create such a template?


The ACS's LaTeX template files can be found here: 
http://www.tbi.univie.ac.at/ACS/TemplateFiles.html


Thank you very much.

Sincerely,

Frank Liu
--
Cheng-shan Frank Liu
Dept. of Political ScienceE-mail: [EMAIL PROTECTED]
University of Kansas  Web: http://lark.cc.ku.edu/~ashan
1541 Lilac Lane, Room 504 Office: (785) 864-9019
Lawrence, Kansas 66044-3177   FAX: (785) 864-5700


Re: Lyx template for ACS (World Scientific)

2005-06-13 Thread Ingar Pareliussen
Måndag 13. juni 2005 16:02 skreiv Cheng-shan Frank Liu:
 Dear Lyx Team:

 I am writing a paper and preparing to submit it to Advances in Complex
 Systems (ACS), a journal published by World  Scientific. I found that
 the format of ACS is consistent with International Journal of Modern
 Physics D (also published by ws), which is supported by the ijmpd
 package (described
 herehttp://nuclear.gla.ac.uk/computing/LyX_doc/Extended.html#tth_chAp1).
 The only difference is the format of references.

If it is only the references you can use the ijmp layout and use the abbrv for 
your bibtex references. 

 Could you give me a hint how to modify the ijmpd package so that I can
 use the new template for ACS? If the modification is not possible, could
 you help create such a template?

 The ACS's LaTeX template files can be found here:
 http://www.tbi.univie.ac.at/ACS/TemplateFiles.html

However, if you want to make a layout file for  ACS you can do that offcourse.

Download and install the the  ws-acs.cls in your latex tree. Run texhash (if 
you use tetex). Copy your (your path may 
vary) /usr/local/share/lyx/layout/ijmpd.layout  
to /usr/local/share/lyx/layout/ws-acs.layout and change the second line from
#  \DeclareLaTeXClass[ws-ijmpd]{article (ijmpd)}
to
#  \DeclareLaTeXClass[ws-acs]{article (ws-acs)}
save the file. Run reconfigure in LyX from Edit-reconfigure and restart Lyx 
and chose article(ws-acs).

This should work if there are no other differences between the two. But I have 
not tried, so no guarantees :). 

Ingar


Clean EPS Files

2005-06-13 Thread Bruce Pourciau
A while back on this list, I read that Photoshop by default saves eps 
files with an embedded tiff preview (which causes problems for LaTex), 
but that there is a way to force Photoshop to create a clean eps file. 
Does anyone know how to do this in Photoshop?


Bruce



lyx 1.3.5 install under debian/kanotox

2005-06-13 Thread Wolfgang Engelmann

I try to install lyx-1.3.5-1fc2 xforms.i386.rpm under debian/kanotix

using alien -i lyx-1.3.5-1fc2_xforms.i386.rpm

I get:
trying to overwrite /usr/bib/reLyx, which is also in the package lyx-common, 
the subprocess paste is killed with signal (data transfer interrupted (broken 
pipe)
(sorry, I translated it from German, hope its alright)

I removed therefore the file reLyx, made sure it is removed, and tried again 
with   alien -i lyx-1.3.5-1fc2_xforms.i386.rpm, but get the same error 
message as before. 
How comes, although reLyx is removed?

Do I have to do something additional after removing?

Wolfgang


Re: Clean EPS Files

2005-06-13 Thread Geoffrey Lloyd
When you save an eps, definately in photoshop 6 and also in Illustrator 11, 
you have the option of what sort of preview you want to have - usually you 
choose a file name, click save and then up pops a box of eps specific 
options. In here you can just choose 'none' for the preview bit.


In my experience the previews have caused no problems in Lyx but as they 
aren't necessary I select none.
- Original Message - 
From: Bruce Pourciau [EMAIL PROTECTED]

To: LyXFolks lyx-users@lists.lyx.org
Sent: Monday, June 13, 2005 4:44 PM
Subject: Clean EPS Files


A while back on this list, I read that Photoshop by default saves eps files 
with an embedded tiff preview (which causes problems for LaTex), but that 
there is a way to force Photoshop to create a clean eps file. Does anyone 
know how to do this in Photoshop?


Bruce






Re: Clean EPS Files

2005-06-13 Thread Bruce Pourciau

Thanks, Geoffrey. Ill give it a try.

Bruce

On Monday, June 13, 2005, at 11:16 AM, Geoffrey Lloyd wrote:

When you save an eps, definately in photoshop 6 and also in 
Illustrator 11, you have the option of what sort of preview you want 
to have - usually you choose a file name, click save and then up pops 
a box of eps specific options. In here you can just choose 'none' for 
the preview bit.


In my experience the previews have caused no problems in Lyx but as 
they aren't necessary I select none.
- Original Message - From: Bruce Pourciau 
[EMAIL PROTECTED]

To: LyXFolks lyx-users@lists.lyx.org
Sent: Monday, June 13, 2005 4:44 PM
Subject: Clean EPS Files


A while back on this list, I read that Photoshop by default saves eps 
files with an embedded tiff preview (which causes problems for 
LaTex), but that there is a way to force Photoshop to create a clean 
eps file. Does anyone know how to do this in Photoshop?


Bruce







Previewing Figures

2005-06-13 Thread Bruce Pourciau
A LyX file with inserted eps figures prints fine, but only if I print 
directly from LyX. Normally I preview in and print from Preview (on my 
Mac), but running pdflatex on my LyX file gives me this LaTex error 
message: I could not locate the file with any of these extensions: 
.png, .pdf, .mps, .tif


How do I preview and print from Preview when my LyX file contains eps 
figures?


Bruce



Re: Previewing Figures

2005-06-13 Thread Stephen Buonopane

If you have eps graphics use latex (View...PDF) not pdflatex

On Jun 13, 2005, at 12:39 PM, Bruce Pourciau wrote:

A LyX file with inserted eps figures prints fine, but only if I print 
directly from LyX. Normally I preview in and print from Preview (on my 
Mac), but running pdflatex on my LyX file gives me this LaTex error 
message: I could not locate the file with any of these extensions: 
.png, .pdf, .mps, .tif


How do I preview and print from Preview when my LyX file contains eps 
figures?


Bruce





Re: Previewing Figures

2005-06-13 Thread Bruce Pourciau

Well that was easy. Thanks, Steve.

Bruce

On Monday, June 13, 2005, at 11:54 AM, Stephen Buonopane wrote:


If you have eps graphics use latex (View...PDF) not pdflatex

On Jun 13, 2005, at 12:39 PM, Bruce Pourciau wrote:

A LyX file with inserted eps figures prints fine, but only if I print 
directly from LyX. Normally I preview in and print from Preview (on 
my Mac), but running pdflatex on my LyX file gives me this LaTex 
error message: I could not locate the file with any of these 
extensions: .png, .pdf, .mps, .tif


How do I preview and print from Preview when my LyX file contains eps 
figures?


Bruce







modified eepic pictures are not altered in ps preview

2005-06-13 Thread Gunnar
Hi.
If I make changes to an eepic picture that is created in a separate file and 
included in LyX by the \parpic and \input commands in an ERT, the picture is 
not updated when I do update postscript.

How can I make the changes in the eepic files turn up in the final postscript?


Re: lyx 1.3.5 install under debian/kanotox

2005-06-13 Thread piechoc
Am Montag, 13. Juni 2005 18:12 schrieb Wolfgang Engelmann:
 I try to install lyx-1.3.5-1fc2 xforms.i386.rpm under debian/kanotix
 using alien -i lyx-1.3.5-1fc2_xforms.i386.rpm
[...]

You don't need to convert LyX with alien. LyX is an official Debian Sid 
package. Try apt-get install lyx. Or compile it from source if you need the 
latest version. 

Thomas



Re: Conditional printing

2005-06-13 Thread Richard Brown
Thank you Gunter. I didn't really understand because it's all new to me,
but I just followed your instructions and it worked!! Hurray!!

But I don't really follow the wrapper idea: you wrote

Or you create wrappers for all versions that contain the right preamble
and include the main content (InsertFileLyX-Document). In this case,
the inserted file should not contain the setup code in the preamble, as
this would override the wrapper setting.

What is a wrapper? It sounds like a separate file with some preamble- but what 
is the right preamble?
Do I need to have 3 different wrappers (students, teachers, CDscript)? With 
different preambles in each?
What is the main content in each wrapper?

Thanks again!

Richard

PS - sorry to everyone because I haven't yet worked out how to get my
posts in the thread. It's all very new, but I'm trying to learn

G. Milde wrote:

On 12.06.05, Richard Brown wrote:

  

What I'd like to be able to do is write all the elements for each
exercise at the same time in the same file, defining them as students
book, teachers book CD stuff as I go, so that everything is
checkable as I write it, and is co-ordinated. 



The ifthen latex package is your friend here.

In the LaTeX preamble (FormatDocumentLatex Preamble) insert

\usepackage{ifthen}

% create toggles
\newboolean{students} % print students parts?  TRUE|FALSE
\newboolean{teachers} % print teachers parts?  TRUE|FALSE
\newboolean{CDscript} % print CDscript parts?  TRUE|FALSE

% print everything by default
\setboolean{students}{true}
\setboolean{teachers}{true}
\setboolean{CDscript}{true}


and in the document, include the relevant parts with ERT boxes
(red latex text press Ctrl-l to get it) containing

  \ifthenelse{\boolean{students}}{}{

and  

  }
  
.

  

Then, when I come to print
it, to have the software automatically understand where the elements go,
and print it to the right file so that I end up with 4 files: the
master, the students book, the teachers book and the CD script. All
properly cross-reefernced.



There are 2 options: You change in the preamble or in an ERT box at the
top of your document e.g.

  \setboolean{students}{false}
  \setboolean{CDscript}{false}

to get the teachers script. (And change and print again for all other
versions.)

Or you create wrappers for all versions that contain the right preamble
and include the main content (InsertFileLyX-Document). In this case,
the inserted file should not contain the setup code in the preamble, as
this would override the wrapper setting.

Günter



  



thesis initial pages numbering and title page

2005-06-13 Thread Vaibhav Srivastava

HI all,
a)  Does anyone have a template for the title page of a thesis. Is there 
a easier way to do it the lyx way rather than using latex tempates
b) It is required that arabic numbering starts only from the chapters 
and pages before that are numbered in the roman numerals . How can that 
be done. I am using the article class for my thesis.
c) How does one force something to start from a fresh page. Inserting a 
page break does not work.


Thanks,
Vaibhav

--
Vaibhav Srivastava
Graduate Student,
Department of Electrical and Computer Engineering,
North Carolina State University,
Raleigh,NC
[EMAIL PROTECTED]
Phone: 919 412 4073




Re: thesis initial pages numbering and title page

2005-06-13 Thread Nicolás
Just try searching for Lyx + thesis in Google. You will get several 
thesis layouts for Lyx. Maybe some of them fits you


Vaibhav Srivastava wrote:

HI all,
a)  Does anyone have a template for the title page of a thesis. Is there 
a easier way to do it the lyx way rather than using latex tempates
b) It is required that arabic numbering starts only from the chapters 
and pages before that are numbered in the roman numerals . How can that 
be done. I am using the article class for my thesis.
c) How does one force something to start from a fresh page. Inserting a 
page break does not work.


Thanks,
Vaibhav





Re: Conditional printing

2005-06-13 Thread G. Milde
On 12.06.05, Richard Brown wrote:

> What I'd like to be able to do is write all the elements for each
> exercise at the same time in the same file, defining them as "students
> book", "teachers book" "CD stuff" as I go, so that everything is
> checkable as I write it, and is co-ordinated. 

The ifthen latex package is your friend here.

In the LaTeX preamble (Format>Document>Latex Preamble) insert

\usepackage{ifthen}

% create toggles
\newboolean{students} % print students parts?  TRUE|FALSE
\newboolean{teachers} % print teachers parts?  TRUE|FALSE
\newboolean{CDscript} % print CDscript parts?  TRUE|FALSE

% print everything by default
\setboolean{students}{true}
\setboolean{teachers}{true}
\setboolean{CDscript}{true}


and in the document, include the relevant parts with ERT boxes
(red latex text press Ctrl-l to get it) containing

  \ifthenelse{\boolean{students}}{}{

and  

  }
  
.

> Then, when I come to print
> it, to have the software automatically understand where the elements go,
> and print it to the right file so that I end up with 4 files: the
> master, the students book, the teachers book and the CD script. All
> properly cross-reefernced.

There are 2 options: You change in the preamble or in an ERT box at the
top of your document e.g.

  \setboolean{students}{false}
  \setboolean{CDscript}{false}

to get the teachers script. (And change and print again for all other
versions.)

Or you create wrappers for all versions that contain the "right" preamble
and include the main content (Insert>File>LyX-Document). In this case,
the inserted file should not contain the setup code in the preamble, as
this would override the wrapper setting.

Günter



-- 
G.Milde web.de


Re: Environment menu problem

2005-06-13 Thread G. Milde
On 10.06.05, Declan O'Byrne wrote:
> Greetings from a would-be Lyx user,
> 
> I have a little problem which could stop me using what appears to be a
> wonderful program (lyx).  It is that the environment menu often does
> not work for me.
> Just to confirm that: I bring the cursor to above the menu, and
> left-click and nothing happens.
> In fact, a little rectangle is drawn on the right hand side of the
> menu bar, but no more.

The same problem was reported on this list (or lyx-devel) some days
ago but noone knew an answer :-( Is this with LyX on Windows? Could you
report the LyX version and Qt version ...

I once had a problem with the layouts drop down list that related to a
"home-made" layout file. Did you set up/modify layouts in your personal
LyX directory? If so, does temporarily renaming this directory to another
name help?

Günter

-- 
G.Milde web.de


About Beamer and Lyx

2005-06-13 Thread max
Hi everybody
  I think there is something wrong with Beamer class and Lyx. I have already 
found in the mailing list someone else having the same problems but I could 
not find the solution. In my case I have started to prepare a presentation 
(just title, authors and Outline section) and  wanted to check if everything 
was ok. Therefore I have choosed View->PDF(pdflatex) and the error issued by 
latex was

Undefined control sequence.
 \lyxframeend
 {}\section*{Outline}

etc...

I have compared a working presentation with this one and I have found in the 
Latex exported file that section

%% Textclass specific LaTeX commands.
 \AtBeginDocument{
   \let\origtableofcontents=\tableofcontents
   [EMAIL PROTECTED]
{\gobbletableofcontents}}
   \def\gobbletableofcontents#1{\origtableofcontents}
 }
 \makeatletter
 [EMAIL PROTECTED]@lyxframestop}%
 [EMAIL PROTECTED]@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
 \def\@@lyxframe<#1>[EMAIL PROTECTED]@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
 \def\@@@lyxframe<#1>[EMAIL PROTECTED]<{\@lyxframe<#1>[}
{\lyxframe<#1>[<*>][}}
 \def\@lyxframe<#1>[EMAIL PROTECTED]lyxframe<#1>[#2]}
{\lyxframe<#1>[#2][]}}
 \long\def\lyxframe<#1>[EMAIL PROTECTED]
   \frame<#1>[#2][#3]{\frametitle{#4}#5}}
 \makeatother
 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
 \def\lyxframeend{} % In case there is a superfluous frame end

was missing. These commands are defined in the beamer.layout file and I 
suppose they should be inserted by Lyx in the temporary Latex file.
The question is: why does Lyx sometimes export these commands and sometime it 
does not? I have exported today both presentations, I suppose there are some 
minor details in the skeleton presentation which issue an internal error in 
Lyx.
Thanks a lot
   MAX



Re: About Beamer and Lyx

2005-06-13 Thread Uwe Stöhr

max wrote:

Therefore I have choosed View->PDF(pdflatex) and the error issued by 
latex was


Undefined control sequence.
 \lyxframeend
 {}\section*{Outline}


If you send a minimal example LyX-file, I'll have a look at it.

regards Uwe


Re: About Beamer and Lyx

2005-06-13 Thread Jean-Pierre Chretien

>>Date: Mon, 13 Jun 2005 12:15:24 +0200
>>From: Uwe Stöhr <[EMAIL PROTECTED]>
>>To: max <[EMAIL PROTECTED]>
>>CC: lyx-users@lists.lyx.org
>>Subject: Re: About Beamer and Lyx
>>
>>max wrote:
>>
>>> Therefore I have choosed View->PDF(pdflatex) and the error issued by 
>>> latex was
>>> 
>>> Undefined control sequence.
>>>  \lyxframeend
>>>  {}\section*{Outline}
>>
>>If you send a minimal example LyX-file, I'll have a look at it.

Looks like an EndFrame layout missing at the end of the document
(AFAIR, one is needed, that's why the layout does exist in the Style menu).

-- 
Jean-Pierre





placement of figure floats, again

2005-06-13 Thread Martin A. Hansen
in an two column article with some figures spanning both columns and
some not - i cant get the figures placed the way i want them. i want the
figures placed in numeric order and before the reference section. the
default float placement is not ok (figure numbers are ok in the text,
but figure 3 comes before figure 2). changing the float placement to
"here if possible" or "here definitely" doent do the trick either and
also moves some figures to after the reference section?!?


best regards


martin


Re: Problem with adjacent thingies

2005-06-13 Thread Andre Poenitz
On Sun, Jun 12, 2005 at 11:22:32PM +0100, Paul Smith wrote:
> On 6/11/05, Andre Poenitz <[EMAIL PROTECTED]> wrote:
> > > I originally reported this difficuly with the "case" environment but have
> > > since noticed the problem with lots of other environments, including 
> > > Lemma,
> > > Definition, etc. Essentially the problem is that Lyx wont let me create
> > > adjacent Lemmas (without proofs), or adjacent Definitions, without some
> > > intervening (Standard) text. In the absence of any such text it merges the
> > > two adjacent entities into one. Does anyone have a workaround for this?
> > 
> > Yes. Put a standard text paragraph with 'nothing' in between, i.e.
> > {} in an ERT inset or such.
> 
> Actually, Andre', it is not necessary to insert {}; it is only
> necessary to have an empty ERT.

I see. Well, so this is certainly the visually nicer solution.

Andre'


Re: Formatting source code

2005-06-13 Thread Helge Hafting

Invisible Person wrote:

Hello list, 


I want to insert source code ( Java, Sql) into the document.
Can I insert it formatted (indent and/or colored) like in an IDE?
 


If you can live with some ERT, consider the listings package.
It lets you list source code files, it parses many programming
languages (including java). You can select how different
items (keywords, commands, separators, and so on) should
be highlighted, so you can have colors if you want that.

The colors won't be there on screen when you edit, but
they will appear in print as well as view->pdf.

Helge Hafting


Re: About Beamer and Lyx

2005-06-13 Thread Rich Shepard

On Mon, 13 Jun 2005, Jean-Pierre Chretien wrote:


Looks like an EndFrame layout missing at the end of the document (AFAIR,
one is needed, that's why the layout does exist in the Style menu).


  When I trimmed a lot of the template's end off my presentation the
\endframe went with it. I saw the same error message. It was an easy fix: go
to the end of the presentation, press [Enter] to generate a new line, and
change the environment from standard to EndFrame. That fixed it right up and
I'm now aware of keeping that command in place.

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Lyx template for ACS (World Scientific)

2005-06-13 Thread Cheng-shan Frank Liu

Dear Lyx Team:

I am writing a paper and preparing to submit it to Advances in Complex 
Systems (ACS), a journal published by World  Scientific. I found that 
the format of ACS is consistent with International Journal of Modern 
Physics D (also published by ws), which is supported by the ijmpd 
package (described 
herehttp://nuclear.gla.ac.uk/computing/LyX_doc/Extended.html#tth_chAp1). 
The only difference is the format of references.


Could you give me a hint how to modify the ijmpd package so that I can 
use the new template for ACS? If the modification is not possible, could 
you help create such a template?


The ACS's LaTeX template files can be found here: 
http://www.tbi.univie.ac.at/ACS/TemplateFiles.html


Thank you very much.

Sincerely,

Frank Liu
--
Cheng-shan Frank Liu
Dept. of Political ScienceE-mail: [EMAIL PROTECTED]
University of Kansas  Web: http://lark.cc.ku.edu/~ashan
1541 Lilac Lane, Room 504 Office: (785) 864-9019
Lawrence, Kansas 66044-3177   FAX: (785) 864-5700


Re: Lyx template for ACS (World Scientific)

2005-06-13 Thread Ingar Pareliussen
Måndag 13. juni 2005 16:02 skreiv Cheng-shan Frank Liu:
> Dear Lyx Team:
>
> I am writing a paper and preparing to submit it to Advances in Complex
> Systems (ACS), a journal published by World  Scientific. I found that
> the format of ACS is consistent with International Journal of Modern
> Physics D (also published by ws), which is supported by the ijmpd
> package (described
> herehttp://nuclear.gla.ac.uk/computing/LyX_doc/Extended.html#tth_chAp1).
> The only difference is the format of references.

If it is only the references you can use the ijmp layout and use the abbrv for 
your bibtex references. 

> Could you give me a hint how to modify the ijmpd package so that I can
> use the new template for ACS? If the modification is not possible, could
> you help create such a template?
>
> The ACS's LaTeX template files can be found here:
> http://www.tbi.univie.ac.at/ACS/TemplateFiles.html

However, if you want to make a layout file for  ACS you can do that offcourse.

Download and install the the  ws-acs.cls in your latex tree. Run texhash (if 
you use tetex). Copy your (your path may 
vary) /usr/local/share/lyx/layout/ijmpd.layout  
to /usr/local/share/lyx/layout/ws-acs.layout and change the second line from
#  \DeclareLaTeXClass[ws-ijmpd]{article (ijmpd)}
to
#  \DeclareLaTeXClass[ws-acs]{article (ws-acs)}
save the file. Run reconfigure in LyX from Edit->reconfigure and restart Lyx 
and chose article(ws-acs).

This should work if there are no other differences between the two. But I have 
not tried, so no guarantees :). 

Ingar


Clean EPS Files

2005-06-13 Thread Bruce Pourciau
A while back on this list, I read that Photoshop by default saves eps 
files with an embedded tiff preview (which causes problems for LaTex), 
but that there is a way to force Photoshop to create a clean eps file. 
Does anyone know how to do this in Photoshop?


Bruce



lyx 1.3.5 install under debian/kanotox

2005-06-13 Thread Wolfgang Engelmann

I try to install lyx-1.3.5-1fc2 xforms.i386.rpm under debian/kanotix

using alien -i lyx-1.3.5-1fc2_xforms.i386.rpm

I get:
trying to overwrite /usr/bib/reLyx, which is also in the package lyx-common, 
the subprocess paste is killed with signal (data transfer interrupted (broken 
pipe)
(sorry, I translated it from German, hope its alright)

I removed therefore the file reLyx, made sure it is removed, and tried again 
with   alien -i lyx-1.3.5-1fc2_xforms.i386.rpm, but get the same error 
message as before. 
How comes, although reLyx is removed?

Do I have to do something additional after removing?

Wolfgang


Re: Clean EPS Files

2005-06-13 Thread Geoffrey Lloyd
When you save an eps, definately in photoshop 6 and also in Illustrator 11, 
you have the option of what sort of preview you want to have - usually you 
choose a file name, click save and then up pops a box of eps specific 
options. In here you can just choose 'none' for the preview bit.


In my experience the previews have caused no problems in Lyx but as they 
aren't necessary I select none.
- Original Message - 
From: "Bruce Pourciau" <[EMAIL PROTECTED]>

To: "LyXFolks" 
Sent: Monday, June 13, 2005 4:44 PM
Subject: Clean EPS Files


A while back on this list, I read that Photoshop by default saves eps files 
with an embedded tiff preview (which causes problems for LaTex), but that 
there is a way to force Photoshop to create a clean eps file. Does anyone 
know how to do this in Photoshop?


Bruce






Re: Clean EPS Files

2005-06-13 Thread Bruce Pourciau

Thanks, Geoffrey. I"ll give it a try.

Bruce

On Monday, June 13, 2005, at 11:16 AM, Geoffrey Lloyd wrote:

When you save an eps, definately in photoshop 6 and also in 
Illustrator 11, you have the option of what sort of preview you want 
to have - usually you choose a file name, click save and then up pops 
a box of eps specific options. In here you can just choose 'none' for 
the preview bit.


In my experience the previews have caused no problems in Lyx but as 
they aren't necessary I select none.
- Original Message - From: "Bruce Pourciau" 
<[EMAIL PROTECTED]>

To: "LyXFolks" 
Sent: Monday, June 13, 2005 4:44 PM
Subject: Clean EPS Files


A while back on this list, I read that Photoshop by default saves eps 
files with an embedded tiff preview (which causes problems for 
LaTex), but that there is a way to force Photoshop to create a clean 
eps file. Does anyone know how to do this in Photoshop?


Bruce







Previewing Figures

2005-06-13 Thread Bruce Pourciau
A LyX file with inserted eps figures prints fine, but only if I print 
directly from LyX. Normally I preview in and print from Preview (on my 
Mac), but running pdflatex on my LyX file gives me this LaTex error 
message: "I could not locate the file with any of these extensions: 
.png, .pdf, .mps, .tif


How do I preview and print from Preview when my LyX file contains eps 
figures?


Bruce



Re: Previewing Figures

2005-06-13 Thread Stephen Buonopane

If you have eps graphics use "latex" (View...PDF) not "pdflatex"

On Jun 13, 2005, at 12:39 PM, Bruce Pourciau wrote:

A LyX file with inserted eps figures prints fine, but only if I print 
directly from LyX. Normally I preview in and print from Preview (on my 
Mac), but running pdflatex on my LyX file gives me this LaTex error 
message: "I could not locate the file with any of these extensions: 
.png, .pdf, .mps, .tif


How do I preview and print from Preview when my LyX file contains eps 
figures?


Bruce





Re: Previewing Figures

2005-06-13 Thread Bruce Pourciau

Well that was easy. Thanks, Steve.

Bruce

On Monday, June 13, 2005, at 11:54 AM, Stephen Buonopane wrote:


If you have eps graphics use "latex" (View...PDF) not "pdflatex"

On Jun 13, 2005, at 12:39 PM, Bruce Pourciau wrote:

A LyX file with inserted eps figures prints fine, but only if I print 
directly from LyX. Normally I preview in and print from Preview (on 
my Mac), but running pdflatex on my LyX file gives me this LaTex 
error message: "I could not locate the file with any of these 
extensions: .png, .pdf, .mps, .tif


How do I preview and print from Preview when my LyX file contains eps 
figures?


Bruce







modified eepic pictures are not altered in ps preview

2005-06-13 Thread Gunnar
Hi.
If I make changes to an eepic picture that is created in a separate file and 
included in LyX by the \parpic and \input commands in an ERT, the picture is 
not updated when I do "update postscript".

How can I make the changes in the eepic files turn up in the final postscript?


Re: lyx 1.3.5 install under debian/kanotox

2005-06-13 Thread piechoc
Am Montag, 13. Juni 2005 18:12 schrieb Wolfgang Engelmann:
> I try to install lyx-1.3.5-1fc2 xforms.i386.rpm under debian/kanotix
> using alien -i lyx-1.3.5-1fc2_xforms.i386.rpm
[...]

You don't need to convert LyX with alien. LyX is an official Debian Sid 
package. Try "apt-get install lyx". Or compile it from source if you need the 
latest version. 

Thomas



Re: Conditional printing

2005-06-13 Thread Richard Brown
Thank you Gunter. I didn't really understand because it's all new to me,
but I just followed your instructions and it worked!! Hurray!!

But I don't really follow the "wrapper" idea: you wrote

Or you create wrappers for all versions that contain the "right" preamble
and include the main content (Insert>File>LyX-Document). In this case,
the inserted file should not contain the setup code in the preamble, as
this would override the wrapper setting.

What is a wrapper? It sounds like a separate file with some preamble- but what 
is the "right preamble"?
Do I need to have 3 different wrappers (students, teachers, CDscript)? With 
different preambles in each?
What is the "main content" in each wrapper?

Thanks again!

Richard

PS - sorry to everyone because I haven't yet worked out how to get my
posts in the thread. It's all very new, but I'm trying to learn

G. Milde wrote:

>On 12.06.05, Richard Brown wrote:
>
>  
>
>>What I'd like to be able to do is write all the elements for each
>>exercise at the same time in the same file, defining them as "students
>>book", "teachers book" "CD stuff" as I go, so that everything is
>>checkable as I write it, and is co-ordinated. 
>>
>>
>
>The ifthen latex package is your friend here.
>
>In the LaTeX preamble (Format>Document>Latex Preamble) insert
>
>\usepackage{ifthen}
>
>% create toggles
>\newboolean{students} % print students parts?  TRUE|FALSE
>\newboolean{teachers} % print teachers parts?  TRUE|FALSE
>\newboolean{CDscript} % print CDscript parts?  TRUE|FALSE
>
>% print everything by default
>\setboolean{students}{true}
>\setboolean{teachers}{true}
>\setboolean{CDscript}{true}
>
>
>and in the document, include the relevant parts with ERT boxes
>(red latex text press Ctrl-l to get it) containing
>
>  \ifthenelse{\boolean{students}}{}{
>
>and  
>
>  }
>  
>.
>
>  
>
>>Then, when I come to print
>>it, to have the software automatically understand where the elements go,
>>and print it to the right file so that I end up with 4 files: the
>>master, the students book, the teachers book and the CD script. All
>>properly cross-reefernced.
>>
>>
>
>There are 2 options: You change in the preamble or in an ERT box at the
>top of your document e.g.
>
>  \setboolean{students}{false}
>  \setboolean{CDscript}{false}
>
>to get the teachers script. (And change and print again for all other
>versions.)
>
>Or you create wrappers for all versions that contain the "right" preamble
>and include the main content (Insert>File>LyX-Document). In this case,
>the inserted file should not contain the setup code in the preamble, as
>this would override the wrapper setting.
>
>Günter
>
>
>
>  
>


thesis initial pages numbering and title page

2005-06-13 Thread Vaibhav Srivastava

HI all,
a)  Does anyone have a template for the title page of a thesis. Is there 
a easier way to do it the "lyx way" rather than using latex tempates
b) It is required that arabic numbering starts only from the chapters 
and pages before that are numbered in the roman numerals . How can that 
be done. I am using the article class for my thesis.
c) How does one force something to start from a fresh page. Inserting a 
page break does not work.


Thanks,
Vaibhav

--
Vaibhav Srivastava
Graduate Student,
Department of Electrical and Computer Engineering,
North Carolina State University,
Raleigh,NC
[EMAIL PROTECTED]
Phone: 919 412 4073




Re: thesis initial pages numbering and title page

2005-06-13 Thread Nicolás
Just try searching for "Lyx" + "thesis" in Google. You will get several 
thesis layouts for Lyx. Maybe some of them fits you


Vaibhav Srivastava wrote:

HI all,
a)  Does anyone have a template for the title page of a thesis. Is there 
a easier way to do it the "lyx way" rather than using latex tempates
b) It is required that arabic numbering starts only from the chapters 
and pages before that are numbered in the roman numerals . How can that 
be done. I am using the article class for my thesis.
c) How does one force something to start from a fresh page. Inserting a 
page break does not work.


Thanks,
Vaibhav