Re: Wrong Running Head For Preface: Almost Fixed

2005-01-31 Thread Juergen Spitzmueller
Rich Shepard wrote:
 How do I learn which command is appropriate under which circumstances? Is
 \chaptermark best under only limited circumstances, while \markboth,
 \markleft and \markright are more broadly applied?

The \chaptermark and \sectionmark macros store the text of the 
chapter/sections for the headings, add the numbering (and, if the class 
defines this, also the chapter label) and passes all that it to \markright 
and \markboth (in two-sided documents), resp. 
\markright and \markboth pass its content to the headings.
(See scrguien.pdf, sec. 3.6 for \chaptermark and the following for \markright/ 
\markboth:
http://www.giss.nasa.gov/latex/ltx-264.html
)

So, \chaptermark calls \markboth or \markright and adds the numbering and 
label. From book.cls:

\def\chaptermark##1{%
  \markboth {\MakeUppercase{%
\ifnum [EMAIL PROTECTED] [EMAIL PROTECTED]
  [EMAIL PROTECTED]
[EMAIL PROTECTED] \thechapter. \ %
  \fi
\fi
##1}}{}}%

So \chaptermark is more appropriate if you want to modify the heading's text 
of a real \chapter (where numbering and labelling is needed), while 
\mark{right|both} is more appropriate for non-numbered headings (if you want 
the text without any additions in the headings).

    On a related note, how does a single chapter, such as the Preface, get
 out of sync while everything else has proper running heads? Perhaps if I
 understood this better I'd know how to fix it. Or, do I really not want to
 know? :-)

\chapter* is (in contrary to \chapter and koma's \addchap) defined to not pass 
anything to \mark{both|right}. So this is a feature. If you need headings and 
TOC entries nonetheless, you have to tell LaTeX.

Jürgen


Re: Centering paragraphs easily War: Re: Centering graphics in float

2005-01-31 Thread G. Milde
On 19.11.04, Andre Poenitz wrote:
 
 You can bind whatever key you like to 'paragraph-layout center' (or
 maybe 'centering')

My LyX 1.3.4 doesnot know about paragraph-layout :-(

Will such a function be in 1.4?

Günter

-- 
G.Milde web.de


Re: Horizontal Rules in Float With Multiple Tables

2005-01-31 Thread Juergen Spitzmueller
Rich Shepard wrote:
 A tabular float with three minipages across the width of the text area.
 Each minipage has a small table (truth tables for AND, OR and NOT). The
 publisher wants a horizontal line above the tables (and below the table
 caption) and another horizontal line below the three minipages.

Does the following help?

- Place cursor outside (left of) the tabular.
- Edit-Paragraph
- Check Line above
- Place cursor in the captions paragraph
- Check Line below 

Jürgen


Re: Changing Default Subfigure Reference in Text

2005-01-31 Thread Juergen Spitzmueller
Rich Shepard wrote:
 This means that when I enter the reference in the text like this (Figure
 [cross-reference]) what I see in the compiled output is a reference like
 this (Figure 11.5(b)). TeX added the letter within parentheses. I can't
 find a way to turn that off so the typeset reference is like this (Figure
 11.5b).

\renewcommand\thesubfigure{\thefigure\alph{subfigure}}

see the documentation of subfigure.sty

Jürgen


Writing Lyx on a text editor

2005-01-31 Thread Jose Capco
Dear Mailing List,

Are the .lyx files actually texts with commands
similar to LaTeX and is it practical/possible to write
in LyX using an ordinary text editor? I am already
very much used to writing in LaTeX and personally I
prefer LaTeX than LyX... but I need to write some
(mathematical) articles together with someone and he
can only use LyX and I have heard importing/exporting
LaTeX for LyX is not very clean. I am trying to find
the best possible means to collaborate with the other
author who can only write in LyX. If I have to use
LyX, I prefer doing it in a text editor (if possible)
and compiling it later.. since I am using windows and
the LyX available for windows (I tried both the QT and
the Xserver version) don't display or display badly
many math fonts (like sum and etc.) and I couldnt find
any solution to this in the net. If thats the case,
then it defeats the WYSIWYM and I prefer anyway to
write things on a text editor since I know how to
write them that way and it makes less difference for
me.

Sincerely,
Jose Capco



__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail


Re: Wrong Running Head For Preface: Almost Fixed

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Juergen Spitzmueller wrote:
So \chaptermark is more appropriate if you want to modify the heading's
text of a real \chapter (where numbering and labelling is needed), while
\mark{right|both} is more appropriate for non-numbered headings (if you want
the text without any additions in the headings).
Jürgen,
  Thank you. I realize I need to do mre LaTeX reading since I'm using LyX
more and more.
\chapter* is (in contrary to \chapter and koma's \addchap) defined to not
pass anything to \mark{both|right}. So this is a feature. If you need
headings and TOC entries nonetheless, you have to tell LaTeX.
  That makes sense. The Preface is not a numbered chapter and I do have the
instructions to add it to the ToC already there. Somehow, and I guess I'll
never know why, it stopped working when I moved the Preface to the proper
place.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: Equation Too Long for Text Width

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, G. Milde wrote:
Ctrl-Enter.
Günter,
  I tried this and nothing happened.
Probabely you will have to move stuff around in the 2x3 boxes you get to
adjust the alignment...
  I also tried using the // shown in TLC2, but that produced a regular slash
followed by one in red at a different angle. I'll work on this again.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: Writing Lyx on a text editor

2005-01-31 Thread Angus Leeming
Jose Capco wrote:

 Dear Mailing List,
 
 Are the .lyx files actually texts with commands
 similar to LaTeX and is it practical/possible to write
 in LyX using an ordinary text editor? I am already
 very much used to writing in LaTeX and personally I
 prefer LaTeX than LyX... but I need to write some
 (mathematical) articles together with someone and he
 can only use LyX and I have heard importing/exporting
 LaTeX for LyX is not very clean. I am trying to find
 the best possible means to collaborate with the other
 author who can only write in LyX. If I have to use
 LyX, I prefer doing it in a text editor (if possible)
 and compiling it later.. since I am using windows and
 the LyX available for windows (I tried both the QT and
 the Xserver version) don't display or display badly
 many math fonts (like sum and etc.) and I couldnt find
 any solution to this in the net. If thats the case,
 then it defeats the WYSIWYM and I prefer anyway to
 write things on a text editor since I know how to
 write them that way and it makes less difference for
 me.
 
 Sincerely,
 Jose Capco

The LyX file format is written as ascii text, so it's certainly 
understandable. However, hacking it by hand is going to be fraught with 
problems.

LyX on Windows: have you tried Ruurd Reitsma's port of LyX to Windows 
using the native Windows API?

If you're set on using LaTeX, then I recommend that you use tex2lyx to 
convert your LaTeX file back into LyX file format. texlyx is the 
next-generation LaTeX to LyX converter and is much, much more powerful 
than reLyX. Unfortunately for you, it's available only as part of the 
development version of LyX. If I have time this evening, I'll try and 
build it for you.

Usage would be:
edit your latex file
tex2lyx your_file.tex  your_file_14x.lyx

Command line switches (case sensitive):
-helpsummarize tex2lyx usage
-f  Force creation of .lyx files even if they exist already
-userdir dir   try to set user directory to dir
-sysdir dirtry to set system directory to dir
-c textclass   declare the textclass
-s syntaxfile  read additional syntax file

This will create a LyX file in the latest LyX file format which your 
friend's LyX won't understand. You'll then need to use the latest version 
of the lyx2lyx python script to convert the just-generated lyx file to the 
LyX 1.3.x file format:

python path to/lyx2lyx --list

[210, 215, 216, 217, 218, 220, 221, 223, 224, 225, 226,
 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237,
 238, 239, 240]

LyX 1.3.x generates file format 221.

python path to/lyx2lyx --to 221 \
--output your_file_13x.lyx your_file_14x.lyx

Usage: lyx2lyx [options] [file]
Convert old lyx file file to newer format,
files can be compressed with gzip.
If there no file is specified then the standard input
is assumed, in this case gziped files are not handled.
Options:
-h, --helpthis information
-v, --version output version information and exit
-l, --listlist all available formats
-d, --debug level level=0..2 (O_ no debug information,
  2_ verbose)
  default: level=1
-e, --err error_file  name of the error file or 
  else goes to stderr
-t, --to version  final version (optional)
-o, --output name name of the output file or 
  else goes to stdout
-q, --quiet   same as --debug=0

-- 
Angus



LyX Crashes Loading Document

2005-01-31 Thread Rich Shepard
  This is both strange and frustrating. I saved my work last evening, killed
X and logged off. This morning I load lyx-1.3.5 as usual, but when I try to
load my book document (or its backup), lyx immediately shuts down!
  There is nothing in /tmp/lyx_tmpdirN/lyx_tmpbuf0.
  I need some ideas where to look for the reason why it's dying. This has
not happened brfore.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Writing Lyx on a text editor

2005-01-31 Thread G. Milde
On 31.01.05, Jose Capco wrote:
 Are the .lyx files actually texts with commands similar to LaTeX and is
 it practical/possible to write in LyX using an ordinary text editor? 

Possible, yes. Practical, no. 

Although the lyx files are text files and can be edited by hand, this
makes only sense for special actions not possible from within lyx (like a
regexp replace).

 I am already very much used to writing in LaTeX and personally I prefer
 LaTeX than LyX... but I need to write some (mathematical) articles
 together with someone and he can only use LyX and I have heard
 importing/exporting LaTeX for LyX is not very clean. I am trying to
 find the best possible means to collaborate with the other author who
 can only write in LyX. 

Actually, export to LaTeX is no problem (as this is also what LyX does
for the actual typesetting). Import of latex files has some quirks,
however (will vastly improve in the next version).

I had to deal with colleagues using plain LaTeX too. There are several
ways to do this.

  Even if not failproof, the import/export of LaTeX works in many
  instances. With a bit of experimenting, avoiding of dangerous
  constructs, and mutual patience, this could work.
  
  If there is a clear distinction, who is writing which part, you can
  just include a plain latex-file into LyX or a lyx-exported latex-file
  into your plain latex.

 If I have to use LyX, I prefer doing it in a text editor (if possible)
 and compiling it later.. since I am using windows and the LyX available
 for windows (I tried both the QT and the Xserver version) don't display
 or display badly many math fonts (like sum and etc.) and I couldnt find
 any solution to this in the net. 

There might be help, if you specify your problem on this list. (And
searching in the archives.)

Sincerely

Günter Milde

-- 
G.Milde web.de


Re: Equation Too Long for Text Width

2005-01-31 Thread G. Milde
On 31.01.05, Rich Shepard wrote:
 On Mon, 31 Jan 2005, G. Milde wrote:
 
 Ctrl-Enter.
 
 Günter,
 
   I tried this and nothing happened.

Strange. It works here (LyX-Qt 1.2.4 on Debian Gnu/Linux).

Well, you probabely have to create a new multiline equation inset and
copy the stuff there.

Günter 



-- 
G.Milde web.de


Reason for Crash Found: LyX Bug

2005-01-31 Thread Rich Shepard
  I suspected that my attempts to change the long formula to multiline had
something to do with LyX crashing when trying to open the document. So I
fired it up from the command line and tried opening the problem document:
Setting debug level to eia-book.lyx
Can't change number of columns in 'multline'
lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting
instructions in Help-Introduction and send us a bug report, if necessary.
Thanks !
Bye.
Aborted
  When I removed the string, \begin{multline}' I could load the document
again. Whew!
  I'd like to not manually re-enter this entire, long equation again. So
suggestions for how to split it among two lines would be very much
appreciated. I tried ctrl-enter, but perhaps I had the cursor in the wrong
position. Where should it be? Within the equation where I want the break to
occur?
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Equation Too Long for Text Width

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, G. Milde wrote:
Strange. It works here (LyX-Qt 1.2.4 on Debian Gnu/Linux).
Günter,
  I'm using LyX-1.3.4-qt on Slackware-10.0.
Well, you probabely have to create a new multiline equation inset and
copy the stuff there.
  When I enter part of the equation and press ctrl-enter the cursor moves to
the right of the = that begins the RHS of the equation.
  I suspect that I need to envoke multiline before entering any of the
equation, is this correct?
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

(chapter*) in TOC

2005-01-31 Thread Marcelo Acuÿfffff1a
Uwe,
part of your spell no work for me.
I must deleted \protect\numberline{}
With this the entire ERT appears in my output.
I use \addcontentsline {toc}{chapter}{Preface}. It´s work ok.
But Preface appears in columm of chapter numbers, (extreme left).
textclass scrbook no available in my lyx.
 
I have:
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass book

\begin_preamble
\usepackage[latin1]{inputenc}
\usepackage{babel}
\date{}
\end_preamble

\language spanish
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize 11
\spacing single 
\papersize b5paper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 2.3cm
\topmargin 2cm
\rightmargin 2cm
\bottommargin 1.8cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language french
\quotes_times 2
\papercolumns 1
\papersides 2
\paperpagestyle plain
\bullet 0
 0
 7
 -1
\end_bullet
\layout Title
La tecnología en la Antigüedad
\newline 
Un estudio comparado
\layout Author
Marcelo Victorio Acuña
\layout Chapter*

\shape italic 
Prólogo
\begin_inset ERT
status Open
\layout Standard
\backslash 
addcontentsline{toc}{chapter}{
\backslash 
protect
\backslash 
numberline{}Prólogo}
\end_inset 

\layout Standard
\noindent 
my text ...

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar

Re: Equation Too Long for Text Width

2005-01-31 Thread Angus Leeming
Rich Shepard wrote:

 On Mon, 31 Jan 2005, G. Milde wrote:
 
 Strange. It works here (LyX-Qt 1.2.4 on Debian Gnu/Linux).
 
 Günter,
 
I'm using LyX-1.3.4-qt on Slackware-10.0.
 
 Well, you probabely have to create a new multiline equation inset and
 copy the stuff there.
 
When I enter part of the equation and press ctrl-enter the cursor
moves to
 the right of the = that begins the RHS of the equation.

Go into the rightmost of the three boxes and press ctrl-enter again.


-- 
Angus



Re: Equation Too Long for Text Width

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Angus Leeming wrote:
Go into the rightmost of the three boxes and press ctrl-enter again.
Angus,
  I really dislike appearing so dense, but I just cannot get this working as
it should. I've started over at least a half-dozen times without success.
Let me try explaining exactly what I've done so you can point out where I
erred:
  Use menu: Insert-Math-AMS Multiline Environment (and, yes, I have the
AMS package in the preamble). This gives me a single math box.
  Enter \mu_sum = then select a { from math panel/delimiters (keep matched
check box is unchecked) and press Insert. As soon as I enter something I
get a large ] on the right side. Why? I did not select a square bracket and
I requested no match for the opening curly brace.
  Then I try entering a bit more of the equation and I press ctrl-enter.
This moves what I've entered down and leaves the cursor after the =, in
front of what I just entered.
  Attached is a pdf of the one page with the equation that's overfull and
needs to be split.
Many thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

equation.pdf
Description: Adobe PDF document


Re: Equation Too Long for Text Width

2005-01-31 Thread Herbert Voss
Rich Shepard wrote:
  Then I try entering a bit more of the equation and I press ctrl-enter.
This moves what I've entered down and leaves the cursor after the =, in
front of what I just entered.
  Attached is a pdf of the one page with the equation that's overfull and
needs to be split.
I'll forward an example to you as private mail, which I sent
yesterday to a friend.
HErbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: Equation Too Long for Text Width

2005-01-31 Thread Angus Leeming
Rich Shepard wrote:

 On Mon, 31 Jan 2005, Angus Leeming wrote:
 
 Go into the rightmost of the three boxes and press ctrl-enter again.
 
 Angus,
 
I really dislike appearing so dense, but I just cannot get this
working as
 it should. I've started over at least a half-dozen times without success.
 Let me try explaining exactly what I've done so you can point out where I
 erred:
 
Use menu: Insert-Math-AMS Multiline Environment

You've got Goosens et al.'s The Latex Companion, no? See pp235-239 
Alignment structures for equations. Is multiline what you want? Assuming 
that it is, I just input the equation at the top of p.247. came out a 
dream. Attached.



-- 
Angus#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 Standard


\begin_inset Formula \begin{multline*}
\int_{a}^{b}\left\{ 
\int_{a}^{b}\left[f\left(x\right)^{2}g\left(y\right)^{2}+f\left(y\right)^{2}g\left(x\right)^{2}\right]-2f\left(x\right)g\left(x\right)f\left(y\right)g\left(y\right)dx\right\}
 dy\\
=\int_{a}^{b}\left\{ 
g\left(y\right)^{2}\int_{a}^{b}f^{2}+f\left(y\right)^{2}\int_{a}^{b}g^{2}-2f\left(y\right)g\left(y\right)\int_{a}^{b}fg\right\}
 \, dy\end{multline*}

\end_inset 


\the_end


[OT] Re: Equation Too Long for Text Width

2005-01-31 Thread Kevin Pfeiffer
Angus Leeming writes:
 You've got Goosens et al.'s The Latex Companion, no? See pp235-239

On rubber plants and their substitutes? ;-) (Don't blame me, I didn't NaMe 
it.)

-K

-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: Equation Too Long for Text Width

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Angus Leeming wrote:
You've got Goosens et al.'s The Latex Companion, no? See pp235-239
Alignment structures for equations. Is multiline what you want? Assuming
that it is, I just input the equation at the top of p.247. came out a
dream. Attached.
   On my copy of TLC2, pp 235-238 on in Chapter 4, The Layout of the Page
and 239 begins Chapter 5, Tabular Material.
   Higher Mathematics is Chapter 8 and 8.2.3 (a single equation on multiple
lines: no alignment) has the LaTeX code on page 471. I guess I'll enter the
entire equation in an ERT since I apparently don't know how to properly
manipulate the LyX math mode.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Reason for Crash Found: LyX Bug

2005-01-31 Thread Jean-Marc Lasgouttes
 Rich == Rich Shepard [EMAIL PROTECTED] writes:

RichI suspected that my attempts to change the long formula to
Rich multiline had something to do with LyX crashing when trying to
Rich open the document. So I fired it up from the command line and
Rich tried opening the problem document:

Rich Setting debug level to eia-book.lyx Can't change number of
Rich columns in 'multline'

I suspect that the following fix in 1.3.6cvs will fix your problem:

- Fix crash when reading equations containing more columns than allowed 
  [bug 1542].

JMarc



Re: Equation Too Long for Text Width

2005-01-31 Thread Angus Leeming
Rich Shepard wrote:

 On Mon, 31 Jan 2005, Angus Leeming wrote:
 
 You've got Goosens et al.'s The Latex Companion, no? See pp235-239
 Alignment structures for equations. Is multiline what you want?
 Assuming that it is, I just input the equation at the top of p.247. came
 out a dream. Attached.
 
 On my copy of TLC2, pp 235-238 on in Chapter 4, The Layout of the
 Page
 and 239 begins Chapter 5, Tabular Material.
 
 Higher Mathematics is Chapter 8 and 8.2.3 (a single equation on
 multiple
 lines: no alignment) has the LaTeX code on page 471. 

Ok. My bad.

I guess I'll enter
 the entire equation in an ERT since I apparently don't know how to
 properly manipulate the LyX math mode.

shrug 
I just did the obvious:
Menu-New document
Menu-insert multiline environment
type the first line
hit cntl-enter (little blue box appears on the next line)
type second line
Menu-View DVI
/shrug 

-- 
Angus



Re: Equation Too Long for Text Width

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Angus Leeming wrote:
   Menu-insert multiline environment
   type the first line
   hit cntl-enter (little blue box appears on the next line)
   type second line
   Menu-View DVI
Angus,
  This works for me, too. The difference from before? I didn't use the math
panel to insert large braces and brackets. Why that makes a difference I've
no idea. But, each prior time I tried to use a large brace and a large
bracket from the panel and I'd either get an undesired closing bracket or
the ctrl-enter didn't work.
  I can reporduce this behavior at will. That's what I was doing the past
few hours. :-)
  Well, I'm now going to try Herbert's \Bigg\{ and see if I can get that to
place a large brace rather than Bigg{}.
  Thanks, all! On to the next problem.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Reason for Crash Found: LyX Bug

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Jean-Marc Lasgouttes wrote:
Rich Setting debug level to eia-book.lyx Can't change number of
Rich columns in 'multline'

I suspect that the following fix in 1.3.6cvs will fix your problem:
- Fix crash when reading equations containing more columns than allowed
 [bug 1542].
JMarc,
  Thanks very much. I think that I have this working for now, but I'll need
it for other documents.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Horizontal Rules in Float With Multiple Tables

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Juergen Spitzmueller wrote:
Does the following help?
- Place cursor outside (left of) the tabular.
- Edit-Paragraph
- Check Line above
- Place cursor in the captions paragraph
- Check Line below
Jürgen,
  When I modified it because the table captions are above the tables, yes it
worked like a charm. The horizontal rules extend across the text body width
while other table rules do not extend that far, but what the heck? It works
and that's good enough. If some review wants to pick nits about that (and
the lack of large brackets and braces in one equation), well I'll just take
it. :-)
  Now for the figure citation numbering format ...
Many thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: Files Submitted to Publisher -- RESOLVED

2005-01-31 Thread Rich Shepard
On Sun, 30 Jan 2005, Georg Baum wrote:
Do they really want dvi? Then this is correct. I would close all LyX
instances, delete /tmp/lyx_tmpdir* and then open one LyX instance with the
document to make sure that I'll get the right one. I am however not sure
wether you'll need all lyx_tmpbuf directories.
Georg,
  When I asked, the production editor replied that they wanted all files
associated with the production of the book. Therefore, I'll send them
everything in the /tmp/lyx_tmpdirNNN/lyx_tmpbufN/ directory, plus the
original .eps files for the figures.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Changing Default Subfigure Reference in Text

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Juergen Spitzmueller wrote:
\renewcommand\thesubfigure{\thefigure\alph{subfigure}}
see the documentation of subfigure.sty
Jürgen,
  Does the above go in the body of the text where the Figure is referenced,
or in the figure float itself? I looked at subfigure.sty but did not see an
answer.
  When I put it after the citation (Figure [ERT] ... the dvi output shows
(Figure 11.511.5a. Trial-and-error is not getting me the right location.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: follow-up: relyx / lyx2lyx problems

2005-01-31 Thread Sven Schreiber
Georg Baum wrote:
There are no relyx programmers (anymore). It is good that you found out 
that the input to lyx2lyx and therefroe relyx and not lyx2lyx was wrong. 
However, it does not make much sense (IMO) to try to fix bugs in relyx 
unless you are really fluent in perl and can do that in a couple of 
minutes.
IMO the time would be better spent in preparing ready-to-install packages 
of tex2lyx and testing tex2lyx.
Standalone tex2lyx (before lyx 1.4) would be great, because I've been 
told it works in all the cases where relyx fails. (And I learned that 
relyx is obsolete/unmaintained.) I'm aware there are tradeoffs between 
working on the complete 1.4 release and working on the separation of 
tex2lyx from lyx 1.4, and I have no clue about the work involved. But I 
don't expect lyx 1.4 coming soon, so IMveryHO as an end-user having 
tex2lyx sooner rather than later would be very useful.

(Again: only developers can judge if it's worth the effort, this is just 
to express my (and maybe others'?) preferences.)

-sven


Re: LyX

2005-01-31 Thread Paul A. Rubin
Maximillian Murphy wrote:
I'm a Latex user who has, as the wending ways of the world sometimes 
induce, stumbled over an advertisement for LyX.

Am I right in imagining LyX as being rather like one of those HTML editors
that have a toggle between source code and a graphical representation, so
that one can happily type away in a graphical window until one comes to a
command sequence that is sufficiently unusual not to have a button on the
editor, one flips a button and the screen changes to what the source code
actually looks like underneath, one enters the desired HTMLcommand
/HTMLcommand or edits the source code if it's misbehaving, and switches
back to the graphical interface, all complexity having been conquered at
it's own level?
Not exactly.  LyX behaves more like a WYSIWYG HTML editor.  When using a 
WYSIWYG HTML editor, one works with an approximation of what the page 
will look like in a browser, and typically there's an easy command to 
pass the page to your browser of choice to see the final product.  With 
LyX, the equivalent process is to view the final product either in a DVI 
viewer or, if your goal is to end up with a PDF file, in a PDF reader.

There is not, however, an option to burrow down to the underlying 
source code.  LyX source files are text files, but they are *very* 
verbose, and to the best of my knowledge one almost nevers wants to (or 
needs to) edit them directly.  The one exception to that is that I've 
seen people occasionally resort to grepping the source file to change 
all instances of some format to some other format (I think ... never 
tried it myself).

You can insert raw LaTeX into a LyX file via the LyX GUI, in much the 
same way that a WYSIWYG HTML editor will typically let you embed 
Javascript or unusual HTML tags without having to leave the editor.

Hope that helps,
-- Paul
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



figure and table side by side

2005-01-31 Thread Subir Singh Lamba

Hi,

I want to have a figure and a table side by side. I have tried 

1) In Float Figure I have a 1x2 table then insert the table and figure
side by side. The problem is that they are not aligned at the top.

While seaching the mailing list I came across the following link but at 
present it does not seem to be working.

http://www.educat.hu-berlin.de/~voss/Informatik/lyx/table.html



Thanks in advance,

Subir


Re: Changing Default Subfigure Reference in Text

2005-01-31 Thread Juergen Spitzmueller
Rich Shepard wrote:
  \renewcommand\thesubfigure{\thefigure\alph{subfigure}}
  see the documentation of subfigure.sty

 Jürgen,

    Does the above go in the body of the text where the Figure is
 referenced, or in the figure float itself? I looked at subfigure.sty but
 did not see an answer.

Preamble. But looking at the subfigure doc myself (sec. 4.2), I see that you 
should use something like

% the subfigure string (style 1a)
\renewcommand\thesubfigure{\thefigure\alph{subfigure}}

% This is the label of the subfigure caption (style a: caption):
[EMAIL PROTECTED]:\space}

% Additional text for the reference, deleted.
[EMAIL PROTECTED]

You can tweak this as you like.

Jürgen




Re: figure and table side by side

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Subir Singh Lamba wrote:
I want to have a figure and a table side by side. I have tried
Subir,
   Go to the LyX Web site and take the link to Herbert's Tips  Tricks page.
Yesterday, I saw how to do this on the Floats page as I was looking for
something else.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Equation Too Long for Text Width -- SOLVED

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Rich Shepard wrote:
 This works for me, too. The difference from before? I didn't use the math
panel to insert large braces and brackets.
  Thanks to Herbert's patience I now understand how the \Big and its
relatives work: the text _is_ shown in the LyX math mode box in ERT-red (not
to be confused with British racing green), but ... it displays properly in
the dvi output! It was this latter part that I missed.
  Another valuable lesson learned.
Thanks all!
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Problem in inserting graphic

2005-01-31 Thread Jirathana Worawattanamateekul
Dear Lyx users mailing list,
I am using Lyx for window, version 1.3.3.
I have currently a problem when i try to insert a float figure (an *eps 
file). This eps file is an output from Photoshop.

After i did insert - float figure
then i typed in the Caption, then again
insert - graphic
And i would like to see how it look
by view - dvi
The following error occur:
cannot determine size of graphic 
c:/Lyx/tmp/lyx_tmpdir1512a00/lyx_tmpbuf0/

I am quite new beginner with Lyx and using it to write my dissertation. 
I would appreciate if someone can suggest me concerning this problem and 
how can i solve it?

-Is there a limitation how big the eps file should be to  be inserted in 
Lyx?
- Is Lyx also compatible with another graphic format like jpeg or tiff?


Best regard,
Jira



Re: Problem in inserting graphic

2005-01-31 Thread Paul A. Rubin
Jirathana Worawattanamateekul wrote:
Dear Lyx users mailing list,
I am using Lyx for window, version 1.3.3.
I have currently a problem when i try to insert a float figure (an *eps 
file). This eps file is an output from Photoshop.

After i did insert - float figure
then i typed in the Caption, then again
insert - graphic
And i would like to see how it look
by view - dvi
The following error occur:
cannot determine size of graphic 
c:/Lyx/tmp/lyx_tmpdir1512a00/lyx_tmpbuf0/

I am quite new beginner with Lyx and using it to write my dissertation. 
I would appreciate if someone can suggest me concerning this problem and 
how can i solve it?

-Is there a limitation how big the eps file should be to  be inserted in 
Lyx?
- Is Lyx also compatible with another graphic format like jpeg or tiff?


Best regard,
Jira
LyX can handle most common graphics formats, including JPEG, PNG, PDF 
and, yes, EPS.  However, I seem to recall seeing one or two postings 
from people who had problems inserting EPS files generated by Adobe 
Illustrator, so perhaps there's a problem with the way Adobe products 
write the encapsulating information in EPS files.  (I've inserted EPS 
files created by Mathematica with no particular problems that I can recall.)

Converting the file to another format, such as PNG, is one possible 
workaround.  I assume that Photoshop supports a number of formats. 
However, there may be a bit of a cost.  JPEG and PNG are bitmap formats. 
 EPS files can contain bitmap images, but if I recall correctly they 
also contain vector graphics, and vector graphics resize more precisely 
than bitmaps do.  Whenever possible, I try to keep graphs drawings (as 
opposed to pictures) in vector formats.

You might try exporting the image as a PDF file, which I believe keeps 
vectors as vectors.  Another possibility, assuming that you have 
Ghostscript installed, is to run the Ghostscript eps2eps batch file 
against your original EPS file, and see if the cleaned-up file it 
exports loads properly.

-- Paul
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Rotate Table Doesn't

2005-01-31 Thread Rich Shepard
  I have a table that is too wide for the page. When I click on a cell,
bring up the table dialog box, and select Rotate Table 90, it does not
work. The .dvi output shows the table still horizontal, but toward the
bottom of the page and running off the right edge.
  Must be something I've not done properly. Clue, please.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Rotate Table Doesn't

2005-01-31 Thread Herbert Voss
Rich Shepard wrote:
  I have a table that is too wide for the page. When I click on a cell,
bring up the table dialog box, and select Rotate Table 90, it does not
work. The .dvi output shows the table still horizontal, but toward the
bottom of the page and running off the right edge.
  Must be something I've not done properly. Clue, please.
in gereal, the dvi viewers cannot rotate objects, use
the PostScript or PDF-output
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: Rotate Table Doesn't

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Herbert Voss wrote:
in general, the dvi viewers cannot rotate objects, use the PostScript or
PDF-output
Herbert,
  Well, I'll be! That's another valuable lesson for today. Despite the years
I've used LyX (four?), there's always something new to learn that I need.
Many thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


tex2lyx for Windows

2005-01-31 Thread Angus Leeming
As promised earlier this afternoon, I have built a snapshot of today's
tex2lyx from the 1.4.x tree.
It was built on a WIndows XP machine.
Find it at http://www.devel.lyx.org/~leeming/tex2lyx_win32_31Jan05.zip
I'm afraid that it's frighteningly large at 2.8MBytes, but that's probably
because I forgot to strip the executable.
FWIW, it takes 48 secs to download on a 56kByte/sec broadband connection.

The zip archive will unzip to

LyX/
bin/
reLyX
tex2lyx.exe
Resources/
lyx/
chkconfig.ltx
credits
lyx2lyx/
...
lyx2lyx
packages.lst
textclass.lst
configure
layouts/
lyxrc.defaults
reLyX/

Personally, I installed the thing as J:\Programs\LyX, but I'd be interested
to here how things go if you shove it in as C:\Program Files\LyX

Run from the CMD prompt as

 J:\Programs\LyX\bin\tex2lyx.exe UserGuide_13x.tex  UserGuide_14x.lyx
 python J:\Programs\LyX\Resources\lyx\lyx2lyx\lyx2lyx 
--to 221 --output UserGuide_13x_version2.lyx

As always with development code, caveat emptor.
Back up your files and DON'T BLAME ME! ;-)

-- 
Angus



Re: Problem in inserting graphic

2005-01-31 Thread Rob S

The following error occur:
cannot determine size of graphic 
c:/Lyx/tmp/lyx_tmpdir1512a00/lyx_tmpbuf0/
I've found that some eps errors occur when the image file has been saved 
together with information for a thumb nail size image. So check all you 
are saving is an .eps and not other embedded info.
I am quite new beginner with Lyx and using it to write my dissertation. 
I would appreciate if someone can suggest me concerning this problem and 
how can i solve it?

-Is there a limitation how big the eps file should be to  be inserted in 
Lyx?

- Is Lyx also compatible with another graphic format like jpeg or tiff?
also jpeg and bmp images all work well for me with Lyx under windows.
Rob S
--
R D Saunders
Hydraulic Research Group
Department of Civil and Environmental Engineering
University of Southampton
UK


Re: (chapter*) in TOC

2005-01-31 Thread Uwe Stöhr
Marcelo Acuf1a wrote:
I must deleted \protect\numberline{}
With this the entire ERT appears in my output.
I can't reproduce this. Could you load my attached example and export it 
as pdf(pdflatex). What happens? Could you send me the error message?

I use \addcontentsline {toc}{chapter}{Preface}. Its work ok.
But Preface appears in columm of chapter numbers, (extreme left).
To avoid this, I used the commands \protect\numberline{}. They create 
whitespace for the non existent number.

textclass scrbook no available in my lyx.
You need to install the LaTeX package koma-script if you want to use 
this class. (After installing reconfigure LyX.)

I have:
#LyX 1.3 created this file. For more info see http://www.lyx.org/
Please send the whole file as attachment.
regards Uwe
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrbook
\options fleqn
\language english
\inputencoding auto
\fontscheme ae
\graphics default
\paperfontsize 12
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 4
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle empty
\bullet 1
1
34
-1
\end_bullet
\bullet 2
2
35
-1
\end_bullet
\bullet 3
2
7
-1
\end_bullet

\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Chapter*

Preface
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
addcontentsline{toc}{chapter}{
\backslash 
protect
\backslash 
numberline{}Preface}
\end_inset 


\layout Chapter*

Acknowledgements
\layout Chapter*

Introductions
\layout Chapter

Chapter
\the_end


Re: figure and table side by side

2005-01-31 Thread Uwe Stöhr
Subir Singh Lamba wrote:
While seaching the mailing list I came across the following link but at 
present it does not seem to be working.

http://www.educat.hu-berlin.de/~voss/Informatik/lyx/table.html
it is now under:
http://www.texnik.de/table/table.phtml
regards Uwe


A Public Thank You

2005-01-31 Thread Rich Shepard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
  This evening I made a tarball from all the TeX output and as soon as
Springer sends me my username and password, up it goes to their ftp server.
  I want to express my appreciation to the developers and all the rest of
you who so patiently pulled me out of the mud when I became mired and taught
me the intricacies of using LaTeX with LyX. It's been a powerful experience
and I have over 500 e-mail messages saved as reference material so I don't
need to ask again on the same subjects. I promise to try to come up with new
ones in the future. Such as, does the booklet package work with LyX and
letter size paper? :-) I'm sure it does.
  Anyway, now I need to really focus on rebuilding my business since I've
pretty much neglected it during the 15 months between contract and typeset
submission ready for the printer.
  Your intimate knowledge of LaTeX, and your willingness to share it so
freely, is evidence of the value you contribute to society.
Again, thank you all very much,
Rich
- -- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.7 (GNU/Linux)

iD8DBQFB/wosugEIjC001L0RAmYLAJsFsn3czKQkphBC4qZv7z4UOC4IOACfTxFA
H3LLEMXGSLZ+G8pHM+5bl08=
=geGi
-END PGP SIGNATURE-


Re: figure and table side by side

2005-01-31 Thread Subir Singh Lamba

I am using lyx 1.3.4 on Mandrake9.2.I downloaded the tex file from the 
mentioned  site but it did not compile after it was imported in lyx. I 
tried working out myself with following step can somebody point out the 
error:

1) Use Figure Float.
2) After changing from caption to standard I inserted minipage.
3) Then Hfill and then again a minpage.
4) In the first minipage I inserted my figure and in the second the table.


