Re: How can I change the font size of index entries?

2007-06-03 Thread Jürgen Spitzmüller
Christian Liesen wrote:
 I am looking for an easy way such as

 \renewcommand

 to change the font size of index entries (scrbook). Does anyone know how
 to do this?

with KOMA-script:
\setindexpreamble{\small}

Jürgen


Re: How to handle (special) unicode characters

2007-06-03 Thread Jürgen Spitzmüller
Patrick De Visschere wrote:
 I have converted a (Framemaker) document to lyx. The document  
 contained a lot of Symbol-font characters (mostly greek letters)  
 which are translated into their unicode characters.
 These characters are immediately visible in the lyx-window but not in  
 the output: some characters are handled automatically but the greek  
 letters are not. They are probably converted to \textpi,  
 \textgamma ... and latex does not know how to handle these because  
 they are not present in the T1 encoding.
 They are handled (mostly) correctly if I put them between \greektext  
 \latintext commands.

 I cannot imagine this is the best way to solve this problem.

 I would appreciate if someone could explain how unicode characters  
 should be handled? Is this a latex-problem?

Greek (and cyrillic) characters in latin text are not handled yet 
automatically.* You best bet for now is probably to mark those characters 
as greek (Edit-Text Style-Customized-Language) or to enclose them in 
\greektext{}.

 I know that there exists a list of unicodesymbols which apparently is  
 made for this purpose : handle characters which are not present in  
 the current encoding. The above mentionned greek letters \textpi ...  
 seem not (yet?) present in this list.

No, they're not.* It is still not clear how to handle them best.

Jürgen

* if we're talking about real greek characters, that is. Characters like Ohm 
are encoded differently and should be handled.


Re: How can I change the font size of index entries?

2007-06-03 Thread Christian Liesen

Jürgen Spitzmüller wrote:

with KOMA-script:
\setindexpreamble{\small}
  
Thanks for this hint, but it seems that it does not work. The 
\setindexpreamble adds a preamble to the index entries, and the preamble 
can be formatted, but this does not affect the index entries (at least 
not in my document).


So you could write something like

\setindexpreamble{\small{How to use this index: foo}}

and it will appear before the entries, but the entries will be in normal 
font again.


However, the method outlined in the Wiki works fine.

-- Christian




Re: How can I change the font size of index entries?

2007-06-03 Thread Jürgen Spitzmüller
Christian Liesen wrote:
 Thanks for this hint, but it seems that it does not work.

works for me. See attached test file.

Jürgen


indexpreamble.lyx
Description: application/lyx


Re: How can I change the font size of index entries?

2007-06-03 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:
  to change the font size of index entries (scrbook). Does anyone know how
  to do this?

 with KOMA-script:
 \setindexpreamble{\small}

or (for any other class): 
select the Index inset in LyX (the light blue thing), and change the font 
accordingly in the Text Style dialog.

Jürgen


Lyx to word or lyx to html (to word)

2007-06-03 Thread Miki Dovrat
Hi,

How can I convert my lyx document to microsoft word (or html, which word 
reads?, or openoffice, which can be exported to rtf, which word reads)?

These converters seem to be broken on Windows (still). I have lyx 1.4.4 with 
Miktex 2.5 which has htlatex. In the past I have succeeded in getting html 
from this setup using htlatex from the command line, but I can't seem to 
reproduce my success.

I also have a linux box.

Please point me to a working solution either in linux or windows.

Miki 





Re: How can I change the font size of index entries?

2007-06-03 Thread Christian Liesen

If you change the document class to scrbook (book KOMA-script), it stops
working.

Must be because articles in most cases don't have indices. So it's
likely that scrarticle comes without index specifications and you can
set it any way you like.

-- Christian


Jürgen Spitzmüller wrote:

Christian Liesen wrote:
  

Thanks for this hint, but it seems that it does not work.



works for me. See attached test file.

Jürgen
  





Re: Index entries: Wiki

2007-06-03 Thread Christian Liesen

I've updated the part on formatting index entries with LyX on the Wiki:
http://wiki.lyx.org/Tips/Indexing#toc2

Jürgen pointed me to an easy and elegant way for specifying the font for 
the index entries. Many thanks!


-- Christian



Re: Physical units

2007-06-03 Thread Tim Michelsen
Concerning units, don't forget that there is only a hlaf space between 
number and units. A half space is produced in LyX with the shortcut 
Ctrl-Shift Space (menu Insert- Formatting - Thin space), see also 
the attached example.
Thank you for clarifying! I did try the packages units/SIunits but then 
changed and used all units with a protected space after the numbers as 
recommended in the documentation.


Could this be adapted in the documentation, please?

In section 6.5.5 of the handbook of my package there's still recommended 
to use a proptected spaces between numbers and units:


A good documentation should not weigh more than 1 kg

I am still using 1.4.3 (Ubuntu) so maybe this has already been changed.

Kind regards,
Timmie



Re: Index entries: Wiki

2007-06-03 Thread Steve Litt
On Sunday 03 June 2007 08:25, Christian Liesen wrote:
 I've updated the part on formatting index entries with LyX on the Wiki:
 http://wiki.lyx.org/Tips/Indexing#toc2

 Jürgen pointed me to an easy and elegant way for specifying the font for
 the index entries. Many thanks!

 -- Christian

Excellent Christian -- I wish it had been there 2 weeks ago when I was 
indexing my newly completed book :-)

You or someone else might want to document seealso, which is basically the 
same syntax as see.

This next comment is partly tongue in cheek, but contains a nugget of truth: 
Has oneone found a way to make indexing less depressing? Every time I index a 
book, by the end of the day I feel like I've been working in the sewer all 
day, and really need to take a shower. It's some of the most distasteful work 
I've ever done (and I've done some pretty distasteful work). Is there some 
type of music you can put on to make it better? Is there a mantra, or 
philosophy you can adopt to make you feel better while indexing?

Thanks

SteveT

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


1.5.0 Release Candidate - Preamble question

2007-06-03 Thread Graham Griffiths
I have just upgraded from 1.4.4 to 1.5.0 RC1 - Great. 

