Re: Simple (?) printer setup trouble ...

2003-11-13 Thread Alfredo Braunstein
Soren O'Neill wrote:

 No exporting (from lyx) to postscript fails: Cannot convert file.
 Error while executing dvi2ps -t a4
 
 I'm not sure, but I think that message is consistent with inability to
 find (or open) the DVI file.

Wasn't his program called dvips, *not* dvi2ps? Soren: you probably need
changing as well you export filter definition inside lyx from dvi2ps to
dvips...

 Just tried to print the DVI from a DVI viewer, it complains that:
 The external program 'dvips', which was used to export the file, reported
 an error. You might wish to look at the document info dialog which you
 will find in the File-Menu for a precise error report

And what does the document info dialog which you will find in the
File-Menu of your dvi viewer says?

Alternatively, run dvips manually on the .dvi file (the one on the tmp dir,
or else export to dvi first) and look at the errors.

Regards, Alfredo




Re: Working with LaTeX macros and copy editors

2003-11-13 Thread Andre Poenitz
On Wed, Nov 12, 2003 at 01:12:51PM -0800, Rich Shepard wrote:
 On Wed, 12 Nov 2003, Rich Shepard wrote:
 
A major publisher (Springer-Verlag New York) notified me yesterday that
  they want to publish my book. They have a bunch of LaTeX macros they want me
  to use in the preparation of the camera-ready copy. (Their Web site has a
  link to a non-existent directory and file so I'm waiting for them to point
  me to the right place.) And, the copy editor will be working with me on copy
  I send him/her.
 
   Progress ... of a sort. I now have the LaTeX svmono.cls file. Reading the
 LyX Customization Guide I find that this leaves me swinging in the breeze
 compared with having a .sty with which to work. Sigh.
 
   I'm certainly willing to provide the final .layout file for inclusion by
 any and all who want to use it. But, I'd sure like some experienced
 assistance as I modify the 'book.layout' to the new 'svmono.layout'.

Well, simply ask specific question as soon as you tun into some problem.
For starters, copying book.layout to svmono.layout and adjusting the
comment in the header should help. Don't forget to Edit-Reconfigure
afterwards.

Andre'


Re: LyX .layout from LaTeX .cls

2003-11-13 Thread Juergen Spitzmueller
Rich Shepard wrote:

 I copied book.layout to svmono.layout. All 840 bytes worth. :-) I suppose
 that I can just add the Springer .cls file to it, but ... there's a lot
 there I cannot place in the very few categories I see in the .layout file.

The most important part (apart from renaming book.layout to svmono.layout is
that you change the second line to:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{svmono}

then you should (after Edit-Reconfigure in LyX) already be able to use it.
If you want to have native support for a special environment of svmono,
don't hesitate and ask. 

Jürgen.



Re: LyX .layout from LaTeX .cls

2003-11-13 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote:

 If you want to have native support for a special environment of svmono,
 don't hesitate and ask.

Actually you can just copy some of them (especially the theorem like env)
from svjour.inc (which is to be found in the layouts directory).

Jürgen.



Protokoll 12.11.03

2003-11-13 Thread Samuel Hammer
Hallo Glacis,

An/Ab:  Michael ist ab 13.11 - 24.11 weg. Aber wahescheinlich über Mail und 
Tel.: +34 93 2472460 erreichbar. 
Julia: ist nächste Woche von Mi - Fr. weg. 19. - 21. 11
Dietmar ist ab Fr. wieder da.

Kühlraumklamotten:  --- Die müssen dringend mal gewaschen werden. Markus
erledigt die Organisation, sodaß jeweil eine 
weiße und eine blaue 
Garniutur zurück bleibt.

Rechner:Im Keller lagern 4-5 Rechner-Leichen. Die muß man auf verwertbares 
 hin ausschlachten und dann wegschmeissen.
Verantwortliche: Julia, Martin,Sam


Schöne Woche
SAM
-- 
Samuel Hammer   
Institut für Umweltphysik der Universität Heidelberg
Im Neuenheimer Feld 229
Germany

Tel  ++ 49 6221 546529
Fax ++ 49 6221 546405



Sorry wrong address

2003-11-13 Thread Samuel Hammer
Sorry wrong address



Re: hyperlink w/o URL

2003-11-13 Thread Nirmal Govind
Thanks Kayvan..

nirmal

Kayvan A. Sylvan wrote:
Use hyperref and then \href{http://the-url}{Click Here}

I think there are examples at http://www.lyx.org/help

Best regards,

			---Kayvan



Re: Presentation on LyX/LaTeX

2003-11-13 Thread Jose' Matos
On Thursday 13 November 2003 10:23, Nirmal Govind wrote:
 Hi folks,

 I made a presentation on LyX/LaTeX to the LUG here at Penn State
 yesterday. Below is the link in case someone's interested in doing
 something similar...

 http://www.personal.psu.edu/nug107/lyx/LyX_PSU_LUG.pdf

  Congratulations, well done.

 Thanks,
 nirmal

-- 
José Abílio

LyX and docbook, a perfect match. :-)



rules

2003-11-13 Thread Todd O'Bryan
Am I missing the ability to add LaTeX rules of the form 
\rule{2.5in}{.1mm} somewhere? I mean, I can add them in a TeX red box, 
but they obviously don't show up as lines in my document.

And, in case you're wondering, I teach, so they're an easy way to make 
blanks.

Todd



Re: Presentation on LyX/LaTeX

2003-11-13 Thread Andre Poenitz
On Thu, Nov 13, 2003 at 05:23:53AM -0500, Nirmal Govind wrote:
 Hi folks,
 
 I made a presentation on LyX/LaTeX to the LUG here at Penn State 
 yesterday. Below is the link in case someone's interested in doing 
 something similar...
 
 http://www.personal.psu.edu/nug107/lyx/LyX_PSU_LUG.pdf

You managed to pick a code example showing quite a few sins ;-)

What document class did you use?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


newspaper printing

2003-11-13 Thread Hartmut Haase
Hi,
I want to print A4 pages on A3 in a newspaper fashion, i. e. the sequence 
should be:
page 1 page n
page n-1 page 2
page 3 page n-2
...
Is that with LyX or LaTeX possible? If yes, how?
-- 
Regards
Hartmut Haase

Hungerhilfe: http://www.thehungersite.com

Das heutige Motto:
Macho does not prove mucho. 



Re: newspaper printing

2003-11-13 Thread Andre Poenitz
On Thu, Nov 13, 2003 at 12:58:13PM +0100, Hartmut Haase wrote:
 Hi,
 I want to print A4 pages on A3 in a newspaper fashion, i. e. the sequence 
 should be:
 page 1 page n
 page n-1 page 2
 page 3 page n-2
 ...
 Is that with LyX or LaTeX possible? If yes, how?

The program 'psbook' rearranges pages in the postscript file the way you
want.

You can integrate that into LyX by defining a new export format .psbook
(or similar) if you really want to access that feature from within LyX.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: newspaper printing

2003-11-13 Thread Tuukka Toivonen
On Thu, 13 Nov 2003, Hartmut Haase wrote:

I want to print A4 pages on A3 in a newspaper fashion, i. e. the sequence

I'm not quite sure what you mean, but with psutils and especially with
pstops you can do many kind of tricks after exported the files as
postscript. Read the manpages.



Re: Presentation on LyX/LaTeX

2003-11-13 Thread Nirmal Govind
Thanks Jose' and hi Andre' ...

You managed to pick a code example showing quite a few sins ;-)
Completely unintentional I assure you.. :-) (has to be - cos I haven't 
tried to understand the code anyways!)

What document class did you use?
I used pdfscreen ...

nirmal



LyX Code after enumeration

2003-11-13 Thread Todd O'Bryan
I'm creating a multiple choice test, in which I'd like to put code 
examples right after an Enumeration letter, i.e.

1. Which of the following does foo?
	(a) This is code
   this is more code and should be lined up with the code 
above
	(b) more code
	  code with (b)
2. Next question

My problem is that I can't nest a LyX Code environment inside an empty 
nested Enumerate environment. Everything works fine if I type something 
first after a and b and then start the LyX Code on the next line, but 
that's going to add a whole page to the test.

Thanks,
Todd


Re: Presentation on LyX/LaTeX

2003-11-13 Thread Angus Leeming
Nirmal Govind wrote:

 Thanks Jose' and hi Andre' ...
 
 You managed to pick a code example showing quite a few sins ;-)
 
 Completely unintentional I assure you.. :-) (has to be - cos I
 haven't tried to understand the code anyways!)
 
 What document class did you use?
 
 I used pdfscreen ...

Could you post the lyx file too? I'm writing some presentations 
myself and am all in favour of ditching powerpoint ;-)

-- 
Angus



Re: Presentation on LyX/LaTeX

2003-11-13 Thread Andre Poenitz
On Thu, Nov 13, 2003 at 01:51:46PM +, Angus Leeming wrote:
 Could you post the lyx file too? I'm writing some presentations 
 myself and am all in favour of ditching powerpoint ;-)

And a German translation perhaps?

I am supposed to give a talk on LyX on Dec 18... ;-)

Andre'


Re: LyX Code after enumeration

2003-11-13 Thread Jose' Matos
On Thursday 13 November 2003 13:44, Todd O'Bryan wrote:
 I'm creating a multiple choice test, in which I'd like to put code
 examples right after an Enumeration letter, i.e.

 1. Which of the following does foo?
   (a) This is code
 this is more code and should be lined up with the code
 above
   (b) more code
 code with (b)
 2. Next question

  Yes you can. :-)

 My problem is that I can't nest a LyX Code environment inside an empty
 nested Enumerate environment. Everything works fine if I type something
 first after a and b and then start the LyX Code on the next line, but
 that's going to add a whole page to the test.

  Look to the attached example and see if that is what you want

 Thanks,
 Todd

-- 
José Abílio

LyX and docbook, a perfect match. :-)
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Enumerate

Which of the following does foo?
\begin_deeper 
\layout Enumerate

This is code
\begin_deeper 
\layout LyX-Code

