Re: can't install it under SuSE 7.2

2002-09-10 Thread Andre Poenitz

On Thu, Sep 05, 2002 at 04:57:16PM +0200, Vinay Ramnath wrote:
 the installation of teTeX went fine. I put it in /usr/local/teTeX, which 
 was the default.

Did you use the tetex.rpm shipped by SuSE? This should not install to
.../local/ by default. [It certainly does not wiht 7.1 and 7.3, so I'd be
very surprised if it did with 7.2]

 However, when I tried to install LyX using rpm -Uvh 
 --nodeps lyx-1.2.1* it seems like the installer can't find anything of 
 my teTeX installation. Among others, it can't find a LaTeX2e package and 
 it can't find kpsewhich, which is installed in /usr/local/teTeX/bin/. 
 In fact, all the binaries it looks for and can't find are there. What's 
 wrong and how can I solve it? I have installed LyX 1.2.0 this way in the 
 past and everything went fine, but I recently reinstalled my computer 
 and I can't install LyX properly. It is installed, but lacks a lot of 
 the functionality, like previewing, printing and exporting to other 
 formats. Also, I can't remove it, using rpm -e lyx*.

What does 'rpm -qa | grep lyx' say?  'rpm -e lyx-exact-name' should work.

Andre'

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



Re: can't install it under SuSE 7.2

2002-09-10 Thread I Wayan Warmada


On Tue, 10 Sep 2002, Andre Poenitz wrote:

| Did you use the tetex.rpm shipped by SuSE? This should not install to
| .../local/ by default. [It certainly does not wiht 7.1 and 7.3, so I'd be
| very surprised if it did with 7.2]

for SuSE 7.2 tetex.rpm is installed in
/usr/share/

Wayan




Re: tab key.

2002-09-10 Thread Andre Poenitz

On Mon, Sep 09, 2002 at 10:46:19PM -0500, Bo Peng wrote:
 On Sat, Sep 07, 2002 at 04:44:50PM -0500, Bo Peng wrote:
  Also, \bind S-C-asciitilde  accent-tilde does not work in math
  mode. How can I correct this problem?
 
 Not only accent-tilde, accent-circumflex does work in math-mode as well.
 Even if I have a character with accent, if I select it and press C-M to
 convert it to math-mode, I get error message:
 
  start of math expected, got '[ã,12]'
 
 I remember these functions work with lyx1.6fix4... 

a + C-m  worked (undocumented on purpose) in 1.2.x

Nowadays you have to specify which kind of math you want as I removed some
of the guess-work code. So selecting $a$ and C-m converts it to inline math
and selecting \[a\] and C-m converts it to displayed math (and should work
in 1.2.x as well).

Andre'

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



Re: center a table within an item.

2002-09-10 Thread Alain Castera

On Mon, 9 Sep 2002, Bo Peng wrote:

 Hello,

 This is a real newbie question: How can I center a table within an item?
 In enumerate/itemize environment, I use C-Ret to enter lines, table etc
 but I can not format (e.g. center)  things individually. For example,

 5. 
   text C-Ret
   a table C-Ret
   text Ret
 6.

 I can not center the table with layout - paragraph. (I can do it with
 ERT but it is simply too troublesome.)
When you enter things with C-Ret, you don't enter a new paragraph you
can format individually. You should instead enter your table in a separate
paragraph (Ret, then (Standard layout)), then use Change environment
depth. Now you can format your new paragraph the usual way.


 Also, if I want to quote something between texts,

 5
  text

quote environment

  text
 6.


 I have to change depth of quoted text but then the following text will
 be numbered ...

I am not sure to understand:-( If you already know how to change depth,
you should have solved the first question by yourself !???
Anyway, let's go on as is. To obtain
5.
   text1
quote
   text2
6..

You have to switch text2 layout from text2 to Standard, then change depth.

Does it help ? Or am I completly off topic ?

Alain

-- 
 ***
 *Alain Castera*
 * IPNL - UCB Lyon 1 | e-mail : [EMAIL PROTECTED] *
 * Bat. Paul Dirac   |  or[EMAIL PROTECTED] *
 * Campus de la Doua | Telephone : (+33) 472448429 *
 * F69622 Villeurbanne CEDEX | Fax :   (+33) 472448004 *
 ***




Re: Importing HTML

2002-09-10 Thread Andre Poenitz

On Fri, Sep 06, 2002 at 09:56:58PM +1000, Kathryn Andersen wrote:
 I suspect that the problem is gnuhtml2latex, producing LaTex which is not
 nice (because I looked at the output and those darn \par things were
 already there).  [...] I am not a LaTeX person, but I do know how to
 write Perl scripts... 8-)

What about a simple perl script as postprocessor that replaces these \par
by empty lines? Although this transformation is not valid in general, it
should work in most cases.

Andre'

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



Re: opening graphics images sequentially using convert

2002-09-10 Thread Dekel Tsur

On Mon, Sep 09, 2002 at 05:02:00PM -0700, Ashvin Goel wrote:
 As I said in another mail, even if you don't want all images to be 
 rendered immediately, lyx will try to render them all if you search for 
 a word from the beginning of the file and the word does not exist in the 
 file. That was causing me enough pain.

This was fixed in LyX 1.2.1.



Re: Reference line in revtex

2002-09-10 Thread Dekel Tsur

On Mon, Sep 09, 2002 at 10:12:07AM -0300, Osvaldo Fornaro wrote:
 
 I need to present an article in a style similar to aps, so i used revtex 
 style. But now i need to change the bibliography line separator by the word 
 Referencias (the article is spanish, but any example will works :-) )


Add the following lines to the preamble:

\def\bibsection{%
   \section*{Referencias}%
   \@nobreaktrue}
   



Forgotten

2002-09-10 Thread R. Josh

I do not know, also, how to generate oblic arrows for variation tables of functions.

(Please pardon me for my very bad English !)

Linuxian friendly thoughts.

RJ



encapsulated PostScript

2002-09-10 Thread R. Josh


-Message d'origine-
De : R. Josh [EMAIL PROTECTED]
À : LyX [EMAIL PROTECTED]
Date : mardi 10 septembre 2002 04:48


Help me please ! 
I need writing mathematical lectures, but don't know how to generate figures in *.eps 
format, whith what software.
Thank you for your kind and fast rescue !!

RJ



Meaning of sp, bt, bp...

2002-09-10 Thread Hisyam Lee

Hi folks,

What is the meaning of the sp, bt, bp, dd, mm, pc, cc, cm, in, ex, em, mu that I
find it under Doucment Layout/Separation/Default Skip. Actually, what I whan is
a 2 lines spacing between paragraph.

Thanks.

H Lee 



-
This mail sent through IMP: http://horde.org/imp/



Re: encapsulated PostScript

2002-09-10 Thread Tuukka Toivonen

On Tue, 10 Sep 2002, R. Josh wrote:

I need writing mathematical lectures, but don't know how to generate
figures in *.eps format, whith what software. Thank you for your kind and

Any good (and even bad) software should be able to generate EPS. For
example xfig.




Re: \math-insert \prime.

2002-09-10 Thread Andre Poenitz

On Sat, Sep 07, 2002 at 10:27:31PM -0500, Bo Peng wrote:
 Sorry John. I did not mean to reply to you directly.
 
 On Sun, Sep 08, 2002 at 02:53:43AM +0100, John Levon wrote:
  On Sat, Sep 07, 2002 at 08:20:26PM -0500, Bo Peng wrote:
 
   The position of the prime symbol inserted by '\math-insert \prime' is
   displayed 'correctly', but it is actually not in the superscript
   position.  
 
  The command is math--insert not \math-insert
 
 Sorry. My typo. I am using the correct form:
  
 \bind  C-s apostrophe math-insert \prime
 
 My problem is that I have to use this command in super-script to get the
 correct prime so I tried to bind 'C-s apostrophe' to go to super
 script, insert prime sign, (if possible) go back to normal mode'.

And that does not work? I.e.

\bind  C-s apostrophe  command-sequence math-superscript ; math-insert
\prime ; char-right ;  

(Or whatever the LFUN for Cursor Right is)

Andre'

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



cannot upgrade to 1.2.1

2002-09-10 Thread Frederic Lemoine

Hello,

I run 1.2.0 on a RH 7.3.

I would like to upgrade to 1.2.1. Whatever I do (upgrade with patch or 
  reinstall from scratch), I have this error :