I have a file created with 1.4.4 with following preamble statements to get 
section prefixes in equation, algorithm and figure numbering:

.
[EMAIL PROTECTED]
  \renewcommand{\theequation}{\thesection.\arabic{equation}}
[EMAIL PROTECTED]
  \renewcommand{\thealgorithm}{\thesection.\arabic{algorithm}}
[EMAIL PROTECTED]
  \renewcommand{\thefigure}{\thesection.\arabic{figure}}
\rfoot{Graham W. Griffiths}
\lfoot{\today}
.


When I open with 1.5.0 the preamble has been changed to:

.
LaTeX commands.
\floatstyle{ruled}  ???
\newfloat{algorithm}{tbp}{loa}  ???
\floatname{algorithm}{Algorithm}???

%% Textclass specific LaTeX commands.


%% User specified LaTeX commands.
[EMAIL PROTECTED]
  \renewcommand{\theequation}{\thesection.\arabic{equation}}
[EMAIL PROTECTED]
  \renewcommand{\thealgorithm}{\thesection.\arabic{algorithm}}
[EMAIL PROTECTED]
  \renewcommand{\thefigure}{\thesection.\arabic{figure}}
\rfoot{Graham W. Griffiths}
\lfoot{\today}


\makeatother
..

I am new to LyX and Latex and would be grateful if someone could explain what 
the new lines marked with ??? mean. 

Also, is there any documentation that I should read that explains how best to 
use preamble?

Thanks







Is there a multiple LyX file search?

2007-06-03 Thread Steve Litt
Hi all,

I'm on a publisher's mailing list, and someone asked how to search a phrase in 
all WordPerfect files. I was about to write back and say Switch to LyX, 
when I realized we might not have any such facility either.

The challenge in a LyX file, of course, is the fact that a phrase might or 
might not be split by a newline or a style.

Does LyX have such a facility, either in the GUI menu, as a --option, or as a 
separate utility? If not, is it something that would be helpful? If so, would 
someone please volunteer to make it?

I might be able to help. IIRC, I created a C language parsing tool in the late 
80s. This parsing tool parses a stream of characters, not a bunch of lines. 
It searches only literal strings, no regex, and it's not perfect (might fail 
on something like Mississippi). IIRC this tool could comprise 1/2 of a 
program to search LyX file. IIRC I own the copyright to that tool, and if so, 
I would be glad to Opensource it using whatever open source license is 
preferred by the LyX project. I figure if I haven't made any money on this 
tool in 20 years, I probably never will, and might as well give it away :-)

If it's decided this tool needs to be written, I see two components:

1) GUI or Curses program to acquire the phrase and a specification for the 
files to search, and output a list of files to search along with the search 
phrase.

2) The single file search program containing two components:
a) Remove all styles and newlines, according to specification of LyX 
file
b) Search a stream for a phrase (IIRC already written).

So do we already have something?

Thanks

SteveT

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


Handy list: The LaTeX2e Cheat Sheet

2007-06-03 Thread Christian Liesen

Hi,

Winston Chang has published a handy reference sheet on frequently used 
LaTeX commands. It can be found here: 
http://www.stdout.org/~winston/latex/latexsheet.pdf


I've been using it for some time now and happen to like it a lot as a 
supplement when working with LyX ... I thought it couldn't hurt to put 
it on the list.


-- Christian


P.S.: The sheet has of course nothing at all to do with cheating (how 
could it anyway?), that's purely tongue-in-cheek.


Re: Handy list: The LaTeX2e Cheat Sheet

2007-06-03 Thread Richard Heck

Christian Liesen wrote:
Winston Chang has published a handy reference sheet on frequently used 
LaTeX commands. It can be found here: 
http://www.stdout.org/~winston/latex/latexsheet.pdf


I've been using it for some time now and happen to like it a lot as a 
supplement when working with LyX ... I thought it couldn't hurt to put 
it on the list.

It'd be great if you could post this on the Wiki in some appropriate place.

rh


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



Coloured separators, Romanic/Arabic sections

2007-06-03 Thread Auto Didakt
Hi,

I'm quite new to LyX and wanted to add a coloured foot notes/header separator 
to the 'book' layout (koma-script). Anyone has an idea how to do that?

Another thing I wanted to change is, using Romanic numbers for the 
list of figures and the bibliography. How can I do that?

Thanks in advance,
Robert



Re: Physical units

2007-06-03 Thread Uwe Stöhr

Tim Michelsen schrieb:

Concerning units, don't forget that there is only a hlaf space between 
number and units. A half space is produced in LyX with the shortcut 
Ctrl-Shift Space (menu Insert- Formatting - Thin space), see also 
the attached example.
Thank you for clarifying! I did try the packages units/SIunits but then 
changed and used all units with a protected space after the numbers as 
recommended in the documentation.


It should definively be a _half_ space, which is automatically protected. This is defined in DIN EN 
ISO norms.



Could this be adapted in the documentation, please?


We aren't responsible for documentation of external packages.

regards Uwe


Re: Physical units

2007-06-03 Thread Uwe Stöhr

Miki Dovrat schrieb:

I always wrote the units outside the math box. Your way seems to make more 
sense now.


I usually write it also outside math using Ctrl-Shift Space.


Is there a difference between \textrm and \mathrm ?


The font. \mathrm uses an upright math font, \textrm an upright font you selected in the document 
settings.


regards Uwe


Re: 1.5.0 Release Candidate - Preamble question

2007-06-03 Thread Jean-Marc Lasgouttes
 Graham == Graham Griffiths [EMAIL PROTECTED] writes:

Graham When I open with 1.5.0 the preamble has been changed to:

Graham .
Graham LaTeX commands. \floatstyle{ruled} ???
Graham \newfloat{algorithm}{tbp}{loa} ???
Graham \floatname{algorithm}{Algorithm} ???

Graham I am new to LyX and Latex and would be grateful if someone
Graham could explain what the new lines marked with ??? mean.


Do you use algorithms?

JMarc



Re: Is there a multiple LyX file search?

2007-06-03 Thread Jean-Marc Lasgouttes
 Steve == Steve Litt [EMAIL PROTECTED] writes:

Steve Does LyX have such a facility, either in the GUI menu, as a
Steve --option, or as a separate utility? If not, is it something
Steve that would be helpful? If so, would someone please volunteer to
Steve make it?

I think this is something that should be done at OS level. For
example, LyX/Mac ships with basic support for spotlight, which allows
this search. Google desktop probably allows such plugins too. 

JMarc  


Re: eqnarray equal signs don't line up

2007-06-03 Thread Paul A. Rubin

Steve Litt wrote:


On my copy of LyX (1.4.2) when I use the Eqnarray environment, every line is 
centered but the equal signs don't line up, each under the last, in the 
finished postscript file. Aren't the equal signs supposed to line up? If 
they're not supposed to line up by default, is there a way to make them line 
up?


Is there some reason the equal signs shouldn't be forced to line up?



The eqnarray environment gives you three columns.  You're putting the 
equal signs in the middle column?  If so, yes, they should line up (and 
do for me).  Can you post a small example where they don't line up?


/Paul



Re: Lyx to word or lyx to html (to word)

2007-06-03 Thread cmiramon
Miki Dovrat wrote:

 Hi,
 
 How can I convert my lyx document to microsoft word (or html, which word
 reads?, or openoffice, which can be exported to rtf, which word reads)?
 
 These converters seem to be broken on Windows (still). I have lyx 1.4.4
 with Miktex 2.5 which has htlatex. In the past I have succeeded in getting
 html from this setup using htlatex from the command line, but I can't seem
 to reproduce my success.
 
 I also have a linux box.
 
 Please point me to a working solution either in linux or windows.
 
 Miki

I've just converted two long articles (footnotes, bibliography in jurabib)
in LyX in odt - Word using tex4ht. It went well except a table that was
not converted and that I retyped. There is a small problem with
superscripts in footnotes. I've also discovered that OpenWriter cannot
search and replace normal spaces by unbreakable spaces.

I would recommend tex4ht (oolatex) if you have footnotes and a BibTeX
bibliography.

Cheers,
Charles



Re: Is there a multiple LyX file search?

2007-06-03 Thread cmiramon
Jean-Marc Lasgouttes wrote:

 Steve == Steve Litt
 [EMAIL PROTECTED] writes:
 
 Steve Does LyX have such a facility, either in the GUI menu, as a
 Steve --option, or as a separate utility? If not, is it something
 Steve that would be helpful? If so, would someone please volunteer to
 Steve make it?
 
 I think this is something that should be done at OS level. For
 example, LyX/Mac ships with basic support for spotlight, which allows
 this search. Google desktop probably allows such plugins too.

Recoll (http://www.lesbonscomptes.com/recoll/) can index LyX files. I have
never tried it.

A simpler solution is from the command line :

find . -name \*.lyx | xargs grep -C4 Cahiers | less

which will find all your LyX files with the word Cahiers. You can refine the
find command with options about the date of creation or modification of the
file.

In KDE you have a graphical interface that do the same (search files, in
your K-Menu)

Cheers,
Charles



Re: Lyx and Hibernation

2007-06-03 Thread Paul A. Rubin

Nicolás wrote:


When I wake up my computer from hibernation, LyX is normally not 
responding (using almost 100% of CPU). I am using LyX v1.4.4 on Windows 
XP on a HP nx7010 laptop. Has someone experimented the same? Is this a 
problem with LyX that can be solved (or that is solved in v1.5)?


Not a problem for me (LyX 1.4.4, Win XP, Toshiba Satellite A45-S150).

/Paul



Re: Lyx to word or lyx to html (to word)

2007-06-03 Thread David A. Case
On Sun, Jun 03, 2007, Miki Dovrat wrote:
 
 How can I convert my lyx document to microsoft word 

Google is your friend here: the first hit for convert latex to word is:

http://www.tug.org/utilities/texconv/textopc.html

If you have a significant number of mathematical equations, I have found
tex2word to be better than anything else I have tried.  If you don't have much
math, there are lots of other options as well.

...dave case


Re: How can I change the font size of index entries?

2007-06-03 Thread Jürgen Spitzmüller
Christian Liesen wrote:
 I am looking for an easy way such as

 \renewcommand

 to change the font size of index entries (scrbook). Does anyone know how
 to do this?

with KOMA-script:
\setindexpreamble{\small}

Jürgen


Re: How to handle (special) unicode characters

2007-06-03 Thread Jürgen Spitzmüller
Patrick De Visschere wrote:
 I have converted a (Framemaker) document to lyx. The document  
 contained a lot of Symbol-font characters (mostly greek letters)  
 which are translated into their unicode characters.
 These characters are immediately visible in the lyx-window but not in  
 the output: some characters are handled automatically but the greek  
 letters are not. They are probably converted to \textpi,  
 \textgamma ... and latex does not know how to handle these because  
 they are not present in the T1 encoding.
 They are handled (mostly) correctly if I put them between \greektext  
 \latintext commands.

 I cannot imagine this is the best way to solve this problem.

 I would appreciate if someone could explain how unicode characters  
 should be handled? Is this a latex-problem?

Greek (and cyrillic) characters in latin text are not handled yet 
automatically.* You best bet for now is probably to mark those characters 
as greek (Edit-Text Style-Customized-Language) or to enclose them in 
\greektext{}.

 I know that there exists a list of unicodesymbols which apparently is  
 made for this purpose : handle characters which are not present in  
 the current encoding. The above mentionned greek letters \textpi ...  
 seem not (yet?) present in this list.

No, they're not.* It is still not clear how to handle them best.

Jürgen

* if we're talking about real greek characters, that is. Characters like Ohm 
are encoded differently and should be handled.


Re: How can I change the font size of index entries?

2007-06-03 Thread Christian Liesen

Jürgen Spitzmüller wrote:

with KOMA-script:
\setindexpreamble{\small}
  
Thanks for this hint, but it seems that it does not work. The 
\setindexpreamble adds a preamble to the index entries, and the preamble 
can be formatted, but this does not affect the index entries (at least 
not in my document).


So you could write something like

\setindexpreamble{\small{How to use this index: foo}}

and it will appear before the entries, but the entries will be in normal 
font again.


However, the method outlined in the Wiki works fine.

-- Christian




Re: How can I change the font size of index entries?

2007-06-03 Thread Jürgen Spitzmüller
Christian Liesen wrote:
 Thanks for this hint, but it seems that it does not work.

works for me. See attached test file.

Jürgen


indexpreamble.lyx
Description: application/lyx


Re: How can I change the font size of index entries?

2007-06-03 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:
  to change the font size of index entries (scrbook). Does anyone know how
  to do this?

 with KOMA-script:
 \setindexpreamble{\small}

or (for any other class): 
select the Index inset in LyX (the light blue thing), and change the font 
accordingly in the Text Style dialog.

Jürgen


Lyx to word or lyx to html (to word)

2007-06-03 Thread Miki Dovrat
Hi,

How can I convert my lyx document to microsoft word (or html, which word 
reads?, or openoffice, which can be exported to rtf, which word reads)?

These converters seem to be broken on Windows (still). I have lyx 1.4.4 with 
Miktex 2.5 which has htlatex. In the past I have succeeded in getting html 
from this setup using htlatex from the command line, but I can't seem to 
reproduce my success.

I also have a linux box.

Please point me to a working solution either in linux or windows.

Miki 





Re: How can I change the font size of index entries?

2007-06-03 Thread Christian Liesen

If you change the document class to scrbook (book KOMA-script), it stops
working.

Must be because articles in most cases don't have indices. So it's
likely that scrarticle comes without index specifications and you can
set it any way you like.

-- Christian


Jürgen Spitzmüller wrote:

Christian Liesen wrote:
  

Thanks for this hint, but it seems that it does not work.



works for me. See attached test file.

Jürgen
  





Re: Index entries: Wiki

2007-06-03 Thread Christian Liesen

I've updated the part on formatting index entries with LyX on the Wiki:
http://wiki.lyx.org/Tips/Indexing#toc2

Jürgen pointed me to an easy and elegant way for specifying the font for 
the index entries. Many thanks!


-- Christian



Re: Physical units

2007-06-03 Thread Tim Michelsen
Concerning units, don't forget that there is only a hlaf space between 
number and units. A half space is produced in LyX with the shortcut 
Ctrl-Shift Space (menu Insert- Formatting - Thin space), see also 
the attached example.
Thank you for clarifying! I did try the packages units/SIunits but then 
changed and used all units with a protected space after the numbers as 
recommended in the documentation.


Could this be adapted in the documentation, please?

In section 6.5.5 of the handbook of my package there's still recommended 
to use a proptected spaces between numbers and units:


A good documentation should not weigh more than 1 kg

I am still using 1.4.3 (Ubuntu) so maybe this has already been changed.

Kind regards,
Timmie



Re: Index entries: Wiki

2007-06-03 Thread Steve Litt
On Sunday 03 June 2007 08:25, Christian Liesen wrote:
 I've updated the part on formatting index entries with LyX on the Wiki:
 http://wiki.lyx.org/Tips/Indexing#toc2

 Jürgen pointed me to an easy and elegant way for specifying the font for
 the index entries. Many thanks!

 -- Christian

Excellent Christian -- I wish it had been there 2 weeks ago when I was 
indexing my newly completed book :-)