this is more code and should be lined up with the code above
\end_deeper 
\layout Enumerate

more code
\begin_deeper 
\layout LyX-Code

code with (b)
\end_deeper 
\end_deeper 
\layout Enumerate

Next question
\the_end


Re: LyX Code after enumeration

2003-11-13 Thread Luiz Eleno
I think the attached file here is what you want.

Jose' Matos wrote:

On Thursday 13 November 2003 13:44, Todd O'Bryan wrote:
 

I'm creating a multiple choice test, in which I'd like to put code
examples right after an Enumeration letter, i.e.
1. Which of the following does foo?
	(a) This is code
   this is more code and should be lined up with the code
above
	(b) more code
	  code with (b)
2. Next question
   


--

Luiz Eleno
Max-Planck-Institut für Eisenforschung
Max-Planck-Str. 1
D-40237 Düsseldorf
Tel.: +49-(0)211-67 92 481
Fax: +49-(0)211-67 92 537
[EMAIL PROTECTED]
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Enumerate

Which of the following does foo?
\begin_deeper 
\layout Enumerate

This is code
\newline 
this is more code and should be lined up with the code
\newline 
above
\layout Enumerate

more code
\newline 
code with b
\end_deeper 
\layout Enumerate

Next question
\the_end


A Resume template

2003-11-13 Thread Chhabra, Paras
Hi all,
I am newbie to lyx and find it powerful but sometimes difficult. 
I'll take some time to get to understand all its functionalities. My 
requirement at hand is to write a resume, and an already available 
template will be very helpful.
Can anybody send me a lyx file of a resume or its template. Hope 
this does'nt flood the mailbox. A standard template will be the best.
Thanks,
Paras


Re: Presentation on LyX/LaTeX

2003-11-13 Thread Nirmal Govind
Could you post the lyx file too? I'm writing some presentations 
myself and am all in favour of ditching powerpoint ;-)

Yes, I've posted the archive here:

http://www.personal.psu.edu/nug107/lyx/LyX_PSU_LUG.tar.gz

It has the pdfscreen2.sty file,  pdfscreen.layout for lyx and of course 
the lyx and graphics files...

 And a German translation perhaps?

 I am supposed to give a talk on LyX on Dec 18... ;-)

Aah I see.. German translation - sure, maybe in a few years.. :-)

nirmal



Re: A Resume template

2003-11-13 Thread Nirmal Govind
Hi... you'll find examples at:

http://wiki.lyx.org/pmwiki.php/ExampleCV/ExampleCV

nirmal

Can anybody send me a lyx file of a resume or its template. Hope 
this does'nt flood the mailbox. A standard template will be the best.
Thanks,
Paras




Re: Presentation on LyX/LaTeX

2003-11-13 Thread Angus Leeming
Nirmal Govind wrote:

 Could you post the lyx file too? I'm writing some presentations
 myself and am all in favour of ditching powerpoint ;-)
 
 
 Yes, I've posted the archive here:
 
 http://www.personal.psu.edu/nug107/lyx/LyX_PSU_LUG.tar.gz
 
 It has the pdfscreen2.sty file,  pdfscreen.layout for lyx and of
 course the lyx and graphics files...

Got it. Many thanks, Nirmal!

-- 
Angus



Re: newspaper printing

2003-11-13 Thread Herbert Voß
Hartmut Haase schrieb:
Hi,
I want to print A4 pages on A3 in a newspaper fashion, i. e. the sequence 
should be:
page 1 page n
page n-1 page 2
page 3 page n-2
...
Is that with LyX or LaTeX possible? If yes, how?
from within LyX create a new document, write in preamble:

\usepackage{pdfpages}
\usepackage{geometry}
\EveryShipout{%
\ifodd\the\value{page}\else
  \pdfpageattr{/Rotate 270}
\fi}
and as text:

  \includepdf[pages=-,nup=1x2,landscape]{file.pdf}

it is also possible with the ps or pdf file. You can change
the book4 skript, which prints a4 as a5 in a book
style.
#!/bin/sh
# script for book generation.
# Examples of use:
#
#  man -t  | book4 | lpr -P
#  This will print the man pages in book format and
#  both sides. If you need file out, say:
#  man -t  | book4  out.ps
#  cat name.ps | book4  name2.ps#  ps-file to book-format
#  book4 name.ps | lpr   #  same
#PATH=/usr/local/bin:/usr/bin:/bin
#export PATH
PSBOOK=/usr/bin/psbook
PSNUP=/usr/bin/psnup
PSTOPS=/usr/bin/pstops
if test $# -gt 0; then
   for N in $*; do
  $PSBOOK -q $N | $PSNUP -q -2 | $PSTOPS -q 2:0,1U(1w,1h)
   done
else
   $PSBOOK -q | $PSNUP -q -2 | $PSTOPS -q 2:0,1U(1w,1h)
fi
the same is possible with

psbook document.ps | pstops -pa4 
4:[EMAIL PROTECTED](21cm,00)[EMAIL PROTECTED](21cm,14.8cm),[EMAIL PROTECTED](21cm,00)[EMAIL PROTECTED](21cm,14.8cm)  
output.ps

Herbert




Re: Presentation on LyX/LaTeX

2003-11-13 Thread M.B. Schiekel
Nirmal Govind wrote:

 And a German translation perhaps?

 I am supposed to give a talk on LyX on Dec 18... ;-)
 
 Aah I see.. German translation - sure, maybe in a few years.. :-)


Hallo,

if nirmal does agree, I can try a German translation of this nice
presentation (but with his original English Lyx-version screeshots).
Might be, that we can have it shorter than in a few years ;-)

bernhard


-- 
http://home.t-online.de/home/mb.schiekel/
GPG-Key available: GnuPG v1.0.7



Re: LyX-1.3.3-qt on Fedora Core 1

2003-11-13 Thread Anand Rangarajan
I haven't seen a response from David Utidjian regarding Lyx-1.3.3-1_qt 
on Fedora Core 1. So, I took the src rpm file from 
ftp://ftp.lyx.org/pub/lyx/bin/1.3.3/lyx-1.3.3-1_qt.src.rpm and built 
lyx-1.3.3-1_qt on a linux box running Fedora Core 1. The lyx rpm is 
available at 
http://www.cise.ufl.edu/~anand/lyx_download/lyx-1.3.3-1_qt_fc1.i386.rpm. 
 It works on my Fedore Core 1 box but I have not tested it much.

Anand

 Hi all,

 I have just installed (last night) lyx-1.3.3-qt on Fedora Core 1 (aka 
 yarrow, aka Red Hat 10, aka FC1).


 First I installed the latex-xft-fonts package from:
 ftp://ftp.lyx.org/pub/lyx/contrib/latex-xft-fonts-0.1-1.noarch.rpm
 and did


 rpm -ivh latex-xft-fonts-0.1-1.noarch.rpm

 Then I grabbed:
 ftp://ftp.lyx.org/pub/lyx/bin/1.3.3/lyx-1.3.3-1_qt.src.rpm
 package and did a:


 rpmbuild --rebuild lyx-1.3.3-1_qt.src.rpm

 an age of the universe or two later it finished building successfully 
 and installed successfully and seems to run fine.

 -DU-...etc...



Re: LyX .layout from LaTeX .cls

2003-11-13 Thread Matej Cepl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rich Shepard wrote:

   I copied book.layout to svmono.layout. All 840 bytes worth.
   :-) I suppose
 that I can just add the Springer .cls file to it, but ...
 there's a lot there I cannot place in the very few categories I
 see in the .layout file.

No! DO NOT add .cls file to .layout. Repeat five times: .layout
file has nothing common with LaTeX! .layout file just does two
things:

a) puts some hints to LyX how to present particular paragraph in
the editing window (and well, if it is not most beautiful
presentation nothing happens because it has no relevance for
LaTeX output),

b) makes 1:1 mapping between LyX paragraphs and LaTeX
environments (and possibly adds material which should be add to
preamble).

Again, repeat: (usually) NO MACROS are necessary in .layout file.

Sorry for shouting (and part of the sound is directed to the
authors of documentation which slightly obscures this stuff).

Matej

- -- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/sxNm4J/vJdlkhKwRApUoAJ43NKniNiFBdUOm/mgbEpjhBZFqOwCfTs7r
6RVIPSMJlFboMu9WbuE+xBY=
=3l5B
-END PGP SIGNATURE-



Re: Presentation on LyX/LaTeX

2003-11-13 Thread Kayvan A. Sylvan
On Thu, Nov 13, 2003 at 05:23:53AM -0500, Nirmal Govind wrote:
 Hi folks,
 
 I made a presentation on LyX/LaTeX to the LUG here at Penn State 
 yesterday. Below is the link in case someone's interested in doing 
 something similar...
 
 http://www.personal.psu.edu/nug107/lyx/LyX_PSU_LUG.pdf
 
 Thanks,
 nirmal

Looks great!

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92)


Re: Presentation on LyX/LaTeX

2003-11-13 Thread Karsten Heymann
On Thu, 13 Nov 2003 05:23:53 -0500
Nirmal Govind [EMAIL PROTECTED] wrote:

 Hi folks,
 
 I made a presentation on LyX/LaTeX to the LUG here at Penn State 
 yesterday. Below is the link in case someone's interested in doing 
 something similar...
 
 http://www.personal.psu.edu/nug107/lyx/LyX_PSU_LUG.pdf

Hi Nirmal,

it's a nice presentation!

@ the list: wouldn't it be nice to collect lyx-related info material
centrally somewhere so when someone gets asked what's lyx? he can use
it? I guess there are = 1 people presenting LyX in a presentation (or
not?). I think this stuff is called advocacy. 

And latex-beamer[1] support would be nice (though not trivial...)

My 2c,

Karsten

[1]: http://latex-beamer.sourceforge.net/


Re: Presentation on LyX/LaTeX

2003-11-13 Thread Nirmal Govind
Hallo,

if nirmal does agree, I can try a German translation of this nice
presentation (but with his original English Lyx-version screeshots).
Might be, that we can have it shorter than in a few years ;-)
Oh sure... that would be great Bernhard... thanks! Let me know if I can 
help in any way (other than with the German of course.. :-))..