On compiling the output  is figure and table one top of the other. 


With regards,

Subir


On Tue, 1 Feb 2005, [ISO-8859-1] Uwe Stöhr wrote:

 Subir Singh Lamba wrote:
 
  While seaching the mailing list I came across the following link but at 
  present it does not seem to be working.
  
  http://www.educat.hu-berlin.de/~voss/Informatik/lyx/table.html
 
 it is now under:
 
 http://www.texnik.de/table/table.phtml
 
 regards Uwe
 

-- 
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: Equation Too Long for Text Width

2005-01-31 Thread G. Milde
On 31.01.05, Rich Shepard wrote:
 
   When I enter part of the equation and press ctrl-enter the cursor moves to
 the right of the = that begins the RHS of the equation.
 
   I suspect that I need to envoke multiline before entering any of the
 equation, is this correct?

How about LHS, Ctrl-Enter, =, RHS?

Or LHS, = , Ctrl-Enter, RHS?

Just play with it to find out. (Or cut and past the stuff in the correct
boxes.)

GM

-- 
G.Milde web.de


Re: Wrong Running Head For Preface: Almost Fixed

2005-01-31 Thread Juergen Spitzmueller
Rich Shepard wrote:
 How do I learn which command is appropriate under which circumstances? Is
 \chaptermark best under only limited circumstances, while \markboth,
 \markleft and \markright are more broadly applied?