You or someone else might want to document seealso, which is basically the 
same syntax as see.

This next comment is partly tongue in cheek, but contains a nugget of truth: 
Has oneone found a way to make indexing less depressing? Every time I index a 
book, by the end of the day I feel like I've been working in the sewer all 
day, and really need to take a shower. It's some of the most distasteful work 
I've ever done (and I've done some pretty distasteful work). Is there some 
type of music you can put on to make it better? Is there a mantra, or 
philosophy you can adopt to make you feel better while indexing?

Thanks

SteveT

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


1.5.0 Release Candidate - Preamble question

2007-06-03 Thread Graham Griffiths
I have just upgraded from 1.4.4 to 1.5.0 RC1 - Great. 

I have a file created with 1.4.4 with following preamble statements to get 
section prefixes in equation, algorithm and figure numbering:

.
[EMAIL PROTECTED]
  \renewcommand{\theequation}{\thesection.\arabic{equation}}
[EMAIL PROTECTED]
  \renewcommand{\thealgorithm}{\thesection.\arabic{algorithm}}
[EMAIL PROTECTED]
  \renewcommand{\thefigure}{\thesection.\arabic{figure}}
\rfoot{Graham W. Griffiths}
\lfoot{\today}
.


When I open with 1.5.0 the preamble has been changed to:

.
LaTeX commands.
\floatstyle{ruled}  ???
\newfloat{algorithm}{tbp}{loa}  ???
\floatname{algorithm}{Algorithm}???

%% Textclass specific LaTeX commands.


%% User specified LaTeX commands.
[EMAIL PROTECTED]
  \renewcommand{\theequation}{\thesection.\arabic{equation}}
[EMAIL PROTECTED]
  \renewcommand{\thealgorithm}{\thesection.\arabic{algorithm}}
[EMAIL PROTECTED]
  \renewcommand{\thefigure}{\thesection.\arabic{figure}}
\rfoot{Graham W. Griffiths}
\lfoot{\today}


\makeatother
..

I am new to LyX and Latex and would be grateful if someone could explain what 
the new lines marked with ??? mean. 

Also, is there any documentation that I should read that explains how best to 
use preamble?

Thanks







Is there a multiple LyX file search?

2007-06-03 Thread Steve Litt
Hi all,

I'm on a publisher's mailing list, and someone asked how to search a phrase in 
all WordPerfect files. I was about to write back and say Switch to LyX, 
when I realized we might not have any such facility either.

The challenge in a LyX file, of course, is the fact that a phrase might or 
might not be split by a newline or a style.

Does LyX have such a facility, either in the GUI menu, as a --option, or as a 
separate utility? If not, is it something that would be helpful? If so, would 
someone please volunteer to make it?