nirmal



Re: Presentation on LyX/LaTeX

2003-11-13 Thread M.B. Schiekel
Nirmal Govind wrote:

 http://www.personal.psu.edu/nug107/lyx/LyX_PSU_LUG.tar.gz
 
 It has the pdfscreen2.sty file,  pdfscreen.layout for lyx and of course
 the lyx and graphics files...

well, I put the pdfscreen.layout in \usr\share\lyx\layouts
and the pdfscreen2.sty in \usr\share\lyx\tex
then run 'texhash' and 'lyx-reconfigure'
and then got an errormessage: unknown textclass pdfscreen
??

thank you -
bernhard


-- 
http://home.t-online.de/home/mb.schiekel/
GPG-Key available: GnuPG v1.0.7



Re: Presentation on LyX/LaTeX

2003-11-13 Thread Nirmal Govind
and the pdfscreen2.sty in \usr\share\lyx\tex
Is the above path defined in your texmf.cnf file? (you can find where 
this file is located by running kpsewhich texmf.cnf).. you probably want 
to put it in your localtexmf directory (say, for e.g. at 
/home/username/texmf/tex/latex/pdfscreen/ or so).. take a look at Help 
- Customization - 5.1 in LyX...

Hopefully this will do it..

nirmal



Re: Presentation on LyX/LaTeX

2003-11-13 Thread Angus Leeming
M.B. Schiekel wrote:

 Nirmal Govind wrote:
 
 http://www.personal.psu.edu/nug107/lyx/LyX_PSU_LUG.tar.gz
 
 It has the pdfscreen2.sty file,  pdfscreen.layout for lyx and of
 course the lyx and graphics files...
 
 well, I put the pdfscreen.layout in \usr\share\lyx\layouts
 and the pdfscreen2.sty in \usr\share\lyx\tex
 then run 'texhash' and 'lyx-reconfigure'
 and then got an errormessage: unknown textclass pdfscreen
 ??

Does texhash know to search the \usr\share\lyx\tex directory? 
Alternatively, did you run texhash from this directory?

All I can say is that it worked for me ;-)


-- 
Angus



Installation directory

2003-11-13 Thread Rich Shepard
  I seem to have version 1.3.3 installed in both /usr and /usr/local. When I
locate *.layout I find the same files -- same file size, too -- in both
/usr/share/lyx and /usr/local/share/lyx. I believe that /usr/local/ is where
it should be.

  Which is the proper directory, please? I'll remove the duplicate.

Thanks,

Rich

Dr. Richard B. Shepard, President

   Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com
 http://www.appl-ecosys.com/


Re: Installation directory

2003-11-13 Thread John Levon
On Thu, Nov 13, 2003 at 09:05:06AM -0800, Rich Shepard wrote:

   I seem to have version 1.3.3 installed in both /usr and /usr/local. When I
 locate *.layout I find the same files -- same file size, too -- in both
 /usr/share/lyx and /usr/local/share/lyx. I believe that /usr/local/ is where
 it should be.
 
   Which is the proper directory, please? I'll remove the duplicate.

There is no proper directory as such, but if you installed an RPM or
other package, it should be in /usr, but if you compiled from source,
/usr/local.

But this is really a good practice thing more than anything else.

regards
john

-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.


Re: Installation directory

2003-11-13 Thread Matej Cepl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rich Shepard wrote:
   Which is the proper directory, please? I'll remove the
   duplicate.

While John Levon answered correctly that there is no proper
directory, I would add that what really matters is which LyX
you use and probably the other one should be get rid off. To
find what you use, try 'which lyx' in xterm. Possibly you have
installed older version from rpm/deb package and then you
compiled the newer version on your own, haven't you? If it is
so, uninstall the package (with rpm -e, apt-get purge, whatever)
and use just your compiled version.

Matej

- -- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/s9Rn4J/vJdlkhKwRAhvvAJ9cuolX+XIEa1nagUOHDDxdUDmCzACeNv1s
+igVMnQWmskFEWxAwezPUdU=
=g5IP
-END PGP SIGNATURE-



Re: Simple (?) printer setup trouble ...

2003-11-13 Thread Paul A. Rubin
Alfredo Braunstein [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]: 

 Soren O'Neill wrote:
 
 No exporting (from lyx) to postscript fails: Cannot convert file.
 Error while executing dvi2ps -t a4
 
 I'm not sure, but I think that message is consistent with inability
 to find (or open) the DVI file.
 
 Wasn't his program called dvips, *not* dvi2ps? Soren: you probably
 need changing as well you export filter definition inside lyx from
 dvi2ps to dvips...

No, Soren's system has dvi2ps (and not dvips).  *My* system uses dvips.  
Sorry for the confusion.

-- Paul



Re: Simple (?) printer setup trouble ...

2003-11-13 Thread Paul A. Rubin
[posted and mailed]

Soren O'Neill [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]:
 Just tried to print the DVI from a DVI viewer, it complains that:
 The external program 'dvips', which was used to export the file,
 reported an error. You might wish to look at the document info dialog
 which you will find in the File-Menu for a precise error report
 
 ?

I suspect this is a configuration issue with your DVI viewer.  There should 
be a setup option someplace telling it what program to use to convert the 
DVI file to Postscript.  If you can find that option and change it from 
dvips to dvi2ps, hopefully printing will work. 

-- Paul



Re: Simple (?) printer setup trouble ...

2003-11-13 Thread Paul A. Rubin
[posted and mailed]

Soren O'Neill [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]:

 Paul A. Rubin wrote:
 
 Start LyX, open a document, either print it or try to export it to
 PS, then (without closing LyX or the document) check the temp
 directory LyX is using for that document.  Is the DVI file there?  If
 so, what's its name?  If not, is there a .tex file there?
 
 I find a directory in /tmp called lyc_tmpdir/lyx_tmpbuf0/
 Before printing its empty. After trying to print it contains:
 
 protocol_0.2.aux  protocol_0.2.blg  protocol_0.2.log 
 protocol_0.2.tex.dep protocol_0.2.bbl  protocol_0.2.dvi 
 protocol_0.2.tex 
 
 (my document is called protocol_0.2)
 I can open up the DVI fine and it looks just fine...

Ok, this seems to be narrowing the problem down somewhat.  We know that 
latex is running successfully, and that the DVI file exists where it 
should.  The problem apparently lies in the setup of the call to dvi2ps.
 
 
 One other thing:  does the log file indicate that latex.exe was able
 to process the source file ok?  (If latex.exe didn't produce a DVI
 file, that would explain things.)
 
 Well it does seem to produce a DVI file alright, is it the path to my
 printer which is set wrong ?
 As mentioned in Lyx/Preferences/Printer, the Printer Command is set to
 dvi2ps
 
 I have tried to change it to lp, lp0, lpr and hp1300n (my printer
 name) - no success ...
 

I don't think it's the path to dvi2ps, because that appeared to run in an 
earlier test.  In a previous post, you said you got the following error 
message while trying to print:

 dvi2ps: FATAL-- can't find DVI file 6499i.dvi

I interpret that to mean that dvi2ps was started by LyX (which in 
particular means that LyX was able to find dvi2ps), but that it was given 
an incorrect name for the DVI file (or else was not given the correct 
path to the DVI file).

At this point, I probably should ask what operating system you're using.  
The next two things I suggest are:

1.  In Edit | Preferences | Converters, make sure DVI-Postscript is set 
to dvi2ps -o $$o $$i.  Then repeat the experiment you did above, check 
the temporary directory (as above) to verify that the DVI file was 
written, and see if the Postscript file was written there.  Report back 
any error message you get.  I know you tried exporting once before, but 
I'm not sure it was the same file.  Use protocol_0.2 again, so that we 
know the document itself is not the source of any problems.

2.  If dvi2ps issues an I-can't-find-the-DVI-file error message again, 
then I suggest writing a script that will just echo its arguments to the 
screen, making that your converter, and repeating the experiment.  That 
will tell us what path and file name LyX is giving to dvi2ps.

-- Paul



Re: Simple (?) printer setup trouble ...

2003-11-13 Thread Alfredo Braunstein
Paul A. Rubin wrote:

 dvi2ps: FATAL-- can't find DVI file 6499i.dvi
 
 I interpret that to mean that dvi2ps was started by LyX (which in
 particular means that LyX was able to find dvi2ps), but that it was given
 an incorrect name for the DVI file (or else was not given the correct
 path to the DVI file).

The problem seems to be the shell translating $$ to the process id 6499, and
leaving the i untouched. I.e., LyX in not translating $$i, but handing the
string $$i to dvi2ps.

Soren, what happend if you put simply dvi2ps instead of dvi2ps $$i as
the printer command?

Alfredo




Re: Simple (?) printer setup trouble ...