The \chaptermark and \sectionmark macros store the text of the 
chapter/sections for the headings, add the numbering (and, if the class 
defines this, also the chapter label) and passes all that it to \markright 
and \markboth (in two-sided documents), resp. 
\markright and \markboth pass its content to the headings.
(See scrguien.pdf, sec. 3.6 for \chaptermark and the following for \markright/ 
\markboth:
http://www.giss.nasa.gov/latex/ltx-264.html
)

So, \chaptermark calls \markboth or \markright and adds the numbering and 
label. From book.cls:

\def\chaptermark##1{%
  \markboth {\MakeUppercase{%
\ifnum [EMAIL PROTECTED] [EMAIL PROTECTED]
  [EMAIL PROTECTED]
[EMAIL PROTECTED] \thechapter. \ %
  \fi
\fi
##1}}{}}%

So \chaptermark is more appropriate if you want to modify the heading's text 
of a real \chapter (where numbering and labelling is needed), while 
\mark{right|both} is more appropriate for non-numbered headings (if you want 
the text without any additions in the headings).

    On a related note, how does a single chapter, such as the Preface, get
 out of sync while everything else has proper running heads? Perhaps if I
 understood this better I'd know how to fix it. Or, do I really not want to
 know? :-)

\chapter* is (in contrary to \chapter and koma's \addchap) defined to not pass 
anything to \mark{both|right}. So this is a feature. If you need headings and 
TOC entries nonetheless, you have to tell LaTeX.

Jürgen


Re: Centering paragraphs easily War: Re: Centering graphics in float

2005-01-31 Thread G. Milde
On 19.11.04, Andre Poenitz wrote:
 
 You can bind whatever key you like to 'paragraph-layout center' (or
 maybe 'centering')

My LyX 1.3.4 doesnot know about paragraph-layout :-(

Will such a function be in 1.4?

Günter

-- 
G.Milde web.de


Re: Horizontal Rules in Float With Multiple Tables

2005-01-31 Thread Juergen Spitzmueller
Rich Shepard wrote:
 A tabular float with three minipages across the width of the text area.
 Each minipage has a small table (truth tables for AND, OR and NOT). The
 publisher wants a horizontal line above the tables (and below the table
 caption) and another horizontal line below the three minipages.

Does the following help?

- Place cursor outside (left of) the tabular.
- Edit-Paragraph
- Check Line above
- Place cursor in the captions paragraph
- Check Line below 

Jürgen


Re: Changing Default Subfigure Reference in Text

2005-01-31 Thread Juergen Spitzmueller
Rich Shepard wrote:
 This means that when I enter the reference in the text like this (Figure
 [cross-reference]) what I see in the compiled output is a reference like
 this (Figure 11.5(b)). TeX added the letter within parentheses. I can't
 find a way to turn that off so the typeset reference is like this (Figure
 11.5b).

\renewcommand\thesubfigure{\thefigure\alph{subfigure}}

see the documentation of subfigure.sty

Jürgen


Writing Lyx on a text editor

2005-01-31 Thread Jose Capco
Dear Mailing List,

Are the .lyx files actually texts with commands
similar to LaTeX and is it practical/possible to write
in LyX using an ordinary text editor? I am already
very much used to writing in LaTeX and personally I
prefer LaTeX than LyX... but I need to write some
(mathematical) articles together with someone and he
can only use LyX and I have heard importing/exporting
LaTeX for LyX is not very clean. I am trying to find
the best possible means to collaborate with the other
author who can only write in LyX. If I have to use
LyX, I prefer doing it in a text editor (if possible)
and compiling it later.. since I am using windows and
the LyX available for windows (I tried both the QT and
the Xserver version) don't display or display badly
many math fonts (like sum and etc.) and I couldnt find
any solution to this in the net. If thats the case,
then it defeats the WYSIWYM and I prefer anyway to
write things on a text editor since I know how to
write them that way and it makes less difference for
me.

Sincerely,
Jose Capco



__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail


Re: Wrong Running Head For Preface: Almost Fixed

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Juergen Spitzmueller wrote:
So \chaptermark is more appropriate if you want to modify the heading's
text of a real \chapter (where numbering and labelling is needed), while
\mark{right|both} is more appropriate for non-numbered headings (if you want
the text without any additions in the headings).
Jürgen,
  Thank you. I realize I need to do mre LaTeX reading since I'm using LyX
more and more.
\chapter* is (in contrary to \chapter and koma's \addchap) defined to not
pass anything to \mark{both|right}. So this is a feature. If you need
headings and TOC entries nonetheless, you have to tell LaTeX.
  That makes sense. The Preface is not a numbered chapter and I do have the
instructions to add it to the ToC already there. Somehow, and I guess I'll
never know why, it stopped working when I moved the Preface to the proper
place.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: Equation Too Long for Text Width

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, G. Milde wrote:
Ctrl-Enter.
Günter,
  I tried this and nothing happened.
Probabely you will have to move stuff around in the 2x3 boxes you get to
adjust the alignment...
  I also tried using the // shown in TLC2, but that produced a regular slash
followed by one in red at a different angle. I'll work on this again.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: Writing Lyx on a text editor

2005-01-31 Thread Angus Leeming
Jose Capco wrote:

 Dear Mailing List,
 
 Are the .lyx files actually texts with commands
 similar to LaTeX and is it practical/possible to write
 in LyX using an ordinary text editor? I am already
 very much used to writing in LaTeX and personally I
 prefer LaTeX than LyX... but I need to write some
 (mathematical) articles together with someone and he
 can only use LyX and I have heard importing/exporting
 LaTeX for LyX is not very clean. I am trying to find
 the best possible means to collaborate with the other
 author who can only write in LyX. If I have to use
 LyX, I prefer doing it in a text editor (if possible)
 and compiling it later.. since I am using windows and
 the LyX available for windows (I tried both the QT and
 the Xserver version) don't display or display badly
 many math fonts (like sum and etc.) and I couldnt find
 any solution to this in the net. If thats the case,
 then it defeats the WYSIWYM and I prefer anyway to
 write things on a text editor since I know how to
 write them that way and it makes less difference for
 me.
 
 Sincerely,
 Jose Capco

The LyX file format is written as ascii text, so it's certainly 
understandable. However, hacking it by hand is going to be fraught with 
problems.

LyX on Windows: have you tried Ruurd Reitsma's port of LyX to Windows 
using the native Windows API?

If you're set on using LaTeX, then I recommend that you use tex2lyx to 
convert your LaTeX file back into LyX file format. texlyx is the 
next-generation LaTeX to LyX converter and is much, much more powerful 
than reLyX. Unfortunately for you, it's available only as part of the 
development version of LyX. If I have time this evening, I'll try and 
build it for you.

Usage would be:
edit your latex file
tex2lyx your_file.tex  your_file_14x.lyx

Command line switches (case sensitive):
-helpsummarize tex2lyx usage
-f  Force creation of .lyx files even if they exist already
-userdir dir   try to set user directory to dir
-sysdir dirtry to set system directory to dir
-c textclass   declare the textclass
-s syntaxfile  read additional syntax file

This will create a LyX file in the latest LyX file format which your 
friend's LyX won't understand. You'll then need to use the latest version 
of the lyx2lyx python script to convert the just-generated lyx file to the 
LyX 1.3.x file format:

python path to/lyx2lyx --list

[210, 215, 216, 217, 218, 220, 221, 223, 224, 225, 226,
 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237,
 238, 239, 240]

LyX 1.3.x generates file format 221.

python path to/lyx2lyx --to 221 \
--output your_file_13x.lyx your_file_14x.lyx

Usage: lyx2lyx [options] [file]
Convert old lyx file file to newer format,
files can be compressed with gzip.
If there no file is specified then the standard input
is assumed, in this case gziped files are not handled.
Options:
-h, --helpthis information
-v, --version output version information and exit
-l, --listlist all available formats
-d, --debug level level=0..2 (O_ no debug information,
  2_ verbose)
  default: level=1
-e, --err error_file  name of the error file or 
  else goes to stderr
-t, --to version  final version (optional)
-o, --output name name of the output file or 
  else goes to stdout
-q, --quiet   same as --debug=0

-- 
Angus



LyX Crashes Loading Document

2005-01-31 Thread Rich Shepard
  This is both strange and frustrating. I saved my work last evening, killed
X and logged off. This morning I load lyx-1.3.5 as usual, but when I try to
load my book document (or its backup), lyx immediately shuts down!
  There is nothing in /tmp/lyx_tmpdirN/lyx_tmpbuf0.
  I need some ideas where to look for the reason why it's dying. This has
not happened brfore.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Writing Lyx on a text editor

2005-01-31 Thread G. Milde
On 31.01.05, Jose Capco wrote:
 Are the .lyx files actually texts with commands similar to LaTeX and is
 it practical/possible to write in LyX using an ordinary text editor? 

Possible, yes. Practical, no. 

Although the lyx files are text files and can be edited by hand, this
makes only sense for special actions not possible from within lyx (like a
regexp replace).

 I am already very much used to writing in LaTeX and personally I prefer
 LaTeX than LyX... but I need to write some (mathematical) articles
 together with someone and he can only use LyX and I have heard
 importing/exporting LaTeX for LyX is not very clean. I am trying to
 find the best possible means to collaborate with the other author who
 can only write in LyX. 

Actually, export to LaTeX is no problem (as this is also what LyX does
for the actual typesetting). Import of latex files has some quirks,
however (will vastly improve in the next version).

I had to deal with colleagues using plain LaTeX too. There are several
ways to do this.

  Even if not failproof, the import/export of LaTeX works in many
  instances. With a bit of experimenting, avoiding of dangerous
  constructs, and mutual patience, this could work.
  
  If there is a clear distinction, who is writing which part, you can
  just include a plain latex-file into LyX or a lyx-exported latex-file
  into your plain latex.

 If I have to use LyX, I prefer doing it in a text editor (if possible)
 and compiling it later.. since I am using windows and the LyX available
 for windows (I tried both the QT and the Xserver version) don't display
 or display badly many math fonts (like sum and etc.) and I couldnt find
 any solution to this in the net. 

There might be help, if you specify your problem on this list. (And
searching in the archives.)

Sincerely

Günter Milde

-- 
G.Milde web.de


Re: Equation Too Long for Text Width

2005-01-31 Thread G. Milde
On 31.01.05, Rich Shepard wrote:
 On Mon, 31 Jan 2005, G. Milde wrote:
 
 Ctrl-Enter.
 
 Günter,
 
   I tried this and nothing happened.

Strange. It works here (LyX-Qt 1.2.4 on Debian Gnu/Linux).

Well, you probabely have to create a new multiline equation inset and
copy the stuff there.

Günter 



-- 
G.Milde web.de


Reason for Crash Found: LyX Bug

2005-01-31 Thread Rich Shepard
  I suspected that my attempts to change the long formula to multiline had
something to do with LyX crashing when trying to open the document. So I
fired it up from the command line and tried opening the problem document:
Setting debug level to eia-book.lyx
Can't change number of columns in 'multline'
lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting
instructions in Help-Introduction and send us a bug report, if necessary.
Thanks !
Bye.
Aborted
  When I removed the string, \begin{multline}' I could load the document
again. Whew!
  I'd like to not manually re-enter this entire, long equation again. So
suggestions for how to split it among two lines would be very much
appreciated. I tried ctrl-enter, but perhaps I had the cursor in the wrong
position. Where should it be? Within the equation where I want the break to
occur?
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Equation Too Long for Text Width

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, G. Milde wrote:
Strange. It works here (LyX-Qt 1.2.4 on Debian Gnu/Linux).
Günter,
  I'm using LyX-1.3.4-qt on Slackware-10.0.
Well, you probabely have to create a new multiline equation inset and
copy the stuff there.
  When I enter part of the equation and press ctrl-enter the cursor moves to
the right of the = that begins the RHS of the equation.
  I suspect that I need to envoke multiline before entering any of the
equation, is this correct?
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

(chapter*) in TOC

2005-01-31 Thread Marcelo Acuÿfffff1a
Uwe,
part of your spell no work for me.
I must deleted \protect\numberline{}
With this the entire ERT appears in my output.
I use \addcontentsline {toc}{chapter}{Preface}. It´s work ok.
But Preface appears in columm of chapter numbers, (extreme left).
textclass scrbook no available in my lyx.
 
I have:
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass book

\begin_preamble
\usepackage[latin1]{inputenc}
\usepackage{babel}
\date{}
\end_preamble

\language spanish
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize 11
\spacing single 
\papersize b5paper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 2.3cm
\topmargin 2cm
\rightmargin 2cm
\bottommargin 1.8cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language french
\quotes_times 2
\papercolumns 1
\papersides 2
\paperpagestyle plain
\bullet 0
 0
 7
 -1
\end_bullet
\layout Title
La tecnología en la Antigüedad
\newline 
Un estudio comparado
\layout Author
Marcelo Victorio Acuña
\layout Chapter*

\shape italic 
Prólogo
\begin_inset ERT
status Open
\layout Standard
\backslash 
addcontentsline{toc}{chapter}{
\backslash 
protect
\backslash 
numberline{}Prólogo}
\end_inset 

\layout Standard
\noindent 
my text ...

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar

Re: Equation Too Long for Text Width

2005-01-31 Thread Angus Leeming
Rich Shepard wrote:

 On Mon, 31 Jan 2005, G. Milde wrote:
 
 Strange. It works here (LyX-Qt 1.2.4 on Debian Gnu/Linux).
 
 Günter,
 
I'm using LyX-1.3.4-qt on Slackware-10.0.
 
 Well, you probabely have to create a new multiline equation inset and
 copy the stuff there.
 
When I enter part of the equation and press ctrl-enter the cursor
moves to
 the right of the = that begins the RHS of the equation.

Go into the rightmost of the three boxes and press ctrl-enter again.


-- 
Angus



Re: Equation Too Long for Text Width

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Angus Leeming wrote:
Go into the rightmost of the three boxes and press ctrl-enter again.
Angus,
  I really dislike appearing so dense, but I just cannot get this working as
it should. I've started over at least a half-dozen times without success.
Let me try explaining exactly what I've done so you can point out where I
erred:
  Use menu: Insert-Math-AMS Multiline Environment (and, yes, I have the
AMS package in the preamble). This gives me a single math box.
  Enter \mu_sum = then select a { from math panel/delimiters (keep matched
check box is unchecked) and press Insert. As soon as I enter something I
get a large ] on the right side. Why? I did not select a square bracket and
I requested no match for the opening curly brace.
  Then I try entering a bit more of the equation and I press ctrl-enter.
This moves what I've entered down and leaves the cursor after the =, in
front of what I just entered.
  Attached is a pdf of the one page with the equation that's overfull and
needs to be split.
Many thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

equation.pdf
Description: Adobe PDF document


Re: Equation Too Long for Text Width

2005-01-31 Thread Herbert Voss
Rich Shepard wrote:
  Then I try entering a bit more of the equation and I press ctrl-enter.
This moves what I've entered down and leaves the cursor after the =, in
front of what I just entered.
  Attached is a pdf of the one page with the equation that's overfull and
needs to be split.
I'll forward an example to you as private mail, which I sent
yesterday to a friend.
HErbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: Equation Too Long for Text Width

2005-01-31 Thread Angus Leeming
Rich Shepard wrote:

 On Mon, 31 Jan 2005, Angus Leeming wrote:
 
 Go into the rightmost of the three boxes and press ctrl-enter again.
 
 Angus,
 
I really dislike appearing so dense, but I just cannot get this
working as
 it should. I've started over at least a half-dozen times without success.
 Let me try explaining exactly what I've done so you can point out where I
 erred:
 
Use menu: Insert-Math-AMS Multiline Environment

You've got Goosens et al.'s The Latex Companion, no? See pp235-239 
Alignment structures for equations. Is multiline what you want? Assuming 
that it is, I just input the equation at the top of p.247. came out a 
dream. Attached.



-- 
Angus#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 Standard


\begin_inset Formula \begin{multline*}
\int_{a}^{b}\left\{ 
\int_{a}^{b}\left[f\left(x\right)^{2}g\left(y\right)^{2}+f\left(y\right)^{2}g\left(x\right)^{2}\right]-2f\left(x\right)g\left(x\right)f\left(y\right)g\left(y\right)dx\right\}
 dy\\
=\int_{a}^{b}\left\{ 
g\left(y\right)^{2}\int_{a}^{b}f^{2}+f\left(y\right)^{2}\int_{a}^{b}g^{2}-2f\left(y\right)g\left(y\right)\int_{a}^{b}fg\right\}
 \, dy\end{multline*}

\end_inset 


\the_end


[OT] Re: Equation Too Long for Text Width

2005-01-31 Thread Kevin Pfeiffer
Angus Leeming writes:
 You've got Goosens et al.'s The Latex Companion, no? See pp235-239

On rubber plants and their substitutes? ;-) (Don't blame me, I didn't NaMe 
it.)

-K

-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: Equation Too Long for Text Width

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Angus Leeming wrote:
You've got Goosens et al.'s The Latex Companion, no? See pp235-239
Alignment structures for equations. Is multiline what you want? Assuming
that it is, I just input the equation at the top of p.247. came out a
dream. Attached.
   On my copy of TLC2, pp 235-238 on in Chapter 4, The Layout of the Page
and 239 begins Chapter 5, Tabular Material.
   Higher Mathematics is Chapter 8 and 8.2.3 (a single equation on multiple
lines: no alignment) has the LaTeX code on page 471. I guess I'll enter the
entire equation in an ERT since I apparently don't know how to properly
manipulate the LyX math mode.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Reason for Crash Found: LyX Bug

2005-01-31 Thread Jean-Marc Lasgouttes
 Rich == Rich Shepard [EMAIL PROTECTED] writes:

RichI suspected that my attempts to change the long formula to
Rich multiline had something to do with LyX crashing when trying to
Rich open the document. So I fired it up from the command line and
Rich tried opening the problem document:

Rich Setting debug level to eia-book.lyx Can't change number of
Rich columns in 'multline'

I suspect that the following fix in 1.3.6cvs will fix your problem:

- Fix crash when reading equations containing more columns than allowed 
  [bug 1542].

JMarc



Re: Equation Too Long for Text Width

2005-01-31 Thread Angus Leeming
Rich Shepard wrote:

 On Mon, 31 Jan 2005, Angus Leeming wrote:
 
 You've got Goosens et al.'s The Latex Companion, no? See pp235-239
 Alignment structures for equations. Is multiline what you want?
 Assuming that it is, I just input the equation at the top of p.247. came
 out a dream. Attached.
 
 On my copy of TLC2, pp 235-238 on in Chapter 4, The Layout of the
 Page
 and 239 begins Chapter 5, Tabular Material.
 
 Higher Mathematics is Chapter 8 and 8.2.3 (a single equation on
 multiple
 lines: no alignment) has the LaTeX code on page 471. 

Ok. My bad.

I guess I'll enter
 the entire equation in an ERT since I apparently don't know how to
 properly manipulate the LyX math mode.

shrug 
I just did the obvious:
Menu-New document
Menu-insert multiline environment
type the first line
hit cntl-enter (little blue box appears on the next line)
type second line
Menu-View DVI
/shrug 

-- 
Angus



Re: Equation Too Long for Text Width

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Angus Leeming wrote:
   Menu-insert multiline environment
   type the first line
   hit cntl-enter (little blue box appears on the next line)
   type second line
   Menu-View DVI
Angus,
  This works for me, too. The difference from before? I didn't use the math
panel to insert large braces and brackets. Why that makes a difference I've
no idea. But, each prior time I tried to use a large brace and a large
bracket from the panel and I'd either get an undesired closing bracket or
the ctrl-enter didn't work.
  I can reporduce this behavior at will. That's what I was doing the past
few hours. :-)
  Well, I'm now going to try Herbert's \Bigg\{ and see if I can get that to
place a large brace rather than Bigg{}.
  Thanks, all! On to the next problem.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Reason for Crash Found: LyX Bug

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Jean-Marc Lasgouttes wrote:
Rich Setting debug level to eia-book.lyx Can't change number of
Rich columns in 'multline'

I suspect that the following fix in 1.3.6cvs will fix your problem:
- Fix crash when reading equations containing more columns than allowed
 [bug 1542].
JMarc,
  Thanks very much. I think that I have this working for now, but I'll need
it for other documents.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Horizontal Rules in Float With Multiple Tables

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Juergen Spitzmueller wrote:
Does the following help?
- Place cursor outside (left of) the tabular.
- Edit-Paragraph
- Check Line above
- Place cursor in the captions paragraph
- Check Line below
Jürgen,
  When I modified it because the table captions are above the tables, yes it
worked like a charm. The horizontal rules extend across the text body width
while other table rules do not extend that far, but what the heck? It works
and that's good enough. If some review wants to pick nits about that (and
the lack of large brackets and braces in one equation), well I'll just take
it. :-)
  Now for the figure citation numbering format ...
Many thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: Files Submitted to Publisher -- RESOLVED

2005-01-31 Thread Rich Shepard
On Sun, 30 Jan 2005, Georg Baum wrote:
Do they really want dvi? Then this is correct. I would close all LyX
instances, delete /tmp/lyx_tmpdir* and then open one LyX instance with the
document to make sure that I'll get the right one. I am however not sure
wether you'll need all lyx_tmpbuf directories.
Georg,
  When I asked, the production editor replied that they wanted all files
associated with the production of the book. Therefore, I'll send them
everything in the /tmp/lyx_tmpdirNNN/lyx_tmpbufN/ directory, plus the
original .eps files for the figures.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Changing Default Subfigure Reference in Text

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Juergen Spitzmueller wrote:
\renewcommand\thesubfigure{\thefigure\alph{subfigure}}
see the documentation of subfigure.sty
Jürgen,
  Does the above go in the body of the text where the Figure is referenced,
or in the figure float itself? I looked at subfigure.sty but did not see an
answer.
  When I put it after the citation (Figure [ERT] ... the dvi output shows
(Figure 11.511.5a. Trial-and-error is not getting me the right location.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863

Re: follow-up: relyx / lyx2lyx problems

2005-01-31 Thread Sven Schreiber
Georg Baum wrote:
There are no relyx programmers (anymore). It is good that you found out 
that the input to lyx2lyx and therefroe relyx and not lyx2lyx was wrong. 
However, it does not make much sense (IMO) to try to fix bugs in relyx 
unless you are really fluent in perl and can do that in a couple of 
minutes.
IMO the time would be better spent in preparing ready-to-install packages 
of tex2lyx and testing tex2lyx.
Standalone tex2lyx (before lyx 1.4) would be great, because I've been 
told it works in all the cases where relyx fails. (And I learned that 
relyx is obsolete/unmaintained.) I'm aware there are tradeoffs between 
working on the complete 1.4 release and working on the separation of 
tex2lyx from lyx 1.4, and I have no clue about the work involved. But I 
don't expect lyx 1.4 coming soon, so IMveryHO as an end-user having 
tex2lyx sooner rather than later would be very useful.

(Again: only developers can judge if it's worth the effort, this is just 
to express my (and maybe others'?) preferences.)

-sven


Re: LyX

2005-01-31 Thread Paul A. Rubin
Maximillian Murphy wrote:
I'm a Latex user who has, as the wending ways of the world sometimes 
induce, stumbled over an advertisement for LyX.

Am I right in imagining LyX as being rather like one of those HTML editors
that have a toggle between source code and a graphical representation, so
that one can happily type away in a graphical window until one comes to a
command sequence that is sufficiently unusual not to have a button on the
editor, one flips a button and the screen changes to what the source code
actually looks like underneath, one enters the desired HTMLcommand
/HTMLcommand or edits the source code if it's misbehaving, and switches
back to the graphical interface, all complexity having been conquered at
it's own level?
Not exactly.  LyX behaves more like a WYSIWYG HTML editor.  When using a 
WYSIWYG HTML editor, one works with an approximation of what the page 
will look like in a browser, and typically there's an easy command to 
pass the page to your browser of choice to see the final product.  With 
LyX, the equivalent process is to view the final product either in a DVI 
viewer or, if your goal is to end up with a PDF file, in a PDF reader.

There is not, however, an option to burrow down to the underlying 
source code.  LyX source files are text files, but they are *very* 
verbose, and to the best of my knowledge one almost nevers wants to (or 
needs to) edit them directly.  The one exception to that is that I've 
seen people occasionally resort to grepping the source file to change 
all instances of some format to some other format (I think ... never 
tried it myself).

You can insert raw LaTeX into a LyX file via the LyX GUI, in much the 
same way that a WYSIWYG HTML editor will typically let you embed 
Javascript or unusual HTML tags without having to leave the editor.

Hope that helps,
-- Paul
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



figure and table side by side

2005-01-31 Thread Subir Singh Lamba

Hi,

I want to have a figure and a table side by side. I have tried 

1) In Float Figure I have a 1x2 table then insert the table and figure
side by side. The problem is that they are not aligned at the top.

While seaching the mailing list I came across the following link but at 
present it does not seem to be working.

http://www.educat.hu-berlin.de/~voss/Informatik/lyx/table.html



Thanks in advance,

Subir


Re: Changing Default Subfigure Reference in Text

2005-01-31 Thread Juergen Spitzmueller
Rich Shepard wrote:
  \renewcommand\thesubfigure{\thefigure\alph{subfigure}}
  see the documentation of subfigure.sty

 Jürgen,

    Does the above go in the body of the text where the Figure is
 referenced, or in the figure float itself? I looked at subfigure.sty but
 did not see an answer.

Preamble. But looking at the subfigure doc myself (sec. 4.2), I see that you 
should use something like

% the subfigure string (style 1a)
\renewcommand\thesubfigure{\thefigure\alph{subfigure}}

% This is the label of the subfigure caption (style a: caption):
[EMAIL PROTECTED]:\space}

% Additional text for the reference, deleted.
[EMAIL PROTECTED]

You can tweak this as you like.

Jürgen




Re: figure and table side by side

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Subir Singh Lamba wrote:
I want to have a figure and a table side by side. I have tried
Subir,
   Go to the LyX Web site and take the link to Herbert's Tips  Tricks page.
Yesterday, I saw how to do this on the Floats page as I was looking for
something else.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Equation Too Long for Text Width -- SOLVED

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Rich Shepard wrote:
 This works for me, too. The difference from before? I didn't use the math
panel to insert large braces and brackets.
  Thanks to Herbert's patience I now understand how the \Big and its
relatives work: the text _is_ shown in the LyX math mode box in ERT-red (not
to be confused with British racing green), but ... it displays properly in
the dvi output! It was this latter part that I missed.
  Another valuable lesson learned.
Thanks all!
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Problem in inserting graphic

2005-01-31 Thread Jirathana Worawattanamateekul
Dear Lyx users mailing list,
I am using Lyx for window, version 1.3.3.
I have currently a problem when i try to insert a float figure (an *eps 
file). This eps file is an output from Photoshop.

After i did insert - float figure
then i typed in the Caption, then again
insert - graphic
And i would like to see how it look
by view - dvi
The following error occur:
cannot determine size of graphic 
c:/Lyx/tmp/lyx_tmpdir1512a00/lyx_tmpbuf0/

I am quite new beginner with Lyx and using it to write my dissertation. 
I would appreciate if someone can suggest me concerning this problem and 
how can i solve it?

-Is there a limitation how big the eps file should be to  be inserted in 
Lyx?
- Is Lyx also compatible with another graphic format like jpeg or tiff?


Best regard,
Jira



Re: Problem in inserting graphic

2005-01-31 Thread Paul A. Rubin
Jirathana Worawattanamateekul wrote:
Dear Lyx users mailing list,
I am using Lyx for window, version 1.3.3.
I have currently a problem when i try to insert a float figure (an *eps 
file). This eps file is an output from Photoshop.

After i did insert - float figure
then i typed in the Caption, then again
insert - graphic
And i would like to see how it look
by view - dvi
The following error occur:
cannot determine size of graphic 
c:/Lyx/tmp/lyx_tmpdir1512a00/lyx_tmpbuf0/

I am quite new beginner with Lyx and using it to write my dissertation. 
I would appreciate if someone can suggest me concerning this problem and 
how can i solve it?

-Is there a limitation how big the eps file should be to  be inserted in 
Lyx?
- Is Lyx also compatible with another graphic format like jpeg or tiff?


Best regard,
Jira
LyX can handle most common graphics formats, including JPEG, PNG, PDF 
and, yes, EPS.  However, I seem to recall seeing one or two postings 
from people who had problems inserting EPS files generated by Adobe 
Illustrator, so perhaps there's a problem with the way Adobe products 
write the encapsulating information in EPS files.  (I've inserted EPS 
files created by Mathematica with no particular problems that I can recall.)

Converting the file to another format, such as PNG, is one possible 
workaround.  I assume that Photoshop supports a number of formats. 
However, there may be a bit of a cost.  JPEG and PNG are bitmap formats. 
 EPS files can contain bitmap images, but if I recall correctly they 
also contain vector graphics, and vector graphics resize more precisely 
than bitmaps do.  Whenever possible, I try to keep graphs drawings (as 
opposed to pictures) in vector formats.

You might try exporting the image as a PDF file, which I believe keeps 
vectors as vectors.  Another possibility, assuming that you have 
Ghostscript installed, is to run the Ghostscript eps2eps batch file 
against your original EPS file, and see if the cleaned-up file it 
exports loads properly.

-- Paul
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Rotate Table Doesn't

2005-01-31 Thread Rich Shepard
  I have a table that is too wide for the page. When I click on a cell,
bring up the table dialog box, and select Rotate Table 90, it does not
work. The .dvi output shows the table still horizontal, but toward the
bottom of the page and running off the right edge.
  Must be something I've not done properly. Clue, please.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Rotate Table Doesn't

2005-01-31 Thread Herbert Voss
Rich Shepard wrote:
  I have a table that is too wide for the page. When I click on a cell,
bring up the table dialog box, and select Rotate Table 90, it does not
work. The .dvi output shows the table still horizontal, but toward the
bottom of the page and running off the right edge.
  Must be something I've not done properly. Clue, please.
in gereal, the dvi viewers cannot rotate objects, use
the PostScript or PDF-output
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: Rotate Table Doesn't

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Herbert Voss wrote:
in general, the dvi viewers cannot rotate objects, use the PostScript or
PDF-output
Herbert,
  Well, I'll be! That's another valuable lesson for today. Despite the years
I've used LyX (four?), there's always something new to learn that I need.
Many thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


tex2lyx for Windows

2005-01-31 Thread Angus Leeming
As promised earlier this afternoon, I have built a snapshot of today's
tex2lyx from the 1.4.x tree.
It was built on a WIndows XP machine.
Find it at http://www.devel.lyx.org/~leeming/tex2lyx_win32_31Jan05.zip
I'm afraid that it's frighteningly large at 2.8MBytes, but that's probably
because I forgot to strip the executable.
FWIW, it takes 48 secs to download on a 56kByte/sec broadband connection.

The zip archive will unzip to

LyX/
bin/
reLyX
tex2lyx.exe
Resources/
lyx/
chkconfig.ltx
credits
lyx2lyx/
...
lyx2lyx
packages.lst
textclass.lst
configure
layouts/
lyxrc.defaults
reLyX/

Personally, I installed the thing as J:\Programs\LyX, but I'd be interested
to here how things go if you shove it in as C:\Program Files\LyX

Run from the CMD prompt as

 J:\Programs\LyX\bin\tex2lyx.exe UserGuide_13x.tex  UserGuide_14x.lyx
 python J:\Programs\LyX\Resources\lyx\lyx2lyx\lyx2lyx 
--to 221 --output UserGuide_13x_version2.lyx

As always with development code, caveat emptor.
Back up your files and DON'T BLAME ME! ;-)

-- 
Angus



Re: Problem in inserting graphic

2005-01-31 Thread Rob S

The following error occur:
cannot determine size of graphic 
c:/Lyx/tmp/lyx_tmpdir1512a00/lyx_tmpbuf0/
I've found that some eps errors occur when the image file has been saved 
together with information for a thumb nail size image. So check all you 
are saving is an .eps and not other embedded info.
I am quite new beginner with Lyx and using it to write my dissertation. 
I would appreciate if someone can suggest me concerning this problem and 
how can i solve it?

-Is there a limitation how big the eps file should be to  be inserted in 
Lyx?

- Is Lyx also compatible with another graphic format like jpeg or tiff?
also jpeg and bmp images all work well for me with Lyx under windows.
Rob S
--
R D Saunders
Hydraulic Research Group
Department of Civil and Environmental Engineering
University of Southampton
UK


Re: (chapter*) in TOC

2005-01-31 Thread Uwe Stöhr
Marcelo Acuf1a wrote:
I must deleted \protect\numberline{}
With this the entire ERT appears in my output.
I can't reproduce this. Could you load my attached example and export it 
as pdf(pdflatex). What happens? Could you send me the error message?

I use \addcontentsline {toc}{chapter}{Preface}. Its work ok.
But Preface appears in columm of chapter numbers, (extreme left).
To avoid this, I used the commands \protect\numberline{}. They create 
whitespace for the non existent number.

textclass scrbook no available in my lyx.
You need to install the LaTeX package koma-script if you want to use 
this class. (After installing reconfigure LyX.)

I have:
#LyX 1.3 created this file. For more info see http://www.lyx.org/
Please send the whole file as attachment.
regards Uwe
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrbook
\options fleqn
\language english
\inputencoding auto
\fontscheme ae
\graphics default
\paperfontsize 12
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 4
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle empty
\bullet 1
1
34
-1
\end_bullet
\bullet 2
2
35
-1
\end_bullet
\bullet 3
2
7
-1
\end_bullet

\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Chapter*

Preface
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
addcontentsline{toc}{chapter}{
\backslash 
protect
\backslash 
numberline{}Preface}
\end_inset 


\layout Chapter*

Acknowledgements
\layout Chapter*

Introductions
\layout Chapter

Chapter
\the_end


Re: figure and table side by side

2005-01-31 Thread Uwe Stöhr
Subir Singh Lamba wrote:
While seaching the mailing list I came across the following link but at 
present it does not seem to be working.

http://www.educat.hu-berlin.de/~voss/Informatik/lyx/table.html
it is now under:
http://www.texnik.de/table/table.phtml
regards Uwe


A Public Thank You

2005-01-31 Thread Rich Shepard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
  This evening I made a tarball from all the TeX output and as soon as
Springer sends me my username and password, up it goes to their ftp server.
  I want to express my appreciation to the developers and all the rest of
you who so patiently pulled me out of the mud when I became mired and taught
me the intricacies of using LaTeX with LyX. It's been a powerful experience
and I have over 500 e-mail messages saved as reference material so I don't
need to ask again on the same subjects. I promise to try to come up with new
ones in the future. Such as, does the booklet package work with LyX and
letter size paper? :-) I'm sure it does.
  Anyway, now I need to really focus on rebuilding my business since I've
pretty much neglected it during the 15 months between contract and typeset
submission ready for the printer.
  Your intimate knowledge of LaTeX, and your willingness to share it so
freely, is evidence of the value you contribute to society.
Again, thank you all very much,
Rich
- -- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.7 (GNU/Linux)

iD8DBQFB/wosugEIjC001L0RAmYLAJsFsn3czKQkphBC4qZv7z4UOC4IOACfTxFA
H3LLEMXGSLZ+G8pHM+5bl08=
=geGi
-END PGP SIGNATURE-


Re: figure and table side by side

2005-01-31 Thread Subir Singh Lamba

I am using lyx 1.3.4 on Mandrake9.2.I downloaded the tex file from the 
mentioned  site but it did not compile after it was imported in lyx. I 
tried working out myself with following step can somebody point out the 
error:

1) Use Figure Float.
2) After changing from caption to standard I inserted minipage.
3) Then Hfill and then again a minpage.
4) In the first minipage I inserted my figure and in the second the table.