I might be able to help. IIRC, I created a C language parsing tool in the late 
80s. This parsing tool parses a stream of characters, not a bunch of lines. 
It searches only literal strings, no regex, and it's not perfect (might fail 
on something like Mississippi). IIRC this tool could comprise 1/2 of a 
program to search LyX file. IIRC I own the copyright to that tool, and if so, 
I would be glad to Opensource it using whatever open source license is 
preferred by the LyX project. I figure if I haven't made any money on this 
tool in 20 years, I probably never will, and might as well give it away :-)

If it's decided this tool needs to be written, I see two components:

1) GUI or Curses program to acquire the phrase and a specification for the 
files to search, and output a list of files to search along with the search 
phrase.

2) The single file search program containing two components:
a) Remove all styles and newlines, according to specification of LyX 
file
b) Search a stream for a phrase (IIRC already written).

So do we already have something?

Thanks

SteveT

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


Handy list: The LaTeX2e Cheat Sheet

2007-06-03 Thread Christian Liesen

Hi,

Winston Chang has published a handy reference sheet on frequently used 
LaTeX commands. It can be found here: 
http://www.stdout.org/~winston/latex/latexsheet.pdf


I've been using it for some time now and happen to like it a lot as a 
supplement when working with LyX ... I thought it couldn't hurt to put 
it on the list.


-- Christian


P.S.: The sheet has of course nothing at all to do with cheating (how 
could it anyway?), that's purely tongue-in-cheek.


Re: Handy list: The LaTeX2e Cheat Sheet

2007-06-03 Thread Richard Heck

Christian Liesen wrote:
Winston Chang has published a handy reference sheet on frequently used 
LaTeX commands. It can be found here: 
http://www.stdout.org/~winston/latex/latexsheet.pdf


I've been using it for some time now and happen to like it a lot as a 
supplement when working with LyX ... I thought it couldn't hurt to put 
it on the list.

It'd be great if you could post this on the Wiki in some appropriate place.

rh


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



Coloured separators, Romanic/Arabic sections

2007-06-03 Thread Auto Didakt
Hi,

I'm quite new to LyX and wanted to add a coloured foot notes/header separator 
to the 'book' layout (koma-script). Anyone has an idea how to do that?

Another thing I wanted to change is, using Romanic numbers for the 
list of figures and the bibliography. How can I do that?

Thanks in advance,
Robert



Re: Physical units

2007-06-03 Thread Uwe Stöhr

Tim Michelsen schrieb:

Concerning units, don't forget that there is only a hlaf space between 
number and units. A half space is produced in LyX with the shortcut 
Ctrl-Shift Space (menu Insert- Formatting - Thin space), see also 
the attached example.
Thank you for clarifying! I did try the packages units/SIunits but then 
changed and used all units with a protected space after the numbers as 
recommended in the documentation.


It should definively be a _half_ space, which is automatically protected. This is defined in DIN EN 
ISO norms.



Could this be adapted in the documentation, please?


We aren't responsible for documentation of external packages.

regards Uwe


Re: Physical units

2007-06-03 Thread Uwe Stöhr

Miki Dovrat schrieb:

I always wrote the units outside the math box. Your way seems to make more 
sense now.


I usually write it also outside math using Ctrl-Shift Space.


Is there a difference between \textrm and \mathrm ?


The font. \mathrm uses an upright math font, \textrm an upright font you selected in the document 
settings.


regards Uwe


Re: 1.5.0 Release Candidate - Preamble question

2007-06-03 Thread Jean-Marc Lasgouttes
 Graham == Graham Griffiths [EMAIL PROTECTED] writes:

Graham When I open with 1.5.0 the preamble has been changed to:

Graham .
Graham LaTeX commands. \floatstyle{ruled} ???
Graham \newfloat{algorithm}{tbp}{loa} ???
Graham \floatname{algorithm}{Algorithm} ???

Graham I am new to LyX and Latex and would be grateful if someone
Graham could explain what the new lines marked with ??? mean.


Do you use algorithms?

JMarc



Re: Is there a multiple LyX file search?

2007-06-03 Thread Jean-Marc Lasgouttes
 Steve == Steve Litt [EMAIL PROTECTED] writes:

Steve Does LyX have such a facility, either in the GUI menu, as a
Steve --option, or as a separate utility? If not, is it something
Steve that would be helpful? If so, would someone please volunteer to
Steve make it?

I think this is something that should be done at OS level. For
example, LyX/Mac ships with basic support for spotlight, which allows
this search. Google desktop probably allows such plugins too. 

JMarc  


Re: eqnarray equal signs don't line up

2007-06-03 Thread Paul A. Rubin

Steve Litt wrote:


On my copy of LyX (1.4.2) when I use the Eqnarray environment, every line is 
centered but the equal signs don't line up, each under the last, in the 
finished postscript file. Aren't the equal signs supposed to line up? If 
they're not supposed to line up by default, is there a way to make them line 
up?


Is there some reason the equal signs shouldn't be forced to line up?



The eqnarray environment gives you three columns.  You're putting the 
equal signs in the middle column?  If so, yes, they should line up (and 
do for me).  Can you post a small example where they don't line up?


/Paul



Re: Lyx to word or lyx to html (to word)

2007-06-03 Thread cmiramon
Miki Dovrat wrote:

 Hi,
 
 How can I convert my lyx document to microsoft word (or html, which word
 reads?, or openoffice, which can be exported to rtf, which word reads)?
 
 These converters seem to be broken on Windows (still). I have lyx 1.4.4
 with Miktex 2.5 which has htlatex. In the past I have succeeded in getting
 html from this setup using htlatex from the command line, but I can't seem
 to reproduce my success.
 
 I also have a linux box.
 
 Please point me to a working solution either in linux or windows.
 
 Miki

I've just converted two long articles (footnotes, bibliography in jurabib)
in LyX in odt - Word using tex4ht. It went well except a table that was
not converted and that I retyped. There is a small problem with
superscripts in footnotes. I've also discovered that OpenWriter cannot
search and replace normal spaces by unbreakable spaces.

I would recommend tex4ht (oolatex) if you have footnotes and a BibTeX
bibliography.

Cheers,
Charles



Re: Is there a multiple LyX file search?