2003-11-13 Thread Soren O'Neill
Paul A. Rubin wrote:

 [posted and mailed]
 
 Soren O'Neill [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]:
 
 Paul A. Rubin wrote:
 
 Start LyX, open a document, either print it or try to export it to
 PS, then (without closing LyX or the document) check the temp
 directory LyX is using for that document.  Is the DVI file there?  If
 so, what's its name?  If not, is there a .tex file there?
 
 I find a directory in /tmp called lyc_tmpdir/lyx_tmpbuf0/
 Before printing its empty. After trying to print it contains:
 
 protocol_0.2.aux  protocol_0.2.blg  protocol_0.2.log
 protocol_0.2.tex.dep protocol_0.2.bbl  protocol_0.2.dvi
 protocol_0.2.tex
 
 (my document is called protocol_0.2)
 I can open up the DVI fine and it looks just fine...
 
 Ok, this seems to be narrowing the problem down somewhat.  We know that
 latex is running successfully, and that the DVI file exists where it
 should.  The problem apparently lies in the setup of the call to dvi2ps.
 
 
 One other thing:  does the log file indicate that latex.exe was able
 to process the source file ok?  (If latex.exe didn't produce a DVI
 file, that would explain things.)
 
 Well it does seem to produce a DVI file alright, is it the path to my
 printer which is set wrong ?
 As mentioned in Lyx/Preferences/Printer, the Printer Command is set to
 dvi2ps
 
 I have tried to change it to lp, lp0, lpr and hp1300n (my printer
 name) - no success ...
 
 
 I don't think it's the path to dvi2ps, because that appeared to run in an
 earlier test.  In a previous post, you said you got the following error
 message while trying to print:
 
 dvi2ps: FATAL-- can't find DVI file 6499i.dvi
 
 I interpret that to mean that dvi2ps was started by LyX (which in
 particular means that LyX was able to find dvi2ps), but that it was given
 an incorrect name for the DVI file (or else was not given the correct
 path to the DVI file).
 
 At this point, I probably should ask what operating system you're using.
 The next two things I suggest are:
 
 1.  In Edit | Preferences | Converters, make sure DVI-Postscript is set
 to dvi2ps -o $$o $$i.  Then repeat the experiment you did above, check
 the temporary directory (as above) to verify that the DVI file was
 written, and see if the Postscript file was written there.  Report back
 any error message you get.  I know you tried exporting once before, but
 I'm not sure it was the same file.  Use protocol_0.2 again, so that we
 know the document itself is not the source of any problems.
 
 2.  If dvi2ps issues an I-can't-find-the-DVI-file error message again,
 then I suggest writing a script that will just echo its arguments to the
 screen, making that your converter, and repeating the experiment.  That
 will tell us what path and file name LyX is giving to dvi2ps.
 
 -- Paul

When I start LyX from the CLI, it creates a folder in /tmp called 
lyx_tmpdir173890IKUef which is empty.
When I open protocol_0.2, it creates a folder inside
/tmp/lyx_tmpdir173890IKUef which is empty.
When I try to print protocol_2, it creates the following 7 files:
protocol_0.2.aux  protocol_0.2.blg  protocol_0.2.log  protocol_0.2.tex.dep
protocol_0.2.bbl  protocol_0.2.dvi  protocol_0.2.tex
... thus far all is well (I guess...)

LyX preferences are set as :
Converters (DVI-Postscript): dv2ips -o $$o $$i 
(the letter o, not the digit 0)
Output/Printer: Printer name: hp1300n
Adapt output (not ticked)
Printer command: dvi2ps $$i
The command options are as follows:
-B  -A
-pp -C
-c  -t landscape
-r  -o
-P  
.ps -d
lp  -T
-t

Printing fra lyx fails however, with the following CLI output:
This is BibTeX, Version 0.99c (Web2C 7.3.1)
The top-level auxiliary file: protocol_0.2.aux
The style file: /home/soren/Master_rehab/vancouver.bst
Database file #1: /home/soren/Master_rehab/referencer.bib

dvi2ps: FATAL-- can't find DVI file 17397i.dvi

If I open protocol_0.2 in the DVI viewer it looks just fine, but trying to
print fails. The following is found in Document Info / External Programs:
Export: '/tmp/lyx_tmpdir173890IKUef/lyx_tmpbuf0/protocol_0.2.dvi' to
PostScript

/bin/bash: line 1: dvips: command not found