In file included from GUIRunTIME.C:22:
xformsGImage.h:92: syntax error before `*'

The line in question is

/// The xforms container.
FL_IMAGE * image_;

I am using gcc 3.2, do you think it could be the cause of the problem?

F.




Re: Forgotten

2002-09-10 Thread Dekel Tsur

On Tue, Sep 10, 2002 at 04:50:44AM -0300, R. Josh wrote:
 I do not know, also, how to generate oblic arrows for variation tables of functions.

See
http://www.tex.ac.uk/tex-archive/info/symbols/comprehensive/



Re: Forgotten

2002-09-10 Thread Andre Poenitz

On Tue, Sep 10, 2002 at 04:50:44AM -0300, R. Josh wrote:
 I do not know, also, how to generate oblic arrows for variation tables
 of functions.

I don't know what 'variation tables of functions' are, but if you ar
looking for a certain symbol, have a look at The Comprehensive List of
LaTeX Symbols or post some ASCII art drawing here.

Andre'

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



Re: encapsulated PostScript

2002-09-10 Thread Andre Poenitz

On Tue, Sep 10, 2002 at 04:54:55AM -0300, R. Josh wrote:
 I need writing mathematical lectures, but don't know how to generate
 figures in *.eps format, whith what software.
 Thank you for your kind and fast rescue !!

I use xfig.

But as you seem to use Microsoft Windows you might be better of with
Corel Draw or similar.

Note that a few Windows programs could produce (at least screen shot
quality) .ps by after you have installed a postscript printer driver
(preferably one from Adobe)

Andre'

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



RE: encapsulated PostScript

2002-09-10 Thread Robert Spee

 On Tue, Sep 10, 2002 at 04:54:55AM -0300, R. Josh wrote:
  I need writing mathematical lectures, but don't know how to generate
  figures in *.eps format, whith what software.
  Thank you for your kind and fast rescue !!
 
 I use xfig.
 
 But as you seem to use Microsoft Windows you might be better of with
 Corel Draw or similar.
 
 Note that a few Windows programs could produce (at least screen shot
 quality) .ps by after you have installed a postscript printer driver
 (preferably one from Adobe)

I make my figures mostly with MS powerpoint and then print them to a .ps
file using the adobe postscript printer (using the archive format option)
and then convert them to eps with ghostview to make a boundingbox

Note that you have to set the powerpoint pagelayout to A4 (or Letter) and
portrait and you have to place the figure at the top of the page, otherwise
the figure overlaps teh text above your figure in the resulting dvi.

This method works also with other windows programs which have a print
option. 

The quality with powerpoint looks like normal vector quality to me.

Gr

Robert



Re: center a table within an item.

2002-09-10 Thread Bo Peng

On Tue, Sep 10, 2002 at 09:46:12AM +0200, Alain Castera wrote:
 On Mon, 9 Sep 2002, Bo Peng wrote:

 I am not sure to understand:-( If you already know how to change depth,
 you should have solved the first question by yourself !???
 Anyway, let's go on as is. To obtain
 5.
text1
   quote
text2
 6..

 You have to switch text2 layout from text2 to Standard, then change depth.

 Does it help ? Or am I completly off topic ?

I think my two questions are the same, but I thought a table is not a
nested environment and should not have +1 depth. 

The problem is that 

5...
  a) text 
 quote (+1 depth, quote environment)
  Alt-Ret will get
  b) text2
  c) text3
6

Just as you said, I need to change text2 to standard style and change
depth of text2 to the level of quote and get the following:


5...
  a) text_
 quote (+1 depth, quote environment)
 text2
  b) text3
6

It is not intuitive to me at all but it works. Thank you.

-- 
Bo Peng



Re: Meaning of sp, bt, bp...

2002-09-10 Thread Matej Cepl

On Tue, Sep 10, 2002 at 06:44:14PM +0800, Hisyam Lee wrote:
 What is the meaning of the sp, bt, bp, dd, mm, pc, cc, cm, in, ex, em, mu that I
 find it under Doucment Layout/Separation/Default Skip. Actually, what I whan is
 a 2 lines spacing between paragraph.

First run on google gave me:
http://nwalsh.com/tex/texhelp/Plain.html. However, what you want
it \baselineskip (see info latex for more).

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
A woman without a man is like a fish without a bicycle.
Therefore, a man without a woman is like a bicycle without
a fish.




Re: Meaning of sp, bt, bp...

2002-09-10 Thread Dekel Tsur

On Tue, Sep 10, 2002 at 10:49:15AM -0400, Matej Cepl wrote:
 On Tue, Sep 10, 2002 at 06:44:14PM +0800, Hisyam Lee wrote:
  What is the meaning of the sp, bt, bp, dd, mm, pc, cc, cm, in, ex, em, mu that I
  find it under Doucment Layout/Separation/Default Skip. Actually, what I whan is
  a 2 lines spacing between paragraph.
 
 First run on google gave me:
 http://nwalsh.com/tex/texhelp/Plain.html. However, what you want
 it \baselineskip (see info latex for more).

Unfortunately, the dialog does not let you use \baselineskip.
So either write \setlength{\parskip}{\baselineksip} in the preamble,
or use the dialog with
 14.5pt for a 12pt document
 13.6pt for a 11pt document
 12pt   for a 10pt document
(assuming you use the standard classes (Article/Book/Report))



minimised toc for each chapter

2002-09-10 Thread J.Lauffenburger

Hi lyxers,

I think someone has faced with this problem, but I can't get out of the
solution in the archives...
I would like to put, for each chapter, a minimised TOC (with section,
subsection for instance) after the title of the chapter. This TOC should
use the same layout then the one of the main document and shoud be
separate from chapter title and beginning of the text with vertical
lines...

Any suggestion would be great!

J. Ph. Lauffenburger




Re: minimised toc for each chapter

2002-09-10 Thread Dekel Tsur

On Tue, Sep 10, 2002 at 09:40:31PM +0200, J.Lauffenburger wrote:
 Hi lyxers,
 
 I think someone has faced with this problem, but I can't get out of the
 solution in the archives...
 I would like to put, for each chapter, a minimised TOC (with section,
 subsection for instance) after the title of the chapter. This TOC should
 use the same layout then the one of the main document and shoud be
 separate from chapter title and beginning of the text with vertical
 lines...

Use the minitoc package.
(Read its documantation.)



Problems with \sectionmark

2002-09-10 Thread robin

I've been using \sectionmark to avoid long section headers running off 
the page (in Book style), but I've found that for some reason it only 
works the first two times out of three.  Either I'm doing something 
really stupid, or something really strange is going on.  I can send the 
file if needed (I haven't attached it this time, as it's big).

Any help appreciated 

Robin

-- 
There are only 10 types of people in the world. Those
 who understand binary and those who don't - thinkgeek.com

Robin Turner
IDMYO
Bilkent Üniversitesi
Ankara 06533

http://www.bilkent.edu.tr/~robin





Re: Meaning of sp, bt, bp...

2002-09-10 Thread Hisyam Lee

Quoting Dekel Tsur [EMAIL PROTECTED]:

 On Tue, Sep 10, 2002 at 10:49:15AM -0400, Matej Cepl wrote:
  On Tue, Sep 10, 2002 at 06:44:14PM +0800, Hisyam Lee wrote:
   What is the meaning of the sp, bt, bp, dd, mm, pc, cc, cm, in, ex, em, mu
 that I
   find it under Doucment Layout/Separation/Default Skip. Actually, what I
 whan is
   a 2 lines spacing between paragraph.
  
  First run on google gave me:
  http://nwalsh.com/tex/texhelp/Plain.html. However, what you want
  it \baselineskip (see info latex for more).
 
 Unfortunately, the dialog does not let you use \baselineskip.
 So either write \setlength{\parskip}{\baselineksip} in the preamble,
 or use the dialog with
  14.5pt for a 12pt document
  13.6pt for a 11pt document
  12pt   for a 10pt document
 (assuming you use the standard classes (Article/Book/Report))

Thanks folks.
I'm using 12pt document, so 14.5pt work just fine for me.
Thanks again,

H Lee
 




-
This mail sent through IMP: http://horde.org/imp/



Chapter 1 before the Table of contents

2002-09-10 Thread Pierre Joyal

Hi 

I am using tex4ht for publishing html documents from latex documents (command htlatex)
To get a blue chapter, I added to the preamble the following :
\usepackage{color}
\let\myChapter\chapter
\renewcommand\chapter[1]{%
  \myChaper[#1]{\protect\textcolor{blue}{#1}}%
}
\let\myTOC\tableofcontents
\renewcommand{\tableofcontents}{%
  \let\chapter\myChapter
  \myTOC
  \renewcommand\chapter[1]{%
\myChapter[##1]{\protect\textcolor{blue}{##1}}%
  }%
}

To my surprise, Chapter 1 starts  before the table of contents. It includes only a 
star and the real chapter 1 becomes chapter 2.
Pierre






Re: Importing HTML

2002-09-10 Thread Andre Poenitz

On Tue, Sep 10, 2002 at 06:14:49PM -0400, Paul Tremblay wrote:
 On Sat, Sep 07, 2002 at 10:01:08PM +0300, Dekel Tsur wrote:
  IF neither existing html-latex converter does a good job, I suggest you try
  to imporve one of them rather than write a html-lyx converter.
 
 Yes, but writing a lyx-xml convertor might prove useful. I have been
 working terribly hard on a script that converts RTF to XML. Now I need a
 some type of utility to convert my resulting XML file to LyX. I can
 simply write an xslt style sheet, but it would be better to have some
 type of standard LyX XML document.

The .lyx format is a moving target, and it will stay this way for a while.

So using the stable .tex as intermediate stepping stone does not sound
insensible, especially as LyX already produces .tex flawlessly and can
read some of it.

Andre'

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



Re: can't install it under SuSE 7.2

2002-09-10 Thread Andre Poenitz

On Thu, Sep 05, 2002 at 04:57:16PM +0200, Vinay Ramnath wrote:
 the installation of teTeX went fine. I put it in /usr/local/teTeX, which 
 was the default.

Did you use the tetex.rpm shipped by SuSE? This should not install to
.../local/ by default. [It certainly does not wiht 7.1 and 7.3, so I'd be
very surprised if it did with 7.2]

 However, when I tried to install LyX using rpm -Uvh 
 --nodeps lyx-1.2.1* it seems like the installer can't find anything of 
 my teTeX installation. Among others, it can't find a LaTeX2e package and 
 it can't find kpsewhich, which is installed in /usr/local/teTeX/bin/. 
 In fact, all the binaries it looks for and can't find are there. What's 
 wrong and how can I solve it? I have installed LyX 1.2.0 this way in the 
 past and everything went fine, but I recently reinstalled my computer 
 and I can't install LyX properly. It is installed, but lacks a lot of 
 the functionality, like previewing, printing and exporting to other 
 formats. Also, I can't remove it, using rpm -e lyx*.

What does 'rpm -qa | grep lyx' say?  'rpm -e lyx-exact-name' should work.

Andre'

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



Re: can't install it under SuSE 7.2

2002-09-10 Thread I Wayan Warmada


On Tue, 10 Sep 2002, Andre Poenitz wrote:

| Did you use the tetex.rpm shipped by SuSE? This should not install to
| .../local/ by default. [It certainly does not wiht 7.1 and 7.3, so I'd be
| very surprised if it did with 7.2]

for SuSE 7.2 tetex.rpm is installed in
/usr/share/

Wayan




Re: tab key.

2002-09-10 Thread Andre Poenitz

On Mon, Sep 09, 2002 at 10:46:19PM -0500, Bo Peng wrote:
 On Sat, Sep 07, 2002 at 04:44:50PM -0500, Bo Peng wrote:
  Also, \bind S-C-asciitilde  accent-tilde does not work in math
  mode. How can I correct this problem?
 
 Not only accent-tilde, accent-circumflex does work in math-mode as well.
 Even if I have a character with accent, if I select it and press C-M to
 convert it to math-mode, I get error message:
 
  start of math expected, got '[ã,12]'
 
 I remember these functions work with lyx1.6fix4... 

a + C-m  worked (undocumented on purpose) in 1.2.x

Nowadays you have to specify which kind of math you want as I removed some
of the guess-work code. So selecting $a$ and C-m converts it to inline math
and selecting \[a\] and C-m converts it to displayed math (and should work
in 1.2.x as well).

Andre'

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



Re: center a table within an item.

2002-09-10 Thread Alain Castera

On Mon, 9 Sep 2002, Bo Peng wrote:

 Hello,

 This is a real newbie question: How can I center a table within an item?
 In enumerate/itemize environment, I use C-Ret to enter lines, table etc
 but I can not format (e.g. center)  things individually. For example,

 5. 
   text C-Ret
   a table C-Ret
   text Ret
 6.

 I can not center the table with layout - paragraph. (I can do it with
 ERT but it is simply too troublesome.)
When you enter things with C-Ret, you don't enter a new paragraph you
can format individually. You should instead enter your table in a separate
paragraph (Ret, then (Standard layout)), then use Change environment
depth. Now you can format your new paragraph the usual way.


 Also, if I want to quote something between texts,

 5
  text

quote environment

  text
 6.


 I have to change depth of quoted text but then the following text will
 be numbered ...

I am not sure to understand:-( If you already know how to change depth,
you should have solved the first question by yourself !???
Anyway, let's go on as is. To obtain
5.
   text1
quote
   text2
6..

You have to switch text2 layout from text2 to Standard, then change depth.

Does it help ? Or am I completly off topic ?

Alain

-- 
 ***
 *Alain Castera*
 * IPNL - UCB Lyon 1 | e-mail : [EMAIL PROTECTED] *
 * Bat. Paul Dirac   |  or[EMAIL PROTECTED] *
 * Campus de la Doua | Telephone : (+33) 472448429 *
 * F69622 Villeurbanne CEDEX | Fax :   (+33) 472448004 *
 ***




Re: Importing HTML

2002-09-10 Thread Andre Poenitz

On Fri, Sep 06, 2002 at 09:56:58PM +1000, Kathryn Andersen wrote:
 I suspect that the problem is gnuhtml2latex, producing LaTex which is not
 nice (because I looked at the output and those darn \par things were
 already there).  [...] I am not a LaTeX person, but I do know how to
 write Perl scripts... 8-)

What about a simple perl script as postprocessor that replaces these \par
by empty lines? Although this transformation is not valid in general, it
should work in most cases.

Andre'

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



Re: opening graphics images sequentially using convert

2002-09-10 Thread Dekel Tsur

On Mon, Sep 09, 2002 at 05:02:00PM -0700, Ashvin Goel wrote:
 As I said in another mail, even if you don't want all images to be 
 rendered immediately, lyx will try to render them all if you search for 
 a word from the beginning of the file and the word does not exist in the 
 file. That was causing me enough pain.

This was fixed in LyX 1.2.1.



Re: Reference line in revtex

2002-09-10 Thread Dekel Tsur

On Mon, Sep 09, 2002 at 10:12:07AM -0300, Osvaldo Fornaro wrote:
 
 I need to present an article in a style similar to aps, so i used revtex 
 style. But now i need to change the bibliography line separator by the word 
 Referencias (the article is spanish, but any example will works :-) )


Add the following lines to the preamble:

\def\bibsection{%
   \section*{Referencias}%
   \@nobreaktrue}
   



Forgotten

2002-09-10 Thread R. Josh

I do not know, also, how to generate oblic arrows for variation tables of functions.

(Please pardon me for my very bad English !)

Linuxian friendly thoughts.

RJ



encapsulated PostScript

2002-09-10 Thread R. Josh


-Message d'origine-
De : R. Josh [EMAIL PROTECTED]
À : LyX [EMAIL PROTECTED]
Date : mardi 10 septembre 2002 04:48


Help me please ! 
I need writing mathematical lectures, but don't know how to generate figures in *.eps 
format, whith what software.
Thank you for your kind and fast rescue !!

RJ



Meaning of sp, bt, bp...

2002-09-10 Thread Hisyam Lee

Hi folks,

What is the meaning of the sp, bt, bp, dd, mm, pc, cc, cm, in, ex, em, mu that I
find it under Doucment Layout/Separation/Default Skip. Actually, what I whan is
a 2 lines spacing between paragraph.

Thanks.

H Lee 



-
This mail sent through IMP: http://horde.org/imp/



Re: encapsulated PostScript

2002-09-10 Thread Tuukka Toivonen

On Tue, 10 Sep 2002, R. Josh wrote:

I need writing mathematical lectures, but don't know how to generate
figures in *.eps format, whith what software. Thank you for your kind and

Any good (and even bad) software should be able to generate EPS. For
example xfig.




Re: \math-insert \prime.

2002-09-10 Thread Andre Poenitz

On Sat, Sep 07, 2002 at 10:27:31PM -0500, Bo Peng wrote:
 Sorry John. I did not mean to reply to you directly.
 
 On Sun, Sep 08, 2002 at 02:53:43AM +0100, John Levon wrote:
  On Sat, Sep 07, 2002 at 08:20:26PM -0500, Bo Peng wrote:
 
   The position of the prime symbol inserted by '\math-insert \prime' is
   displayed 'correctly', but it is actually not in the superscript
   position.  
 
  The command is math--insert not \math-insert
 
 Sorry. My typo. I am using the correct form:
  
 \bind  C-s apostrophe math-insert \prime
 
 My problem is that I have to use this command in super-script to get the
 correct prime so I tried to bind 'C-s apostrophe' to go to super
 script, insert prime sign, (if possible) go back to normal mode'.

And that does not work? I.e.

\bind  C-s apostrophe  command-sequence math-superscript ; math-insert
\prime ; char-right ;  

(Or whatever the LFUN for Cursor Right is)

Andre'

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



cannot upgrade to 1.2.1

2002-09-10 Thread Frederic Lemoine

Hello,

I run 1.2.0 on a RH 7.3.

I would like to upgrade to 1.2.1. Whatever I do (upgrade with patch or 
  reinstall from scratch), I have this error :

In file included from GUIRunTIME.C:22:
xformsGImage.h:92: syntax error before `*'