2007-06-03 Thread cmiramon
Jean-Marc Lasgouttes wrote:

 Steve == Steve Litt
 [EMAIL PROTECTED] writes:
 
 Steve Does LyX have such a facility, either in the GUI menu, as a
 Steve --option, or as a separate utility? If not, is it something
 Steve that would be helpful? If so, would someone please volunteer to
 Steve make it?
 
 I think this is something that should be done at OS level. For
 example, LyX/Mac ships with basic support for spotlight, which allows
 this search. Google desktop probably allows such plugins too.

Recoll (http://www.lesbonscomptes.com/recoll/) can index LyX files. I have
never tried it.

A simpler solution is from the command line :

find . -name \*.lyx | xargs grep -C4 Cahiers | less

which will find all your LyX files with the word Cahiers. You can refine the
find command with options about the date of creation or modification of the
file.

In KDE you have a graphical interface that do the same (search files, in
your K-Menu)

Cheers,
Charles



Re: Lyx and Hibernation

2007-06-03 Thread Paul A. Rubin

Nicolás wrote:


When I wake up my computer from hibernation, LyX is normally not 
responding (using almost 100% of CPU). I am using LyX v1.4.4 on Windows 
XP on a HP nx7010 laptop. Has someone experimented the same? Is this a 
problem with LyX that can be solved (or that is solved in v1.5)?


Not a problem for me (LyX 1.4.4, Win XP, Toshiba Satellite A45-S150).

/Paul



Re: Lyx to word or lyx to html (to word)

2007-06-03 Thread David A. Case
On Sun, Jun 03, 2007, Miki Dovrat wrote:
 
 How can I convert my lyx document to microsoft word 

Google is your friend here: the first hit for convert latex to word is:

http://www.tug.org/utilities/texconv/textopc.html

If you have a significant number of mathematical equations, I have found
tex2word to be better than anything else I have tried.  If you don't have much
math, there are lots of other options as well.

...dave case


Re: How can I change the font size of index entries?

2007-06-03 Thread Jürgen Spitzmüller
Christian Liesen wrote:
> I am looking for an easy way such as
>
> \renewcommand
>
> to change the font size of index entries (scrbook). Does anyone know how
> to do this?

with KOMA-script:
\setindexpreamble{\small}

Jürgen


Re: How to handle (special) unicode characters

2007-06-03 Thread Jürgen Spitzmüller
Patrick De Visschere wrote:
> I have converted a (Framemaker) document to lyx. The document  
> contained a lot of Symbol-font characters (mostly greek letters)  
> which are translated into their unicode characters.
> These characters are immediately visible in the lyx-window but not in  
> the output: some characters are handled automatically but the greek  
> letters are not. They are probably converted to \textpi,  
> \textgamma ... and latex does not know how to handle these because  
> they are not present in the T1 encoding.
> They are handled (mostly) correctly if I put them between \greektext  
> \latintext commands.
>
> I cannot imagine this is the best way to solve this problem.
>
> I would appreciate if someone could explain how unicode characters  
> should be handled? Is this a latex-problem?

Greek (and cyrillic) characters in "latin" text are not handled yet 
automatically.* You best bet for now is probably to mark those characters 
as "greek" (Edit->Text Style->Customized->Language) or to enclose them in 
\greektext{}.

> I know that there exists a list of unicodesymbols which apparently is  
> made for this purpose : handle characters which are not present in  
> the current encoding. The above mentionned greek letters \textpi ...  
> seem not (yet?) present in this list.

No, they're not.* It is still not clear how to handle them best.

Jürgen

* if we're talking about real greek characters, that is. Characters like Ohm 
are encoded differently and should be handled.


Re: How can I change the font size of index entries?

2007-06-03 Thread Christian Liesen

Jürgen Spitzmüller wrote:

with KOMA-script:
\setindexpreamble{\small}
  
Thanks for this hint, but it seems that it does not work. The 
\setindexpreamble adds a preamble to the index entries, and the preamble 
can be formatted, but this does not affect the index entries (at least 
not in my document).


So you could write something like

\setindexpreamble{\small{How to use this index: foo}}

and it will appear before the entries, but the entries will be in normal 
font again.


However, the method outlined in the Wiki works fine.

-- Christian




Re: How can I change the font size of index entries?

2007-06-03 Thread Jürgen Spitzmüller
Christian Liesen wrote:
> Thanks for this hint, but it seems that it does not work.

works for me. See attached test file.

Jürgen


indexpreamble.lyx
Description: application/lyx


Re: How can I change the font size of index entries?

2007-06-03 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:
> > to change the font size of index entries (scrbook). Does anyone know how
> > to do this?
>
> with KOMA-script:
> \setindexpreamble{\small}

or (for any other class): 
select the "Index" inset in LyX (the light blue thing), and change the font 
accordingly in the Text Style dialog.

Jürgen


Lyx to word or lyx to html (to word)

2007-06-03 Thread Miki Dovrat
Hi,

How can I convert my lyx document to microsoft word (or html, which word 
reads?, or openoffice, which can be exported to rtf, which word reads)?

These converters seem to be broken on Windows (still). I have lyx 1.4.4 with 
Miktex 2.5 which has htlatex. In the past I have succeeded in getting html 
from this setup using htlatex from the command line, but I can't seem to 
reproduce my success.

I also have a linux box.

Please point me to a working solution either in linux or windows.

Miki 





Re: How can I change the font size of index entries?

2007-06-03 Thread Christian Liesen

If you change the document class to scrbook (book KOMA-script), it stops
working.

Must be because articles in most cases don't have indices. So it's
likely that scrarticle comes without index specifications and you can
set it any way you like.

-- Christian


Jürgen Spitzmüller wrote:

Christian Liesen wrote:
  

Thanks for this hint, but it seems that it does not work.



works for me. See attached test file.

Jürgen
  





Re: Index entries: Wiki

2007-06-03 Thread Christian Liesen

I've updated the part on formatting index entries with LyX on the Wiki:
http://wiki.lyx.org/Tips/Indexing#toc2

Jürgen pointed me to an easy and elegant way for specifying the font for 
the index entries. Many thanks!


-- Christian



Re: Physical units

2007-06-03 Thread Tim Michelsen
Concerning units, don't forget that there is only a hlaf space between 
number and units. A half space is produced in LyX with the shortcut 
"Ctrl-Shift Space" (menu Insert-> Formatting -> Thin space), see also 
the attached example.
Thank you for clarifying! I did try the packages units/SIunits but then 
changed and used all units with a protected space after the numbers as 
recommended in the documentation.


Could this be adapted in the documentation, please?

In section 6.5.5 of the handbook of my package there's still recommended 
to use a proptected spaces between numbers and units:


"A good documentation should not weigh more than 1 kg"

I am still using 1.4.3 (Ubuntu) so maybe this has already been changed.

Kind regards,
Timmie



Re: Index entries: Wiki

2007-06-03 Thread Steve Litt
On Sunday 03 June 2007 08:25, Christian Liesen wrote:
> I've updated the part on formatting index entries with LyX on the Wiki:
> http://wiki.lyx.org/Tips/Indexing#toc2
>
> Jürgen pointed me to an easy and elegant way for specifying the font for
> the index entries. Many thanks!
>
> -- Christian

Excellent Christian -- I wish it had been there 2 weeks ago when I was 
indexing my newly completed book :-)