If I goto the CLI and run: dvi2ps protocol_0.2.dvi - prot.ps
I get the following output: 
@(#)dvi2ps (j-version) 2.0j
[/usr/lib/dvi2ps/dvi2.ps]
Prescanning .No font file for ecrm1440 (mag 1000)
(use -d option to know the font file names tried)
No font file for ecsx2074 (mag 1000)
(use -d option to know the font file names tried)
.No font file for ecrm1095 (mag 1000)
(use -d option to know the font file names tried)
No font file for ecsx1440 (mag 1000)
(use -d option to know the font file names tried)
..No font file for cmsy10 (mag 1095)
(use -d option to know the font file names tried)
..No font file for ecsx1200 (mag 1000)
(use -d 

Re: Simple (?) printer setup trouble ...

2003-11-13 Thread Soren O'Neill
Alfredo Braunstein wrote:

 Paul A. Rubin wrote:
 
 dvi2ps: FATAL-- can't find DVI file 6499i.dvi
 
 I interpret that to mean that dvi2ps was started by LyX (which in
 particular means that LyX was able to find dvi2ps), but that it was given
 an incorrect name for the DVI file (or else was not given the correct
 path to the DVI file).
 
 The problem seems to be the shell translating $$ to the process id 6499,
 and leaving the i untouched. I.e., LyX in not translating $$i, but handing
 the string $$i to dvi2ps.
 
 Soren, what happend if you put simply dvi2ps instead of dvi2ps $$i as
 the printer command?
 
 Alfredo
...makes no difference, but look at my other reply to Paul ...

Soren



Re: LyX .layout from LaTeX .cls

2003-11-13 Thread Rich Shepard
On Thu, 13 Nov 2003, Juergen Spitzmueller wrote:

 Judging from a quick glance at
 http://194.94.42.14/tex/latex/engigl/mono/refguide.pdf
 you should get a working layout if you just copy and rename the book layout
 for a start (as described in Customization). You`ll probably need some ERT
 if you want/need to use springer's additional environments like
 \begin{petit}... etc. If you feel like it, you can of course also add these
 environments to the layout file (but you're not forced to).

Juergen,

  Thanks to you, Ingar Pareliussen, Matej, Ronald and the others it's all
working and I understand better what goes on behind the GUI in LyX.

 I bet you'll be done in 30 minutes.

  Well, ... about a minute.

  After copying the book.layout to svmono.layout, I copied the svmono.cls to
both directories where there are other .cls files. Changed the class
reference in svmono.layout to svmono from book. Ran texhash and reconfigure
and ... ta da! It works like a charm.

Rich

Dr. Richard B. Shepard, President

   Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com
 http://www.appl-ecosys.com/


Re: Installation directory

2003-11-13 Thread Rich Shepard
On Thu, 13 Nov 2003, John Levon wrote:

 There is no proper directory as such, but if you installed an RPM or
 other package, it should be in /usr, but if you compiled from source,
 /usr/local.

 But this is really a good practice thing more than anything else.

john,

  Thanks. I want it in /usr/local because it's an application that does not
need to be changed when the OS is upgraded.

Rich

Dr. Richard B. Shepard, President

   Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com
 http://www.appl-ecosys.com/


Re: Presentation on LyX/LaTeX

2003-11-13 Thread M.B. Schiekel
Nirmal Govind wrote:

 Is the above path defined in your texmf.cnf file? 
 ... 
 Hopefully this will do it..


well, I installed pdfscreen.layout global, so I had to change the file
permission of your pdfscreen.layout from 600 - 644, now everything is
fine - thank you very much, nirmal

() bernhard


-- 
http://home.t-online.de/home/mb.schiekel/
GPG-Key available: GnuPG v1.0.7



How to change the label theorem?

2003-11-13 Thread Paul Smith
Dear All

I am using AMS article document class and I would like to replace the label
theorem (in the DVI file) by the French corresponding one. I tried to
change it in amsmaths.inc, but I cannot find therein the proper place to
operate the replacement. Could somebody here please help me?

Thank you a lot in advance!

Paul


lyx to html ??

2003-11-13 Thread SARIN Supheakmungkol
Hello 

I am a newbie to Lyx I got a problem in converting a text that i 
write in French to the HTML format
The problem is some characters such as é, è, à is badly converted to 
HTML

Please help me ...

Thanks...






Re: LyX .layout from LaTeX .cls

2003-11-13 Thread Matej Cepl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rich Shepard wrote:
 Thanks to you, Ingar Pareliussen, Matej, Ronald and the others
 it's all working and I understand better what goes on behind
 the GUI in LyX.

You're welcome!

Happy LyXing!

Matej

- -- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/tFw14J/vJdlkhKwRArNYAJ9oIGJTZJ2JvOa3s9WXD1D4/zf3cwCfcyYT
eDFBYCG7Yh9PXMRgKFm1BL8=
=5hQ6
-END PGP SIGNATURE-



linuxdoc

2003-11-13 Thread John O'Gorman
Trying the article(linuxdoc) option, I get 2 distinct problems. Before 
delving deeper into them can anyone offer suggestions.

1. Runs OK as root but will not produce a .dvi file as a normal user.
   The problem seems to be missing .pk files. Presumably a permission 
problem or something wrong with my configuration.

2. The .dvi produced
  a. is ugly. Big bold headings (sans serif), deep indenting, 
unproportionately small type for normal text. (this is probably related 
to missing fonts above). Maybe I have been spoilt by LyX's normally 
superb typesetting.

  b. Does not conform to the description in the LyX Exended Features 
manual. In particular, there is no thick line under the page headers. 
This would seem to be a stylesheet issue.

My system: SuSE 8.0, LyX 1.3.2 (xforms)

Installed RPMs: sgml-skel-0.2-122, sgmltoo1-1.0.9-505, sgmltools-3.0.2-367

Somewhat perversely, I have found a table I created did come out OK 
(despite an earlier email saying this was unsupported).

Hope someone can shed some light on this.

John O'Gorman



Re: Simple (?) printer setup trouble ...

2003-11-13 Thread Alfredo Braunstein
Soren O'Neill wrote:

 No exporting (from lyx) to postscript fails: Cannot convert file.
 Error while executing dvi2ps -t a4
 
 I'm not sure, but I think that message is consistent with inability to
 find (or open) the DVI file.

Wasn't his program called dvips, *not* dvi2ps? Soren: you probably need
changing as well you export filter definition inside lyx from dvi2ps to
dvips...

 Just tried to print the DVI from a DVI viewer, it complains that:
 The external program 'dvips', which was used to export the file, reported
 an error. You might wish to look at the document info dialog which you
 will find in the File-Menu for a precise error report

And what does the document info dialog which you will find in the
File-Menu of your dvi viewer says?

Alternatively, run dvips manually on the .dvi file (the one on the tmp dir,
or else export to dvi first) and look at the errors.

Regards, Alfredo




Re: Working with LaTeX macros and copy editors

2003-11-13 Thread Andre Poenitz
On Wed, Nov 12, 2003 at 01:12:51PM -0800, Rich Shepard wrote:
 On Wed, 12 Nov 2003, Rich Shepard wrote:
 
A major publisher (Springer-Verlag New York) notified me yesterday that
  they want to publish my book. They have a bunch of LaTeX macros they want me
  to use in the preparation of the camera-ready copy. (Their Web site has a
  link to a non-existent directory and file so I'm waiting for them to point
  me to the right place.) And, the copy editor will be working with me on copy
  I send him/her.
 
   Progress ... of a sort. I now have the LaTeX svmono.cls file. Reading the
 LyX Customization Guide I find that this leaves me swinging in the breeze
 compared with having a .sty with which to work. Sigh.
 
   I'm certainly willing to provide the final .layout file for inclusion by
 any and all who want to use it. But, I'd sure like some experienced
 assistance as I modify the 'book.layout' to the new 'svmono.layout'.

Well, simply ask specific question as soon as you tun into some problem.
For starters, copying book.layout to svmono.layout and adjusting the
comment in the header should help. Don't forget to Edit-Reconfigure
afterwards.

Andre'


Re: LyX .layout from LaTeX .cls

2003-11-13 Thread Juergen Spitzmueller
Rich Shepard wrote:

 I copied book.layout to svmono.layout. All 840 bytes worth. :-) I suppose
 that I can just add the Springer .cls file to it, but ... there's a lot
 there I cannot place in the very few categories I see in the .layout file.

The most important part (apart from renaming book.layout to svmono.layout is
that you change the second line to:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{svmono}

then you should (after Edit-Reconfigure in LyX) already be able to use it.
If you want to have native support for a special environment of svmono,
don't hesitate and ask. 

Jürgen.



Re: LyX .layout from LaTeX .cls

2003-11-13 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote:

 If you want to have native support for a special environment of svmono,
 don't hesitate and ask.

Actually you can just copy some of them (especially the theorem like env)
from svjour.inc (which is to be found in the layouts directory).

Jürgen.



Protokoll 12.11.03

2003-11-13 Thread Samuel Hammer
Hallo Glacis,

An/Ab:  Michael ist ab 13.11 - 24.11 weg. Aber wahescheinlich über Mail und 
Tel.: +34 93 2472460 erreichbar. 
Julia: ist nächste Woche von Mi - Fr. weg. 19. - 21. 11
Dietmar ist ab Fr. wieder da.

Kühlraumklamotten:  --- Die müssen dringend mal gewaschen werden. Markus
erledigt die Organisation, sodaß jeweil eine 
weiße und eine blaue 
Garniutur zurück bleibt.

Rechner:Im Keller lagern 4-5 Rechner-Leichen. Die muß man auf verwertbares 
 hin ausschlachten und dann wegschmeissen.
Verantwortliche: Julia, Martin,Sam


Schöne Woche
SAM
-- 
Samuel Hammer   
Institut für Umweltphysik der Universität Heidelberg
Im Neuenheimer Feld 229
Germany

Tel  ++ 49 6221 546529
Fax ++ 49 6221 546405



Sorry wrong address

2003-11-13 Thread Samuel Hammer
Sorry wrong address



Re: hyperlink w/o URL

2003-11-13 Thread Nirmal Govind
Thanks Kayvan..

nirmal

Kayvan A. Sylvan wrote:
Use hyperref and then \href{http://the-url}{Click Here}

I think there are examples at http://www.lyx.org/help

Best regards,

			---Kayvan



Re: Presentation on LyX/LaTeX

2003-11-13 Thread Jose' Matos
On Thursday 13 November 2003 10:23, Nirmal Govind wrote:
 Hi folks,

 I made a presentation on LyX/LaTeX to the LUG here at Penn State
 yesterday. Below is the link in case someone's interested in doing
 something similar...

 http://www.personal.psu.edu/nug107/lyx/LyX_PSU_LUG.pdf

  Congratulations, well done.

 Thanks,
 nirmal

-- 
José Abílio

LyX and docbook, a perfect match. :-)



rules

2003-11-13 Thread Todd O'Bryan
Am I missing the ability to add LaTeX rules of the form 
\rule{2.5in}{.1mm} somewhere? I mean, I can add them in a TeX red box, 
but they obviously don't show up as lines in my document.

And, in case you're wondering, I teach, so they're an easy way to make 
blanks.

Todd



Re: Presentation on LyX/LaTeX

2003-11-13 Thread Andre Poenitz
On Thu, Nov 13, 2003 at 05:23:53AM -0500, Nirmal Govind wrote:
 Hi folks,
 
 I made a presentation on LyX/LaTeX to the LUG here at Penn State 
 yesterday. Below is the link in case someone's interested in doing 
 something similar...
 
 http://www.personal.psu.edu/nug107/lyx/LyX_PSU_LUG.pdf

You managed to pick a code example showing quite a few sins ;-)

What document class did you use?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


newspaper printing

2003-11-13 Thread Hartmut Haase
Hi,
I want to print A4 pages on A3 in a newspaper fashion, i. e. the sequence 
should be:
page 1 page n
page n-1 page 2
page 3 page n-2
...
Is that with LyX or LaTeX possible? If yes, how?
-- 
Regards
Hartmut Haase

Hungerhilfe: http://www.thehungersite.com

Das heutige Motto:
Macho does not prove mucho. 



Re: newspaper printing

2003-11-13 Thread Andre Poenitz
On Thu, Nov 13, 2003 at 12:58:13PM +0100, Hartmut Haase wrote:
 Hi,
 I want to print A4 pages on A3 in a newspaper fashion, i. e. the sequence 
 should be:
 page 1 page n
 page n-1 page 2
 page 3 page n-2
 ...
 Is that with LyX or LaTeX possible? If yes, how?

The program 'psbook' rearranges pages in the postscript file the way you
want.

You can integrate that into LyX by defining a new export format .psbook
(or similar) if you really want to access that feature from within LyX.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: newspaper printing

2003-11-13 Thread Tuukka Toivonen
On Thu, 13 Nov 2003, Hartmut Haase wrote:

I want to print A4 pages on A3 in a newspaper fashion, i. e. the sequence

I'm not quite sure what you mean, but with psutils and especially with
pstops you can do many kind of tricks after exported the files as
postscript. Read the manpages.



Re: Presentation on LyX/LaTeX

2003-11-13 Thread Nirmal Govind
Thanks Jose' and hi Andre' ...

You managed to pick a code example showing quite a few sins ;-)
Completely unintentional I assure you.. :-) (has to be - cos I haven't 
tried to understand the code anyways!)

What document class did you use?
I used pdfscreen ...

nirmal



LyX Code after enumeration

2003-11-13 Thread Todd O'Bryan
I'm creating a multiple choice test, in which I'd like to put code 
examples right after an Enumeration letter, i.e.

1. Which of the following does foo?
	(a) This is code
   this is more code and should be lined up with the code 
above
	(b) more code
	  code with (b)
2. Next question

My problem is that I can't nest a LyX Code environment inside an empty 
nested Enumerate environment. Everything works fine if I type something 
first after a and b and then start the LyX Code on the next line, but 
that's going to add a whole page to the test.

Thanks,
Todd


Re: Presentation on LyX/LaTeX

2003-11-13 Thread Angus Leeming
Nirmal Govind wrote:

 Thanks Jose' and hi Andre' ...
 
 You managed to pick a code example showing quite a few sins ;-)
 
 Completely unintentional I assure you.. :-) (has to be - cos I
 haven't tried to understand the code anyways!)
 
 What document class did you use?
 
 I used pdfscreen ...

Could you post the lyx file too? I'm writing some presentations 
myself and am all in favour of ditching powerpoint ;-)

-- 
Angus



Re: Presentation on LyX/LaTeX

2003-11-13 Thread Andre Poenitz
On Thu, Nov 13, 2003 at 01:51:46PM +, Angus Leeming wrote:
 Could you post the lyx file too? I'm writing some presentations 
 myself and am all in favour of ditching powerpoint ;-)

And a German translation perhaps?

I am supposed to give a talk on LyX on Dec 18... ;-)

Andre'


Re: LyX Code after enumeration

2003-11-13 Thread Jose' Matos
On Thursday 13 November 2003 13:44, Todd O'Bryan wrote:
 I'm creating a multiple choice test, in which I'd like to put code
 examples right after an Enumeration letter, i.e.

 1. Which of the following does foo?
   (a) This is code
 this is more code and should be lined up with the code
 above
   (b) more code
 code with (b)
 2. Next question

  Yes you can. :-)

 My problem is that I can't nest a LyX Code environment inside an empty
 nested Enumerate environment. Everything works fine if I type something
 first after a and b and then start the LyX Code on the next line, but
 that's going to add a whole page to the test.

  Look to the attached example and see if that is what you want

 Thanks,
 Todd

-- 
José Abílio

LyX and docbook, a perfect match. :-)
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Enumerate

Which of the following does foo?
\begin_deeper 
\layout Enumerate

This is code
\begin_deeper 
\layout LyX-Code

this is more code and should be lined up with the code above
\end_deeper 
\layout Enumerate

more code
\begin_deeper 
\layout LyX-Code

code with (b)
\end_deeper 
\end_deeper 
\layout Enumerate

Next question
\the_end


Re: LyX Code after enumeration

2003-11-13 Thread Luiz Eleno
I think the attached file here is what you want.

Jose' Matos wrote:

On Thursday 13 November 2003 13:44, Todd O'Bryan wrote:
 

I'm creating a multiple choice test, in which I'd like to put code
examples right after an Enumeration letter, i.e.
1. Which of the following does foo?
	(a) This is code
   this is more code and should be lined up with the code
above
	(b) more code
	  code with (b)
2. Next question
   


--

Luiz Eleno
Max-Planck-Institut für Eisenforschung
Max-Planck-Str. 1
D-40237 Düsseldorf
Tel.: +49-(0)211-67 92 481
Fax: +49-(0)211-67 92 537
[EMAIL PROTECTED]
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Enumerate

Which of the following does foo?
\begin_deeper 
\layout Enumerate

This is code
\newline 
this is more code and should be lined up with the code
\newline 
above
\layout Enumerate

more code
\newline 
code with b
\end_deeper 
\layout Enumerate

Next question
\the_end


A Resume template

2003-11-13 Thread Chhabra, Paras
Hi all,
I am newbie to lyx and find it powerful but sometimes difficult. 
I'll take some time to get to understand all its functionalities. My 
requirement at hand is to write a resume, and an already available 
template will be very helpful.
Can anybody send me a lyx file of a resume or its template. Hope 
this does'nt flood the mailbox. A standard template will be the best.
Thanks,
Paras


Re: Presentation on LyX/LaTeX

2003-11-13 Thread Nirmal Govind
Could you post the lyx file too? I'm writing some presentations 
myself and am all in favour of ditching powerpoint ;-)

Yes, I've posted the archive here:

http://www.personal.psu.edu/nug107/lyx/LyX_PSU_LUG.tar.gz

It has the pdfscreen2.sty file,  pdfscreen.layout for lyx and of course 
the lyx and graphics files...

 And a German translation perhaps?

 I am supposed to give a talk on LyX on Dec 18... ;-)

Aah I see.. German translation - sure, maybe in a few years.. :-)

nirmal



Re: A Resume template

2003-11-13 Thread Nirmal Govind
Hi... you'll find examples at:

http://wiki.lyx.org/pmwiki.php/ExampleCV/ExampleCV

nirmal

Can anybody send me a lyx file of a resume or its template. Hope 
this does'nt flood the mailbox. A standard template will be the best.
Thanks,
Paras




Re: Presentation on LyX/LaTeX

2003-11-13 Thread Angus Leeming
Nirmal Govind wrote:

 Could you post the lyx file too? I'm writing some presentations
 myself and am all in favour of ditching powerpoint ;-)
 
 
 Yes, I've posted the archive here:
 
 http://www.personal.psu.edu/nug107/lyx/LyX_PSU_LUG.tar.gz
 
 It has the pdfscreen2.sty file,  pdfscreen.layout for lyx and of
 course the lyx and graphics files...

Got it. Many thanks, Nirmal!

-- 
Angus



Re: newspaper printing

2003-11-13 Thread Herbert Voß
Hartmut Haase schrieb:
Hi,
I want to print A4 pages on A3 in a newspaper fashion, i. e. the sequence 
should be:
page 1 page n
page n-1 page 2
page 3 page n-2
...
Is that with LyX or LaTeX possible? If yes, how?
from within LyX create a new document, write in preamble:

\usepackage{pdfpages}
\usepackage{geometry}
\EveryShipout{%
\ifodd\the\value{page}\else
  \pdfpageattr{/Rotate 270}
\fi}
and as text:

  \includepdf[pages=-,nup=1x2,landscape]{file.pdf}

it is also possible with the ps or pdf file. You can change
the book4 skript, which prints a4 as a5 in a book
style.
#!/bin/sh
# script for book generation.
# Examples of use:
#
#  man -t  | book4 | lpr -P
#  This will print the man pages in book format and
#  both sides. If you need file out, say:
#  man -t  | book4  out.ps
#  cat name.ps | book4  name2.ps#  ps-file to book-format
#  book4 name.ps | lpr   #  same
#PATH=/usr/local/bin:/usr/bin:/bin
#export PATH
PSBOOK=/usr/bin/psbook
PSNUP=/usr/bin/psnup
PSTOPS=/usr/bin/pstops
if test $# -gt 0; then
   for N in $*; do
  $PSBOOK -q $N | $PSNUP -q -2 | $PSTOPS -q 2:0,1U(1w,1h)
   done
else
   $PSBOOK -q | $PSNUP -q -2 | $PSTOPS -q 2:0,1U(1w,1h)
fi
the same is possible with

psbook document.ps | pstops -pa4 
4:[EMAIL PROTECTED](21cm,00)[EMAIL PROTECTED](21cm,14.8cm),[EMAIL PROTECTED](21cm,00)[EMAIL PROTECTED](21cm,14.8cm)  
output.ps

Herbert




Re: Presentation on LyX/LaTeX

2003-11-13 Thread M.B. Schiekel
Nirmal Govind wrote:

 And a German translation perhaps?

 I am supposed to give a talk on LyX on Dec 18... ;-)
 
 Aah I see.. German translation - sure, maybe in a few years.. :-)


Hallo,

if nirmal does agree, I can try a German translation of this nice
presentation (but with his original English Lyx-version screeshots).
Might be, that we can have it shorter than in a few years ;-)

bernhard


-- 
http://home.t-online.de/home/mb.schiekel/
GPG-Key available: GnuPG v1.0.7



Re: LyX-1.3.3-qt on Fedora Core 1

2003-11-13 Thread Anand Rangarajan
I haven't seen a response from David Utidjian regarding Lyx-1.3.3-1_qt 
on Fedora Core 1. So, I took the src rpm file from 
ftp://ftp.lyx.org/pub/lyx/bin/1.3.3/lyx-1.3.3-1_qt.src.rpm and built 
lyx-1.3.3-1_qt on a linux box running Fedora Core 1. The lyx rpm is 
available at 
http://www.cise.ufl.edu/~anand/lyx_download/lyx-1.3.3-1_qt_fc1.i386.rpm. 
 It works on my Fedore Core 1 box but I have not tested it much.

Anand

 Hi all,

 I have just installed (last night) lyx-1.3.3-qt on Fedora Core 1 (aka 
 yarrow, aka Red Hat 10, aka FC1).


 First I installed the latex-xft-fonts package from:
 ftp://ftp.lyx.org/pub/lyx/contrib/latex-xft-fonts-0.1-1.noarch.rpm
 and did


 rpm -ivh latex-xft-fonts-0.1-1.noarch.rpm

 Then I grabbed:
 ftp://ftp.lyx.org/pub/lyx/bin/1.3.3/lyx-1.3.3-1_qt.src.rpm
 package and did a:


 rpmbuild --rebuild lyx-1.3.3-1_qt.src.rpm

 an age of the universe or two later it finished building successfully 
 and installed successfully and seems to run fine.

 -DU-...etc...



Re: LyX .layout from LaTeX .cls

2003-11-13 Thread Matej Cepl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rich Shepard wrote:

   I copied book.layout to svmono.layout. All 840 bytes worth.
   :-) I suppose
 that I can just add the Springer .cls file to it, but ...
 there's a lot there I cannot place in the very few categories I
 see in the .layout file.

No! DO NOT add .cls file to .layout. Repeat five times: .layout
file has nothing common with LaTeX! .layout file just does two
things:

a) puts some hints to LyX how to present particular paragraph in
the editing window (and well, if it is not most beautiful
presentation nothing happens because it has no relevance for
LaTeX output),

b) makes 1:1 mapping between LyX paragraphs and LaTeX
environments (and possibly adds material which should be add to
preamble).

Again, repeat: (usually) NO MACROS are necessary in .layout file.

Sorry for shouting (and part of the sound is directed to the
authors of documentation which slightly obscures this stuff).

Matej

- -- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/sxNm4J/vJdlkhKwRApUoAJ43NKniNiFBdUOm/mgbEpjhBZFqOwCfTs7r
6RVIPSMJlFboMu9WbuE+xBY=
=3l5B
-END PGP SIGNATURE-



Re: Presentation on LyX/LaTeX

2003-11-13 Thread Kayvan A. Sylvan
On Thu, Nov 13, 2003 at 05:23:53AM -0500, Nirmal Govind wrote:
 Hi folks,
 
 I made a presentation on LyX/LaTeX to the LUG here at Penn State 
 yesterday. Below is the link in case someone's interested in doing 
 something similar...
 
 http://www.personal.psu.edu/nug107/lyx/LyX_PSU_LUG.pdf
 
 Thanks,
 nirmal

Looks great!

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92)


Re: Presentation on LyX/LaTeX

2003-11-13 Thread Karsten Heymann
On Thu, 13 Nov 2003 05:23:53 -0500
Nirmal Govind [EMAIL PROTECTED] wrote:

 Hi folks,
 
 I made a presentation on LyX/LaTeX to the LUG here at Penn State 
 yesterday. Below is the link in case someone's interested in doing 
 something similar...
 
 http://www.personal.psu.edu/nug107/lyx/LyX_PSU_LUG.pdf

Hi Nirmal,

it's a nice presentation!

@ the list: wouldn't it be nice to collect lyx-related info material
centrally somewhere so when someone gets asked what's lyx? he can use
it? I guess there are = 1 people presenting LyX in a presentation (or
not?). I think this stuff is called advocacy. 

And latex-beamer[1] support would be nice (though not trivial...)

My 2c,

Karsten

[1]: http://latex-beamer.sourceforge.net/


Re: Presentation on LyX/LaTeX

2003-11-13 Thread Nirmal Govind
Hallo,

if nirmal does agree, I can try a German translation of this nice
presentation (but with his original English Lyx-version screeshots).
Might be, that we can have it shorter than in a few years ;-)
Oh sure... that would be great Bernhard... thanks! Let me know if I can 
help in any way (other than with the German of course.. :-))..

nirmal



Re: Presentation on LyX/LaTeX

2003-11-13 Thread M.B. Schiekel
Nirmal Govind wrote:

 http://www.personal.psu.edu/nug107/lyx/LyX_PSU_LUG.tar.gz
 
 It has the pdfscreen2.sty file,  pdfscreen.layout for lyx and of course
 the lyx and graphics files...

well, I put the pdfscreen.layout in \usr\share\lyx\layouts
and the pdfscreen2.sty in \usr\share\lyx\tex
then run 'texhash' and 'lyx-reconfigure'
and then got an errormessage: unknown textclass pdfscreen
??

thank you -
bernhard


-- 
http://home.t-online.de/home/mb.schiekel/
GPG-Key available: GnuPG v1.0.7



Re: Presentation on LyX/LaTeX

2003-11-13 Thread Nirmal Govind
and the pdfscreen2.sty in \usr\share\lyx\tex
Is the above path defined in your texmf.cnf file? (you can find where 
this file is located by running kpsewhich texmf.cnf).. you probably want 
to put it in your localtexmf directory (say, for e.g. at 
/home/username/texmf/tex/latex/pdfscreen/ or so).. take a look at Help 
- Customization - 5.1 in LyX...

Hopefully this will do it..

nirmal



Re: Presentation on LyX/LaTeX

2003-11-13 Thread Angus Leeming
M.B. Schiekel wrote:

 Nirmal Govind wrote:
 
 http://www.personal.psu.edu/nug107/lyx/LyX_PSU_LUG.tar.gz
 
 It has the pdfscreen2.sty file,  pdfscreen.layout for lyx and of
 course the lyx and graphics files...
 
 well, I put the pdfscreen.layout in \usr\share\lyx\layouts
 and the pdfscreen2.sty in \usr\share\lyx\tex
 then run 'texhash' and 'lyx-reconfigure'
 and then got an errormessage: unknown textclass pdfscreen
 ??

Does texhash know to search the \usr\share\lyx\tex directory? 
Alternatively, did you run texhash from this directory?

All I can say is that it worked for me ;-)


-- 
Angus



Installation directory

2003-11-13 Thread Rich Shepard
  I seem to have version 1.3.3 installed in both /usr and /usr/local. When I
locate *.layout I find the same files -- same file size, too -- in both
/usr/share/lyx and /usr/local/share/lyx. I believe that /usr/local/ is where
it should be.

  Which is the proper directory, please? I'll remove the duplicate.

Thanks,

Rich

Dr. Richard B. Shepard, President

   Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com
 http://www.appl-ecosys.com/


Re: Installation directory

2003-11-13 Thread John Levon
On Thu, Nov 13, 2003 at 09:05:06AM -0800, Rich Shepard wrote:

   I seem to have version 1.3.3 installed in both /usr and /usr/local. When I
 locate *.layout I find the same files -- same file size, too -- in both
 /usr/share/lyx and /usr/local/share/lyx. I believe that /usr/local/ is where
 it should be.
 
   Which is the proper directory, please? I'll remove the duplicate.

There is no proper directory as such, but if you installed an RPM or
other package, it should be in /usr, but if you compiled from source,
/usr/local.

But this is really a good practice thing more than anything else.

regards
john

-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.


Re: Installation directory

2003-11-13 Thread Matej Cepl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rich Shepard wrote:
   Which is the proper directory, please? I'll remove the
   duplicate.

While John Levon answered correctly that there is no proper
directory, I would add that what really matters is which LyX
you use and probably the other one should be get rid off. To
find what you use, try 'which lyx' in xterm. Possibly you have
installed older version from rpm/deb package and then you
compiled the newer version on your own, haven't you? If it is
so, uninstall the package (with rpm -e, apt-get purge, whatever)
and use just your compiled version.

Matej

- -- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/s9Rn4J/vJdlkhKwRAhvvAJ9cuolX+XIEa1nagUOHDDxdUDmCzACeNv1s
+igVMnQWmskFEWxAwezPUdU=
=g5IP
-END PGP SIGNATURE-



Re: Simple (?) printer setup trouble ...

2003-11-13 Thread Paul A. Rubin
Alfredo Braunstein [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]: 

 Soren O'Neill wrote:
 
 No exporting (from lyx) to postscript fails: Cannot convert file.
 Error while executing dvi2ps -t a4
 
 I'm not sure, but I think that message is consistent with inability
 to find (or open) the DVI file.
 
 Wasn't his program called dvips, *not* dvi2ps? Soren: you probably
 need changing as well you export filter definition inside lyx from
 dvi2ps to dvips...

No, Soren's system has dvi2ps (and not dvips).  *My* system uses dvips.  
Sorry for the confusion.

-- Paul



Re: Simple (?) printer setup trouble ...

2003-11-13 Thread Paul A. Rubin
[posted and mailed]

Soren O'Neill [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]:
 Just tried to print the DVI from a DVI viewer, it complains that:
 The external program 'dvips', which was used to export the file,
 reported an error. You might wish to look at the document info dialog
 which you will find in the File-Menu for a precise error report
 
 ?

I suspect this is a configuration issue with your DVI viewer.  There should 
be a setup option someplace telling it what program to use to convert the 
DVI file to Postscript.  If you can find that option and change it from 
dvips to dvi2ps, hopefully printing will work. 

-- Paul



Re: Simple (?) printer setup trouble ...

2003-11-13 Thread Paul A. Rubin
[posted and mailed]

Soren O'Neill [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]:

 Paul A. Rubin wrote:
 
 Start LyX, open a document, either print it or try to export it to
 PS, then (without closing LyX or the document) check the temp
 directory LyX is using for that document.  Is the DVI file there?  If
 so, what's its name?  If not, is there a .tex file there?
 
 I find a directory in /tmp called lyc_tmpdir/lyx_tmpbuf0/
 Before printing its empty. After trying to print it contains:
 
 protocol_0.2.aux  protocol_0.2.blg  protocol_0.2.log 
 protocol_0.2.tex.dep protocol_0.2.bbl  protocol_0.2.dvi 
 protocol_0.2.tex 
 
 (my document is called protocol_0.2)
 I can open up the DVI fine and it looks just fine...

Ok, this seems to be narrowing the problem down somewhat.  We know that 
latex is running successfully, and that the DVI file exists where it 
should.  The problem apparently lies in the setup of the call to dvi2ps.
 
 
 One other thing:  does the log file indicate that latex.exe was able
 to process the source file ok?  (If latex.exe didn't produce a DVI
 file, that would explain things.)
 
 Well it does seem to produce a DVI file alright, is it the path to my
 printer which is set wrong ?
 As mentioned in Lyx/Preferences/Printer, the Printer Command is set to
 dvi2ps
 
 I have tried to change it to lp, lp0, lpr and hp1300n (my printer
 name) - no success ...
 

I don't think it's the path to dvi2ps, because that appeared to run in an 
earlier test.  In a previous post, you said you got the following error 
message while trying to print:

 dvi2ps: FATAL-- can't find DVI file 6499i.dvi

I interpret that to mean that dvi2ps was started by LyX (which in 
particular means that LyX was able to find dvi2ps), but that it was given 
an incorrect name for the DVI file (or else was not given the correct 
path to the DVI file).

At this point, I probably should ask what operating system you're using.  
The next two things I suggest are:

1.  In Edit | Preferences | Converters, make sure DVI-Postscript is set 
to dvi2ps -o $$o $$i.  Then repeat the experiment you did above, check 
the temporary directory (as above) to verify that the DVI file was 
written, and see if the Postscript file was written there.  Report back 
any error message you get.  I know you tried exporting once before, but 
I'm not sure it was the same file.  Use protocol_0.2 again, so that we 
know the document itself is not the source of any problems.

2.  If dvi2ps issues an I-can't-find-the-DVI-file error message again, 
then I suggest writing a script that will just echo its arguments to the 
screen, making that your converter, and repeating the experiment.  That 
will tell us what path and file name LyX is giving to dvi2ps.

-- Paul



Re: Simple (?) printer setup trouble ...

2003-11-13 Thread Alfredo Braunstein
Paul A. Rubin wrote:

 dvi2ps: FATAL-- can't find DVI file 6499i.dvi
 
 I interpret that to mean that dvi2ps was started by LyX (which in
 particular means that LyX was able to find dvi2ps), but that it was given
 an incorrect name for the DVI file (or else was not given the correct
 path to the DVI file).

The problem seems to be the shell translating $$ to the process id 6499, and
leaving the i untouched. I.e., LyX in not translating $$i, but handing the
string $$i to dvi2ps.

Soren, what happend if you put simply dvi2ps instead of dvi2ps $$i as
the printer command?

Alfredo




Re: Simple (?) printer setup trouble ...

2003-11-13 Thread Soren O'Neill
Paul A. Rubin wrote:

 [posted and mailed]
 
 Soren O'Neill [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]:
 
 Paul A. Rubin wrote:
 
 Start LyX, open a document, either print it or try to export it to
 PS, then (without closing LyX or the document) check the temp
 directory LyX is using for that document.  Is the DVI file there?  If
 so, what's its name?  If not, is there a .tex file there?
 
 I find a directory in /tmp called lyc_tmpdir/lyx_tmpbuf0/
 Before printing its empty. After trying to print it contains:
 
 protocol_0.2.aux  protocol_0.2.blg  protocol_0.2.log
 protocol_0.2.tex.dep protocol_0.2.bbl  protocol_0.2.dvi
 protocol_0.2.tex
 
 (my document is called protocol_0.2)
 I can open up the DVI fine and it looks just fine...
 
 Ok, this seems to be narrowing the problem down somewhat.  We know that
 latex is running successfully, and that the DVI file exists where it
 should.  The problem apparently lies in the setup of the call to dvi2ps.
 
 
 One other thing:  does the log file indicate that latex.exe was able
 to process the source file ok?  (If latex.exe didn't produce a DVI
 file, that would explain things.)
 
 Well it does seem to produce a DVI file alright, is it the path to my
 printer which is set wrong ?
 As mentioned in Lyx/Preferences/Printer, the Printer Command is set to
 dvi2ps
 
 I have tried to change it to lp, lp0, lpr and hp1300n (my printer
 name) - no success ...
 
 
 I don't think it's the path to dvi2ps, because that appeared to run in an
 earlier test.  In a previous post, you said you got the following error
 message while trying to print:
 
 dvi2ps: FATAL-- can't find DVI file 6499i.dvi
 
 I interpret that to mean that dvi2ps was started by LyX (which in
 particular means that LyX was able to find dvi2ps), but that it was given
 an incorrect name for the DVI file (or else was not given the correct
 path to the DVI file).
 
 At this point, I probably should ask what operating system you're using.
 The next two things I suggest are:
 
 1.  In Edit | Preferences | Converters, make sure DVI-Postscript is set
 to dvi2ps -o $$o $$i.  Then repeat the experiment you did above, check
 the temporary directory (as above) to verify that the DVI file was
 written, and see if the Postscript file was written there.  Report back
 any error message you get.  I know you tried exporting once before, but
 I'm not sure it was the same file.  Use protocol_0.2 again, so that we
 know the document itself is not the source of any problems.
 
 2.  If dvi2ps issues an I-can't-find-the-DVI-file error message again,
 then I suggest writing a script that will just echo its arguments to the
 screen, making that your converter, and repeating the experiment.  That
 will tell us what path and file name LyX is giving to dvi2ps.
 
 -- Paul

When I start LyX from the CLI, it creates a folder in /tmp called 
lyx_tmpdir173890IKUef which is empty.
When I open protocol_0.2, it creates a folder inside
/tmp/lyx_tmpdir173890IKUef which is empty.
When I try to print protocol_2, it creates the following 7 files:
protocol_0.2.aux  protocol_0.2.blg  protocol_0.2.log  protocol_0.2.tex.dep
protocol_0.2.bbl  protocol_0.2.dvi  protocol_0.2.tex
... thus far all is well (I guess...)

LyX preferences are set as :
Converters (DVI-Postscript): dv2ips -o $$o $$i 
(the letter o, not the digit 0)
Output/Printer: Printer name: hp1300n
Adapt output (not ticked)
Printer command: dvi2ps $$i
The command options are as follows:
-B  -A
-pp -C
-c  -t landscape
-r  -o
-P  
.ps -d
lp  -T
-t

Printing fra lyx fails however, with the following CLI output:
This is BibTeX, Version 0.99c (Web2C 7.3.1)
The top-level auxiliary file: protocol_0.2.aux
The style file: /home/soren/Master_rehab/vancouver.bst
Database file #1: /home/soren/Master_rehab/referencer.bib

dvi2ps: FATAL-- can't find DVI file 17397i.dvi

If I open protocol_0.2 in the DVI viewer it looks just fine, but trying to
print fails. The following is found in Document Info / External Programs:
Export: '/tmp/lyx_tmpdir173890IKUef/lyx_tmpbuf0/protocol_0.2.dvi' to
PostScript

/bin/bash: line 1: dvips: command not found

If I goto the CLI and run: dvi2ps protocol_0.2.dvi - prot.ps
I get the following output: 
@(#)dvi2ps (j-version) 2.0j
[/usr/lib/dvi2ps/dvi2.ps]
Prescanning .No font file for ecrm1440 (mag 1000)
(use -d option to know the font file names tried)
No font file for ecsx2074 (mag 1000)
(use -d option to know the font file names tried)
.No font file for ecrm1095 (mag 1000)
(use -d option to know the font file names tried)
No font file for ecsx1440 (mag 1000)
(use -d option to know the font file names tried)
..No font file for cmsy10 (mag 1095)
(use -d option to know the font file names tried)
..No font file for ecsx1200 (mag 1000)
(use -d 

Re: Simple (?) printer setup trouble ...

2003-11-13 Thread Soren O'Neill
Alfredo Braunstein wrote:

 Paul A. Rubin wrote:
 
 dvi2ps: FATAL-- can't find DVI file 6499i.dvi
 
 I interpret that to mean that dvi2ps was started by LyX (which in
 particular means that LyX was able to find dvi2ps), but that it was given
 an incorrect name for the DVI file (or else was not given the correct
 path to the DVI file).
 
 The problem seems to be the shell translating $$ to the process id 6499,
 and leaving the i untouched. I.e., LyX in not translating $$i, but handing
 the string $$i to dvi2ps.
 
 Soren, what happend if you put simply dvi2ps instead of dvi2ps $$i as
 the printer command?
 
 Alfredo
...makes no difference, but look at my other reply to Paul ...

Soren



Re: LyX .layout from LaTeX .cls

2003-11-13 Thread Rich Shepard
On Thu, 13 Nov 2003, Juergen Spitzmueller wrote:

 Judging from a quick glance at
 http://194.94.42.14/tex/latex/engigl/mono/refguide.pdf
 you should get a working layout if you just copy and rename the book layout
 for a start (as described in Customization). You`ll probably need some ERT
 if you want/need to use springer's additional environments like
 \begin{petit}... etc. If you feel like it, you can of course also add these
 environments to the layout file (but you're not forced to).

Juergen,

  Thanks to you, Ingar Pareliussen, Matej, Ronald and the others it's all
working and I understand better what goes on behind the GUI in LyX.

 I bet you'll be done in 30 minutes.

  Well, ... about a minute.

  After copying the book.layout to svmono.layout, I copied the svmono.cls to
both directories where there are other .cls files. Changed the class
reference in svmono.layout to svmono from book. Ran texhash and reconfigure
and ... ta da! It works like a charm.

Rich

Dr. Richard B. Shepard, President

   Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com
 http://www.appl-ecosys.com/


Re: Installation directory

2003-11-13 Thread Rich Shepard
On Thu, 13 Nov 2003, John Levon wrote:

 There is no proper directory as such, but if you installed an RPM or
 other package, it should be in /usr, but if you compiled from source,
 /usr/local.

 But this is really a good practice thing more than anything else.

john,

  Thanks. I want it in /usr/local because it's an application that does not
need to be changed when the OS is upgraded.

Rich

Dr. Richard B. Shepard, President

   Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com
 http://www.appl-ecosys.com/


Re: Presentation on LyX/LaTeX

2003-11-13 Thread M.B. Schiekel
Nirmal Govind wrote:

 Is the above path defined in your texmf.cnf file? 
 ... 
 Hopefully this will do it..


well, I installed pdfscreen.layout global, so I had to change the file
permission of your pdfscreen.layout from 600 - 644, now everything is
fine - thank you very much, nirmal

() bernhard


-- 
http://home.t-online.de/home/mb.schiekel/
GPG-Key available: GnuPG v1.0.7



How to change the label theorem?

2003-11-13 Thread Paul Smith
Dear All

I am using AMS article document class and I would like to replace the label
theorem (in the DVI file) by the French corresponding one. I tried to
change it in amsmaths.inc, but I cannot find therein the proper place to
operate the replacement. Could somebody here please help me?

Thank you a lot in advance!

Paul


lyx to html ??

2003-11-13 Thread SARIN Supheakmungkol
Hello 

I am a newbie to Lyx I got a problem in converting a text that i 
write in French to the HTML format
The problem is some characters such as é, è, à is badly converted to 
HTML

Please help me ...

Thanks...






Re: LyX .layout from LaTeX .cls

2003-11-13 Thread Matej Cepl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rich Shepard wrote:
 Thanks to you, Ingar Pareliussen, Matej, Ronald and the others
 it's all working and I understand better what goes on behind
 the GUI in LyX.

You're welcome!

Happy LyXing!

Matej

- -- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/tFw14J/vJdlkhKwRArNYAJ9oIGJTZJ2JvOa3s9WXD1D4/zf3cwCfcyYT
eDFBYCG7Yh9PXMRgKFm1BL8=
=5hQ6
-END PGP SIGNATURE-



linuxdoc

2003-11-13 Thread John O'Gorman
Trying the article(linuxdoc) option, I get 2 distinct problems. Before 
delving deeper into them can anyone offer suggestions.

1. Runs OK as root but will not produce a .dvi file as a normal user.
   The problem seems to be missing .pk files. Presumably a permission 
problem or something wrong with my configuration.

2. The .dvi produced
  a. is ugly. Big bold headings (sans serif), deep indenting, 
unproportionately small type for normal text. (this is probably related 
to missing fonts above). Maybe I have been spoilt by LyX's normally 
superb typesetting.

  b. Does not conform to the description in the LyX Exended Features 
manual. In particular, there is no thick line under the page headers. 
This would seem to be a stylesheet issue.

My system: SuSE 8.0, LyX 1.3.2 (xforms)

Installed RPMs: sgml-skel-0.2-122, sgmltoo1-1.0.9-505, sgmltools-3.0.2-367

Somewhat perversely, I have found a table I created did come out OK 
(despite an earlier email saying this was unsupported).

Hope someone can shed some light on this.

John O'Gorman



Re: Simple (?) printer setup trouble ...

2003-11-13 Thread Alfredo Braunstein
Soren O'Neill wrote:

>>> No exporting (from lyx) to postscript fails: Cannot convert file.
>>> Error while executing dvi2ps -t a4
>> 
>> I'm not sure, but I think that message is consistent with inability to
>> find (or open) the DVI file.

Wasn't his program called dvips, *not* dvi2ps? Soren: you probably need
changing as well you export filter definition inside lyx from dvi2ps to
dvips...

> Just tried to print the DVI from a DVI viewer, it complains that:
> The external program 'dvips', which was used to export the file, reported
> an error. You might wish to look at the document info dialog which you
> will find in the File-Menu for a precise error report

And what does the "document info dialog which you will find in the
File-Menu" of your dvi viewer says?

Alternatively, run dvips manually on the .dvi file (the one on the tmp dir,
or else export to dvi first) and look at the errors.

Regards, Alfredo




Re: Working with LaTeX macros and copy editors

2003-11-13 Thread Andre Poenitz
On Wed, Nov 12, 2003 at 01:12:51PM -0800, Rich Shepard wrote:
> On Wed, 12 Nov 2003, Rich Shepard wrote:
> 
> >   A major publisher (Springer-Verlag New York) notified me yesterday that
> > they want to publish my book. They have a bunch of LaTeX macros they want me
> > to use in the preparation of the camera-ready copy. (Their Web site has a
> > link to a non-existent directory and file so I'm waiting for them to point
> > me to the right place.) And, the copy editor will be working with me on copy
> > I send him/her.
> 
>   Progress ... of a sort. I now have the LaTeX svmono.cls file. Reading the
> LyX Customization Guide I find that this leaves me swinging in the breeze
> compared with having a .sty with which to work. Sigh.
> 
>   I'm certainly willing to provide the final .layout file for inclusion by
> any and all who want to use it. But, I'd sure like some experienced
> assistance as I modify the 'book.layout' to the new 'svmono.layout'.

Well, simply ask specific question as soon as you tun into some problem.
For starters, copying book.layout to svmono.layout and adjusting the
comment in the header should help. Don't forget to Edit->Reconfigure
afterwards.

Andre'


  1   2   >