The line in question is

/// The xforms container.
FL_IMAGE * image_;

I am using gcc 3.2, do you think it could be the cause of the problem?

F.




Re: Forgotten

2002-09-10 Thread Dekel Tsur

On Tue, Sep 10, 2002 at 04:50:44AM -0300, R. Josh wrote:
 I do not know, also, how to generate oblic arrows for variation tables of functions.

See
http://www.tex.ac.uk/tex-archive/info/symbols/comprehensive/



Re: Forgotten

2002-09-10 Thread Andre Poenitz

On Tue, Sep 10, 2002 at 04:50:44AM -0300, R. Josh wrote:
 I do not know, also, how to generate oblic arrows for variation tables
 of functions.

I don't know what 'variation tables of functions' are, but if you ar
looking for a certain symbol, have a look at The Comprehensive List of
LaTeX Symbols or post some ASCII art drawing here.

Andre'

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



Re: encapsulated PostScript

2002-09-10 Thread Andre Poenitz

On Tue, Sep 10, 2002 at 04:54:55AM -0300, R. Josh wrote:
 I need writing mathematical lectures, but don't know how to generate
 figures in *.eps format, whith what software.
 Thank you for your kind and fast rescue !!

I use xfig.

But as you seem to use Microsoft Windows you might be better of with
Corel Draw or similar.

