A general environment paragraph style?

2007-03-13 Thread Peter Ljunglöf

Hi,

I would really like to have some kind of general environment  
paragraph style, so I could insert uncommon environments in a pseudo- 
lyx style. E.g., if I have only one or two theorems in my article  
(and I don't want to use an existing style which includes theorems),  
I don't want to design a new layout file just for that.


My idea was that the text in the paragraph would be the name of the  
environment, and that one used indentation (environment depth) on the  
paragraphs that should be part of the environment. But perhaps there  
are better idea. Right now I have to resort to ERT for the \begin{X}  
and \end{X}, and the problem apart from being ugly is that X and X  
should match and that have to be done manually.


I almost succeeded once, but I never figured out how to end the  
environment, since I didn't know how to remember its name. Have  
anyone implemented something useful in this direction?



A suggestion for the future would be to have layout files for latex  
packages too. Then I could write a layout file for the theorem  
package, and in the document settings just add the theorem layout/ 
package, and the document class would be independent of that. (As it  
is now, if I want to be able to use package X in articles, reports,  
books and slides, I have to make layout files article_X, report_X,  
book_X and slide_X, which is cumbersome).


regards, Peter

  ___ _  __ __ _  _   _

  peter ljunglöf, göteborgs universitet





RE: degree symbol in lyx on ubuntu with the Compose key

2007-03-13 Thread Ignacio García

In Ubuntu GNU/Linux (Gnome Desktop) the degree symbol insert directly by
1. the binding AltGr-S-^-^ (ALtGr Shift and two ^)
2. If the Compose key is OK, with the binding Compose-o-o

Regards
Ignacio


Re: Layout Labels in Environments

2007-03-13 Thread José Matos
On Monday 12 March 2007 8:35:17 pm Richard Heck wrote:

 Is this a known problem? Can anyone confirm?

  Richard could you please add this reports to bugzilla if you don't get an 
answer here.

  This will ensure that it does not get forgotten.

  In this specific case as you noted in your reply it is not obvious what is 
at fault, lyx or the latex class.

 Richard

-- 
José Abílio


Re: A general environment paragraph style?

2007-03-13 Thread Richard Heck
Peter Ljunglöf wrote:
 I would really like to have some kind of general environment
 paragraph style, so I could insert uncommon environments in a
 pseudo-lyx style. E.g., if I have only one or two theorems in my
 article (and I don't want to use an existing style which includes
 theorems), I don't want to design a new layout file just for that.
This is a nice idea. I think it may be possible. What we can do is
define a very general environment that takes a single argument, which is
the name of the environment you actually want. So we'll have something like:
\newenvironment{general}[1]{\begin{#1}}{\end{#1}}
Then create a layout that accepts one optional argument, which is in
fact required:
Style General
   CopyStyle Standard
   LatexType Environment
   LatexName general
   OptionalArgs 1
   Preamble
  \newenvironment{general}[1][]{\begin{#1}}{\end{#1}}
   EndPreamble
EndStyle
Note that I've made the argument optional, with no default, so we'll get
an error if there's no argument provided. You may want to put in a default.

If that doesn't work, one can just put the argument in ERT, in braces,
at the very beginning of the environment. That /does/ work, and is a
generally useful trick.
 A suggestion for the future would be to have layout files for latex
 packages too. Then I could write a layout file for the theorem
 package, and in the document settings just add the theorem
 layout/package, and the document class would be independent of that.
 (As it is now, if I want to be able to use package X in articles,
 reports, books and slides, I have to make layout files article_X,
 report_X, book_X and slide_X, which is cumbersome).
I filed an enhancement request about this a while ago. The developers
seemed enthusiastic, but I don't know its status. See bug 2657.

I do wish I knew C++.

Richard

-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: LyX version 1.5.0 (beta 1) is released

2007-03-13 Thread Andrés Becerra Sandoval

On 3/13/07, Hellmut Weber [EMAIL PROTECTED] wrote:

For the moment I got lyx-1.5 working generating it form the tarball
following Georgs suggestion.


Good!


Before I can try the ebuild version I wouls like to know if I can
install lyx-1.5 in parallel to the old version also using the ebuild.
Would it be sufficient to modify the ebuild accordingly, i.e. to change
the call of ./configure using '--with-version-suffix=1.5' ?


The ebuild would install the same version you already have, I think
there is no point in doing it right now.

Cheers,
--
 Andrés


Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Rich Shepard

  The beamer user guide has details on specifying a different class when
producing handouts or speaker's notes from the slide presentation. But,
those additional classes are not available within LyX ... at least, not on
what's installed here.

  What's the recommended way to print the slides on paper? I'll make my
notes on that since I won't have my notebook sitting at the podium with me
for this next talk.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.|  Accelerator(TM)
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Jean-Pierre Chretien

Date: Tue, 13 Mar 2007 09:10:45 -0700 (PDT)
From: Rich Shepard [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Beamer Class Handout/Speaker's Notes

   The beamer user guide has details on specifying a different class when
producing handouts or speaker's notes from the slide presentation. But,
those additional classes are not available within LyX ... at least, not on
what's installed here.

These are class options, that you may specify via
Document-Settings-Document Class
So you don't need an extra layout.

   What's the recommended way to print the slides on paper? I'll make my
notes on that since I won't have my notebook sitting at the podium with me
for this next talk.


Personnally I create the pdf (either with the trans or handout option,
to fold slides in frames) and the I turn it into a 2 per page portrait 
presentation with big margins using a home made script.

-- 
Jean-Pierre






Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Ingar Pareliussen
ty. 13. mars 2007 17:10 skreiv Rich Shepard:
The beamer user guide has details on specifying a different class when
 producing handouts or speaker's notes from the slide presentation. But,
 those additional classes are not available within LyX ... at least, not on
 what's installed here.

What's the recommended way to print the slides on paper? I'll make my
 notes on that since I won't have my notebook sitting at the podium with me
 for this next talk.

I use the beamer article class. The layout file is in wiki:
http://wiki.lyx.org/Layouts/LaTeX-beamer

Here you get the slides printed as an article without changing the file, only 
change the documents class to beamer article. There seem to be a spurious ] 
after each frame, but it haven't bothered me enough to do anything about it, 
yet :)

Ingar


Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Rich Shepard

On Tue, 13 Mar 2007, Jean-Pierre Chretien wrote:


These are class options, that you may specify via
Document-Settings-Document Class So you don't need an extra layout.


Jean-Pierre,

  The document class list contains only Beamer Presentation Class, no
handout, transparency, or article class. I suppose I can try a regular
article class and see what happens.


Personnally I create the pdf (either with the trans or handout option, to
fold slides in frames) and the I turn it into a 2 per page portrait
presentation with big margins using a home made script.


  OK.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.|  Accelerator(TM)
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Rich Shepard

On Tue, 13 Mar 2007, Ingar Pareliussen wrote:


I use the beamer article class. The layout file is in wiki:
http://wiki.lyx.org/Layouts/LaTeX-beamer


  Thank you, Ingar. I did not have that installed here.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.|  Accelerator(TM)
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Paul A. Rubin

Rich Shepard wrote:

On Tue, 13 Mar 2007, Jean-Pierre Chretien wrote:


These are class options, that you may specify via
Document-Settings-Document Class So you don't need an extra layout.


Jean-Pierre,

  The document class list contains only Beamer Presentation Class, no
handout, transparency, or article class. I suppose I can try a regular
article class and see what happens.


Just type the word 'handout' in the Class Settings - Options box.


Personnally I create the pdf (either with the trans or handout option, to
fold slides in frames) and the I turn it into a 2 per page portrait
presentation with big margins using a home made script.


I generate a PDF using the handout option, then use the print settings 
in Acrobat Reader (or equivalent) to print either two or four slides per 
page, depending on how much space I need for notes.  If you turn off 
scaling in AR, you get a lot of whitespace for notes (but a fairly small 
image of the slide).


/Paul



Re: Lyx's Site down?

2007-03-13 Thread christian . ridderstrom

On Mon, 12 Mar 2007, Andre Poenitz wrote:


Syncronization with lyx.org and the wiki is another problem that has
to be solved unless the mirrors are more read-only.


We do not need a hot syncronization. rsync every 10 minutes or so to a 
machine on standby and making this one accessible as lyx2.org (or 
whatever) if and only if lyx.org failes would be completely sufficient.


I finally managed to decipher that sentence after a little while ;-)

Anyway, I agree. We just need a server somewhere. Web pages can be checked 
out from Subversion. The wiki (pages) needs a bit of fiddling as some 
addresses are hardcoded to wiki.lyx.org. Perhaps by letting a script parse 
the HTML just before it's shown, replacing all references to *.lyx.org 
with *.lyx2.org.


While waiting for the server, I should probably try and setup the backup 
server on the same machine but under a different virtual name to see that 
bit works.


Best regards
/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Rich Shepard

On Tue, 13 Mar 2007, Paul A. Rubin wrote:


Just type the word 'handout' in the Class Settings - Options box.


Paul,

  A-ha! Didn't know that.


I generate a PDF using the handout option, then use the print settings in
Acrobat Reader (or equivalent) to print either two or four slides per
page, depending on how much space I need for notes.  If you turn off
scaling in AR, you get a lot of whitespace for notes (but a fairly small
image of the slide).


  Acroread doesn't appear to have those options under Print-Setup. Paper
size and orientation is all.

  Well, back to Plan A: writing my notes as I have done before.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.|  Accelerator(TM)
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Paul A. Rubin

Rich Shepard wrote:


I generate a PDF using the handout option, then use the print settings in
Acrobat Reader (or equivalent) to print either two or four slides per
page, depending on how much space I need for notes.  If you turn off
scaling in AR, you get a lot of whitespace for notes (but a fairly small
image of the slide).


  Acroread doesn't appear to have those options under Print-Setup. Paper
size and orientation is all.



Is this on Linux?  Don't know how AR works there.  I'm looking at AR 8.0 
on Win XP right now.  If I click File - Print (or equivalent 
shortcut/tool button), there's a preview of one page on the right and 
(amongst other things) a Page Handling section on the left that 
includes a check box for Auto-Rotate and Center and a drop-down list 
for Page Scaling.  If I uncheck the former and set the latter to None 
(with the default settings of letter size paper, portrait mode), my 
slide scrunches itself up into the upper left corner leaving lots of 
white space for scribbling.  Same thing works with AR 7.0.


A much more tedious approach, but one that would let you type your notes 
in LyX, would be to export a PDF handout version, use a PDF utility to 
break it up into individual pages, then start an article in LyX and 
import each slide as a graphic, to be followed by notes.  One could also 
just write the notes in LyX, print them, then cut and paste them onto 
the whitespace of the printed slides.


/Paul



New LyX install problems

2007-03-13 Thread PF
Hi!

I'm new to LyX and LaTeX: I've just installed LyX, and I'm having a
problem exporting to OpenOffice.  (FC6, LyX 1.4.4)

Clicking on 'File/Export/OpenOffice Writer' prints '(buffer-export sxw)'
in the status line at the bottom but does nothing else.

Strace shows that LyX writes out a bunch of files
(basename.{4ct,4tc,tex,tmp,xref}) in a temp directory, checks for the
existence of a bunch of files in texmf/tex/latex/ (finds them all),
checks for basename.dvi and basename.sxw in the temp directory and then
returns.  I guess it's not actually running the appropriate helper
program... is it oolatex?

I was able to download and run ConvTex, so I do have a way to convert,
but it's not as elegant as picking something from the menu.

Any help would be appreciated.

Thanks!

-- 
PF [EMAIL PROTECTED]



Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Steve Litt
On Tuesday 13 March 2007 12:10, Rich Shepard wrote:
The beamer user guide has details on specifying a different class when
 producing handouts or speaker's notes from the slide presentation. But,
 those additional classes are not available within LyX ... at least, not on
 what's installed here.

Hi Rich,

This is one man's opinion -- take if for what it's worth. I always make my 
handouts EXACTLY the same as the slideshow. No N-Up, nothing like that. 
They're a black and white representation of the (currently 95 page) slide 
show.

Yep, that's a substantial printing cost. However, several times while I've 
been giving a Troubleshooting Course, the notebook or projector have 
malfunctioned, become unavailable, whatever. I then teach off the handouts -- 
no harm, no foul. I've seen speakers get wiped out by video problems, and 
it's not pretty. Live is so much easier when you can just say OK, for the 
rest of the day we'll just work directly with the handouts.

By the way, my presentation/handout is done in (have mercy) OpenOffice 
Impress, not LyX. Customers insist on changing the handouts, so I need 
something Powerpoint compatible. However, my Instructor Notes are in LyX.

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: LyX crashing when inserting graphics

2007-03-13 Thread Paul Tremblay
On Sun, 11 Mar 2007 08:46:17 -0500
Stefano Franchi [EMAIL PROTECTED] wrote:

 All of a sudden, my 1.4.3 LyX/MacOs  installation has become unable to
 
 insert graphics into a document. Every time I  try Lyx crashes. The 
 console
 shows the same line all the times:
 
 Error locating symbol - dlcompat: Symbol _JVTDecoOpen not found
 
 I have tried different graphic files and different file formats and it
 
 doesn't make any difference---they all crash LyX. Interestingly, 
 documents containing images are no problem: they open correctly. 
 However, if I try to reimport the  image(s) in a new file, LyX
 crashes.  I can only get as far as the file dialog: as soon as I
 select the  graphic file I have a crash. The only difference is that
 sometime I get  a spinning ball, sometimes the crash is instantaneous.
 


I am having the same problem. What happens with me is that when I try to
insert a document, and use the browse key, and then find the file I
want; just when I click on that file, LyX crashes. It does so in 1.4.3
and 1.4.4. If I enter the path in manually, it does not crash. In ohter
words, it sound like the same exact problem.

I have found that on one Mac, LyX does crash when I try to add graphic,
and for the other Mac it does not.

Paul


A general environment paragraph style?

2007-03-13 Thread Peter Ljunglöf

Hi,

I would really like to have some kind of general environment  
paragraph style, so I could insert uncommon environments in a pseudo- 
lyx style. E.g., if I have only one or two theorems in my article  
(and I don't want to use an existing style which includes theorems),  
I don't want to design a new layout file just for that.


My idea was that the text in the paragraph would be the name of the  
environment, and that one used indentation (environment depth) on the  
paragraphs that should be part of the environment. But perhaps there  
are better idea. Right now I have to resort to ERT for the \begin{X}  
and \end{X}, and the problem apart from being ugly is that X and X  
should match and that have to be done manually.


I almost succeeded once, but I never figured out how to end the  
environment, since I didn't know how to remember its name. Have  
anyone implemented something useful in this direction?



A suggestion for the future would be to have layout files for latex  
packages too. Then I could write a layout file for the theorem  
package, and in the document settings just add the theorem layout/ 
package, and the document class would be independent of that. (As it  
is now, if I want to be able to use package X in articles, reports,  
books and slides, I have to make layout files article_X, report_X,  
book_X and slide_X, which is cumbersome).


regards, Peter

  ___ _  __ __ _  _   _

  peter ljunglöf, göteborgs universitet





RE: degree symbol in lyx on ubuntu with the Compose key

2007-03-13 Thread Ignacio García

In Ubuntu GNU/Linux (Gnome Desktop) the degree symbol insert directly by
1. the binding AltGr-S-^-^ (ALtGr Shift and two ^)
2. If the Compose key is OK, with the binding Compose-o-o

Regards
Ignacio


Re: Layout Labels in Environments

2007-03-13 Thread José Matos
On Monday 12 March 2007 8:35:17 pm Richard Heck wrote:

 Is this a known problem? Can anyone confirm?

  Richard could you please add this reports to bugzilla if you don't get an 
answer here.

  This will ensure that it does not get forgotten.

  In this specific case as you noted in your reply it is not obvious what is 
at fault, lyx or the latex class.

 Richard

-- 
José Abílio


Re: A general environment paragraph style?

2007-03-13 Thread Richard Heck
Peter Ljunglöf wrote:
 I would really like to have some kind of general environment
 paragraph style, so I could insert uncommon environments in a
 pseudo-lyx style. E.g., if I have only one or two theorems in my
 article (and I don't want to use an existing style which includes
 theorems), I don't want to design a new layout file just for that.
This is a nice idea. I think it may be possible. What we can do is
define a very general environment that takes a single argument, which is
the name of the environment you actually want. So we'll have something like:
\newenvironment{general}[1]{\begin{#1}}{\end{#1}}
Then create a layout that accepts one optional argument, which is in
fact required:
Style General
   CopyStyle Standard
   LatexType Environment
   LatexName general
   OptionalArgs 1
   Preamble
  \newenvironment{general}[1][]{\begin{#1}}{\end{#1}}
   EndPreamble
EndStyle
Note that I've made the argument optional, with no default, so we'll get
an error if there's no argument provided. You may want to put in a default.

If that doesn't work, one can just put the argument in ERT, in braces,
at the very beginning of the environment. That /does/ work, and is a
generally useful trick.
 A suggestion for the future would be to have layout files for latex
 packages too. Then I could write a layout file for the theorem
 package, and in the document settings just add the theorem
 layout/package, and the document class would be independent of that.
 (As it is now, if I want to be able to use package X in articles,
 reports, books and slides, I have to make layout files article_X,
 report_X, book_X and slide_X, which is cumbersome).
I filed an enhancement request about this a while ago. The developers
seemed enthusiastic, but I don't know its status. See bug 2657.

I do wish I knew C++.

Richard

-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: LyX version 1.5.0 (beta 1) is released

2007-03-13 Thread Andrés Becerra Sandoval

On 3/13/07, Hellmut Weber [EMAIL PROTECTED] wrote:

For the moment I got lyx-1.5 working generating it form the tarball
following Georgs suggestion.


Good!


Before I can try the ebuild version I wouls like to know if I can
install lyx-1.5 in parallel to the old version also using the ebuild.
Would it be sufficient to modify the ebuild accordingly, i.e. to change
the call of ./configure using '--with-version-suffix=1.5' ?


The ebuild would install the same version you already have, I think
there is no point in doing it right now.

Cheers,
--
 Andrés


Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Rich Shepard

  The beamer user guide has details on specifying a different class when
producing handouts or speaker's notes from the slide presentation. But,
those additional classes are not available within LyX ... at least, not on
what's installed here.

  What's the recommended way to print the slides on paper? I'll make my
notes on that since I won't have my notebook sitting at the podium with me
for this next talk.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.|  Accelerator(TM)
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Jean-Pierre Chretien

Date: Tue, 13 Mar 2007 09:10:45 -0700 (PDT)
From: Rich Shepard [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Beamer Class Handout/Speaker's Notes

   The beamer user guide has details on specifying a different class when
producing handouts or speaker's notes from the slide presentation. But,
those additional classes are not available within LyX ... at least, not on
what's installed here.

These are class options, that you may specify via
Document-Settings-Document Class
So you don't need an extra layout.

   What's the recommended way to print the slides on paper? I'll make my
notes on that since I won't have my notebook sitting at the podium with me
for this next talk.


Personnally I create the pdf (either with the trans or handout option,
to fold slides in frames) and the I turn it into a 2 per page portrait 
presentation with big margins using a home made script.

-- 
Jean-Pierre






Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Ingar Pareliussen
ty. 13. mars 2007 17:10 skreiv Rich Shepard:
The beamer user guide has details on specifying a different class when
 producing handouts or speaker's notes from the slide presentation. But,
 those additional classes are not available within LyX ... at least, not on
 what's installed here.

What's the recommended way to print the slides on paper? I'll make my
 notes on that since I won't have my notebook sitting at the podium with me
 for this next talk.

I use the beamer article class. The layout file is in wiki:
http://wiki.lyx.org/Layouts/LaTeX-beamer

Here you get the slides printed as an article without changing the file, only 
change the documents class to beamer article. There seem to be a spurious ] 
after each frame, but it haven't bothered me enough to do anything about it, 
yet :)

Ingar


Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Rich Shepard

On Tue, 13 Mar 2007, Jean-Pierre Chretien wrote:


These are class options, that you may specify via
Document-Settings-Document Class So you don't need an extra layout.


Jean-Pierre,

  The document class list contains only Beamer Presentation Class, no
handout, transparency, or article class. I suppose I can try a regular
article class and see what happens.


Personnally I create the pdf (either with the trans or handout option, to
fold slides in frames) and the I turn it into a 2 per page portrait
presentation with big margins using a home made script.


  OK.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.|  Accelerator(TM)
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Rich Shepard

On Tue, 13 Mar 2007, Ingar Pareliussen wrote:


I use the beamer article class. The layout file is in wiki:
http://wiki.lyx.org/Layouts/LaTeX-beamer


  Thank you, Ingar. I did not have that installed here.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.|  Accelerator(TM)
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Paul A. Rubin

Rich Shepard wrote:

On Tue, 13 Mar 2007, Jean-Pierre Chretien wrote:


These are class options, that you may specify via
Document-Settings-Document Class So you don't need an extra layout.


Jean-Pierre,

  The document class list contains only Beamer Presentation Class, no
handout, transparency, or article class. I suppose I can try a regular
article class and see what happens.


Just type the word 'handout' in the Class Settings - Options box.


Personnally I create the pdf (either with the trans or handout option, to
fold slides in frames) and the I turn it into a 2 per page portrait
presentation with big margins using a home made script.


I generate a PDF using the handout option, then use the print settings 
in Acrobat Reader (or equivalent) to print either two or four slides per 
page, depending on how much space I need for notes.  If you turn off 
scaling in AR, you get a lot of whitespace for notes (but a fairly small 
image of the slide).


/Paul



Re: Lyx's Site down?

2007-03-13 Thread christian . ridderstrom

On Mon, 12 Mar 2007, Andre Poenitz wrote:


Syncronization with lyx.org and the wiki is another problem that has
to be solved unless the mirrors are more read-only.


We do not need a hot syncronization. rsync every 10 minutes or so to a 
machine on standby and making this one accessible as lyx2.org (or 
whatever) if and only if lyx.org failes would be completely sufficient.


I finally managed to decipher that sentence after a little while ;-)

Anyway, I agree. We just need a server somewhere. Web pages can be checked 
out from Subversion. The wiki (pages) needs a bit of fiddling as some 
addresses are hardcoded to wiki.lyx.org. Perhaps by letting a script parse 
the HTML just before it's shown, replacing all references to *.lyx.org 
with *.lyx2.org.


While waiting for the server, I should probably try and setup the backup 
server on the same machine but under a different virtual name to see that 
bit works.


Best regards
/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Rich Shepard

On Tue, 13 Mar 2007, Paul A. Rubin wrote:


Just type the word 'handout' in the Class Settings - Options box.


Paul,

  A-ha! Didn't know that.


I generate a PDF using the handout option, then use the print settings in
Acrobat Reader (or equivalent) to print either two or four slides per
page, depending on how much space I need for notes.  If you turn off
scaling in AR, you get a lot of whitespace for notes (but a fairly small
image of the slide).


  Acroread doesn't appear to have those options under Print-Setup. Paper
size and orientation is all.

  Well, back to Plan A: writing my notes as I have done before.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.|  Accelerator(TM)
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Paul A. Rubin

Rich Shepard wrote:


I generate a PDF using the handout option, then use the print settings in
Acrobat Reader (or equivalent) to print either two or four slides per
page, depending on how much space I need for notes.  If you turn off
scaling in AR, you get a lot of whitespace for notes (but a fairly small
image of the slide).


  Acroread doesn't appear to have those options under Print-Setup. Paper
size and orientation is all.



Is this on Linux?  Don't know how AR works there.  I'm looking at AR 8.0 
on Win XP right now.  If I click File - Print (or equivalent 
shortcut/tool button), there's a preview of one page on the right and 
(amongst other things) a Page Handling section on the left that 
includes a check box for Auto-Rotate and Center and a drop-down list 
for Page Scaling.  If I uncheck the former and set the latter to None 
(with the default settings of letter size paper, portrait mode), my 
slide scrunches itself up into the upper left corner leaving lots of 
white space for scribbling.  Same thing works with AR 7.0.


A much more tedious approach, but one that would let you type your notes 
in LyX, would be to export a PDF handout version, use a PDF utility to 
break it up into individual pages, then start an article in LyX and 
import each slide as a graphic, to be followed by notes.  One could also 
just write the notes in LyX, print them, then cut and paste them onto 
the whitespace of the printed slides.


/Paul



New LyX install problems

2007-03-13 Thread PF
Hi!

I'm new to LyX and LaTeX: I've just installed LyX, and I'm having a
problem exporting to OpenOffice.  (FC6, LyX 1.4.4)

Clicking on 'File/Export/OpenOffice Writer' prints '(buffer-export sxw)'
in the status line at the bottom but does nothing else.

Strace shows that LyX writes out a bunch of files
(basename.{4ct,4tc,tex,tmp,xref}) in a temp directory, checks for the
existence of a bunch of files in texmf/tex/latex/ (finds them all),
checks for basename.dvi and basename.sxw in the temp directory and then
returns.  I guess it's not actually running the appropriate helper
program... is it oolatex?

I was able to download and run ConvTex, so I do have a way to convert,
but it's not as elegant as picking something from the menu.

Any help would be appreciated.

Thanks!

-- 
PF [EMAIL PROTECTED]



Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Steve Litt
On Tuesday 13 March 2007 12:10, Rich Shepard wrote:
The beamer user guide has details on specifying a different class when
 producing handouts or speaker's notes from the slide presentation. But,
 those additional classes are not available within LyX ... at least, not on
 what's installed here.

Hi Rich,

This is one man's opinion -- take if for what it's worth. I always make my 
handouts EXACTLY the same as the slideshow. No N-Up, nothing like that. 
They're a black and white representation of the (currently 95 page) slide 
show.

Yep, that's a substantial printing cost. However, several times while I've 
been giving a Troubleshooting Course, the notebook or projector have 
malfunctioned, become unavailable, whatever. I then teach off the handouts -- 
no harm, no foul. I've seen speakers get wiped out by video problems, and 
it's not pretty. Live is so much easier when you can just say OK, for the 
rest of the day we'll just work directly with the handouts.

By the way, my presentation/handout is done in (have mercy) OpenOffice 
Impress, not LyX. Customers insist on changing the handouts, so I need 
something Powerpoint compatible. However, my Instructor Notes are in LyX.

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: LyX crashing when inserting graphics

2007-03-13 Thread Paul Tremblay
On Sun, 11 Mar 2007 08:46:17 -0500
Stefano Franchi [EMAIL PROTECTED] wrote:

 All of a sudden, my 1.4.3 LyX/MacOs  installation has become unable to
 
 insert graphics into a document. Every time I  try Lyx crashes. The 
 console
 shows the same line all the times:
 
 Error locating symbol - dlcompat: Symbol _JVTDecoOpen not found
 
 I have tried different graphic files and different file formats and it
 
 doesn't make any difference---they all crash LyX. Interestingly, 
 documents containing images are no problem: they open correctly. 
 However, if I try to reimport the  image(s) in a new file, LyX
 crashes.  I can only get as far as the file dialog: as soon as I
 select the  graphic file I have a crash. The only difference is that
 sometime I get  a spinning ball, sometimes the crash is instantaneous.
 


I am having the same problem. What happens with me is that when I try to
insert a document, and use the browse key, and then find the file I
want; just when I click on that file, LyX crashes. It does so in 1.4.3
and 1.4.4. If I enter the path in manually, it does not crash. In ohter
words, it sound like the same exact problem.

I have found that on one Mac, LyX does crash when I try to add graphic,
and for the other Mac it does not.

Paul


A general environment paragraph style?

2007-03-13 Thread Peter Ljunglöf

Hi,

I would really like to have some kind of general "environment"  
paragraph style, so I could insert uncommon environments in a pseudo- 
lyx style. E.g., if I have only one or two theorems in my article  
(and I don't want to use an existing style which includes theorems),  
I don't want to design a new layout file just for that.


My idea was that the text in the paragraph would be the name of the  
environment, and that one used indentation (environment depth) on the  
paragraphs that should be part of the environment. But perhaps there  
are better idea. Right now I have to resort to ERT for the \begin{X}  
and \end{X}, and the problem apart from being ugly is that X and X  
should match and that have to be done manually.


I almost succeeded once, but I never figured out how to end the  
environment, since I didn't know how to remember its name. Have  
anyone implemented something useful in this direction?



A suggestion for the future would be to have layout files for latex  
packages too. Then I could write a layout file for the theorem  
package, and in the document settings just add the theorem layout/ 
package, and the document class would be independent of that. (As it  
is now, if I want to be able to use package X in articles, reports,  
books and slides, I have to make layout files article_X, report_X,  
book_X and slide_X, which is cumbersome).


regards, Peter

  ___ _  __ __ _  _   _

  peter ljunglöf, göteborgs universitet





RE: degree symbol in lyx on ubuntu with the Compose key

2007-03-13 Thread Ignacio García

In Ubuntu GNU/Linux (Gnome Desktop) the degree symbol insert directly by
1. the binding AltGr-S-^-^ (ALtGr Shift and two ^)
2. If the Compose key is OK, with the binding Compose-o-o

Regards
Ignacio


Re: Layout Labels in Environments

2007-03-13 Thread José Matos
On Monday 12 March 2007 8:35:17 pm Richard Heck wrote:
>
> Is this a known problem? Can anyone confirm?

  Richard could you please add this reports to bugzilla if you don't get an 
answer here.

  This will ensure that it does not get forgotten.

  In this specific case as you noted in your reply it is not obvious what is 
at fault, lyx or the latex class.

> Richard

-- 
José Abílio


Re: A general environment paragraph style?

2007-03-13 Thread Richard Heck
Peter Ljunglöf wrote:
> I would really like to have some kind of general "environment"
> paragraph style, so I could insert uncommon environments in a
> pseudo-lyx style. E.g., if I have only one or two theorems in my
> article (and I don't want to use an existing style which includes
> theorems), I don't want to design a new layout file just for that.
This is a nice idea. I think it may be possible. What we can do is
define a very general environment that takes a single argument, which is
the name of the environment you actually want. So we'll have something like:
\newenvironment{general}[1]{\begin{#1}}{\end{#1}}
Then create a layout that accepts one "optional" argument, which is in
fact required:
Style General
   CopyStyle Standard
   LatexType Environment
   LatexName general
   OptionalArgs 1
   Preamble
  \newenvironment{general}[1][]{\begin{#1}}{\end{#1}}
   EndPreamble
EndStyle
Note that I've made the argument optional, with no default, so we'll get
an error if there's no argument provided. You may want to put in a default.

If that doesn't work, one can just put the argument in ERT, in braces,
at the very beginning of the environment. That /does/ work, and is a
generally useful trick.
> A suggestion for the future would be to have layout files for latex
> packages too. Then I could write a layout file for the theorem
> package, and in the document settings just add the theorem
> layout/package, and the document class would be independent of that.
> (As it is now, if I want to be able to use package X in articles,
> reports, books and slides, I have to make layout files article_X,
> report_X, book_X and slide_X, which is cumbersome).
I filed an enhancement request about this a while ago. The developers
seemed enthusiastic, but I don't know its status. See bug 2657.

I do wish I knew C++.

Richard

-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: LyX version 1.5.0 (beta 1) is released

2007-03-13 Thread Andrés Becerra Sandoval

On 3/13/07, Hellmut Weber <[EMAIL PROTECTED]> wrote:

For the moment I got lyx-1.5 working generating it form the tarball
following Georgs suggestion.


Good!


Before I can try the ebuild version I wouls like to know if I can
install lyx-1.5 in parallel to the old version also using the ebuild.
Would it be sufficient to modify the ebuild accordingly, i.e. to change
the call of ./configure using '--with-version-suffix=1.5' ?


The ebuild would install the same version you already have, I think
there is no point in doing it right now.

Cheers,
--
 Andrés


Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Rich Shepard

  The beamer user guide has details on specifying a different class when
producing handouts or speaker's notes from the slide presentation. But,
those additional classes are not available within LyX ... at least, not on
what's installed here.

  What's the recommended way to print the slides on paper? I'll make my
notes on that since I won't have my notebook sitting at the podium with me
for this next talk.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.|  Accelerator(TM)
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Jean-Pierre Chretien

>>Date: Tue, 13 Mar 2007 09:10:45 -0700 (PDT)
>>From: Rich Shepard <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Beamer Class Handout/Speaker's Notes
>>
>>   The beamer user guide has details on specifying a different class when
>>producing handouts or speaker's notes from the slide presentation. But,
>>those additional classes are not available within LyX ... at least, not on
>>what's installed here.

These are class options, that you may specify via
Document->Settings->Document Class
So you don't need an extra layout.

>>   What's the recommended way to print the slides on paper? I'll make my
>>notes on that since I won't have my notebook sitting at the podium with me
>>for this next talk.
>>

Personnally I create the pdf (either with the trans or handout option,
to fold slides in frames) and the I turn it into a 2 per page portrait 
presentation with big margins using a home made script.

-- 
Jean-Pierre






Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Ingar Pareliussen
ty. 13. mars 2007 17:10 skreiv Rich Shepard:
>The beamer user guide has details on specifying a different class when
> producing handouts or speaker's notes from the slide presentation. But,
> those additional classes are not available within LyX ... at least, not on
> what's installed here.
>
>What's the recommended way to print the slides on paper? I'll make my
> notes on that since I won't have my notebook sitting at the podium with me
> for this next talk.

I use the beamer article class. The layout file is in wiki:
http://wiki.lyx.org/Layouts/LaTeX-beamer

Here you get the slides printed as an article without changing the file, only 
change the documents class to beamer article. There seem to be a spurious ] 
after each frame, but it haven't bothered me enough to do anything about it, 
yet :)

Ingar


Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Rich Shepard

On Tue, 13 Mar 2007, Jean-Pierre Chretien wrote:


These are class options, that you may specify via
Document->Settings->Document Class So you don't need an extra layout.


Jean-Pierre,

  The document class list contains only Beamer Presentation Class, no
handout, transparency, or article class. I suppose I can try a regular
article class and see what happens.


Personnally I create the pdf (either with the trans or handout option, to
fold slides in frames) and the I turn it into a 2 per page portrait
presentation with big margins using a home made script.


  OK.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.|  Accelerator(TM)
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Rich Shepard

On Tue, 13 Mar 2007, Ingar Pareliussen wrote:


I use the beamer article class. The layout file is in wiki:
http://wiki.lyx.org/Layouts/LaTeX-beamer


  Thank you, Ingar. I did not have that installed here.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.|  Accelerator(TM)
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Paul A. Rubin

Rich Shepard wrote:

On Tue, 13 Mar 2007, Jean-Pierre Chretien wrote:


These are class options, that you may specify via
Document->Settings->Document Class So you don't need an extra layout.


Jean-Pierre,

  The document class list contains only Beamer Presentation Class, no
handout, transparency, or article class. I suppose I can try a regular
article class and see what happens.


Just type the word 'handout' in the Class Settings -> Options box.


Personnally I create the pdf (either with the trans or handout option, to
fold slides in frames) and the I turn it into a 2 per page portrait
presentation with big margins using a home made script.


I generate a PDF using the handout option, then use the print settings 
in Acrobat Reader (or equivalent) to print either two or four slides per 
page, depending on how much space I need for notes.  If you turn off 
scaling in AR, you get a lot of whitespace for notes (but a fairly small 
image of the slide).


/Paul



Re: Lyx's Site down?

2007-03-13 Thread christian . ridderstrom

On Mon, 12 Mar 2007, Andre Poenitz wrote:


Syncronization with lyx.org and the wiki is another problem that has
to be solved unless the mirrors are more "read-only".


We do not need a hot syncronization. rsync every 10 minutes or so to a 
machine on "standby" and making this one accessible as lyx2.org (or 
whatever) if and only if lyx.org failes would be completely sufficient.


I finally managed to decipher that sentence after a little while ;-)

Anyway, I agree. We just need a server somewhere. Web pages can be checked 
out from Subversion. The wiki (pages) needs a bit of fiddling as some 
addresses are hardcoded to wiki.lyx.org. Perhaps by letting a script parse 
the HTML just before it's shown, replacing all references to *.lyx.org 
with *.lyx2.org.


While waiting for the server, I should probably try and setup the backup 
server on the same machine but under a different virtual name to see that 
bit works.


Best regards
/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Rich Shepard

On Tue, 13 Mar 2007, Paul A. Rubin wrote:


Just type the word 'handout' in the Class Settings -> Options box.


Paul,

  A-ha! Didn't know that.


I generate a PDF using the handout option, then use the print settings in
Acrobat Reader (or equivalent) to print either two or four slides per
page, depending on how much space I need for notes.  If you turn off
scaling in AR, you get a lot of whitespace for notes (but a fairly small
image of the slide).


  Acroread doesn't appear to have those options under Print->Setup. Paper
size and orientation is all.

  Well, back to Plan A: writing my notes as I have done before.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.|  Accelerator(TM)
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Paul A. Rubin

Rich Shepard wrote:


I generate a PDF using the handout option, then use the print settings in
Acrobat Reader (or equivalent) to print either two or four slides per
page, depending on how much space I need for notes.  If you turn off
scaling in AR, you get a lot of whitespace for notes (but a fairly small
image of the slide).


  Acroread doesn't appear to have those options under Print->Setup. Paper
size and orientation is all.



Is this on Linux?  Don't know how AR works there.  I'm looking at AR 8.0 
on Win XP right now.  If I click File -> Print (or equivalent 
shortcut/tool button), there's a preview of one page on the right and 
(amongst other things) a "Page Handling" section on the left that 
includes a check box for "Auto-Rotate and Center" and a drop-down list 
for "Page Scaling".  If I uncheck the former and set the latter to None 
(with the default settings of letter size paper, portrait mode), my 
slide scrunches itself up into the upper left corner leaving lots of 
white space for scribbling.  Same thing works with AR 7.0.


A much more tedious approach, but one that would let you type your notes 
in LyX, would be to export a PDF handout version, use a PDF utility to 
break it up into individual pages, then start an article in LyX and 
import each slide as a graphic, to be followed by notes.  One could also 
just write the notes in LyX, print them, then cut and paste them onto 
the whitespace of the printed slides.


/Paul



New LyX install problems

2007-03-13 Thread PF
Hi!

I'm new to LyX and LaTeX: I've just installed LyX, and I'm having a
problem exporting to OpenOffice.  (FC6, LyX 1.4.4)

Clicking on 'File/Export/OpenOffice Writer' prints '(buffer-export sxw)'
in the status line at the bottom but does nothing else.

Strace shows that LyX writes out a bunch of files
(basename.{4ct,4tc,tex,tmp,xref}) in a temp directory, checks for the
existence of a bunch of files in texmf/tex/latex/ (finds them all),
checks for basename.dvi and basename.sxw in the temp directory and then
returns.  I guess it's not actually running the appropriate helper
program... is it oolatex?

I was able to download and run ConvTex, so I do have a way to convert,
but it's not as elegant as picking something from the menu.

Any help would be appreciated.

Thanks!

-- 
PF <[EMAIL PROTECTED]>



Re: Beamer Class Handout/Speaker's Notes

2007-03-13 Thread Steve Litt
On Tuesday 13 March 2007 12:10, Rich Shepard wrote:
>The beamer user guide has details on specifying a different class when
> producing handouts or speaker's notes from the slide presentation. But,
> those additional classes are not available within LyX ... at least, not on
> what's installed here.

Hi Rich,

This is one man's opinion -- take if for what it's worth. I always make my 
handouts EXACTLY the same as the slideshow. No N-Up, nothing like that. 
They're a black and white representation of the (currently 95 page) slide 
show.

Yep, that's a substantial printing cost. However, several times while I've 
been giving a Troubleshooting Course, the notebook or projector have 
malfunctioned, become unavailable, whatever. I then teach off the handouts -- 
no harm, no foul. I've seen speakers get wiped out by video problems, and 
it's not pretty. Live is so much easier when you can just say "OK, for the 
rest of the day we'll just work directly with the handouts".

By the way, my presentation/handout is done in (have mercy) OpenOffice 
Impress, not LyX. Customers insist on changing the handouts, so I need 
something Powerpoint compatible. However, my Instructor Notes are in LyX.

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: LyX crashing when inserting graphics

2007-03-13 Thread Paul Tremblay
On Sun, 11 Mar 2007 08:46:17 -0500
Stefano Franchi <[EMAIL PROTECTED]> wrote:

> All of a sudden, my 1.4.3 LyX/MacOs  installation has become unable to
> 
> insert graphics into a document. Every time I  try Lyx crashes. The 
> console
> shows the same line all the times:
> 
> Error locating symbol - dlcompat: Symbol "_JVTDecoOpen" not found
> 
> I have tried different graphic files and different file formats and it
> 
> doesn't make any difference---they all crash LyX. Interestingly, 
> documents containing images are no problem: they open correctly. 
> However, if I try to reimport the  image(s) in a new file, LyX
> crashes.  I can only get as far as the file dialog: as soon as I
> select the  graphic file I have a crash. The only difference is that
> sometime I get  a spinning ball, sometimes the crash is instantaneous.
> 
>

I am having the same problem. What happens with me is that when I try to
insert a document, and use the browse key, and then find the file I
want; just when I click on that file, LyX crashes. It does so in 1.4.3
and 1.4.4. If I enter the path in manually, it does not crash. In ohter
words, it sound like the same exact problem.

I have found that on one Mac, LyX does crash when I try to add graphic,
and for the other Mac it does not.

Paul