You or someone else might want to document seealso, which is basically the 
same syntax as see.

This next comment is partly tongue in cheek, but contains a nugget of truth: 
Has oneone found a way to make indexing less depressing? Every time I index a 
book, by the end of the day I feel like I've been working in the sewer all 
day, and really need to take a shower. It's some of the most distasteful work 
I've ever done (and I've done some pretty distasteful work). Is there some 
type of music you can put on to make it better? Is there a mantra, or 
philosophy you can adopt to make you feel better while indexing?

Thanks

SteveT

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


1.5.0 Release Candidate - Preamble question

2007-06-03 Thread Graham Griffiths
I have just upgraded from 1.4.4 to 1.5.0 RC1 - Great. 

I have a file created with 1.4.4 with following preamble statements to get 
section prefixes in equation, algorithm and figure numbering:

.
[EMAIL PROTECTED]
  \renewcommand{\theequation}{\thesection.\arabic{equation}}
[EMAIL PROTECTED]
  \renewcommand{\thealgorithm}{\thesection.\arabic{algorithm}}
[EMAIL PROTECTED]
  \renewcommand{\thefigure}{\thesection.\arabic{figure}}
\rfoot{Graham W. Griffiths}
\lfoot{\today}
.


When I open with 1.5.0 the preamble has been changed to:

.
LaTeX commands.
\floatstyle{ruled}  ???
\newfloat{algorithm}{tbp}{loa}  ???
\floatname{algorithm}{Algorithm}???

%% Textclass specific LaTeX commands.


%% User specified LaTeX commands.
[EMAIL PROTECTED]
  \renewcommand{\theequation}{\thesection.\arabic{equation}}
[EMAIL PROTECTED]
  \renewcommand{\thealgorithm}{\thesection.\arabic{algorithm}}
[EMAIL PROTECTED]
  \renewcommand{\thefigure}{\thesection.\arabic{figure}}
\rfoot{Graham W. Griffiths}
\lfoot{\today}


\makeatother
..

I am new to LyX and Latex and would be grateful if someone could explain what 
the new lines marked with ??? mean. 

Also, is there any documentation that I should read that explains how best to 
use preamble?

Thanks







Is there a multiple LyX file search?

2007-06-03 Thread Steve Litt
Hi all,

I'm on a publisher's mailing list, and someone asked how to search a phrase in 
all WordPerfect files. I was about to write back and say "Switch to LyX", 
when I realized we might not have any such facility either.

The challenge in a LyX file, of course, is the fact that a phrase might or 
might not be split by a newline or a style.

Does LyX have such a facility, either in the GUI menu, as a --option, or as a 
separate utility? If not, is it something that would be helpful? If so, would 
someone please volunteer to make it?

I might be able to help. IIRC, I created a C language parsing tool in the late 
80s. This parsing tool parses a stream of characters, not a bunch of lines. 
It searches only literal strings, no regex, and it's not perfect (might fail 
on something like Mississippi). IIRC this tool could comprise 1/2 of a 
program to search LyX file. IIRC I own the copyright to that tool, and if so, 
I would be glad to Opensource it using whatever open source license is 
preferred by the LyX project. I figure if I haven't made any money on this 
tool in 20 years, I probably never will, and might as well give it away :-)

If it's decided this tool needs to be written, I see two components:

1) GUI or Curses program to acquire the phrase and a specification for the 
files to search, and output a list of files to search along with the search 
phrase.

2) The single file search program containing two components:
a) Remove all styles and newlines, according to specification of LyX 
file
b) Search a stream for a phrase (IIRC already written).

So do we already have something?

Thanks

SteveT

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


Handy list: The LaTeX2e Cheat Sheet

2007-06-03 Thread Christian Liesen

Hi,

Winston Chang has published a handy reference sheet on frequently used 
LaTeX commands. It can be found here: 
http://www.stdout.org/~winston/latex/latexsheet.pdf


I've been using it for some time now and happen to like it a lot as a 
supplement when working with LyX ... I thought it couldn't hurt to put 
it on the list.


-- Christian


P.S.: The sheet has of course nothing at all to do with cheating (how 
could it anyway?), that's purely tongue-in-cheek.


Re: Handy list: The LaTeX2e Cheat Sheet

2007-06-03 Thread Richard Heck

Christian Liesen wrote:
Winston Chang has published a handy reference sheet on frequently used 
LaTeX commands. It can be found here: 
http://www.stdout.org/~winston/latex/latexsheet.pdf


I've been using it for some time now and happen to like it a lot as a 
supplement when working with LyX ... I thought it couldn't hurt to put 
it on the list.

It'd be great if you could post this on the Wiki in some appropriate place.

rh


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



Coloured separators, Romanic/Arabic sections

2007-06-03 Thread Auto Didakt
Hi,

I'm quite new to LyX and wanted to add a coloured foot notes/header separator 
to the 'book' layout (koma-script). Anyone has an idea how to do that?

