Re: Problem with XFig and LyX 1.04 docs

1999-10-22 Thread Alexander Wollmann


On 22-Oct-99 Lars Gullik Bjønnes wrote:
 Bruce Momjian [EMAIL PROTECTED] writes:
 
| So I go an include the pstex_t file using Insert/Include file, and I
| click on the Input radio button and put the filename in.
 
 Ok...can you have a look at the latex log file Edit-LaTeX Log
 
 And see if some missing/not found files are mentioned.
 
   Lgb


I had the same problem here, the solution was to use an absolute filename:

look in the .pstex_t file and find the line 
\special{psfile=foo.pstex} ; or something like this...

then edit the filename, and give the full path to the file e.g.

\special{psfile=/home/blabla/foo.pstex}



Hope this helps,

Greets,
Alex.

---
Alexander Wollmann
Universität Freiburg,
Abteilung Elementar-Mathematik und Didaktik der Mathematik

E-Mail: Alexander Wollmann [EMAIL PROTECTED]
Date: 22-Oct-99
Time: 09:36:31

This message was sent by XFMail
---



Re: Euro - Symbol?

1999-10-22 Thread Jean-Marc Lasgouttes

 "Alexander" == Alexander Wollmann [EMAIL PROTECTED] writes:

Alexander Hi everybody! I am searching a package wich provides the
Alexander new European Euro - Symbol.

Go to: http://www.ctan.org/find.html

and type 'euro' in 'Search the Catalogue For a Keyword'.

People should really be aware of the LaTeX catalogue (present on any
CTAN site). This is really a wonderful tool.

JMarc



Unwanted pagenumbering in Contents (report class).

1999-10-22 Thread Christian Ridderström

Hi LyX-users