Note that a few Windows programs could produce (at least screen shot
quality) .ps by after you have installed a postscript printer driver
(preferably one from Adobe)

Andre'

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



RE: encapsulated PostScript

2002-09-10 Thread Robert Spee

 On Tue, Sep 10, 2002 at 04:54:55AM -0300, R. Josh wrote:
  I need writing mathematical lectures, but don't know how to generate
  figures in *.eps format, whith what software.
  Thank you for your kind and fast rescue !!
 
 I use xfig.
 
 But as you seem to use Microsoft Windows you might be better of with
 Corel Draw or similar.
 
 Note that a few Windows programs could produce (at least screen shot
 quality) .ps by after you have installed a postscript printer driver
 (preferably one from Adobe)

I make my figures mostly with MS powerpoint and then print them to a .ps
file using the adobe postscript printer (using the archive format option)
and then convert them to eps with ghostview to make a boundingbox

Note that you have to set the powerpoint pagelayout to A4 (or Letter) and
portrait and you have to place the figure at the top of the page, otherwise
the figure overlaps teh text above your figure in the resulting dvi.

This method works also with other windows programs which have a print
option. 

The quality with powerpoint looks like normal vector quality to me.

Gr

Robert



Re: center a table within an item.

2002-09-10 Thread Bo Peng

On Tue, Sep 10, 2002 at 09:46:12AM +0200, Alain Castera wrote:
 On Mon, 9 Sep 2002, Bo Peng wrote:

 I am not sure to understand:-( If you already know how to change depth,
 you should have solved the first question by yourself !???
 Anyway, let's go on as is. To obtain
 5.
text1
   quote
text2
 6..

 You have to switch text2 layout from text2 to Standard, then change depth.

 Does it help ? Or am I completly off topic ?

I think my two questions are the same, but I thought a table is not a
nested environment and should not have +1 depth. 

The problem is that 

5...
  a) text 
 quote (+1 depth, quote environment)
  Alt-Ret will get
  b) text2
  c) text3
6

Just as you said, I need to change text2 to standard style and change
depth of text2 to the level of quote and get the following:


5...
  a) text_
 quote (+1 depth, quote environment)
 text2
  b) text3
6

It is not intuitive to me at all but it works. Thank you.

-- 
Bo Peng



Re: Meaning of sp, bt, bp...

2002-09-10 Thread Matej Cepl

On Tue, Sep 10, 2002 at 06:44:14PM +0800, Hisyam Lee wrote:
 What is the meaning of the sp, bt, bp, dd, mm, pc, cc, cm, in, ex, em, mu that I
 find it under Doucment Layout/Separation/Default Skip. Actually, what I whan is
 a 2 lines spacing between paragraph.

First run on google gave me:
http://nwalsh.com/tex/texhelp/Plain.html. However, what you want
it \baselineskip (see info latex for more).

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
A woman without a man is like a fish without a bicycle.
Therefore, a man without a woman is like a bicycle without
a fish.




Re: Meaning of sp, bt, bp...

2002-09-10 Thread Dekel Tsur

On Tue, Sep 10, 2002 at 10:49:15AM -0400, Matej Cepl wrote:
 On Tue, Sep 10, 2002 at 06:44:14PM +0800, Hisyam Lee wrote:
  What is the meaning of the sp, bt, bp, dd, mm, pc, cc, cm, in, ex, em, mu that I
  find it under Doucment Layout/Separation/Default Skip. Actually, what I whan is
  a 2 lines spacing between paragraph.
 
 First run on google gave me:
 http://nwalsh.com/tex/texhelp/Plain.html. However, what you want
 it \baselineskip (see info latex for more).

Unfortunately, the dialog does not let you use \baselineskip.
So either write \setlength{\parskip}{\baselineksip} in the preamble,
or use the dialog with
 14.5pt for a 12pt document
 13.6pt for a 11pt document
 12pt   for a 10pt document
(assuming you use the standard classes (Article/Book/Report))



minimised toc for each chapter

2002-09-10 Thread J.Lauffenburger

Hi lyxers,

I think someone has faced with this problem, but I can't get out of the
solution in the archives...
I would like to put, for each chapter, a minimised TOC (with section,
subsection for instance) after the title of the chapter. This TOC should
use the same layout then the one of the main document and shoud be
separate from chapter title and beginning of the text with vertical
lines...

Any suggestion would be great!

J. Ph. Lauffenburger




Re: minimised toc for each chapter

2002-09-10 Thread Dekel Tsur

On Tue, Sep 10, 2002 at 09:40:31PM +0200, J.Lauffenburger wrote:
 Hi lyxers,
 
 I think someone has faced with this problem, but I can't get out of the
 solution in the archives...
 I would like to put, for each chapter, a minimised TOC (with section,
 subsection for instance) after the title of the chapter. This TOC should
 use the same layout then the one of the main document and shoud be
 separate from chapter title and beginning of the text with vertical
 lines...

Use the minitoc package.
(Read its documantation.)



Problems with \sectionmark

2002-09-10 Thread robin

I've been using \sectionmark to avoid long section headers running off 
the page (in Book style), but I've found that for some reason it only 
works the first two times out of three.  Either I'm doing something 
really stupid, or something really strange is going on.  I can send the 
file if needed (I haven't attached it this time, as it's big).

Any help appreciated 

Robin

-- 
There are only 10 types of people in the world. Those
 who understand binary and those who don't - thinkgeek.com

Robin Turner
IDMYO
Bilkent Üniversitesi
Ankara 06533

http://www.bilkent.edu.tr/~robin





Re: Meaning of sp, bt, bp...

2002-09-10 Thread Hisyam Lee

Quoting Dekel Tsur [EMAIL PROTECTED]:

 On Tue, Sep 10, 2002 at 10:49:15AM -0400, Matej Cepl wrote:
  On Tue, Sep 10, 2002 at 06:44:14PM +0800, Hisyam Lee wrote:
   What is the meaning of the sp, bt, bp, dd, mm, pc, cc, cm, in, ex, em, mu
 that I
   find it under Doucment Layout/Separation/Default Skip. Actually, what I
 whan is
   a 2 lines spacing between paragraph.
  
  First run on google gave me:
  http://nwalsh.com/tex/texhelp/Plain.html. However, what you want
  it \baselineskip (see info latex for more).
 
 Unfortunately, the dialog does not let you use \baselineskip.
 So either write \setlength{\parskip}{\baselineksip} in the preamble,
 or use the dialog with
  14.5pt for a 12pt document
  13.6pt for a 11pt document
  12pt   for a 10pt document
 (assuming you use the standard classes (Article/Book/Report))