Another thing I wanted to change is, using Romanic numbers for the 
list of figures and the bibliography. How can I do that?

Thanks in advance,
Robert



Re: Physical units

2007-06-03 Thread Uwe Stöhr

Tim Michelsen schrieb:

Concerning units, don't forget that there is only a hlaf space between 
number and units. A half space is produced in LyX with the shortcut 
"Ctrl-Shift Space" (menu Insert-> Formatting -> Thin space), see also 
the attached example.
Thank you for clarifying! I did try the packages units/SIunits but then 
changed and used all units with a protected space after the numbers as 
recommended in the documentation.


It should definively be a _half_ space, which is automatically protected. This is defined in DIN EN 
ISO norms.



Could this be adapted in the documentation, please?


We aren't responsible for documentation of external packages.

regards Uwe


Re: Physical units

2007-06-03 Thread Uwe Stöhr

Miki Dovrat schrieb:

I always wrote the units outside the math box. Your way seems to make more 
sense now.


I usually write it also outside math using "Ctrl-Shift Space".


Is there a difference between \textrm and \mathrm ?


The font. \mathrm uses an upright math font, \textrm an upright font you selected in the document 
settings.


regards Uwe


Re: 1.5.0 Release Candidate - Preamble question

2007-06-03 Thread Jean-Marc Lasgouttes
> "Graham" == Graham Griffiths <[EMAIL PROTECTED]> writes:

Graham> When I open with 1.5.0 the preamble has been changed to:

Graham> .
Graham> LaTeX commands. \floatstyle{ruled} ???
Graham> \newfloat{algorithm}{tbp}{loa} ???
Graham> \floatname{algorithm}{Algorithm} ???

Graham> I am new to LyX and Latex and would be grateful if someone
Graham> could explain what the new lines marked with ??? mean.


Do you use algorithms?

JMarc



Re: Is there a multiple LyX file search?

2007-06-03 Thread Jean-Marc Lasgouttes
> "Steve" == Steve Litt <[EMAIL PROTECTED]> writes:

Steve> Does LyX have such a facility, either in the GUI menu, as a
Steve> --option, or as a separate utility? If not, is it something
Steve> that would be helpful? If so, would someone please volunteer to
Steve> make it?

I think this is something that should be done at OS level. For
example, LyX/Mac ships with basic support for spotlight, which allows
this search. Google desktop probably allows such plugins too. 

JMarc  


Re: eqnarray equal signs don't line up

2007-06-03 Thread Paul A. Rubin

Steve Litt wrote:


On my copy of LyX (1.4.2) when I use the Eqnarray environment, every line is 
centered but the equal signs don't line up, each under the last, in the 
finished postscript file. Aren't the equal signs supposed to line up? If 
they're not supposed to line up by default, is there a way to make them line 
up?


Is there some reason the equal signs shouldn't be forced to line up?



The eqnarray environment gives you three columns.  You're putting the 
equal signs in the middle column?  If so, yes, they should line up (and 
do for me).  Can you post a small example where they don't line up?


/Paul



Re: Lyx to word or lyx to html (to word)

2007-06-03 Thread cmiramon
Miki Dovrat wrote:

> Hi,
> 
> How can I convert my lyx document to microsoft word (or html, which word
> reads?, or openoffice, which can be exported to rtf, which word reads)?
> 
> These converters seem to be broken on Windows (still). I have lyx 1.4.4
> with Miktex 2.5 which has htlatex. In the past I have succeeded in getting
> html from this setup using htlatex from the command line, but I can't seem
> to reproduce my success.
> 
> I also have a linux box.
> 
> Please point me to a working solution either in linux or windows.
> 
> Miki

I've just converted two long articles (footnotes, bibliography in jurabib)
in LyX in odt -> Word using tex4ht. It went well except a table that was
not converted and that I retyped. There is a small problem with
superscripts in footnotes. I've also discovered that OpenWriter cannot
search and replace normal spaces by unbreakable spaces.

I would recommend tex4ht (oolatex) if you have footnotes and a BibTeX
bibliography.

Cheers,
Charles



Re: Is there a multiple LyX file search?

2007-06-03 Thread cmiramon
Jean-Marc Lasgouttes wrote:

>> "Steve" == Steve Litt
>> <[EMAIL PROTECTED]> writes:
> 
> Steve> Does LyX have such a facility, either in the GUI menu, as a
> Steve> --option, or as a separate utility? If not, is it something
> Steve> that would be helpful? If so, would someone please volunteer to
> Steve> make it?
> 
> I think this is something that should be done at OS level. For
> example, LyX/Mac ships with basic support for spotlight, which allows
> this search. Google desktop probably allows such plugins too.

Recoll (http://www.lesbonscomptes.com/recoll/) can index LyX files. I have
never tried it.

A simpler solution is from the command line :

find . -name \*.lyx | xargs grep -C4 "Cahiers" | less

which will find all your LyX files with the word Cahiers. You can refine the
find command with options about the date of creation or modification of the
file.

In KDE you have a graphical interface that do the same (search files, in
your K-Menu)

Cheers,
Charles



Re: Lyx and Hibernation

2007-06-03 Thread Paul A. Rubin

Nicolás wrote:


When I wake up my computer from hibernation, LyX is normally not 
responding (using almost 100% of CPU). I am using LyX v1.4.4 on Windows 
XP on a HP nx7010 laptop. Has someone experimented the same? Is this a 
problem with LyX that can be solved (or that is solved in v1.5)?


Not a problem for me (LyX 1.4.4, Win XP, Toshiba Satellite A45-S150).

/Paul



Re: Lyx to word or lyx to html (to word)

2007-06-03 Thread David A. Case
On Sun, Jun 03, 2007, Miki Dovrat wrote:
> 
> How can I convert my lyx document to microsoft word 

Google is your friend here: the first hit for "convert latex to word" is:

http://www.tug.org/utilities/texconv/textopc.html

If you have a significant number of mathematical equations, I have found
tex2word to be better than anything else I have tried.  If you don't have much
math, there are lots of other options as well.

...dave case