On compiling the output  is figure and table one top of the other. 


With regards,

Subir


On Tue, 1 Feb 2005, [ISO-8859-1] Uwe Stöhr wrote:

 Subir Singh Lamba wrote:
 
  While seaching the mailing list I came across the following link but at 
  present it does not seem to be working.
  
  http://www.educat.hu-berlin.de/~voss/Informatik/lyx/table.html
 
 it is now under:
 
 http://www.texnik.de/table/table.phtml
 
 regards Uwe
 

-- 
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: Equation Too Long for Text Width

2005-01-31 Thread G. Milde
On 31.01.05, Rich Shepard wrote:
 
   When I enter part of the equation and press ctrl-enter the cursor moves to
 the right of the = that begins the RHS of the equation.
 
   I suspect that I need to envoke multiline before entering any of the
 equation, is this correct?

How about LHS, Ctrl-Enter, =, RHS?

Or LHS, = , Ctrl-Enter, RHS?

Just play with it to find out. (Or cut and past the stuff in the correct
boxes.)

GM

-- 
G.Milde web.de


Re: Wrong Running Head For Preface: Almost Fixed

2005-01-31 Thread Juergen Spitzmueller
Rich Shepard wrote:
> How do I learn which command is appropriate under which circumstances? Is
> \chaptermark best under only limited circumstances, while \markboth,
> \markleft and \markright are more broadly applied?