Thanks folks.
I'm using 12pt document, so 14.5pt work just fine for me.
Thanks again,

H Lee
 




-
This mail sent through IMP: http://horde.org/imp/



Chapter 1 before the Table of contents

2002-09-10 Thread Pierre Joyal

Hi 

I am using tex4ht for publishing html documents from latex documents (command htlatex)
To get a blue chapter, I added to the preamble the following :
\usepackage{color}
\let\myChapter\chapter
\renewcommand\chapter[1]{%
  \myChaper[#1]{\protect\textcolor{blue}{#1}}%
}
\let\myTOC\tableofcontents
\renewcommand{\tableofcontents}{%
  \let\chapter\myChapter
  \myTOC
  \renewcommand\chapter[1]{%
\myChapter[##1]{\protect\textcolor{blue}{##1}}%
  }%
}

To my surprise, Chapter 1 starts  before the table of contents. It includes only a 
star and the real chapter 1 becomes chapter 2.
Pierre






Re: Importing HTML

2002-09-10 Thread Andre Poenitz

On Tue, Sep 10, 2002 at 06:14:49PM -0400, Paul Tremblay wrote:
 On Sat, Sep 07, 2002 at 10:01:08PM +0300, Dekel Tsur wrote:
  IF neither existing html-latex converter does a good job, I suggest you try
  to imporve one of them rather than write a html-lyx converter.
 
 Yes, but writing a lyx-xml convertor might prove useful. I have been
 working terribly hard on a script that converts RTF to XML. Now I need a
 some type of utility to convert my resulting XML file to LyX. I can
 simply write an xslt style sheet, but it would be better to have some
 type of standard LyX XML document.

The .lyx format is a moving target, and it will stay this way for a while.

So using the stable .tex as intermediate stepping stone does not sound
insensible, especially as LyX already produces .tex flawlessly and can
read some of it.

Andre'

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



Re: can't install it under SuSE 7.2

2002-09-10 Thread Andre Poenitz

On Thu, Sep 05, 2002 at 04:57:16PM +0200, Vinay Ramnath wrote:
> the installation of teTeX went fine. I put it in /usr/local/teTeX, which 
> was the default.

Did you use the tetex.rpm shipped by SuSE? This should not install to
.../local/ by default. [It certainly does not wiht 7.1 and 7.3, so I'd be
very surprised if it did with 7.2]

> However, when I tried to install LyX using rpm -Uvh 
> --nodeps lyx-1.2.1* it seems like the installer can't find anything of 
> my teTeX installation. Among others, it can't find a LaTeX2e package and 
> it can't find kpsewhich, which is installed in /usr/local/teTeX/bin/. 
> In fact, all the binaries it looks for and can't find are there. What's 
> wrong and how can I solve it? I have installed LyX 1.2.0 this way in the 
> past and everything went fine, but I recently reinstalled my computer 
> and I can't install LyX properly. It is installed, but lacks a lot of 
> the functionality, like previewing, printing and exporting to other 
> formats. Also, I can't remove it, using rpm -e lyx*.

What does 'rpm -qa | grep lyx' say?  'rpm -e lyx-exact-name' should work.

Andre'

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



Re: can't install it under SuSE 7.2

2002-09-10 Thread I Wayan Warmada


On Tue, 10 Sep 2002, Andre Poenitz wrote:

| Did you use the tetex.rpm shipped by SuSE? This should not install to
| .../local/ by default. [It certainly does not wiht 7.1 and 7.3, so I'd be
| very surprised if it did with 7.2]

for SuSE 7.2 tetex.rpm is installed in
/usr/share/

Wayan




Re: tab key.

2002-09-10 Thread Andre Poenitz

On Mon, Sep 09, 2002 at 10:46:19PM -0500, Bo Peng wrote:
> On Sat, Sep 07, 2002 at 04:44:50PM -0500, Bo Peng wrote:
> > Also, \bind "S-C-asciitilde"  "accent-tilde" does not work in math
> > mode. How can I correct this problem?
> 
> Not only accent-tilde, accent-circumflex does work in math-mode as well.
> Even if I have a character with accent, if I select it and press C-M to
> convert it to math-mode, I get error message:
> 
>  start of math expected, got '[ã,12]'
> 
> I remember these functions work with lyx1.6fix4... 

a + C-m  worked (undocumented on purpose) in 1.2.x

Nowadays you have to specify which kind of math you want as I removed some
of the guess-work code. So selecting $a$ and C-m converts it to inline math
and selecting \[a\] and C-m converts it to displayed math (and should work
in 1.2.x as well).

Andre'

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



Re: center a table within an item.

2002-09-10 Thread Alain Castera

On Mon, 9 Sep 2002, Bo Peng wrote:

> Hello,
>
> This is a real newbie question: How can I center a table within an item?
> In enumerate/itemize environment, I use C-Ret to enter lines, table etc
> but I can not format (e.g. center)  things individually. For example,
>
> 5. 
>   text 
>   a table 
>   text 
> 6.
>
> I can not center the table with layout -> paragraph. (I can do it with
> ERT but it is simply too troublesome.)
When you enter things with , you don't enter a new paragraph you
can format individually. You should instead enter your table in a separate
paragraph (, then (Standard layout)), then use "Change environment
depth". Now you can format your new paragraph the usual way.

>
> Also, if I want to quote something between texts,
>
> 5
>  text
>
>quote environment
>
>  text
> 6.
>
>
> I have to change depth of quoted text but then the following text will
> be numbered ...

I am not sure to understand:-( If you already know how to change depth,
you should have solved the first question by yourself !???
Anyway, let's go on as is. To obtain
5.
   text1
quote
   text2
6..

You have to switch text2 layout from text2 to Standard, then change depth.

Does it help ? Or am I completly off topic ?

Alain

-- 
 ***
 *Alain Castera*
 * IPNL - UCB Lyon 1 | e-mail : [EMAIL PROTECTED] *
 * Bat. Paul Dirac   |  or[EMAIL PROTECTED] *
 * Campus de la Doua | Telephone : (+33) 472448429 *
 * F69622 Villeurbanne CEDEX | Fax :   (+33) 472448004 *
 ***




Re: Importing HTML

2002-09-10 Thread Andre Poenitz

On Fri, Sep 06, 2002 at 09:56:58PM +1000, Kathryn Andersen wrote:
> I suspect that the problem is gnuhtml2latex, producing LaTex which is not
> nice (because I looked at the output and those darn \par things were
> already there).  [...] I am not a LaTeX person, but I do know how to
> write Perl scripts... 8-)

What about a simple perl script as "postprocessor" that replaces these \par
by empty lines? Although this transformation is not valid in general, it
should work in most cases.

Andre'

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



Re: opening graphics images sequentially using convert

2002-09-10 Thread Dekel Tsur

On Mon, Sep 09, 2002 at 05:02:00PM -0700, Ashvin Goel wrote:
> As I said in another mail, even if you don't want all images to be 
> rendered immediately, lyx will try to render them all if you search for 
> a word from the beginning of the file and the word does not exist in the 
> file. That was causing me enough pain.

This was fixed in LyX 1.2.1.



Re: Reference line in revtex

2002-09-10 Thread Dekel Tsur

On Mon, Sep 09, 2002 at 10:12:07AM -0300, Osvaldo Fornaro wrote:
> 
> I need to present an article in a style similar to aps, so i used revtex 
> style. But now i need to change the bibliography line separator by the word 
> Referencias (the article is spanish, but any example will works :-) )


Add the following lines to the preamble:

\def\bibsection{%
   \section*{Referencias}%
   \@nobreaktrue}
   



Forgotten

2002-09-10 Thread R. Josh

I do not know, also, how to generate oblic arrows for variation tables of functions.

(Please pardon me for my very bad English !)

Linuxian friendly thoughts.

RJ



encapsulated PostScript

2002-09-10 Thread R. Josh


-Message d'origine-
De : R. Josh <[EMAIL PROTECTED]>
À : LyX <[EMAIL PROTECTED]>
Date : mardi 10 septembre 2002 04:48


Help me please ! 
I need writing mathematical lectures, but don't know how to generate figures in *.eps 
format, whith what software.
Thank you for your kind and fast rescue !!

RJ



Meaning of sp, bt, bp...

2002-09-10 Thread Hisyam Lee

Hi folks,

What is the meaning of the sp, bt, bp, dd, mm, pc, cc, cm, in, ex, em, mu that I
find it under Doucment Layout/Separation/Default Skip. Actually, what I whan is
a 2 lines spacing between paragraph.

Thanks.

H Lee 



-
This mail sent through IMP: http://horde.org/imp/



Re: encapsulated PostScript

2002-09-10 Thread Tuukka Toivonen

On Tue, 10 Sep 2002, R. Josh wrote:

>I need writing mathematical lectures, but don't know how to generate
>figures in *.eps format, whith what software. Thank you for your kind and

Any good (and even bad) software should be able to generate EPS. For
example xfig.




Re: \math-insert \prime.

2002-09-10 Thread Andre Poenitz

On Sat, Sep 07, 2002 at 10:27:31PM -0500, Bo Peng wrote:
> Sorry John. I did not mean to reply to you directly.
> 
> On Sun, Sep 08, 2002 at 02:53:43AM +0100, John Levon wrote:
> > On Sat, Sep 07, 2002 at 08:20:26PM -0500, Bo Peng wrote:
> 
> > > The position of the prime symbol inserted by '\math-insert \prime' is
> > > displayed 'correctly', but it is actually not in the superscript
> > > position.  
> 
> > The command is "math--insert" not "\math-insert"
> 
> Sorry. My typo. I am using the correct form:
>  
> \bind  "C-s apostrophe" "math-insert \prime"
> 
> My problem is that I have to use this command in super-script to get the
> correct prime so I tried to bind 'C-s apostrophe' to "go to super
> script, insert prime sign, (if possible) go back to normal mode'.

And that does not work? I.e.

\bind  "C-s apostrophe"  "command-sequence math-superscript ; math-insert
\prime ; char-right ; " 

(Or whatever the LFUN for "Cursor Right" is)

Andre'

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



cannot upgrade to 1.2.1

2002-09-10 Thread Frederic Lemoine

Hello,

I run 1.2.0 on a RH 7.3.

I would like to upgrade to 1.2.1. Whatever I do (upgrade with patch or 
  reinstall from scratch), I have this error :

In file included from GUIRunTIME.C:22:
xformsGImage.h:92: syntax error before `*'

The line in question is

/// The xforms container.
FL_IMAGE * image_;

I am using gcc 3.2, do you think it could be the cause of the problem?

F.




Re: Forgotten

2002-09-10 Thread Dekel Tsur

On Tue, Sep 10, 2002 at 04:50:44AM -0300, R. Josh wrote:
> I do not know, also, how to generate oblic arrows for variation tables of functions.

See
http://www.tex.ac.uk/tex-archive/info/symbols/comprehensive/



Re: Forgotten

2002-09-10 Thread Andre Poenitz

On Tue, Sep 10, 2002 at 04:50:44AM -0300, R. Josh wrote:
> I do not know, also, how to generate oblic arrows for variation tables
> of functions.

I don't know what 'variation tables of functions' are, but if you ar
looking for a certain symbol, have a look at "The Comprehensive List of
LaTeX Symbols" or post some ASCII art drawing here.

Andre'

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



Re: encapsulated PostScript

2002-09-10 Thread Andre Poenitz

On Tue, Sep 10, 2002 at 04:54:55AM -0300, R. Josh wrote:
> I need writing mathematical lectures, but don't know how to generate
> figures in *.eps format, whith what software.
> Thank you for your kind and fast rescue !!

I use xfig.

But as you seem to use Microsoft Windows you might be better of with
Corel Draw or similar.

Note that a few Windows programs could produce (at least "screen shot
quality") .ps by after you have installed a postscript printer driver
(preferably one from Adobe)

Andre'

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



RE: encapsulated PostScript

2002-09-10 Thread Robert Spee

> On Tue, Sep 10, 2002 at 04:54:55AM -0300, R. Josh wrote:
> > I need writing mathematical lectures, but don't know how to generate
> > figures in *.eps format, whith what software.
> > Thank you for your kind and fast rescue !!
> 
> I use xfig.
> 
> But as you seem to use Microsoft Windows you might be better of with
> Corel Draw or similar.
> 
> Note that a few Windows programs could produce (at least "screen shot
> quality") .ps by after you have installed a postscript printer driver
> (preferably one from Adobe)

I make my figures mostly with MS powerpoint and then print them to a .ps
file using the adobe postscript printer (using the "archive format" option)
and then convert them to eps with ghostview to make a boundingbox

Note that you have to set the powerpoint pagelayout to A4 (or Letter) and
portrait and you have to place the figure at the top of the page, otherwise
the figure overlaps teh text above your figure in the resulting dvi.

This method works also with other windows programs which have a print
option. 

The quality with powerpoint looks like normal vector quality to me.

Gr

Robert



Re: center a table within an item.

2002-09-10 Thread Bo Peng

On Tue, Sep 10, 2002 at 09:46:12AM +0200, Alain Castera wrote:
> On Mon, 9 Sep 2002, Bo Peng wrote:

> I am not sure to understand:-( If you already know how to change depth,
> you should have solved the first question by yourself !???
> Anyway, let's go on as is. To obtain
> 5.
>text1
>   quote
>text2
> 6..

> You have to switch text2 layout from text2 to Standard, then change depth.

> Does it help ? Or am I completly off topic ?

I think my two questions are the same, but I thought a table is not a
nested environment and should not have +1 depth. 

The problem is that 

5...
  a) text 
 quote (+1 depth, quote environment)
  Alt-Ret will get
  b) text2
  c) text3
6

Just as you said, I need to change text2 to standard style and change
depth of text2 to the level of quote and get the following:


5...
  a) text_
 quote (+1 depth, quote environment)
 text2
  b) text3
6

It is not intuitive to me at all but it works. Thank you.

-- 
Bo Peng



Re: Meaning of sp, bt, bp...

2002-09-10 Thread Matej Cepl

On Tue, Sep 10, 2002 at 06:44:14PM +0800, Hisyam Lee wrote:
> What is the meaning of the sp, bt, bp, dd, mm, pc, cc, cm, in, ex, em, mu that I
> find it under Doucment Layout/Separation/Default Skip. Actually, what I whan is
> a 2 lines spacing between paragraph.

First run on google gave me:
http://nwalsh.com/tex/texhelp/Plain.html. However, what you want
it \baselineskip (see info latex for more).

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
A woman without a man is like a fish without a bicycle.
Therefore, a man without a woman is like a bicycle without
a fish.




Re: Meaning of sp, bt, bp...

2002-09-10 Thread Dekel Tsur

On Tue, Sep 10, 2002 at 10:49:15AM -0400, Matej Cepl wrote:
> On Tue, Sep 10, 2002 at 06:44:14PM +0800, Hisyam Lee wrote:
> > What is the meaning of the sp, bt, bp, dd, mm, pc, cc, cm, in, ex, em, mu that I
> > find it under Doucment Layout/Separation/Default Skip. Actually, what I whan is
> > a 2 lines spacing between paragraph.
> 
> First run on google gave me:
> http://nwalsh.com/tex/texhelp/Plain.html. However, what you want
> it \baselineskip (see info latex for more).

Unfortunately, the dialog does not let you use \baselineskip.
So either write \setlength{\parskip}{\baselineksip} in the preamble,
or use the dialog with
 14.5pt for a 12pt document
 13.6pt for a 11pt document
 12pt   for a 10pt document
(assuming you use the standard classes (Article/Book/Report))



minimised toc for each chapter

2002-09-10 Thread J.Lauffenburger

Hi lyxers,

I think someone has faced with this problem, but I can't get out of the
solution in the archives...
I would like to put, for each chapter, a minimised TOC (with section,
subsection for instance) after the title of the chapter. This TOC should
use the same layout then the one of the main document and shoud be
separate from chapter title and beginning of the text with vertical
lines...

Any suggestion would be great!

J. Ph. Lauffenburger




Re: minimised toc for each chapter

2002-09-10 Thread Dekel Tsur

On Tue, Sep 10, 2002 at 09:40:31PM +0200, J.Lauffenburger wrote:
> Hi lyxers,
> 
> I think someone has faced with this problem, but I can't get out of the
> solution in the archives...
> I would like to put, for each chapter, a minimised TOC (with section,
> subsection for instance) after the title of the chapter. This TOC should
> use the same layout then the one of the main document and shoud be
> separate from chapter title and beginning of the text with vertical
> lines...

Use the minitoc package.
(Read its documantation.)



Problems with \sectionmark

2002-09-10 Thread robin

I've been using \sectionmark to avoid long section headers running off 
the page (in Book style), but I've found that for some reason it only 
works the first two times out of three.  Either I'm doing something 
really stupid, or something really strange is going on.  I can send the 
file if needed (I haven't attached it this time, as it's big).

Any help appreciated 

Robin

-- 
"There are only 10 types of people in the world. Those
 who understand binary and those who don't" - thinkgeek.com

Robin Turner
IDMYO
Bilkent Üniversitesi
Ankara 06533

http://www.bilkent.edu.tr/~robin





Re: Meaning of sp, bt, bp...

2002-09-10 Thread Hisyam Lee

Quoting Dekel Tsur <[EMAIL PROTECTED]>:

> On Tue, Sep 10, 2002 at 10:49:15AM -0400, Matej Cepl wrote:
> > On Tue, Sep 10, 2002 at 06:44:14PM +0800, Hisyam Lee wrote:
> > > What is the meaning of the sp, bt, bp, dd, mm, pc, cc, cm, in, ex, em, mu
> that I
> > > find it under Doucment Layout/Separation/Default Skip. Actually, what I
> whan is
> > > a 2 lines spacing between paragraph.
> > 
> > First run on google gave me:
> > http://nwalsh.com/tex/texhelp/Plain.html. However, what you want
> > it \baselineskip (see info latex for more).
> 
> Unfortunately, the dialog does not let you use \baselineskip.
> So either write \setlength{\parskip}{\baselineksip} in the preamble,
> or use the dialog with
>  14.5pt for a 12pt document
>  13.6pt for a 11pt document
>  12pt   for a 10pt document
> (assuming you use the standard classes (Article/Book/Report))

Thanks folks.
I'm using 12pt document, so 14.5pt work just fine for me.
Thanks again,

H Lee
> 




-
This mail sent through IMP: http://horde.org/imp/



Chapter 1 before the Table of contents

2002-09-10 Thread Pierre Joyal

Hi 

I am using tex4ht for publishing html documents from latex documents (command htlatex)
To get a blue chapter, I added to the preamble the following :
\usepackage{color}
\let\myChapter\chapter
\renewcommand\chapter[1]{%
  \myChaper[#1]{\protect\textcolor{blue}{#1}}%
}
\let\myTOC\tableofcontents
\renewcommand{\tableofcontents}{%
  \let\chapter\myChapter
  \myTOC
  \renewcommand\chapter[1]{%
\myChapter[##1]{\protect\textcolor{blue}{##1}}%
  }%
}

To my surprise, Chapter 1 starts  before the table of contents. It includes only a 
star and the real chapter 1 becomes chapter 2.
Pierre






Re: Importing HTML

2002-09-10 Thread Andre Poenitz

On Tue, Sep 10, 2002 at 06:14:49PM -0400, Paul Tremblay wrote:
> On Sat, Sep 07, 2002 at 10:01:08PM +0300, Dekel Tsur wrote:
> > IF neither existing html->latex converter does a good job, I suggest you try
> > to imporve one of them rather than write a html->lyx converter.
> 
> Yes, but writing a lyx->xml convertor might prove useful. I have been
> working terribly hard on a script that converts RTF to XML. Now I need a
> some type of utility to convert my resulting XML file to LyX. I can
> simply write an xslt style sheet, but it would be better to have some
> type of standard LyX XML document.

The .lyx format is a moving target, and it will stay this way for a while.

So using the stable .tex as intermediate stepping stone does not sound
insensible, especially as LyX already produces .tex "flawlessly" and can
read some of it.

Andre'

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