I'm writing a technical report, using the class: report.
How can I remove the pagenumber from the 'Contents'-pages? (I've tried
using \thispagestyle{empty}, but it doesn't work).

Alternatively, how can I let the Contents-pages use roman numerals (I,
II, III, ...) and the rest of the report arabic, starting with 1.

y.s.

Christian Ridderström



Extra blank page to achieve odd pagenumber

1999-10-22 Thread Christian Ridderström

Hi LyX-users

1. How can I make LyX/TeX insert an extra blank page, so that chapters
always begin on an odd pagenumber?

2. Using the 'Paragraph properties', should perhaps allow one to do this
feature in future versions of lyX.

I'm using the 'report'-class.

y.s.

Christian Ridderström



Re: Unwanted pagenumbering in Contents (report class).

1999-10-22 Thread Herbert

Christian Ridderström wrote:
 
 Hi LyX-users
 
 I'm writing a technical report, using the class: report.
 How can I remove the pagenumber from the 'Contents'-pages? (I've tried
 using \thispagestyle{empty}, but it doesn't work).

\thispagestyle{empty} works only for one page!

try \pagestyle{empty}

 Alternatively, how can I let the Contents-pages use roman numerals (I,
 II, III, ...) and the rest of the report arabic, starting with 1.

\pagenumbering{Roman}  for I,II,...
\pagenumbering{roman}  for i,i,...
\pagenumbering{arabic} 

the counter always starts at 1.

Herbert


-- 
[EMAIL PROTECTED]
http://www.educat.hu-berlin.de/~voss



Re: Extra blank page to achieve odd pagenumber

1999-10-22 Thread Jean-Marc Lasgouttes

 "Alex" == Alex  [EMAIL PROTECTED] writes:

Alex Jean-Marc Lasgouttes wrote:
  "Christian" == Christian Ridderström [EMAIL PROTECTED]
 writes:
 
Christian Hi LyX-users 1. How can I make LyX/TeX insert an extra
Christian blank page, so that chapters always begin on an odd
Christian pagenumber?

Christian 2. Using the 'Paragraph properties', should perhaps allow
Christian one to do this feature in future versions of lyX.
  Did you try to set your report to 'two sides' in Layout-Document?
 

Alex You can try with the /cleardoublepage command in TeX mode.

Why? 'two sides' setting takes care of that very well. Otherwise, it
is a bug.

JMarc



Re: Extra blank page to achieve odd pagenumber

1999-10-22 Thread Jean-Marc Lasgouttes

 "Christian" == Christian Ridderström [EMAIL PROTECTED] writes:

Christian Hi LyX-users 1. How can I make LyX/TeX insert an extra
Christian blank page, so that chapters always begin on an odd
Christian pagenumber?

Christian 2. Using the 'Paragraph properties', should perhaps allow
Christian one to do this feature in future versions of lyX.

Did you try to set your report to 'two sides' in Layout-Document?

JMarc



Re: Extra blank page to achieve odd pagenumber

1999-10-22 Thread Alex

Jean-Marc Lasgouttes wrote:

  "Alex" == Alex  [EMAIL PROTECTED] writes:

 Alex Jean-Marc Lasgouttes wrote:
   "Christian" == Christian Ridderström [EMAIL PROTECTED]
  writes:
 
 Christian Hi LyX-users 1. How can I make LyX/TeX insert an extra
 Christian blank page, so that chapters always begin on an odd
 Christian pagenumber?
 
 Christian 2. Using the 'Paragraph properties', should perhaps allow
 Christian one to do this feature in future versions of lyX.
   Did you try to set your report to 'two sides' in Layout-Document?
 

 Alex You can try with the /cleardoublepage command in TeX mode.

 Why? 'two sides' setting takes care of that very well. Otherwise, it
 is a bug.


Sorry!

alex



Re: Extra blank page to achieve odd pagenumber

1999-10-22 Thread Alex

Jean-Marc Lasgouttes wrote:

  "Christian" == Christian Ridderström [EMAIL PROTECTED] writes:

 Christian Hi LyX-users 1. How can I make LyX/TeX insert an extra
 Christian blank page, so that chapters always begin on an odd
 Christian pagenumber?

 Christian 2. Using the 'Paragraph properties', should perhaps allow
 Christian one to do this feature in future versions of lyX.

 Did you try to set your report to 'two sides' in Layout-Document?


You can try with the /cleardoublepage command in TeX mode.

Alessandro





Re: Extra blank page to achieve odd pagenumber

1999-10-22 Thread Jean-Pierre.Chretien


To: lyx mailing list [EMAIL PROTECTED]
Subject: Re: Extra blank page to achieve odd pagenumber
From: Jean-Marc Lasgouttes [EMAIL PROTECTED]
Date: 22 Oct 1999 14:53:29 +0200

 "Alex" == Alex  [EMAIL PROTECTED] writes:

Alex Jean-Marc Lasgouttes wrote:
  "Christian" == Christian Ridderström [EMAIL PROTECTED]
 writes:
 
Christian Hi LyX-users 1. How can I make LyX/TeX insert an extra
Christian blank page, so that chapters always begin on an odd
Christian pagenumber?

Christian 2. Using the 'Paragraph properties', should perhaps allow
Christian one to do this feature in future versions of lyX.
  Did you try to set your report to 'two sides' in Layout-Document?
 

Alex You can try with the /cleardoublepage command in TeX mode.

Why? 'two sides' setting takes care of that very well. Otherwise, it
is a bug.

JMarc

For a book, twoside is enough.
For a report, you must type « openright » in the extra options field of
the Layout-Document
(the default option of report class is « openany »).
In any circumstances, yous should always prefer global solutions to local ones, so
that \cleardoublepage is not a good workaround unless you want a local blank
even page.

Regards

-- 
Jean-Pierre




AW: Some layout problem

1999-10-22 Thread Eyermann Horst PN KE DP T 11

Thanks, it worked using psnup. I had to play around with font sizes in order
to get it looking all right.

Horst

 -Ursprüngliche Nachricht-
 Von:  Juergen Vigna [SMTP:[EMAIL PROTECTED]]
 Gesendet am:  Donnerstag, 21. Oktober 1999 11:51
 An:   Eyermann Horst PN KE DP T 11
 Cc:   [EMAIL PROTECTED]
 Betreff:  RE: Some layout problem
 
 Hi Horst!
 
 On 21-Oct-99 Eyermann Horst PN KE DP T 11 wrote:
  Hello,
  I try to print some small document (a short story), which I would like
 to
  layout on a landscape A4 page, with 4 columns (2 columns on two A5
 sheets,
  printed on one A4 page ?).
  
  So far I did not manage to find a solution on which tools to use, and
 how to
  do it. 
 
 I hope you can print this on A4 portrait 2 columns and it produces 2
 pages? Now you just want to put this 2 pages on one A4 is that correct?
 
 This you can do by exporting the file in Postscript and then using:
 
 psnup -2 myfile.ps newfile.ps
 
 Should work. You have to install psutils thought if you don't have them!
 
 Greets Jürgen
 
 -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
 
 Dr. Jürgen Vigna  E-Mail: [EMAIL PROTECTED]
 Gerbergasse 60Tel:+39-0471-450260
 I-39100 Bozen Fax:+39-0471-970042
 ITALY Web:http://www.sad.it/~jug
 
 We don't really understand it, so we'll give it to the programmers.
 
 -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._



Re: Problem with XFig and LyX 1.04 docs

1999-10-22 Thread Mate Wierdl


   I go into xfig with option -specialtext.  I draw a rectangle, and put
   some words inside.  I save the figure as test.fig, and I then export as
   PS/LaTeX combined to file test.pstex and test.pstext_t.

Now use Insert- Input, and input test.pstext_t.  Include can be used
only for files with .tex extension.  If you want to use include, you
need to rename test.pstext_t to say test.pstext_t.tex.  

The difference between input and include is (besides that include does
not accept non .tex extensions) that include starts a new page.

In my opinion, if you use LyX, it is best to export the figure to eps,
and then use Insert - Figure.  This is more flexible, because you can
specify what to do with the inserted figure.  Unless you know TeX, you
will not know how to manipulate test.pstext_t.  

If you have a figure you want to put on a separate page, then
exporting to PS/LaTeX combined is a good idea.


I agree that the User guide is not clear on this issue.  In particular,
it does not make the distinction between input and include.  Normally,
they always mean "input" when they say "include" a latex doc.

Mate



Re: Help on Internationalisation

1999-10-22 Thread Osvaldo Fornaro

[EMAIL PROTECTED] wrote:

 Provided that you are using locale.alias file identical to the one
 from X11R6...

 Osvaldo Fornaro [EMAIL PROTECTED] wrote:

  LANG=ES

 The correct value is "es".  (Observe the case.)

 Alexander Wollmann [EMAIL PROTECTED] wrote:

  LANG=de_DE.ISO-8859-1

 The correct value is "de_DE.ISO8859-1".  (Observe the missing hyphen)

 Since these posters use 1.0.4 and 1.0.3 respectively, localedir is not
 the problem.

 Regards,
 SMiyata

Thank you very much, really. LyX is working with menus in spanish now.

Osvaldo Fornaro.



Re: Problem with XFig and LyX 1.04 docs

1999-10-22 Thread Bruce Momjian

 
I go into xfig with option -specialtext.  I draw a rectangle, and put
some words inside.  I save the figure as test.fig, and I then export as
PS/LaTeX combined to file test.pstex and test.pstext_t.
 
 Now use Insert- Input, and input test.pstext_t.  Include can be used
 only for files with .tex extension.  If you want to use include, you
 need to rename test.pstext_t to say test.pstext_t.tex.  

But I did:

So I go an include the pstex_t file using Insert/Include file, and I
click on  the Input radio button and put the filename in.

and only got the text, not the figure.

 
 The difference between input and include is (besides that include does
 not accept non .tex extensions) that include starts a new page.
 
 In my opinion, if you use LyX, it is best to export the figure to eps,
 and then use Insert - Figure.  This is more flexible, because you can
 specify what to do with the inserted figure.  Unless you know TeX, you
 will not know how to manipulate test.pstext_t.  

Agreed.

-- 
  Bruce Momjian|  http://www.op.net/~candle
  [EMAIL PROTECTED]|  (610) 853-3000
  +  If your life is a hard drive, |  830 Blythe Avenue
  +  Christ can be your backup.|  Drexel Hill, Pennsylvania 19026



Re: Bibliography

1999-10-22 Thread Osvaldo Fornaro

Alex wrote:

 Jacques Germishuizen wrote:

 
  In my document the last part is the 'Bibliography' and this is also the
  chapter heading.  However I would like it to be 'References'.  How can I
  change this?

 I suggest to put in the Latex preamble the following command:

 \renewcommand\bibname{References}

 but I guess there is a better way to do that. Any other suggest?

 Alessandro

Hi,

In addition, you could add
\addcontentsline{toc}{chapter}{References} in the first \bibitem to
force that References appear in TOC and
\markboth{References} {References}   for the heading

Osvaldo Fornaro





Re: Problem with XFig and LyX 1.04 docs

1999-10-22 Thread Mate Wierdl


   I go into xfig with option -specialtext.  I draw a rectangle, and put
   some words inside.  I save the figure as test.fig, and I then export as
   PS/LaTeX combined to file test.pstex and test.pstext_t.

Now use Insert- Input, and input test.pstext_t.  Include can be used
only for files with .tex extension.  If you want to use include, you
need to rename test.pstext_t to say test.pstext_t.tex.  
   
   But I did:
   
So I go an include the pstex_t file using Insert/Include file, and I
click on  the Input radio button and put the filename in.
   
   and only got the text, not the figure.
   
Above you said you got two files, test.pstex and test.pstext_t.
Again, what you need to do:

mv test.pstext_t test.pstext_t.tex

and then use Insert/Include  to include test.pstext_t (do not write
the .tex extension).  When you preview, you should see the figure in
the doc.  If view dvi does not work properly (it happens with
complicated included figures), use view postscript.

Do you have 

\usepackage{epsfig} 

in your latex preamble (using Layout - LaTeX Preamble)?

Mate



included files

1999-10-22 Thread Mate Wierdl

Guys,

Any included file has to be in the same dir as the lyx doc you are
including it into.  So all files exported from xfig needs to be in the
current dir.  The current dir is always searched for input files
unless you messed up your texinputs path.

Mate



Re: Problem with XFig and LyX 1.04 docs

1999-10-22 Thread Bruce Momjian

 
I go into xfig with option -specialtext.  I draw a rectangle, and put
some words inside.  I save the figure as test.fig, and I then export as
PS/LaTeX combined to file test.pstex and test.pstext_t.
 
 Now use Insert- Input, and input test.pstext_t.  Include can be used
 only for files with .tex extension.  If you want to use include, you
 need to rename test.pstext_t to say test.pstext_t.tex.  

But I did:

   So I go an include the pstex_t file using Insert/Include file, and I
   click on  the Input radio button and put the filename in.

and only got the text, not the figure.

 Above you said you got two files, test.pstex and test.pstext_t.

Yes.

 Again, what you need to do:
 
 mv test.pstext_t test.pstext_t.tex

Yikes.  I never did that.  Strange thing is that is seem to work either
way.  I get only the words if it called test.pstex_t or
test.pstex_t.tex.  I put in test.pstex_t each time, and use Input.


 
 and then use Insert/Include  to include test.pstext_t (do not write
 the .tex extension).  When you preview, you should see the figure in
 the doc.  If view dvi does not work properly (it happens with
 complicated included figures), use view postscript.
 
 Do you have 
 
 \usepackage{epsfig} 

Yes, I added that but it did not help.

Very weird.

-- 
  Bruce Momjian|  http://www.op.net/~candle
  [EMAIL PROTECTED]|  (610) 853-3000
  +  If your life is a hard drive, |  830 Blythe Avenue
  +  Christ can be your backup.|  Drexel Hill, Pennsylvania 19026



enumerate bug in 1.04 and earlier?

1999-10-22 Thread Richard A. Bilonick

When using lyx 1.04 and earlier versions, I am getting a strange problem
with enumerate. This has happened with two documents and I tried version
1.04 on Linux, a version on HP and another version on SGI Irix. The
numbering goes 1, 2, 3, 4, etc. But the 3 for paragraph 3 is missing and
for paragraph 4 BOTH the 3 and 4 show up, one on top of the other.
Everything looks perfect in lyx. But when you create the Postscript file,
you see the problem and it prints the same way. I have gone into the
Postscript code and fiddled around to fix it but it is very time
consuming because I'm doing it by trial and error.

Is the a fix or work around for this problem? I would be happy to send
the document (its only 2 pages).

Rick Bilonick



Formatting of multiline equations

1999-10-22 Thread Tom Crane

Dear All,
I am having difficulty formatting  justifying multiline equations
in LyX (1.0.4). I want to spead across, say, 3 lines, an equation
containing at least one nested level of parentheses. eg. Illustrating my
point using the fixed font of this mailer I am trying to get something
like,

f(x) = x*2 (z+3{aterm + 
another_term + 
a_third term})

I would like to make Latex use a 'largish' round-bracket  brace - as it
would if my equation was all on a single line. How can I do this?? 

TIA 
Tom.
-- 

Tom Crane, Dept. Physics, Royal Holloway, University of London, Egham
Hill, Egham, Surrey, TW20 0EX, England.  Email:  
[EMAIL PROTECTED] or [EMAIL PROTECTED] SPAN:  19.875 Fax:  
01784 472794



Keep in touch.

1999-10-22 Thread jmaxwell8

Want to keep in touch with old friends from school?
The Gradfinder website is the perfect place to do just that.

On Gradfinder you can search for friends, add your
current contact info, a current photo, and details
about what you are up to these days. You can update
your info at any time after that. All changes happen
immediately. There are also message boards you can use
to help organize reunions. You can use our photo album
wizard to create online albums to share with friends
and family.

There are currently over 100,000 schools listed from
grade 1 to university from 60 countries around the world.

This service is free so check it out!

This site can be found at:

http://www.gradfinder.com




RE: Formatting of multiline equations

1999-10-22 Thread Mr. Geepus the Sweeper

Hi...

On 22-Oct-99 Tom Crane wrote:

 f(x) = x*2 (z+3{aterm + 
 another_term + 
 a_third term})
 
 I would like to make Latex use a 'largish' round-bracket  brace - as it
 would if my equation was all on a single line. How can I do this?? 

You should be able to achieve something of the sort by doing this:

1.  In the Math Editor, type out "f(x)=x*2" (or \times or \cdot or
whatever).

2.  Now, go to the Math Panel and open the Delimiters dialog; set the left
and right delimiters to whatever you need, and hit Ok.

3.  Within the delimiters you just inserted, insert a Matrix with however
many rows and columns you want... in your example above, you'd probably want
two columns so you could left-justify your terms, but you could just use one
column if you're not picky.  The delimiters will grow to surround the entire
matrix.  You can even nest matrices; they look odd in LyX, but the printed
output will still be nice.

Have fun,


---
// Carl Hudkins ]=[ ICQ: 5723399 ]=[ PGP: 0x50238d9e
// 
// "I've given up on the whole dating scene.  I've
//  decided to reproduce by asexual cell division."
// --Wally

 PGP signature


Why does TeX style use ~ for space?

1999-10-22 Thread Bruce Momjian

I am wondering why LyX uses the non-wrapping space ~ in TeX-style areas?

I understand in LyX-Code blocks that using the ~ prevents wrapping and
forces the text to appear exactly as you enter it.

However, when you are doing a paragraph, and have a few words of
typewriter output set in TeX-style, the tex will not allow a linebreak
inside the TeX-style area because of the use of ~.

I looked at the code, and paragraph.C seems to be the place where this
happens, but I am not sure which of the two lines to change, and what
ramifications it will have.

OK, here is a patch that does what I needed.  It uses ~ for LyX-Code
environment, but spaces for Tex-Code in other environments.  The test is
to compare the current environment to LyX-Code, and do the ~ only in those
cases.

Also attached is a tex file showing the changed output.  Not the \texttt
text does not use ~.  This change has fixed the cases where I was
getting texttt text in the margins when the texttt string had a few
lines in it.

My guess is that some type of patch for this should be made, though mine
may be too crude.  The LyX code looks quite nice.

-- 
  Bruce Momjian|  http://www.op.net/~candle
  [EMAIL PROTECTED]|  (610) 853-3000
  +  If your life is a hard drive, |  830 Blythe Avenue
  +  Christ can be your backup.|  Drexel Hill, Pennsylvania 19026


*** ./src/paragraph.C.orig  Fri Oct 22 17:11:01 1999
--- ./src/paragraph.C   Fri Oct 22 18:45:39 1999
***
*** 2924,2930 
texrow.start(this, i+1);
column = 0;
} else if (font.latex() == LyXFont::OFF) {
!   if (font.family() == LyXFont::TYPEWRITER_FAMILY) {
file += '~';
} else {
file += ' ';
--- 2924,2931 
texrow.start(this, i+1);
column = 0;
} else if (font.latex() == LyXFont::OFF) {
!   if (font.family() == LyXFont::TYPEWRITER_FAMILY 
!   style-name == "LyX-Code") {
file += '~';
} else {
file += ' ';


%% This LaTeX-file was created by root Fri Oct 22 19:16:25 1999
%% LyX 1.0 (C) 1995-1999 by Matthias Ettrich and the LyX Team

%% Do not edit this file unless you know what you are doing.
\documentclass[11pt,troffms]{article}
\usepackage{palatino}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{geometry}
\geometry{verbose,letterpaper,tmargin=0.25in,bmargin=0in,lmargin=1in,rmargin=1in}

\makeatletter


%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}

%% Textclass specific LaTeX commands.
\newenvironment{lyxcode}
  {\begin{list}{}{
\setlength{\rightmargin}{\leftmargin}
\raggedright
\setlength{\itemsep}{0pt}
\setlength{\parsep}{0pt}
\ttfamily}%
   \item[]}
  {\end{list}}

%% User specified LaTeX commands.
% no page number on first page
\let\realmaketitle=\maketitle
\renewcommand{\maketitle}{\realmaketitle\thispagestyle{empty}}
% allow our calendar to have no footnote mark
\renewcommand{\thefootnote {\null}}

\makeatother

\begin{document}

\texttt{tex-code in standard environment}

\begin{lyxcode}
words~in~lyx-code~env

\end{lyxcode}
\end{document}





Manipulating EPS images in Lyx

1999-10-22 Thread Gerald Gutierrez


Hi all.

I'm thinking of using Lyx to write my master's report. Most here know
why .. it's stable, it's clean, it works well for what it does.

I understand several others have used Lyx to write their theses. What
is an appropriate class to use? Are there classes one can install that
are specialized for this type of document?

Also, I expect to have a moderate about of source code in my
report. Perhaps I'm just ignorant, but even today I cannot figure out
how to incorporate source code properly into a Lyx document. The
Lyx-Code seemed like it might work, but I've found that I can't
control it well. It doesn't "look" right to me. For example, if my
report is double-spaced, is there a way to have the code
single-spaced?  I also can't seem to have tab-indents in
Lyx-Code. Things of that sort. Am I missing something?


Any help would be greatly appreciated.


Thanks very much.







Document Class Latex styles

1999-10-22 Thread Gerald Gutierrez


How do Lyx document classes and Latex styles relate?



Re: Problem with XFig and LyX 1.04 docs

1999-10-22 Thread Alexander Wollmann


On 22-Oct-99 Lars Gullik Bjønnes wrote:
 Bruce Momjian [EMAIL PROTECTED] writes:
 
| So I go an include the pstex_t file using Insert/Include file, and I
| click on the Input radio button and put the filename in.
 
 Ok...can you have a look at the latex log file Edit-LaTeX Log
 
 And see if some missing/not found files are mentioned.
 
   Lgb


I had the same problem here, the solution was to use an absolute filename:

look in the .pstex_t file and find the line 
\special{psfile=foo.pstex} ; or something like this...

then edit the filename, and give the full path to the file e.g.

\special{psfile=/home/blabla/foo.pstex}



Hope this helps,

Greets,
Alex.

---
Alexander Wollmann
Universität Freiburg,
Abteilung Elementar-Mathematik und Didaktik der Mathematik

E-Mail: Alexander Wollmann [EMAIL PROTECTED]
Date: 22-Oct-99
Time: 09:36:31

This message was sent by XFMail
---



Re: Euro - Symbol?

1999-10-22 Thread Jean-Marc Lasgouttes

 "Alexander" == Alexander Wollmann [EMAIL PROTECTED] writes:

Alexander Hi everybody! I am searching a package wich provides the
Alexander new European Euro - Symbol.

Go to: http://www.ctan.org/find.html

and type 'euro' in 'Search the Catalogue For a Keyword'.

People should really be aware of the LaTeX catalogue (present on any
CTAN site). This is really a wonderful tool.

JMarc



Unwanted pagenumbering in Contents (report class).

1999-10-22 Thread Christian Ridderström

Hi LyX-users

I'm writing a technical report, using the class: report.
How can I remove the pagenumber from the 'Contents'-pages? (I've tried
using \thispagestyle{empty}, but it doesn't work).

Alternatively, how can I let the Contents-pages use roman numerals (I,
II, III, ...) and the rest of the report arabic, starting with 1.

y.s.

Christian Ridderström



Extra blank page to achieve odd pagenumber

1999-10-22 Thread Christian Ridderström

Hi LyX-users

1. How can I make LyX/TeX insert an extra blank page, so that chapters
always begin on an odd pagenumber?

2. Using the 'Paragraph properties', should perhaps allow one to do this
feature in future versions of lyX.

I'm using the 'report'-class.

y.s.

Christian Ridderström



Re: Unwanted pagenumbering in Contents (report class).

1999-10-22 Thread Herbert

Christian Ridderström wrote:
 
 Hi LyX-users
 
 I'm writing a technical report, using the class: report.
 How can I remove the pagenumber from the 'Contents'-pages? (I've tried
 using \thispagestyle{empty}, but it doesn't work).

\thispagestyle{empty} works only for one page!

try \pagestyle{empty}

 Alternatively, how can I let the Contents-pages use roman numerals (I,
 II, III, ...) and the rest of the report arabic, starting with 1.

\pagenumbering{Roman}  for I,II,...
\pagenumbering{roman}  for i,i,...
\pagenumbering{arabic} 

the counter always starts at 1.

Herbert


-- 
[EMAIL PROTECTED]
http://www.educat.hu-berlin.de/~voss



Re: Extra blank page to achieve odd pagenumber

1999-10-22 Thread Jean-Marc Lasgouttes

 "Alex" == Alex  [EMAIL PROTECTED] writes:

Alex Jean-Marc Lasgouttes wrote:
  "Christian" == Christian Ridderström [EMAIL PROTECTED]
 writes:
 
Christian Hi LyX-users 1. How can I make LyX/TeX insert an extra
Christian blank page, so that chapters always begin on an odd
Christian pagenumber?

Christian 2. Using the 'Paragraph properties', should perhaps allow
Christian one to do this feature in future versions of lyX.
  Did you try to set your report to 'two sides' in Layout-Document?
 

Alex You can try with the /cleardoublepage command in TeX mode.

Why? 'two sides' setting takes care of that very well. Otherwise, it
is a bug.

JMarc



Re: Extra blank page to achieve odd pagenumber

1999-10-22 Thread Jean-Marc Lasgouttes

 "Christian" == Christian Ridderström [EMAIL PROTECTED] writes:

Christian Hi LyX-users 1. How can I make LyX/TeX insert an extra
Christian blank page, so that chapters always begin on an odd
Christian pagenumber?

Christian 2. Using the 'Paragraph properties', should perhaps allow
Christian one to do this feature in future versions of lyX.

Did you try to set your report to 'two sides' in Layout-Document?

JMarc



Re: Extra blank page to achieve odd pagenumber

1999-10-22 Thread Alex

Jean-Marc Lasgouttes wrote:

  "Alex" == Alex  [EMAIL PROTECTED] writes:

 Alex Jean-Marc Lasgouttes wrote:
   "Christian" == Christian Ridderström [EMAIL PROTECTED]
  writes:
 
 Christian Hi LyX-users 1. How can I make LyX/TeX insert an extra
 Christian blank page, so that chapters always begin on an odd
 Christian pagenumber?
 
 Christian 2. Using the 'Paragraph properties', should perhaps allow
 Christian one to do this feature in future versions of lyX.
   Did you try to set your report to 'two sides' in Layout-Document?
 

 Alex You can try with the /cleardoublepage command in TeX mode.

 Why? 'two sides' setting takes care of that very well. Otherwise, it
 is a bug.


Sorry!

alex



Re: Extra blank page to achieve odd pagenumber

1999-10-22 Thread Alex

Jean-Marc Lasgouttes wrote:

  "Christian" == Christian Ridderström [EMAIL PROTECTED] writes:

 Christian Hi LyX-users 1. How can I make LyX/TeX insert an extra
 Christian blank page, so that chapters always begin on an odd
 Christian pagenumber?

 Christian 2. Using the 'Paragraph properties', should perhaps allow
 Christian one to do this feature in future versions of lyX.

 Did you try to set your report to 'two sides' in Layout-Document?


You can try with the /cleardoublepage command in TeX mode.

Alessandro





Re: Extra blank page to achieve odd pagenumber

1999-10-22 Thread Jean-Pierre.Chretien


To: lyx mailing list [EMAIL PROTECTED]
Subject: Re: Extra blank page to achieve odd pagenumber
From: Jean-Marc Lasgouttes [EMAIL PROTECTED]
Date: 22 Oct 1999 14:53:29 +0200

 "Alex" == Alex  [EMAIL PROTECTED] writes:

Alex Jean-Marc Lasgouttes wrote:
  "Christian" == Christian Ridderström [EMAIL PROTECTED]
 writes:
 
Christian Hi LyX-users 1. How can I make LyX/TeX insert an extra
Christian blank page, so that chapters always begin on an odd
Christian pagenumber?

Christian 2. Using the 'Paragraph properties', should perhaps allow
Christian one to do this feature in future versions of lyX.
  Did you try to set your report to 'two sides' in Layout-Document?
 

Alex You can try with the /cleardoublepage command in TeX mode.

Why? 'two sides' setting takes care of that very well. Otherwise, it
is a bug.

JMarc

For a book, twoside is enough.
For a report, you must type « openright » in the extra options field of
the Layout-Document
(the default option of report class is « openany »).
In any circumstances, yous should always prefer global solutions to local ones, so
that \cleardoublepage is not a good workaround unless you want a local blank
even page.

Regards

-- 
Jean-Pierre




AW: Some layout problem

1999-10-22 Thread Eyermann Horst PN KE DP T 11

Thanks, it worked using psnup. I had to play around with font sizes in order
to get it looking all right.

Horst

 -Ursprüngliche Nachricht-
 Von:  Juergen Vigna [SMTP:[EMAIL PROTECTED]]
 Gesendet am:  Donnerstag, 21. Oktober 1999 11:51
 An:   Eyermann Horst PN KE DP T 11
 Cc:   [EMAIL PROTECTED]
 Betreff:  RE: Some layout problem
 
 Hi Horst!
 
 On 21-Oct-99 Eyermann Horst PN KE DP T 11 wrote:
  Hello,
  I try to print some small document (a short story), which I would like
 to
  layout on a landscape A4 page, with 4 columns (2 columns on two A5
 sheets,
  printed on one A4 page ?).
  
  So far I did not manage to find a solution on which tools to use, and
 how to
  do it. 
 
 I hope you can print this on A4 portrait 2 columns and it produces 2
 pages? Now you just want to put this 2 pages on one A4 is that correct?
 
 This you can do by exporting the file in Postscript and then using:
 
 psnup -2 myfile.ps newfile.ps
 
 Should work. You have to install psutils thought if you don't have them!
 
 Greets Jürgen
 
 -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
 
 Dr. Jürgen Vigna  E-Mail: [EMAIL PROTECTED]
 Gerbergasse 60Tel:+39-0471-450260
 I-39100 Bozen Fax:+39-0471-970042
 ITALY Web:http://www.sad.it/~jug
 
 We don't really understand it, so we'll give it to the programmers.
 
 -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._



Re: Problem with XFig and LyX 1.04 docs

1999-10-22 Thread Mate Wierdl


   I go into xfig with option -specialtext.  I draw a rectangle, and put
   some words inside.  I save the figure as test.fig, and I then export as
   PS/LaTeX combined to file test.pstex and test.pstext_t.

Now use Insert- Input, and input test.pstext_t.  Include can be used
only for files with .tex extension.  If you want to use include, you
need to rename test.pstext_t to say test.pstext_t.tex.  

The difference between input and include is (besides that include does
not accept non .tex extensions) that include starts a new page.

In my opinion, if you use LyX, it is best to export the figure to eps,
and then use Insert - Figure.  This is more flexible, because you can
specify what to do with the inserted figure.  Unless you know TeX, you
will not know how to manipulate test.pstext_t.  

If you have a figure you want to put on a separate page, then
exporting to PS/LaTeX combined is a good idea.


I agree that the User guide is not clear on this issue.  In particular,
it does not make the distinction between input and include.  Normally,
they always mean "input" when they say "include" a latex doc.

Mate



Re: Help on Internationalisation

1999-10-22 Thread Osvaldo Fornaro

[EMAIL PROTECTED] wrote:

 Provided that you are using locale.alias file identical to the one
 from X11R6...

 Osvaldo Fornaro [EMAIL PROTECTED] wrote:

  LANG=ES

 The correct value is "es".  (Observe the case.)

 Alexander Wollmann [EMAIL PROTECTED] wrote:

  LANG=de_DE.ISO-8859-1

 The correct value is "de_DE.ISO8859-1".  (Observe the missing hyphen)

 Since these posters use 1.0.4 and 1.0.3 respectively, localedir is not
 the problem.

 Regards,
 SMiyata

Thank you very much, really. LyX is working with menus in spanish now.

Osvaldo Fornaro.



Re: Problem with XFig and LyX 1.04 docs

1999-10-22 Thread Bruce Momjian

 
I go into xfig with option -specialtext.  I draw a rectangle, and put
some words inside.  I save the figure as test.fig, and I then export as
PS/LaTeX combined to file test.pstex and test.pstext_t.
 
 Now use Insert- Input, and input test.pstext_t.  Include can be used
 only for files with .tex extension.  If you want to use include, you
 need to rename test.pstext_t to say test.pstext_t.tex.  

But I did:

So I go an include the pstex_t file using Insert/Include file, and I
click on  the Input radio button and put the filename in.

and only got the text, not the figure.

 
 The difference between input and include is (besides that include does
 not accept non .tex extensions) that include starts a new page.
 
 In my opinion, if you use LyX, it is best to export the figure to eps,
 and then use Insert - Figure.  This is more flexible, because you can
 specify what to do with the inserted figure.  Unless you know TeX, you
 will not know how to manipulate test.pstext_t.  

Agreed.

-- 
  Bruce Momjian|  http://www.op.net/~candle
  [EMAIL PROTECTED]|  (610) 853-3000
  +  If your life is a hard drive, |  830 Blythe Avenue
  +  Christ can be your backup.|  Drexel Hill, Pennsylvania 19026



Re: Bibliography

1999-10-22 Thread Osvaldo Fornaro

Alex wrote:

 Jacques Germishuizen wrote:

 
  In my document the last part is the 'Bibliography' and this is also the
  chapter heading.  However I would like it to be 'References'.  How can I
  change this?

 I suggest to put in the Latex preamble the following command:

 \renewcommand\bibname{References}

 but I guess there is a better way to do that. Any other suggest?

 Alessandro

Hi,

In addition, you could add
\addcontentsline{toc}{chapter}{References} in the first \bibitem to
force that References appear in TOC and
\markboth{References} {References}   for the heading

Osvaldo Fornaro





Re: Problem with XFig and LyX 1.04 docs

1999-10-22 Thread Mate Wierdl


   I go into xfig with option -specialtext.  I draw a rectangle, and put
   some words inside.  I save the figure as test.fig, and I then export as
   PS/LaTeX combined to file test.pstex and test.pstext_t.

Now use Insert- Input, and input test.pstext_t.  Include can be used
only for files with .tex extension.  If you want to use include, you
need to rename test.pstext_t to say test.pstext_t.tex.  
   
   But I did:
   
So I go an include the pstex_t file using Insert/Include file, and I
click on  the Input radio button and put the filename in.
   
   and only got the text, not the figure.
   
Above you said you got two files, test.pstex and test.pstext_t.
Again, what you need to do:

mv test.pstext_t test.pstext_t.tex

and then use Insert/Include  to include test.pstext_t (do not write
the .tex extension).  When you preview, you should see the figure in
the doc.  If view dvi does not work properly (it happens with
complicated included figures), use view postscript.

Do you have 

\usepackage{epsfig} 

in your latex preamble (using Layout - LaTeX Preamble)?

Mate



included files

1999-10-22 Thread Mate Wierdl

Guys,

Any included file has to be in the same dir as the lyx doc you are
including it into.  So all files exported from xfig needs to be in the
current dir.  The current dir is always searched for input files
unless you messed up your texinputs path.

Mate



Re: Problem with XFig and LyX 1.04 docs

1999-10-22 Thread Bruce Momjian

 
I go into xfig with option -specialtext.  I draw a rectangle, and put
some words inside.  I save the figure as test.fig, and I then export as
PS/LaTeX combined to file test.pstex and test.pstext_t.
 
 Now use Insert- Input, and input test.pstext_t.  Include can be used
 only for files with .tex extension.  If you want to use include, you
 need to rename test.pstext_t to say test.pstext_t.tex.  

But I did:

   So I go an include the pstex_t file using Insert/Include file, and I
   click on  the Input radio button and put the filename in.

and only got the text, not the figure.

 Above you said you got two files, test.pstex and test.pstext_t.

Yes.

 Again, what you need to do:
 
 mv test.pstext_t test.pstext_t.tex

Yikes.  I never did that.  Strange thing is that is seem to work either
way.  I get only the words if it called test.pstex_t or
test.pstex_t.tex.  I put in test.pstex_t each time, and use Input.


 
 and then use Insert/Include  to include test.pstext_t (do not write
 the .tex extension).  When you preview, you should see the figure in
 the doc.  If view dvi does not work properly (it happens with
 complicated included figures), use view postscript.
 
 Do you have 
 
 \usepackage{epsfig} 

Yes, I added that but it did not help.

Very weird.

-- 
  Bruce Momjian|  http://www.op.net/~candle
  [EMAIL PROTECTED]|  (610) 853-3000
  +  If your life is a hard drive, |  830 Blythe Avenue
  +  Christ can be your backup.|  Drexel Hill, Pennsylvania 19026



enumerate bug in 1.04 and earlier?

1999-10-22 Thread Richard A. Bilonick

When using lyx 1.04 and earlier versions, I am getting a strange problem
with enumerate. This has happened with two documents and I tried version
1.04 on Linux, a version on HP and another version on SGI Irix. The
numbering goes 1, 2, 3, 4, etc. But the 3 for paragraph 3 is missing and
for paragraph 4 BOTH the 3 and 4 show up, one on top of the other.
Everything looks perfect in lyx. But when you create the Postscript file,
you see the problem and it prints the same way. I have gone into the
Postscript code and fiddled around to fix it but it is very time
consuming because I'm doing it by trial and error.

Is the a fix or work around for this problem? I would be happy to send
the document (its only 2 pages).

Rick Bilonick



Formatting of multiline equations

1999-10-22 Thread Tom Crane

Dear All,
I am having difficulty formatting  justifying multiline equations
in LyX (1.0.4). I want to spead across, say, 3 lines, an equation
containing at least one nested level of parentheses. eg. Illustrating my
point using the fixed font of this mailer I am trying to get something
like,

f(x) = x*2 (z+3{aterm + 
another_term + 
a_third term})

I would like to make Latex use a 'largish' round-bracket  brace - as it
would if my equation was all on a single line. How can I do this?? 

TIA 
Tom.
-- 

Tom Crane, Dept. Physics, Royal Holloway, University of London, Egham
Hill, Egham, Surrey, TW20 0EX, England.  Email:  
[EMAIL PROTECTED] or [EMAIL PROTECTED] SPAN:  19.875 Fax:  
01784 472794



Keep in touch.

1999-10-22 Thread jmaxwell8

Want to keep in touch with old friends from school?
The Gradfinder website is the perfect place to do just that.

On Gradfinder you can search for friends, add your
current contact info, a current photo, and details
about what you are up to these days. You can update
your info at any time after that. All changes happen
immediately. There are also message boards you can use
to help organize reunions. You can use our photo album
wizard to create online albums to share with friends
and family.

There are currently over 100,000 schools listed from
grade 1 to university from 60 countries around the world.

This service is free so check it out!

This site can be found at:

http://www.gradfinder.com




RE: Formatting of multiline equations

1999-10-22 Thread Mr. Geepus the Sweeper

Hi...

On 22-Oct-99 Tom Crane wrote:

 f(x) = x*2 (z+3{aterm + 
 another_term + 
 a_third term})
 
 I would like to make Latex use a 'largish' round-bracket  brace - as it
 would if my equation was all on a single line. How can I do this?? 

You should be able to achieve something of the sort by doing this:

1.  In the Math Editor, type out "f(x)=x*2" (or \times or \cdot or
whatever).

2.  Now, go to the Math Panel and open the Delimiters dialog; set the left
and right delimiters to whatever you need, and hit Ok.

3.  Within the delimiters you just inserted, insert a Matrix with however
many rows and columns you want... in your example above, you'd probably want
two columns so you could left-justify your terms, but you could just use one
column if you're not picky.  The delimiters will grow to surround the entire
matrix.  You can even nest matrices; they look odd in LyX, but the printed
output will still be nice.

Have fun,


---
// Carl Hudkins ]=[ ICQ: 5723399 ]=[ PGP: 0x50238d9e
// 
// "I've given up on the whole dating scene.  I've
//  decided to reproduce by asexual cell division."
// --Wally

 PGP signature


Why does TeX style use ~ for space?

1999-10-22 Thread Bruce Momjian

I am wondering why LyX uses the non-wrapping space ~ in TeX-style areas?

I understand in LyX-Code blocks that using the ~ prevents wrapping and
forces the text to appear exactly as you enter it.

However, when you are doing a paragraph, and have a few words of
typewriter output set in TeX-style, the tex will not allow a linebreak
inside the TeX-style area because of the use of ~.

I looked at the code, and paragraph.C seems to be the place where this
happens, but I am not sure which of the two lines to change, and what
ramifications it will have.

OK, here is a patch that does what I needed.  It uses ~ for LyX-Code
environment, but spaces for Tex-Code in other environments.  The test is
to compare the current environment to LyX-Code, and do the ~ only in those
cases.

Also attached is a tex file showing the changed output.  Not the \texttt
text does not use ~.  This change has fixed the cases where I was
getting texttt text in the margins when the texttt string had a few
lines in it.

My guess is that some type of patch for this should be made, though mine
may be too crude.  The LyX code looks quite nice.

-- 
  Bruce Momjian|  http://www.op.net/~candle
  [EMAIL PROTECTED]|  (610) 853-3000
  +  If your life is a hard drive, |  830 Blythe Avenue
  +  Christ can be your backup.|  Drexel Hill, Pennsylvania 19026


*** ./src/paragraph.C.orig  Fri Oct 22 17:11:01 1999
--- ./src/paragraph.C   Fri Oct 22 18:45:39 1999
***
*** 2924,2930 
texrow.start(this, i+1);
column = 0;
} else if (font.latex() == LyXFont::OFF) {
!   if (font.family() == LyXFont::TYPEWRITER_FAMILY) {
file += '~';
} else {
file += ' ';
--- 2924,2931 
texrow.start(this, i+1);
column = 0;
} else if (font.latex() == LyXFont::OFF) {
!   if (font.family() == LyXFont::TYPEWRITER_FAMILY 
!   style-name == "LyX-Code") {
file += '~';
} else {
file += ' ';


%% This LaTeX-file was created by root Fri Oct 22 19:16:25 1999
%% LyX 1.0 (C) 1995-1999 by Matthias Ettrich and the LyX Team

%% Do not edit this file unless you know what you are doing.
\documentclass[11pt,troffms]{article}
\usepackage{palatino}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{geometry}
\geometry{verbose,letterpaper,tmargin=0.25in,bmargin=0in,lmargin=1in,rmargin=1in}

\makeatletter


%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}

%% Textclass specific LaTeX commands.
\newenvironment{lyxcode}
  {\begin{list}{}{
\setlength{\rightmargin}{\leftmargin}
\raggedright
\setlength{\itemsep}{0pt}
\setlength{\parsep}{0pt}
\ttfamily}%
   \item[]}
  {\end{list}}

%% User specified LaTeX commands.
% no page number on first page
\let\realmaketitle=\maketitle
\renewcommand{\maketitle}{\realmaketitle\thispagestyle{empty}}
% allow our calendar to have no footnote mark
\renewcommand{\thefootnote {\null}}

\makeatother

\begin{document}

\texttt{tex-code in standard environment}

\begin{lyxcode}
words~in~lyx-code~env

\end{lyxcode}
\end{document}





Manipulating EPS images in Lyx

1999-10-22 Thread Gerald Gutierrez


Hi all.

I'm thinking of using Lyx to write my master's report. Most here know
why .. it's stable, it's clean, it works well for what it does.

I understand several others have used Lyx to write their theses. What
is an appropriate class to use? Are there classes one can install that
are specialized for this type of document?

Also, I expect to have a moderate about of source code in my
report. Perhaps I'm just ignorant, but even today I cannot figure out
how to incorporate source code properly into a Lyx document. The
Lyx-Code seemed like it might work, but I've found that I can't
control it well. It doesn't "look" right to me. For example, if my
report is double-spaced, is there a way to have the code
single-spaced?  I also can't seem to have tab-indents in
Lyx-Code. Things of that sort. Am I missing something?


Any help would be greatly appreciated.


Thanks very much.







Document Class Latex styles

1999-10-22 Thread Gerald Gutierrez


How do Lyx document classes and Latex styles relate?



Re: Problem with XFig and LyX 1.04 docs

1999-10-22 Thread Alexander Wollmann


On 22-Oct-99 Lars Gullik Bjønnes wrote:
> Bruce Momjian <[EMAIL PROTECTED]> writes:
> 
>| So I go an include the pstex_t file using Insert/Include file, and I
>| click on the Input radio button and put the filename in.
> 
> Ok...can you have a look at the latex log file Edit->LaTeX Log
> 
> And see if some missing/not found files are mentioned.
> 
>   Lgb


I had the same problem here, the solution was to use an absolute filename:

look in the .pstex_t file and find the line 
\special{psfile=foo.pstex} ; or something like this...

then edit the filename, and give the full path to the file e.g.

\special{psfile=/home/blabla/foo.pstex}



Hope this helps,

Greets,
Alex.

---
Alexander Wollmann
Universität Freiburg,
Abteilung Elementar-Mathematik und Didaktik der Mathematik

E-Mail: Alexander Wollmann <[EMAIL PROTECTED]>
Date: 22-Oct-99
Time: 09:36:31

This message was sent by XFMail
---



Re: Euro - Symbol?

1999-10-22 Thread Jean-Marc Lasgouttes

> "Alexander" == Alexander Wollmann <[EMAIL PROTECTED]> writes:

Alexander> Hi everybody! I am searching a package wich provides the
Alexander> new European Euro - Symbol.

Go to: http://www.ctan.org/find.html

and type 'euro' in 'Search the Catalogue For a Keyword'.

People should really be aware of the LaTeX catalogue (present on any
CTAN site). This is really a wonderful tool.

JMarc



Unwanted pagenumbering in Contents (report class).

1999-10-22 Thread Christian Ridderström

Hi LyX-users

I'm writing a technical report, using the class: report.
How can I remove the pagenumber from the 'Contents'-pages? (I've tried
using \thispagestyle{empty}, but it doesn't work).

Alternatively, how can I let the Contents-pages use roman numerals (I,
II, III, ...) and the rest of the report arabic, starting with 1.

y.s.

Christian Ridderström



Extra blank page to achieve odd pagenumber

1999-10-22 Thread Christian Ridderström

Hi LyX-users

1. How can I make LyX/TeX insert an extra blank page, so that chapters
always begin on an odd pagenumber?

2. Using the 'Paragraph properties', should perhaps allow one to do this
feature in future versions of lyX.

I'm using the 'report'-class.

y.s.

Christian Ridderström



Re: Unwanted pagenumbering in Contents (report class).

1999-10-22 Thread Herbert

Christian Ridderström wrote:
> 
> Hi LyX-users
> 
> I'm writing a technical report, using the class: report.
> How can I remove the pagenumber from the 'Contents'-pages? (I've tried
> using \thispagestyle{empty}, but it doesn't work).

\thispagestyle{empty} works only for one page!

try \pagestyle{empty}

> Alternatively, how can I let the Contents-pages use roman numerals (I,
> II, III, ...) and the rest of the report arabic, starting with 1.

\pagenumbering{Roman}  for I,II,...
\pagenumbering{roman}  for i,i,...
\pagenumbering{arabic} 

the counter always starts at 1.

Herbert


-- 
[EMAIL PROTECTED]
http://www.educat.hu-berlin.de/~voss



Re: Extra blank page to achieve odd pagenumber

1999-10-22 Thread Jean-Marc Lasgouttes

> "Alex" == Alex  <[EMAIL PROTECTED]> writes:

Alex> Jean-Marc Lasgouttes wrote:
>> > "Christian" == Christian Ridderström <[EMAIL PROTECTED]>
>> writes:
>> 
Christian> Hi LyX-users 1. How can I make LyX/TeX insert an extra
Christian> blank page, so that chapters always begin on an odd
Christian> pagenumber?
>>
Christian> 2. Using the 'Paragraph properties', should perhaps allow
Christian> one to do this feature in future versions of lyX.
>>  Did you try to set your report to 'two sides' in Layout->Document?
>> 

Alex> You can try with the /cleardoublepage command in TeX mode.

Why? 'two sides' setting takes care of that very well. Otherwise, it
is a bug.

JMarc



Re: Extra blank page to achieve odd pagenumber

1999-10-22 Thread Jean-Marc Lasgouttes

> "Christian" == Christian Ridderström <[EMAIL PROTECTED]> writes:

Christian> Hi LyX-users 1. How can I make LyX/TeX insert an extra
Christian> blank page, so that chapters always begin on an odd
Christian> pagenumber?

Christian> 2. Using the 'Paragraph properties', should perhaps allow
Christian> one to do this feature in future versions of lyX.

Did you try to set your report to 'two sides' in Layout->Document?

JMarc



Re: Extra blank page to achieve odd pagenumber

1999-10-22 Thread Alex

Jean-Marc Lasgouttes wrote:

> > "Alex" == Alex  <[EMAIL PROTECTED]> writes:
>
> Alex> Jean-Marc Lasgouttes wrote:
> >> > "Christian" == Christian Ridderström <[EMAIL PROTECTED]>
> >> writes:
> >>
> Christian> Hi LyX-users 1. How can I make LyX/TeX insert an extra
> Christian> blank page, so that chapters always begin on an odd
> Christian> pagenumber?
> >>
> Christian> 2. Using the 'Paragraph properties', should perhaps allow
> Christian> one to do this feature in future versions of lyX.
> >>  Did you try to set your report to 'two sides' in Layout->Document?
> >>
>
> Alex> You can try with the /cleardoublepage command in TeX mode.
>
> Why? 'two sides' setting takes care of that very well. Otherwise, it
> is a bug.
>

Sorry!

alex



Re: Extra blank page to achieve odd pagenumber

1999-10-22 Thread Alex

Jean-Marc Lasgouttes wrote:

> > "Christian" == Christian Ridderström <[EMAIL PROTECTED]> writes:
>
> Christian> Hi LyX-users 1. How can I make LyX/TeX insert an extra
> Christian> blank page, so that chapters always begin on an odd
> Christian> pagenumber?
>
> Christian> 2. Using the 'Paragraph properties', should perhaps allow
> Christian> one to do this feature in future versions of lyX.
>
> Did you try to set your report to 'two sides' in Layout->Document?
>

You can try with the /cleardoublepage command in TeX mode.

Alessandro





Re: Extra blank page to achieve odd pagenumber

1999-10-22 Thread Jean-Pierre.Chretien


>>To: lyx mailing list <[EMAIL PROTECTED]>
>>Subject: Re: Extra blank page to achieve odd pagenumber
>>From: Jean-Marc Lasgouttes <[EMAIL PROTECTED]>
>>Date: 22 Oct 1999 14:53:29 +0200
>>
>>> "Alex" == Alex  <[EMAIL PROTECTED]> writes:
>>
>>Alex> Jean-Marc Lasgouttes wrote:
 > "Christian" == Christian Ridderström <[EMAIL PROTECTED]>
 writes:
 
>>Christian> Hi LyX-users 1. How can I make LyX/TeX insert an extra
>>Christian> blank page, so that chapters always begin on an odd
>>Christian> pagenumber?

>>Christian> 2. Using the 'Paragraph properties', should perhaps allow
>>Christian> one to do this feature in future versions of lyX.
  Did you try to set your report to 'two sides' in Layout->Document?
 
>>
>>Alex> You can try with the /cleardoublepage command in TeX mode.
>>
>>Why? 'two sides' setting takes care of that very well. Otherwise, it
>>is a bug.
>>
>>JMarc

For a book, twoside is enough.
For a report, you must type « openright » in the extra options field of
the Layout->Document
(the default option of report class is « openany »).
In any circumstances, yous should always prefer global solutions to local ones, so
that \cleardoublepage is not a good workaround unless you want a local blank
even page.

Regards

-- 
Jean-Pierre




AW: Some layout problem

1999-10-22 Thread Eyermann Horst PN KE DP T 11

Thanks, it worked using psnup. I had to play around with font sizes in order
to get it looking all right.

Horst

> -Ursprüngliche Nachricht-
> Von:  Juergen Vigna [SMTP:[EMAIL PROTECTED]]
> Gesendet am:  Donnerstag, 21. Oktober 1999 11:51
> An:   Eyermann Horst PN KE DP T 11
> Cc:   [EMAIL PROTECTED]
> Betreff:  RE: Some layout problem
> 
> Hi Horst!
> 
> On 21-Oct-99 Eyermann Horst PN KE DP T 11 wrote:
> > Hello,
> > I try to print some small document (a short story), which I would like
> to
> > layout on a landscape A4 page, with 4 columns (2 columns on two A5
> sheets,
> > printed on one A4 page ?).
> > 
> > So far I did not manage to find a solution on which tools to use, and
> how to
> > do it. 
> 
> I hope you can print this on A4 portrait 2 columns and it produces 2
> pages? Now you just want to put this 2 pages on one A4 is that correct?
> 
> This you can do by exporting the file in Postscript and then using:
> 
> psnup -2 myfile.ps newfile.ps
> 
> Should work. You have to install psutils thought if you don't have them!
> 
> Greets Jürgen
> 
> -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
> 
> Dr. Jürgen Vigna  E-Mail: [EMAIL PROTECTED]
> Gerbergasse 60Tel:+39-0471-450260
> I-39100 Bozen Fax:+39-0471-970042
> ITALY Web:http://www.sad.it/~jug
> 
> We don't really understand it, so we'll give it to the programmers.
> 
> -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._



Re: Problem with XFig and LyX 1.04 docs

1999-10-22 Thread Mate Wierdl


   I go into xfig with option -specialtext.  I draw a rectangle, and put
   some words inside.  I save the figure as test.fig, and I then export as
   PS/LaTeX combined to file test.pstex and test.pstext_t.

Now use Insert-> Input, and input test.pstext_t.  Include can be used
only for files with .tex extension.  If you want to use include, you
need to rename test.pstext_t to say test.pstext_t.tex.  

The difference between input and include is (besides that include does
not accept non .tex extensions) that include starts a new page.

In my opinion, if you use LyX, it is best to export the figure to eps,
and then use Insert -> Figure.  This is more flexible, because you can
specify what to do with the inserted figure.  Unless you know TeX, you
will not know how to manipulate test.pstext_t.  

If you have a figure you want to put on a separate page, then
exporting to PS/LaTeX combined is a good idea.


I agree that the User guide is not clear on this issue.  In particular,
it does not make the distinction between input and include.  Normally,
they always mean "input" when they say "include" a latex doc.

Mate



Re: Help on Internationalisation

1999-10-22 Thread Osvaldo Fornaro

[EMAIL PROTECTED] wrote:

> Provided that you are using locale.alias file identical to the one
> from X11R6...
>
> Osvaldo Fornaro <[EMAIL PROTECTED]> wrote:
>
> > LANG=ES
>
> The correct value is "es".  (Observe the case.)
>
> Alexander Wollmann <[EMAIL PROTECTED]> wrote:
>
> > LANG=de_DE.ISO-8859-1
>
> The correct value is "de_DE.ISO8859-1".  (Observe the missing hyphen)
>
> Since these posters use 1.0.4 and 1.0.3 respectively, localedir is not
> the problem.
>
> Regards,
> SMiyata

Thank you very much, really. LyX is working with menus in spanish now.

Osvaldo Fornaro.



Re: Problem with XFig and LyX 1.04 docs

1999-10-22 Thread Bruce Momjian

> 
>I go into xfig with option -specialtext.  I draw a rectangle, and put
>some words inside.  I save the figure as test.fig, and I then export as
>PS/LaTeX combined to file test.pstex and test.pstext_t.
> 
> Now use Insert-> Input, and input test.pstext_t.  Include can be used
> only for files with .tex extension.  If you want to use include, you
> need to rename test.pstext_t to say test.pstext_t.tex.  

But I did:

So I go an include the pstex_t file using Insert/Include file, and I
click on  the Input radio button and put the filename in.

and only got the text, not the figure.

> 
> The difference between input and include is (besides that include does
> not accept non .tex extensions) that include starts a new page.
> 
> In my opinion, if you use LyX, it is best to export the figure to eps,
> and then use Insert -> Figure.  This is more flexible, because you can
> specify what to do with the inserted figure.  Unless you know TeX, you
> will not know how to manipulate test.pstext_t.  

Agreed.

-- 
  Bruce Momjian|  http://www.op.net/~candle
  [EMAIL PROTECTED]|  (610) 853-3000
  +  If your life is a hard drive, |  830 Blythe Avenue
  +  Christ can be your backup.|  Drexel Hill, Pennsylvania 19026



Re: Bibliography

1999-10-22 Thread Osvaldo Fornaro

Alex wrote:

> Jacques Germishuizen wrote:
>
> >
> > In my document the last part is the 'Bibliography' and this is also the
> > chapter heading.  However I would like it to be 'References'.  How can I
> > change this?
>
> I suggest to put in the Latex preamble the following command:
>
> \renewcommand\bibname{References}
>
> but I guess there is a better way to do that. Any other suggest?
>
> Alessandro

Hi,

In addition, you could add
\addcontentsline{toc}{chapter}{References} in the first \bibitem to
force that References appear in TOC and
\markboth{References} {References}   for the heading

Osvaldo Fornaro





Re: Problem with XFig and LyX 1.04 docs

1999-10-22 Thread Mate Wierdl

   > 
   >I go into xfig with option -specialtext.  I draw a rectangle, and put
   >some words inside.  I save the figure as test.fig, and I then export as
   >PS/LaTeX combined to file test.pstex and test.pstext_t.
   > 
   > Now use Insert-> Input, and input test.pstext_t.  Include can be used
   > only for files with .tex extension.  If you want to use include, you
   > need to rename test.pstext_t to say test.pstext_t.tex.  
   
   But I did:
   
So I go an include the pstex_t file using Insert/Include file, and I
click on  the Input radio button and put the filename in.
   
   and only got the text, not the figure.
   
Above you said you got two files, test.pstex and test.pstext_t.
Again, what you need to do:

mv test.pstext_t test.pstext_t.tex

and then use Insert/Include  to include test.pstext_t (do not write
the .tex extension).  When you preview, you should see the figure in
the doc.  If view dvi does not work properly (it happens with
complicated included figures), use view postscript.

Do you have 

\usepackage{epsfig} 

in your latex preamble (using Layout -> LaTeX Preamble)?

Mate



included files

1999-10-22 Thread Mate Wierdl

Guys,

Any included file has to be in the same dir as the lyx doc you are
including it into.  So all files exported from xfig needs to be in the
current dir.  The current dir is always searched for input files
unless you messed up your texinputs path.

Mate



Re: Problem with XFig and LyX 1.04 docs

1999-10-22 Thread Bruce Momjian

>> 
>>I go into xfig with option -specialtext.  I draw a rectangle, and put
>>some words inside.  I save the figure as test.fig, and I then export as
>>PS/LaTeX combined to file test.pstex and test.pstext_t.
>> 
>> Now use Insert-> Input, and input test.pstext_t.  Include can be used
>> only for files with .tex extension.  If you want to use include, you
>> need to rename test.pstext_t to say test.pstext_t.tex.  
>
>But I did:
>
>   So I go an include the pstex_t file using Insert/Include file, and I
>   click on  the Input radio button and put the filename in.
>
>and only got the text, not the figure.
>
> Above you said you got two files, test.pstex and test.pstext_t.

Yes.

> Again, what you need to do:
> 
> mv test.pstext_t test.pstext_t.tex

Yikes.  I never did that.  Strange thing is that is seem to work either
way.  I get only the words if it called test.pstex_t or
test.pstex_t.tex.  I put in test.pstex_t each time, and use Input.


> 
> and then use Insert/Include  to include test.pstext_t (do not write
> the .tex extension).  When you preview, you should see the figure in
> the doc.  If view dvi does not work properly (it happens with
> complicated included figures), use view postscript.
> 
> Do you have 
> 
> \usepackage{epsfig} 

Yes, I added that but it did not help.

Very weird.

-- 
  Bruce Momjian|  http://www.op.net/~candle
  [EMAIL PROTECTED]|  (610) 853-3000
  +  If your life is a hard drive, |  830 Blythe Avenue
  +  Christ can be your backup.|  Drexel Hill, Pennsylvania 19026



enumerate bug in 1.04 and earlier?

1999-10-22 Thread Richard A. Bilonick

When using lyx 1.04 and earlier versions, I am getting a strange problem
with enumerate. This has happened with two documents and I tried version
1.04 on Linux, a version on HP and another version on SGI Irix. The
numbering goes 1, 2, 3, 4, etc. But the 3 for paragraph 3 is missing and
for paragraph 4 BOTH the 3 and 4 show up, one on top of the other.
Everything looks perfect in lyx. But when you create the Postscript file,
you see the problem and it prints the same way. I have gone into the
Postscript code and fiddled around to fix it but it is very time
consuming because I'm doing it by trial and error.

Is the a fix or work around for this problem? I would be happy to send
the document (its only 2 pages).

Rick Bilonick



Formatting of multiline equations

1999-10-22 Thread Tom Crane

Dear All,
I am having difficulty formatting & justifying multiline equations
in LyX (1.0.4). I want to spead across, say, 3 lines, an equation
containing at least one nested level of parentheses. eg. Illustrating my
point using the fixed font of this mailer I am trying to get something
like,

f(x) = x*2 (z+3{aterm + 
another_term + 
a_third term})

I would like to make Latex use a 'largish' round-bracket & brace - as it
would if my equation was all on a single line. How can I do this?? 

TIA 
Tom.
-- 

Tom Crane, Dept. Physics, Royal Holloway, University of London, Egham
Hill, Egham, Surrey, TW20 0EX, England.  Email:  
[EMAIL PROTECTED] or [EMAIL PROTECTED] SPAN:  19.875 Fax:  
01784 472794



Keep in touch.

1999-10-22 Thread jmaxwell8

Want to keep in touch with old friends from school?
The Gradfinder website is the perfect place to do just that.

On Gradfinder you can search for friends, add your
current contact info, a current photo, and details
about what you are up to these days. You can update
your info at any time after that. All changes happen
immediately. There are also message boards you can use
to help organize reunions. You can use our photo album
wizard to create online albums to share with friends
and family.

There are currently over 100,000 schools listed from
grade 1 to university from 60 countries around the world.

This service is free so check it out!

This site can be found at:

http://www.gradfinder.com




RE: Formatting of multiline equations

1999-10-22 Thread Mr. Geepus the Sweeper

Hi...

On 22-Oct-99 Tom Crane wrote:

> f(x) = x*2 (z+3{aterm + 
> another_term + 
> a_third term})
> 
> I would like to make Latex use a 'largish' round-bracket & brace - as it
> would if my equation was all on a single line. How can I do this?? 

You should be able to achieve something of the sort by doing this:

1.  In the Math Editor, type out "f(x)=x*2" (or \times or \cdot or
whatever).

2.  Now, go to the Math Panel and open the Delimiters dialog; set the left
and right delimiters to whatever you need, and hit Ok.

3.  Within the delimiters you just inserted, insert a Matrix with however
many rows and columns you want... in your example above, you'd probably want
two columns so you could left-justify your terms, but you could just use one
column if you're not picky.  The delimiters will grow to surround the entire
matrix.  You can even nest matrices; they look odd in LyX, but the printed
output will still be nice.

Have fun,


---
// Carl Hudkins ]=[ ICQ: 5723399 ]=[ PGP: 0x50238d9e
// 
// "I've given up on the whole dating scene.  I've
//  decided to reproduce by asexual cell division."
// --Wally

 PGP signature


Why does TeX style use ~ for space?

1999-10-22 Thread Bruce Momjian

I am wondering why LyX uses the non-wrapping space ~ in TeX-style areas?

I understand in LyX-Code blocks that using the ~ prevents wrapping and
forces the text to appear exactly as you enter it.

However, when you are doing a paragraph, and have a few words of
typewriter output set in TeX-style, the tex will not allow a linebreak
inside the TeX-style area because of the use of ~.

I looked at the code, and paragraph.C seems to be the place where this
happens, but I am not sure which of the two lines to change, and what
ramifications it will have.

OK, here is a patch that does what I needed.  It uses ~ for LyX-Code
environment, but spaces for Tex-Code in other environments.  The test is
to compare the current environment to LyX-Code, and do the ~ only in those
cases.

Also attached is a tex file showing the changed output.  Not the \texttt
text does not use ~.  This change has fixed the cases where I was
getting texttt text in the margins when the texttt string had a few
lines in it.

My guess is that some type of patch for this should be made, though mine
may be too crude.  The LyX code looks quite nice.

-- 
  Bruce Momjian|  http://www.op.net/~candle
  [EMAIL PROTECTED]|  (610) 853-3000
  +  If your life is a hard drive, |  830 Blythe Avenue
  +  Christ can be your backup.|  Drexel Hill, Pennsylvania 19026


*** ./src/paragraph.C.orig  Fri Oct 22 17:11:01 1999
--- ./src/paragraph.C   Fri Oct 22 18:45:39 1999
***
*** 2924,2930 
texrow.start(this, i+1);
column = 0;
} else if (font.latex() == LyXFont::OFF) {
!   if (font.family() == LyXFont::TYPEWRITER_FAMILY) {
file += '~';
} else {
file += ' ';
--- 2924,2931 
texrow.start(this, i+1);
column = 0;
} else if (font.latex() == LyXFont::OFF) {
!   if (font.family() == LyXFont::TYPEWRITER_FAMILY &&
!   style->name == "LyX-Code") {
file += '~';
} else {
file += ' ';


%% This LaTeX-file was created by  Fri Oct 22 19:16:25 1999
%% LyX 1.0 (C) 1995-1999 by Matthias Ettrich and the LyX Team

%% Do not edit this file unless you know what you are doing.
\documentclass[11pt,troffms]{article}
\usepackage{palatino}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{geometry}
\geometry{verbose,letterpaper,tmargin=0.25in,bmargin=0in,lmargin=1in,rmargin=1in}

\makeatletter


%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}

%% Textclass specific LaTeX commands.
\newenvironment{lyxcode}
  {\begin{list}{}{
\setlength{\rightmargin}{\leftmargin}
\raggedright
\setlength{\itemsep}{0pt}
\setlength{\parsep}{0pt}
\ttfamily}%
   \item[]}
  {\end{list}}

%% User specified LaTeX commands.
% no page number on first page
\let\realmaketitle=\maketitle
\renewcommand{\maketitle}{\realmaketitle\thispagestyle{empty}}
% allow our calendar to have no footnote mark
\renewcommand{\thefootnote {\null}}

\makeatother

\begin{document}

\texttt{tex-code in standard environment}

\begin{lyxcode}
words~in~lyx-code~env

\end{lyxcode}
\end{document}





Manipulating EPS images in Lyx

1999-10-22 Thread Gerald Gutierrez


Hi all.

I'm thinking of using Lyx to write my master's report. Most here know
why .. it's stable, it's clean, it works well for what it does.

I understand several others have used Lyx to write their theses. What
is an appropriate class to use? Are there classes one can install that
are specialized for this type of document?

Also, I expect to have a moderate about of source code in my
report. Perhaps I'm just ignorant, but even today I cannot figure out
how to incorporate source code properly into a Lyx document. The
Lyx-Code seemed like it might work, but I've found that I can't
control it well. It doesn't "look" right to me. For example, if my
report is double-spaced, is there a way to have the code
single-spaced?  I also can't seem to have tab-indents in
Lyx-Code. Things of that sort. Am I missing something?


Any help would be greatly appreciated.


Thanks very much.







Document Class & Latex styles

1999-10-22 Thread Gerald Gutierrez


How do Lyx document classes and Latex styles relate?