The \chaptermark and \sectionmark macros store the text of the 
chapter/sections for the headings, add the numbering (and, if the class 
defines this, also the chapter label) and passes all that it to \markright 
and \markboth (in two-sided documents), resp. 
\markright and \markboth pass its content to the headings.
(See scrguien.pdf, sec. 3.6 for \chaptermark and the following for \markright/ 
\markboth:
http://www.giss.nasa.gov/latex/ltx-264.html
)

So, \chaptermark calls \markboth or \markright and adds the numbering and 
label. From book.cls:

\def\chaptermark##1{%
  \markboth {\MakeUppercase{%
\ifnum [EMAIL PROTECTED] >[EMAIL PROTECTED]
  [EMAIL PROTECTED]
[EMAIL PROTECTED] \thechapter. \ %
  \fi
\fi
##1}}{}}%

So \chaptermark is more appropriate if you want to modify the heading's text 
of a real \chapter (where numbering and labelling is needed), while 
\mark{right|both} is more appropriate for non-numbered headings (if you want 
the text without any additions in the headings).

>    On a related note, how does a single chapter, such as the Preface, get
> out of sync while everything else has proper running heads? Perhaps if I
> understood this better I'd know how to fix it. Or, do I really not want to
> know? :-)

\chapter* is (in contrary to \chapter and koma's \addchap) defined to not pass 
anything to \mark{both|right}. So this is a feature. If you need headings and 
TOC entries nonetheless, you have to tell LaTeX.

Jürgen


Re: Centering paragraphs easily War: Re: Centering graphics in float

2005-01-31 Thread G. Milde
On 19.11.04, Andre Poenitz wrote:
 
> You can bind whatever key you like to 'paragraph-layout center' (or
> maybe 'centering')

My LyX 1.3.4 doesnot know about paragraph-layout :-(

Will such a function be in 1.4?

Günter

-- 
G.Milde web.de


Re: Horizontal Rules in Float With Multiple Tables

2005-01-31 Thread Juergen Spitzmueller
Rich Shepard wrote:
> A tabular float with three minipages across the width of the text area.
> Each minipage has a small table (truth tables for AND, OR and NOT). The
> publisher wants a horizontal line above the tables (and below the table
> caption) and another horizontal line below the three minipages.

Does the following help?

- Place cursor outside (left of) the tabular.
- Edit->Paragraph
- Check "Line above"
- Place cursor in the captions paragraph
- Check "Line below" 

Jürgen


Re: Changing Default Subfigure Reference in Text

2005-01-31 Thread Juergen Spitzmueller
Rich Shepard wrote:
> This means that when I enter the reference in the text like this (Figure
> [cross-reference]) what I see in the compiled output is a reference like
> this (Figure 11.5(b)). TeX added the letter within parentheses. I can't
> find a way to turn that off so the typeset reference is like this (Figure
> 11.5b).

\renewcommand\thesubfigure{\thefigure\alph{subfigure}}

see the documentation of subfigure.sty

Jürgen


Writing Lyx on a text editor

2005-01-31 Thread Jose Capco
Dear Mailing List,

Are the .lyx files actually texts with commands
similar to LaTeX and is it practical/possible to write
in LyX using an ordinary text editor? I am already
very much used to writing in LaTeX and personally I
prefer LaTeX than LyX... but I need to write some
(mathematical) articles together with someone and he
can only use LyX and I have heard importing/exporting
LaTeX for LyX is not very clean. I am trying to find
the best possible means to collaborate with the other
author who can only write in LyX. If I have to use
LyX, I prefer doing it in a text editor (if possible)
and compiling it later.. since I am using windows and
the LyX available for windows (I tried both the QT and
the Xserver version) don't display or display badly
many math fonts (like sum and etc.) and I couldnt find
any solution to this in the net. If thats the case,
then it defeats the WYSIWYM and I prefer anyway to
write things on a text editor since I know how to
write them that way and it makes less difference for
me.

Sincerely,
Jose Capco



__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail


Re: Wrong Running Head For Preface: Almost Fixed

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Juergen Spitzmueller wrote:
So \chaptermark is more appropriate if you want to modify the heading's
text of a real \chapter (where numbering and labelling is needed), while
\mark{right|both} is more appropriate for non-numbered headings (if you want
the text without any additions in the headings).
Jürgen,
  Thank you. I realize I need to do mre LaTeX reading since I'm using LyX
more and more.
\chapter* is (in contrary to \chapter and koma's \addchap) defined to not
pass anything to \mark{both|right}. So this is a feature. If you need
headings and TOC entries nonetheless, you have to tell LaTeX.
  That makes sense. The Preface is not a numbered chapter and I do have the
instructions to add it to the ToC already there. Somehow, and I guess I'll
never know why, it stopped working when I moved the Preface to the proper
place.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863

Re: Equation Too Long for Text Width

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, G. Milde wrote:
Ctrl-Enter.
Günter,
  I tried this and nothing happened.
Probabely you will have to move stuff around in the 2x3 boxes you get to
adjust the alignment...
  I also tried using the // shown in TLC2, but that produced a regular slash
followed by one in red at a different angle. I'll work on this again.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863

Re: Writing Lyx on a text editor

2005-01-31 Thread Angus Leeming
Jose Capco wrote:

> Dear Mailing List,
> 
> Are the .lyx files actually texts with commands
> similar to LaTeX and is it practical/possible to write
> in LyX using an ordinary text editor? I am already
> very much used to writing in LaTeX and personally I
> prefer LaTeX than LyX... but I need to write some
> (mathematical) articles together with someone and he
> can only use LyX and I have heard importing/exporting
> LaTeX for LyX is not very clean. I am trying to find
> the best possible means to collaborate with the other
> author who can only write in LyX. If I have to use
> LyX, I prefer doing it in a text editor (if possible)
> and compiling it later.. since I am using windows and
> the LyX available for windows (I tried both the QT and
> the Xserver version) don't display or display badly
> many math fonts (like sum and etc.) and I couldnt find
> any solution to this in the net. If thats the case,
> then it defeats the WYSIWYM and I prefer anyway to
> write things on a text editor since I know how to
> write them that way and it makes less difference for
> me.
> 
> Sincerely,
> Jose Capco

The LyX file format is written as ascii text, so it's certainly 
understandable. However, hacking it by hand is going to be fraught with 
problems.

LyX on Windows: have you tried Ruurd Reitsma's port of LyX to Windows 
using the native Windows API?

If you're set on using LaTeX, then I recommend that you use tex2lyx to 
convert your LaTeX file back into LyX file format. texlyx is the 
next-generation LaTeX to LyX converter and is much, much more powerful 
than reLyX. Unfortunately for you, it's available only as part of the 
development version of LyX. If I have time this evening, I'll try and 
build it for you.

Usage would be:
edit your latex file
tex2lyx your_file.tex > your_file_14x.lyx

Command line switches (case sensitive):
-helpsummarize tex2lyx usage
-f  Force creation of .lyx files even if they exist already
-userdir dir   try to set user directory to dir
-sysdir dirtry to set system directory to dir
-c textclass   declare the textclass
-s syntaxfile  read additional syntax file

This will create a LyX file in the latest LyX file format which your 
friend's LyX won't understand. You'll then need to use the latest version 
of the lyx2lyx python script to convert the just-generated lyx file to the 
LyX 1.3.x file format:

python /lyx2lyx --list

[210, 215, 216, 217, 218, 220, 221, 223, 224, 225, 226,
 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237,
 238, 239, 240]

LyX 1.3.x generates file format 221.

python /lyx2lyx --to 221 \
--output your_file_13x.lyx your_file_14x.lyx

Usage: lyx2lyx [options] [file]
Convert old lyx file  to newer format,
files can be compressed with gzip.
If there no file is specified then the standard input
is assumed, in this case gziped files are not handled.
Options:
-h, --helpthis information
-v, --version output version information and exit
-l, --listlist all available formats
-d, --debug level level=0..2 (O_ no debug information,
  2_ verbose)
  default: level=1
-e, --err error_file  name of the error file or 
  else goes to stderr
-t, --to version  final version (optional)
-o, --output name name of the output file or 
  else goes to stdout
-q, --quiet   same as --debug=0

-- 
Angus



LyX Crashes Loading Document

2005-01-31 Thread Rich Shepard
  This is both strange and frustrating. I saved my work last evening, killed
X and logged off. This morning I load lyx-1.3.5 as usual, but when I try to
load my book document (or its backup), lyx immediately shuts down!
  There is nothing in /tmp/lyx_tmpdirN/lyx_tmpbuf0.
  I need some ideas where to look for the reason why it's dying. This has
not happened brfore.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Re: Writing Lyx on a text editor

2005-01-31 Thread G. Milde
On 31.01.05, Jose Capco wrote:
> Are the .lyx files actually texts with commands similar to LaTeX and is
> it practical/possible to write in LyX using an ordinary text editor? 

Possible, yes. Practical, no. 

Although the lyx files are text files and can be edited by hand, this
makes only sense for special actions not possible from within lyx (like a
regexp replace).

> I am already very much used to writing in LaTeX and personally I prefer
> LaTeX than LyX... but I need to write some (mathematical) articles
> together with someone and he can only use LyX and I have heard
> importing/exporting LaTeX for LyX is not very clean. I am trying to
> find the best possible means to collaborate with the other author who
> can only write in LyX. 

Actually, export to LaTeX is no problem (as this is also what LyX does
for the actual typesetting). Import of latex files has some quirks,
however (will vastly improve in the next version).

I had to deal with colleagues using plain LaTeX too. There are several
ways to do this.

  Even if not failproof, the import/export of LaTeX works in many
  instances. With a bit of experimenting, avoiding of "dangerous"
  constructs, and mutual patience, this could work.
  
  If there is a clear distinction, who is writing which part, you can
  just include a plain latex-file into LyX or a lyx-exported latex-file
  into your plain latex.

> If I have to use LyX, I prefer doing it in a text editor (if possible)
> and compiling it later.. since I am using windows and the LyX available
> for windows (I tried both the QT and the Xserver version) don't display
> or display badly many math fonts (like sum and etc.) and I couldnt find
> any solution to this in the net. 

There might be help, if you specify your problem on this list. (And
searching in the archives.)

Sincerely

Günter Milde

-- 
G.Milde web.de


  1   2   >