Re: Am I shut out because of my windows flavour??

2005-11-22 Thread Angus Leeming
Roy Schestowitz wrote:
 On Tue 22 Nov 2005 00:30:59 GMT, [Brian Lunergan] wrote:
 Evening all:
 I have been reading the material on LyX136 and I've got a concern over
 one of the listed bugs. It suggests Win98 and Lyx don't get along. I use
 Win98se on an 800mhz AMD machine, and do my downloading through a 56k
 dialup connection. Am I shut out from using LyX, or have I misread the
 notes?

 It seems puzzling when MiKTeX and some of the other required software do
 give the impression that they get along with Win98 just fine.

 Any thoughts or opinions??

 For  several  years I have been using LyX ~1.3.4 on a Windows  98 
 (Second Edition)  laptop with 32MB of RAM and a 400mhz AMD processor.
 Neither LyX nor MikTeX have ever given me a hard time. Compilation time
 was decent and LyX was rather stable and responsive.

Hi, Brian. Hi, Roy.

It's true that we have had some problems with LyX 1.3.6 on Win98, because I
introduced the use of a couple of system functions that exist only on
later versions of Windows. With the help of Luis Rivera, things now appear
to work reasonably well on Win98 also. See
http://wiki.lyx.org/Windows/LyX137pre

If you hold off for a day or so, I'll upload the latest and greatest
version which I compiled on Sunday.

LyX's support for Win98 is now limited only by Qt/WinFree's support for
Win98. (Earlier, unofficial releases of LyX use an official,
non-commercial release of the Qt toolkit from Trolltech which we are
unable to use for various reasons.) Luis reports that everything is
working perfectly for him but, as always, your mileage may vary.

 If  you  experience trouble with installation of version 1.3.6, I 
 suggest you fall back to older versions. It is more or less guaranteed
 to work. I should point out that I was using the unsupported Windows
 port of LyX (was the  author's  name Klaus?).

If you were using the Cygwin port, it was Claus Hentschel. If you were
using the native Windows port, it was Ruurd Reitsma. Both ports have now
been folded into the official release 1.3.6.

 I installed it on other Windows machines and all was successful.
 Hope it helps,
 Roy

-- 
Angus



Re: Abstracts in multiple languages, preface and acknowledgements

2005-11-22 Thread Ingar Pareliussen
On Friday 18 November 2005 16:31, Andreas Kofod-Hansen wrote:
 Hi



 I'm writing my masters thesis in lyx, and as I'm writing the thesis in
 danish, an abstract in english (as well as one in danish) is required. I
 have tried using the latex directive selectlanguage to select first English
 (or more correctly, British) and then Danish, and that has worked ok as far
 as selecting the language the abstract header is displayed in. However,
 the page numbering is ruined as it's reset every when reaching the second
 abstract. How do I solve this? Do I simply use unnumbered chapters for the
 abstracts, or is there another way around it using the abstract text class.


I had to do this once when I was in a hurry. So I made a quick fix, there 
might be better methods, however it worked for me...

Copy your two abstract together and set the language to danish. Then without 
using a linebreak put something like this in an ert box between the two 
abstracts:

\newline 
 %(\newpage might work as well, depend on your style, I guess)
\begin{center}
 %(or flushleft/right, depending on your style)
\large\bf{Abstract} 
%(change size and bold to mach the style)
\end{center}
\hfill

 What about roman numbers before the TOC, is that possible in Lyx, or do I
 need to use Latex directives? 

This depends on your style and you should look in the documentation for the 
style to see if the behaviour can be changed. Or you could do somthing like 
this in ert when you want to change pagenumberstyle: 

\clearpage
\pagenumbering{roman} %or arabic
\setcounter{page}{3} % the pagenumber is reset and you have to correct it 

It might give some surprising results though :).

 And. what about the preface and 
 acknowledgements? I haven't found any way of selecting this in any of
 document classes, so how do I get around this?

Again it depends on your style, if you use report(koma-skript) you have many 
different choices that you could use such as dedications, and upper and lower 
title backs etc. 

Ingar




titletoc and list of appendices?

2005-11-22 Thread Andrew Morrison
Is it possible to have in a document a list of appendices such that the the
top of the table of contents appears like:

LIST OF TABLES
LIST OF FIGURES
LIST OF APPENDICES

Where the words are in all caps?

I've figured out how to insert the list of tables and list of figures, and
that I should probably use the titletoc to format the titles in all caps.
But, I can't figure out how titletoc works to do that, or how to insert a
list of appendices at the top of the toc. The appendices are currently
listed at the end of the toc, but I need them in list form, like the tables
and figures.

Thanks!

Andrew Morrison


Lyx from the commandline, pdf creation

2005-11-22 Thread Stephen Gross
I'm new to lyx, so please bear with me. I've got a lyx document that I want 
to turn into a pdf. I know this is easy to do through the graphical 
interface; is there a way to do it via the commandline? I see that there's a 
'-x' option for executing a lyx command from the commandline. Can it be used 
for pdf creation?

Thanks in advance,
--Steve

Stephen Gross
Case Western School of Medicine
Cleveland, OH

By Grabthar's hammer, by the sons of Worvan, you shall be avenged. - Dr. 
Lazarus 




Re: Lyx from the commandline, pdf creation

2005-11-22 Thread Bo Peng
 I know this is easy to do through the graphical
 interface; is there a way to do it via the commandline?

lyx --export pdf xxx.lyx
lyx --export pdf2 xxx.lyx

The first uses latex, the second uses pdflatex.

Cheers,
Bo


Re: [announce] fourth release of the LyXWinInstaller

2005-11-22 Thread Stephen Harris


- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]

To: LyX-Users lyx-users@lists.lyx.org
Cc: LyX-Devel lyx-devel@lists.lyx.org
Sent: Monday, November 21, 2005 9:25 AM
Subject: [announce] fourth release of the LyXWinInstaller



Hello LyXers,

with the help from many people I'm now able to present the new version 0.4 
of the LyX installer for Windows.


I switched to LyX's new LaTeX - LyX converter tex2lyx. In contrary to 
the old reLyX tex2lyx is maintained by the LyX-developers. tex2lyx is 
currently not marked as stable but it is in most cases better than 
reLyX. tex2lyx is invoked when you use LyX's menu

File - Import - LaTeX



I tested version 4, small and network, with the Texlive2005, win32 latex 
distro.

Everything seemed to work and it found C:\Texlive2005\bin\win32; and added
it to the Lyx Path prefix.

I tested tex2lyx on sample.tex which has the author's picture which it 
displayed.
It did not display the pdf test files. error converting to loadable format 
and

something about No information for converting pdf to eps I saw ImageMagick
in both Paths (prefix). I tried adding C:\Texlive2005\bin\win32; to the 
Windows
Path and it didn't seem to help any, I imagine this is a problem with 
tex2lyx, not

the installer. The GUI looks a bit spiffier, new icons with functions?

Best regards,
Stephen




Re: Lyx from the commandline, pdf creation

2005-11-22 Thread Roy Schestowitz

_/ On Tue 22 Nov 2005 17:15:12 GMT, [Stephen Gross] wrote : \_


I'm new to lyx, so please bear with me. I've got a lyx document that I want
to turn into a pdf. I know this is easy to do through the graphical
interface; is there a way to do it via the commandline? I see that there's a
'-x' option for executing a lyx command from the commandline. Can it be used
for pdf creation?

Thanks in advance,
--Steve


Although I don't know which platform you use or what software is installed, I
would suggest the following:

- Open the LyX document, let us say example.lyx

- File - Export - LaTeX

- In the command line, type in e.g.: pdflatex example.tex

I typically generate PDF's in this way because it is verbose, flexible, 
and can

be conveniently integrated with LaTeX templates and styles. Moreover, I prefer
output from latex2html to lyx2html, which makes this step a necessary one.

Hope it helps,

Roy

--
Roy S. Schestowitz
http://Schestowitz.com



tex2pdf (was: Lyx from the commandline, pdf creation)

2005-11-22 Thread Joerg Hau
Hi,
On Tuesday 22 November 2005 18:15, Stephen Gross wrote:
 I've got a lyx document that I want to turn into a pdf. I know this is
 easy to do through the graphical interface; is there a way to do it via
 the commandline?  

Yes. Get Steffen Evers' script 'tex2pdf', it does all you need from the 
command line - including conversion of hyperlinks, thumbnail generation, 
etc. In spite of its name, it can deal with LyX _and_ LaTeX.

(The script used to be at http://tex2pdf.berlios.de/, but something is 
wrong with that right now ...)

Cheers  HTH,

- Joerg


-- 
joerg.hau(at)dplanet.ch * Lausanne, Switzerland
http://homepage.sunrise.ch/mysunrise/joerg.hau/
All standard disclaimers apply.
Never take life seriously. You won't get out alive anyway.


Re: tex2pdf (was: Lyx from the commandline, pdf creation)

2005-11-22 Thread Jean-Pierre Chrétien

 Yes. Get Steffen Evers' script 'tex2pdf', it does all you need from the 
 command line - including conversion of hyperlinks, thumbnail generation, 
 etc. In spite of its name, it can deal with LyX _and_ LaTeX.
 
 (The script used to be at http://tex2pdf.berlios.de/, but something is 
 wrong with that right now ...)

http://developer.berlios.de/projects/tex2pdf/
is OK

Useful if you have everyting OK with latex and want a pdf.
Makes it hyperreffered on the fly (good for papers,
which have no toc: you get it in the left column for free,
as well as all the crossrefs).

-- 
Jean-Pierre




Re: latex2rft / tex2rtf problems

2005-11-22 Thread K. Elo
Hi,

Charles de Miramon wrote on November 21,2005, 20:45:
  I have to convert a long article with a bibtex bibliography into
  the rtf-format. I have installed both latex2rtf and tex2rtf, but I
  just cannot get it working. The problems are:

 Did you use latex2rtf like that :

 latex2rtf -a myauxiliaryfile.aux -b mybibliographyfile.bib
 mylatexfile.tex


BTW, the -b option should define the .bbl, not the .bib file. But 
anyway, I have normally used it just like:

latex2rtf myfile.tex (or latex2rtf -C raw myfile.tex)

because 'man latex2rtf' says...

The  latex2rtf  command converts a LaTeX file into RTF text format. 
The text and much of the formatting information is translated to RTF.
 -a auxfile
Used to specify a particular cross-referencing file.  
When this ption  is  omitted,  the  auxfile  is assumed 
to be the same as inputfile with the .tex suffix 
replaced by .aux.
 -b bblfile
Used to specify a particular bibliography file. When this 
option is  omitted,  the bblfile is assumed to be the same 
as inputfile with the .tex suffix replaced by .bbl.

... and the files (both .tex, .aux, .bib and .bbl) are all in the same 
directory. Oddly enough, as I tried it with -a, the conversion 
worked :-\ - i.e. I could open the rtf-file with OOo.

The bibliography is still missing in the rtf file, but because I can 
copy and paste it from the pdf-file, it is not a problem. So thanks for 
your help, Charles.

Kind regards,
Kimmo


Re: wanted: examples of layout details for my thesis

2005-11-22 Thread Martin A. Hansen
hello uwe


i have had a look at your diploma thesis - its looks very nice. is it
possible to have a look at the lyx file? (i dont have read permissions)

maybe you would even donate it to the wiki - the thesis section is very
meager - http://wiki.lyx.org/Examples/Thesis

i have also tried to figure why koma-script should be superiour to the
standard latex classes. this seems not to be explained in brief anywhere?


best regards


martin



On 21/11/05, Uwe Stöhr [EMAIL PROTECTED] wrote:

 Martin A. Hansen wrote:

  it is time for me to type up my phd thesis. lyx is the choice, and now i
 am
  spending a couple of days to figure out how to make the layout.
  1)
  i have been looking around for examples of other phd thesis with very
 little
  success. any pointers would be most welcome!

 I can recommend to use a koma-script class. You find its description here:

 ftp://ftp.dante.de/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf

 Some of my colegues have writte their PHD-thesises using koma-script.
 For an example you can have a look at my diploma thesis:
 http://fkurth.de/uwest/usti/Diplom/

  the general style of phd thesis from my instutution is composed of a
  title-page, summary, introduction, work1, work2, work3... references,
  appendices. now, work1--3 ... are published papers where i somehow need
 to
  embed these pdf files in the thesis. how can this be done?

 If the papers are in lyx or tex-format you can simply include them to
 your LyX-file. PDF files can also be included to the pdf-output of your
 lyx-file. I don't remember how this is done; you might find a solution
 in the TeX-FAQ:
 http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes

  4)
  i would like the department logo in the fancy header. how?

 This is also explained in the TeX-FAQ.

 regards Uwe



Re: wanted: examples of layout details for my thesis

2005-11-22 Thread Martin A. Hansen
hi william

the pdfpages package is indeed very cool. it did just the trick!

i am a bit concerned about hacking the coverpage into place using lyx/latex,
but if i really must, i am going to need some assistance. i will return with
specific questions at a later point - for now i just wanted to find out if
the coverpage should/could be made in some external program.

best regards


martin


On 21/11/05, William F. Adams [EMAIL PROTECTED] wrote:

 On Nov 21, 2005, at 12:58 PM, Martin A. Hansen wrote:

  i have been looking around for examples of other phd thesis with very
  little
  success. any pointers would be most welcome!

 Have you checked w/ your math/physics/comp-sci department to see if
 they've a LaTeX template?

 There're a couple of such on CTAN, http://www.ctan.org

  2)
  the title page is going to require major ERT hacking if i want to make
  it in
  lyx. i am planning on a fulpage watermark with a couple of white boxes
  with
  title, author, adress etc. on the other hand, it would be very simple
  to
  make in inkscape, export as eps and use the image as coverpage. any
  suggestions?

 I would suggest a proper documentclass approach so as to preclude
 errors introduced by failing to update the graphic.

  3)
  the general style of phd thesis from my instutution is composed of a
  title-page, summary, introduction, work1, work2, work3... references,
  appendices. now, work1--3 ... are published papers where i somehow
  need to
  embed these pdf files in the thesis. how can this be done?

 \usepackage{pdfpages}

 available from CTAN. read the fantastic manual for specific details.

  4)
  i would like the department logo in the fancy header. how?

 the esopic package is one good option for this.

 William

 --
 William Adams, publishing specialist
 voice - 717-731-6707 | Fax - 717-731-6708
 www.atlis.com http://www.atlis.com




Re: wanted: examples of layout details for my thesis

2005-11-22 Thread William F. Adams

On Nov 22, 2005, at 3:18 PM, Martin A. Hansen wrote:

i am a bit concerned about hacking the coverpage into place using 
lyx/latex,
but if i really must, i am going to need some assistance. i will 
return with
specific questions at a later point - for now i just wanted to find 
out if

the coverpage should/could be made in some external program.


While it could be done in an external app, there's no reason to trouble 
over this --- just redefine the \maketitle command to do what's needed 
and then you never have to worry about it not being in synch with the 
rest of the document.


I think I posted an example of this here a while back, if not it should 
be easy to find examples on a wiki somewhere, or on comp.text.tex using 
Google Groups.


William

--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com



Re: align left and hyphenation

2005-11-22 Thread Eric S Fraga
On Mon, Nov 21, 2005 at 11:24:38PM +, Jose' Matos wrote:
   I find it ironic defending a subject because it is pseudo-WYSIWYG in a lyx 
 list. ;-)

Actually, I would suggest that HTML is actually closer in concept to LyX
than it is to anything wysiwyg...  but please don't take this as support for
HTML email!

cheers,
eric
-- 
 Eric S. Fraga, Department of Chemical Engineering, UCL, London
***.*..**.*.*...***.***.*...*...***.*...


when to use koma-script?

2005-11-22 Thread Martin A. Hansen
hi all

i have been looking around for a fulfilling answer to this, but in vain. i
have found no hints in the koma-script documentation intro, the latex
companion, the tex faq, the lyx wiki, the lyx-extended-features
documentation ...

so perhaps somebody with experience using koma-script would share their
experiences, we could put together a page for the wiki and the docs?


martin


Re: align left and hyphenation

2005-11-22 Thread Marcelo Acuÿfffff1a
  Thanks for help me, Helge!

   I think that Lyx is very good for mathematics 
   but for history, sociology, etc. advantage is
   reduced for difficult to learn and poor tool
   for index entry.
 
  1) Difficult for index entry without assist.
  Examples:
  
   a) I have in my book: Otto von Bismark-Schonhausen
   I put the cursor at the end of this name, click on 
  Insert  Index Entry and get a dialog box with the
  word Schonhausen, then I must add the rest of name
  without any misspelling each time that this name
  appears.
  
   Note that in a book, after first mention, author
  only write last name but when make index entry he need
  remember the whole name. When the author make index
  entry and arrive at the middle of book encounter
  hundred of last names: Bismark? ... ehh ... with or
  without von? ... Oto or Otto? ... Schonhauser?
  ... Schonhaussen? ... Schomberg?
  Of course, Germans have not problem with names
  like this, but Germans have problems with French,
  Spanish, Russian, etc.
 

 I see the problem.  Of course lyx can't really know what part
 of the text is a name and what is just a word.

I put all names in Small Caps. This can be a criteria.
But not only names appears in Alphabetical Index,
too issues, names of institutions, etc., appears.

  So it guesses that you want to index a single word.
  Even if we had a name mode then lyx would be hard
 pressed to know exactly how many of the previous words
 belongs to a name.

 You can make this work easier bu using cut  paste
 smartly though. If I want to index Otto von
 Bismark-Schonhausen then I know that lyx is only going
 to get Schonhausen for me. So I mark Otto von Bismark-
 (using mouse or keyboard), then positions the cursor and insert
 an index entry.  Click on the entry, position the cursor in front
 of Schonhausen.  Then paste the rest, for linux users that
 usually done by pressing the middle mouse button.

So you have to fill in the index entry, but no need to worry
about how to write the name. Just paste it.

I think that this idea is not a solution well.

 Another trick, if you're indexing one author at a time:
 * Create a single index entry, as above
 * Now mark the entire index entry (not the text inside, but
 the entry itself)
 * Press ctrl+c (or the menu choice edit-copy)
 * That index entry is now in the paste buffer.  Move through the
 text, whenever you need the index entry, just position the cursor
 and press ctrl+v (or the edit-paste menu choice)

 This is much easier and faster than typing the name over and over.
 Probably not perfect for your use, but it can  make work easier
 while waiting for the next round of development in which
 new features _may_ be developed.

This method is better than previous, for now I am using
this, but I think that my suggestion generate lowest load
of work for author.
 
   I suggest a dialog box that show an alphabetical
 list of previous entries and that to allow choose
 and pick up a complete index entry of this list,
 or add a new entry.
 
 Seems like a good idea - it'd certainly make it easier to
 move through a text indexing hundreds of different people. 

 
 2) Absence of sub-issues.
 Example:
 I need get it.
 Bonaparte, Napoleon, 7,8, 56, 95.
Bonaparte in Egypt, 111-119, 142.
Bonaparte in Italy, 39, 160, 184.
 
 Lyx already has this:
 Index 
 Bonaparte!in Egypt 
 Bonaparte!in Italy

 To get the second level.  You can have three levels too
 if you like, such as Bonaparte!in Egypt!admiring pyramids

 
 3) Absence of item without page number.
 Examples:
 I need get it.
  Stalin (see Dzhugachvili, Iosif Visarionovich)
  von Radetz, count Radetzky (see Radetzky, Joseph) 
 

 Lyx has it, index this:
 Stalin|see Dzhugachvili, Iosif Visarionovich
 Well, you may have to do some tricks to get parantheses
  just like that.
 Note that symbols like |#65533;!{} and a few others have special meaning
 inside the index entry box.  You can do all index entry tricks that
 latex supports, which is a lot.  There are reference manuals
 for this if you're interested.
 
This work very well!
Before I posted about index entry I search in Google for 
“Lyx multi-level index entry” and I can't get nothing of this.
I need reference manuals, Where I can download it?


 I am not a C programmer. Sorry.
 
 Many aren't.  Consider asking about this again when lyx 1.5
 development opens up.  You might get a volunteer willing
 to make that dialog box you suggested.  It doesn't seem that
 hard.  Actually, go over to bugzilla.lyx.org and file a
 wishlist bug so it won't be forgotten!

 Non-programmers can still organize help, such as finding
 out exactly what would be useful for the most people without
 being too difficult to do, looking for volunteer programmers,
 or even raise money when a volunteer can't be found.

 Helge Hafting


About left align vs justify I suggest
  http://desktoppub.about.com/od/typelayout/
  “If someone insists that 

Re: wanted: examples of layout details for my thesis

2005-11-22 Thread Uwe Stöhr

Martin A. Hansen wrote:


i have had a look at your diploma thesis - its looks very nice. is it
possible to have a look at the lyx file? (i dont have read permissions)


Now you have it.


i have also tried to figure why koma-script should be superiour to the
standard latex classes. this seems not to be explained in brief anywhere?


koma-script is superior because you can adjust nearly everything. You 
need for example the LaTeX-package caption to set the caption font and 
style - this can be omitted because koma-script allows you to do the same.
koma-script supports also specialities like the setting of the dots in 
the section numbering 1.2.3 Test or 1.2.3. Test. It offers many 
commands to generate a suitable title page, headlines chapter layout, 
indices, the TOC etc.
Many of these features aren't available with the standard classes. And I 
forgot to mention that the documentation is excellent.


regards Uwe


Index Tips Tricks in LyX.

2005-11-22 Thread John C. McCabe-Dansted
On Tuesday 22 November 2005 03:55, Marcelo Acuÿf1a wrote:

 1) Difficult for index entry without assist.
  Examples:

   a) I have in my book: Otto von Bismark-Schonhausen
   I put the cursor at the end of this name, click on
 Insert  Index Entry and get a dialog box with the
 word Schonhausen, then I must add the rest of name
 without any misspelling each time that this name
 appears.

I found that really annoying too. What I did is put the line 

\renewcommand{\underbar}[1]{\textbf{#1}\index{#1}}

at the end of my Layout-Document-Preamble. This means text that is 
underlined in LyX will instead be made bold-face and added to the index in 
the PDF/PS/DVI LyX generates. It is easy to underline text in LyX (e.g. by 
selecting the text and pressing Cntl-U).

If you do not want your index entries bold, instead add the line:

\renewcommand{\underbar}[1]{#1\index{#1}}

   Note that in a book, after first mention, author
 only write last name but when make index entry he need
 remember the whole name. When the author make index
 entry and arrive at the middle of book encounter
 hundred of last names: Bismark? ... ehh ... with or
 without von? ... Oto or Otto? ... Schonhauser?
 ... Schonhaussen? ... Schomberg?
 Of course, Germans have not problem with names
 like this, but Germans have problems with French,
 Spanish, Russian, etc.

Ah, the trick above won't help here. 

 2) Absence of sub-issues.
 Example:
 I need get it.
 Bonaparte, Napoleon, 7,8, 56, 95.
Bonaparte in Egypt, 111-119, 142.
Bonaparte in Italy, 39, 160, 184.

Add these Index entries (with out the ''s):
Bonaparte, Napoleon
Bonaparte, Napoleon!Bonaparte in Egypt
Bonaparte, Napoleon!Bonaparte in Italy

 Marcelo Acuña
-- 
John C. McCabe-Dansted
Masters Student


Re: Index Tips Tricks in LyX.

2005-11-22 Thread Rich Shepard

On Wed, 23 Nov 2005, John C. McCabe-Dansted wrote:


  a) I have in my book: Otto von Bismark-Schonhausen I put the cursor at
  the end of this name, click on Insert  Index Entry and get a dialog box
  with the word Schonhausen, then I must add the rest of name without any
  misspelling each time that this name appears.



I found that really annoying too. What I did is put the line


  Probably we all trip over this. What I did was to highlight the name/word,
cut it, then paste it in the index box. It worked for me. I understand that
in a future version of LyX, we will be able to highlight the name/word,
select Index-Entry, and have the word placed in the box for us.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: wanted: examples of layout details for my thesis

2005-11-22 Thread John C. McCabe-Dansted
On Wednesday 23 November 2005 13:29, Uwe Stöhr wrote:
 koma-script is superior because you can adjust nearly everything. You
 need for example the LaTeX-package caption to set the caption font and
 style - this can be omitted because koma-script allows you to do the same.
 koma-script supports also specialities like the setting of the dots in
 the section numbering 1.2.3 Test or 1.2.3. Test. It offers many
 commands to generate a suitable title page, headlines chapter layout,
 indices, the TOC etc.
 Many of these features aren't available with the standard classes. And I
 forgot to mention that the documentation is excellent.

 regards Uwe

Yes, I found that to format a thesis correctly, I had to use koma-script. 
However, I found that to have theorems  lemmas etc I had to use AMS article. 
My current solution is to have a Koma-script file that inputs the chapters 
with theorems in AMS book format. 

However this generates lots of errors unless I put the lines below in my 
preamble, and I haven't found a way of getting unnumbered theorems to work. 
Is there a better way?


-- 
John C. McCabe-Dansted
Masters Student

%%%
%The following lines are needed to import AMS files
\newtheorem{thm}{Theorem}[section]
\newtheorem{lem}[thm]{Lemma} 
\newtheorem{example*}{Example}
\newtheorem{cor}[thm]{Corollary}
\newtheorem{prop}[thm]{Proposition}
\newtheorem{conjecture}[thm]{Conjecture}
\newtheorem{criterion}[thm]{Criterion} 
\newtheorem{algorithm}[thm]{Algorithm}
\newtheorem{fact}[thm]{Fact} 
\newtheorem{ax}[thm]{Axiom} 
\newtheorem{defn}[thm]{Definition}
\newtheorem{example}[thm]{Example}
\newtheorem{condition}[thm]{Condition}
\newtheorem{problem}[thm]{Problem}
\newtheorem{xca}[section]{Exercise}
\newtheorem{rem}[thm]{Remark}
\newtheorem{claim}[thm]{Claim}
\newtheorem{note}[thm]{Note} 
\newtheorem{notation}[thm]{Notation} 
\newtheorem{summary}[thm]{Summary} 
\newtheorem{acknowledgement}[thm]{Acknowledgement} 
\newtheorem{conclusion}[thm]{Conclusion} 
\newtheorem{case}{Case}

\newcommand{\openbox}{\leavevmode
  \hbox to.8em{%
  \hfil\vrule
  \vbox to.675em{\hrule width.6em\vfil\hrule}%
  \vrule\hfil}}
\providecommand{\qedsymbol}{\openbox}

[EMAIL PROTECTED]

\DeclareRobustCommand{\qed}{%
  \ifmmode \mathqed
  \else
\leavevmode\unskip\penalty \hbox{}\nobreak\hfill
\quad\hbox{\qedsymbol}%
  \fi
}

\newenvironment{proof}[1]
  {\hspace{0.5cm}Proof. }
  {\vspace{-0.3cm}\hfill\qed\vspace{1cm}

}

%The preceeding lines are needed to import AMS files
%%


Re: when to use koma-script?

2005-11-22 Thread Helge Hafting

Martin A. Hansen wrote:


hi all

i have been looking around for a fulfilling answer to this, but in vain. i
have found no hints in the koma-script documentation intro, the latex
companion, the tex faq, the lyx wiki, the lyx-extended-features
documentation ...

so perhaps somebody with experience using koma-script would share their
experiences, we could put together a page for the wiki and the docs?
 


Use komascript:
* When you want the look koma-script gives.  I believe it is tuned
  for European typography.
* whenever you find the extra features (things like addchap, as
  well as many latex commands) useful.  There are many things
  you may need to set up with latex commands, such as running heads
  and custom page layouts.  Koma-script has lots of extra commands
  for these things.

Helge Hafting


Re: Am I shut out because of my windows flavour??

2005-11-22 Thread Angus Leeming
Roy Schestowitz wrote:
 On Tue 22 Nov 2005 00:30:59 GMT, [Brian Lunergan] wrote:
 Evening all:
 I have been reading the material on LyX136 and I've got a concern over
 one of the listed bugs. It suggests Win98 and Lyx don't get along. I use
 Win98se on an 800mhz AMD machine, and do my downloading through a 56k
 dialup connection. Am I shut out from using LyX, or have I misread the
 notes?

 It seems puzzling when MiKTeX and some of the other required software do
 give the impression that they get along with Win98 just fine.

 Any thoughts or opinions??

 For  several  years I have been using LyX ~1.3.4 on a Windows  98 
 (Second Edition)  laptop with 32MB of RAM and a 400mhz AMD processor.
 Neither LyX nor MikTeX have ever given me a hard time. Compilation time
 was decent and LyX was rather stable and responsive.

Hi, Brian. Hi, Roy.

It's true that we have had some problems with LyX 1.3.6 on Win98, because I
introduced the use of a couple of system functions that exist only on
later versions of Windows. With the help of Luis Rivera, things now appear
to work reasonably well on Win98 also. See
http://wiki.lyx.org/Windows/LyX137pre

If you hold off for a day or so, I'll upload the latest and greatest
version which I compiled on Sunday.

LyX's support for Win98 is now limited only by Qt/WinFree's support for
Win98. (Earlier, unofficial releases of LyX use an official,
non-commercial release of the Qt toolkit from Trolltech which we are
unable to use for various reasons.) Luis reports that everything is
working perfectly for him but, as always, your mileage may vary.

 If  you  experience trouble with installation of version 1.3.6, I 
 suggest you fall back to older versions. It is more or less guaranteed
 to work. I should point out that I was using the unsupported Windows
 port of LyX (was the  author's  name Klaus?).

If you were using the Cygwin port, it was Claus Hentschel. If you were
using the native Windows port, it was Ruurd Reitsma. Both ports have now
been folded into the official release 1.3.6.

 I installed it on other Windows machines and all was successful.
 Hope it helps,
 Roy

-- 
Angus



Re: Abstracts in multiple languages, preface and acknowledgements

2005-11-22 Thread Ingar Pareliussen
On Friday 18 November 2005 16:31, Andreas Kofod-Hansen wrote:
 Hi



 I'm writing my masters thesis in lyx, and as I'm writing the thesis in
 danish, an abstract in english (as well as one in danish) is required. I
 have tried using the latex directive selectlanguage to select first English
 (or more correctly, British) and then Danish, and that has worked ok as far
 as selecting the language the abstract header is displayed in. However,
 the page numbering is ruined as it's reset every when reaching the second
 abstract. How do I solve this? Do I simply use unnumbered chapters for the
 abstracts, or is there another way around it using the abstract text class.


I had to do this once when I was in a hurry. So I made a quick fix, there 
might be better methods, however it worked for me...

Copy your two abstract together and set the language to danish. Then without 
using a linebreak put something like this in an ert box between the two 
abstracts:

\newline 
 %(\newpage might work as well, depend on your style, I guess)
\begin{center}
 %(or flushleft/right, depending on your style)
\large\bf{Abstract} 
%(change size and bold to mach the style)
\end{center}
\hfill

 What about roman numbers before the TOC, is that possible in Lyx, or do I
 need to use Latex directives? 

This depends on your style and you should look in the documentation for the 
style to see if the behaviour can be changed. Or you could do somthing like 
this in ert when you want to change pagenumberstyle: 

\clearpage
\pagenumbering{roman} %or arabic
\setcounter{page}{3} % the pagenumber is reset and you have to correct it 

It might give some surprising results though :).

 And. what about the preface and 
 acknowledgements? I haven't found any way of selecting this in any of
 document classes, so how do I get around this?

Again it depends on your style, if you use report(koma-skript) you have many 
different choices that you could use such as dedications, and upper and lower 
title backs etc. 

Ingar




titletoc and list of appendices?

2005-11-22 Thread Andrew Morrison
Is it possible to have in a document a list of appendices such that the the
top of the table of contents appears like:

LIST OF TABLES
LIST OF FIGURES
LIST OF APPENDICES

Where the words are in all caps?

I've figured out how to insert the list of tables and list of figures, and
that I should probably use the titletoc to format the titles in all caps.
But, I can't figure out how titletoc works to do that, or how to insert a
list of appendices at the top of the toc. The appendices are currently
listed at the end of the toc, but I need them in list form, like the tables
and figures.

Thanks!

Andrew Morrison


Lyx from the commandline, pdf creation

2005-11-22 Thread Stephen Gross
I'm new to lyx, so please bear with me. I've got a lyx document that I want 
to turn into a pdf. I know this is easy to do through the graphical 
interface; is there a way to do it via the commandline? I see that there's a 
'-x' option for executing a lyx command from the commandline. Can it be used 
for pdf creation?

Thanks in advance,
--Steve

Stephen Gross
Case Western School of Medicine
Cleveland, OH

By Grabthar's hammer, by the sons of Worvan, you shall be avenged. - Dr. 
Lazarus 




Re: Lyx from the commandline, pdf creation

2005-11-22 Thread Bo Peng
 I know this is easy to do through the graphical
 interface; is there a way to do it via the commandline?

lyx --export pdf xxx.lyx
lyx --export pdf2 xxx.lyx

The first uses latex, the second uses pdflatex.

Cheers,
Bo


Re: [announce] fourth release of the LyXWinInstaller

2005-11-22 Thread Stephen Harris


- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]

To: LyX-Users lyx-users@lists.lyx.org
Cc: LyX-Devel lyx-devel@lists.lyx.org
Sent: Monday, November 21, 2005 9:25 AM
Subject: [announce] fourth release of the LyXWinInstaller



Hello LyXers,

with the help from many people I'm now able to present the new version 0.4 
of the LyX installer for Windows.


I switched to LyX's new LaTeX - LyX converter tex2lyx. In contrary to 
the old reLyX tex2lyx is maintained by the LyX-developers. tex2lyx is 
currently not marked as stable but it is in most cases better than 
reLyX. tex2lyx is invoked when you use LyX's menu

File - Import - LaTeX



I tested version 4, small and network, with the Texlive2005, win32 latex 
distro.

Everything seemed to work and it found C:\Texlive2005\bin\win32; and added
it to the Lyx Path prefix.

I tested tex2lyx on sample.tex which has the author's picture which it 
displayed.
It did not display the pdf test files. error converting to loadable format 
and

something about No information for converting pdf to eps I saw ImageMagick
in both Paths (prefix). I tried adding C:\Texlive2005\bin\win32; to the 
Windows
Path and it didn't seem to help any, I imagine this is a problem with 
tex2lyx, not

the installer. The GUI looks a bit spiffier, new icons with functions?

Best regards,
Stephen




Re: Lyx from the commandline, pdf creation

2005-11-22 Thread Roy Schestowitz

_/ On Tue 22 Nov 2005 17:15:12 GMT, [Stephen Gross] wrote : \_


I'm new to lyx, so please bear with me. I've got a lyx document that I want
to turn into a pdf. I know this is easy to do through the graphical
interface; is there a way to do it via the commandline? I see that there's a
'-x' option for executing a lyx command from the commandline. Can it be used
for pdf creation?

Thanks in advance,
--Steve


Although I don't know which platform you use or what software is installed, I
would suggest the following:

- Open the LyX document, let us say example.lyx

- File - Export - LaTeX

- In the command line, type in e.g.: pdflatex example.tex

I typically generate PDF's in this way because it is verbose, flexible, 
and can

be conveniently integrated with LaTeX templates and styles. Moreover, I prefer
output from latex2html to lyx2html, which makes this step a necessary one.

Hope it helps,

Roy

--
Roy S. Schestowitz
http://Schestowitz.com



tex2pdf (was: Lyx from the commandline, pdf creation)

2005-11-22 Thread Joerg Hau
Hi,
On Tuesday 22 November 2005 18:15, Stephen Gross wrote:
 I've got a lyx document that I want to turn into a pdf. I know this is
 easy to do through the graphical interface; is there a way to do it via
 the commandline?  

Yes. Get Steffen Evers' script 'tex2pdf', it does all you need from the 
command line - including conversion of hyperlinks, thumbnail generation, 
etc. In spite of its name, it can deal with LyX _and_ LaTeX.

(The script used to be at http://tex2pdf.berlios.de/, but something is 
wrong with that right now ...)

Cheers  HTH,

- Joerg


-- 
joerg.hau(at)dplanet.ch * Lausanne, Switzerland
http://homepage.sunrise.ch/mysunrise/joerg.hau/
All standard disclaimers apply.
Never take life seriously. You won't get out alive anyway.


Re: tex2pdf (was: Lyx from the commandline, pdf creation)

2005-11-22 Thread Jean-Pierre Chrétien

 Yes. Get Steffen Evers' script 'tex2pdf', it does all you need from the 
 command line - including conversion of hyperlinks, thumbnail generation, 
 etc. In spite of its name, it can deal with LyX _and_ LaTeX.
 
 (The script used to be at http://tex2pdf.berlios.de/, but something is 
 wrong with that right now ...)

http://developer.berlios.de/projects/tex2pdf/
is OK

Useful if you have everyting OK with latex and want a pdf.
Makes it hyperreffered on the fly (good for papers,
which have no toc: you get it in the left column for free,
as well as all the crossrefs).

-- 
Jean-Pierre




Re: latex2rft / tex2rtf problems

2005-11-22 Thread K. Elo
Hi,

Charles de Miramon wrote on November 21,2005, 20:45:
  I have to convert a long article with a bibtex bibliography into
  the rtf-format. I have installed both latex2rtf and tex2rtf, but I
  just cannot get it working. The problems are:

 Did you use latex2rtf like that :

 latex2rtf -a myauxiliaryfile.aux -b mybibliographyfile.bib
 mylatexfile.tex


BTW, the -b option should define the .bbl, not the .bib file. But 
anyway, I have normally used it just like:

latex2rtf myfile.tex (or latex2rtf -C raw myfile.tex)

because 'man latex2rtf' says...

The  latex2rtf  command converts a LaTeX file into RTF text format. 
The text and much of the formatting information is translated to RTF.
 -a auxfile
Used to specify a particular cross-referencing file.  
When this ption  is  omitted,  the  auxfile  is assumed 
to be the same as inputfile with the .tex suffix 
replaced by .aux.
 -b bblfile
Used to specify a particular bibliography file. When this 
option is  omitted,  the bblfile is assumed to be the same 
as inputfile with the .tex suffix replaced by .bbl.

... and the files (both .tex, .aux, .bib and .bbl) are all in the same 
directory. Oddly enough, as I tried it with -a, the conversion 
worked :-\ - i.e. I could open the rtf-file with OOo.

The bibliography is still missing in the rtf file, but because I can 
copy and paste it from the pdf-file, it is not a problem. So thanks for 
your help, Charles.

Kind regards,
Kimmo


Re: wanted: examples of layout details for my thesis

2005-11-22 Thread Martin A. Hansen
hello uwe


i have had a look at your diploma thesis - its looks very nice. is it
possible to have a look at the lyx file? (i dont have read permissions)

maybe you would even donate it to the wiki - the thesis section is very
meager - http://wiki.lyx.org/Examples/Thesis

i have also tried to figure why koma-script should be superiour to the
standard latex classes. this seems not to be explained in brief anywhere?


best regards


martin



On 21/11/05, Uwe Stöhr [EMAIL PROTECTED] wrote:

 Martin A. Hansen wrote:

  it is time for me to type up my phd thesis. lyx is the choice, and now i
 am
  spending a couple of days to figure out how to make the layout.
  1)
  i have been looking around for examples of other phd thesis with very
 little
  success. any pointers would be most welcome!

 I can recommend to use a koma-script class. You find its description here:

 ftp://ftp.dante.de/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf

 Some of my colegues have writte their PHD-thesises using koma-script.
 For an example you can have a look at my diploma thesis:
 http://fkurth.de/uwest/usti/Diplom/

  the general style of phd thesis from my instutution is composed of a
  title-page, summary, introduction, work1, work2, work3... references,
  appendices. now, work1--3 ... are published papers where i somehow need
 to
  embed these pdf files in the thesis. how can this be done?

 If the papers are in lyx or tex-format you can simply include them to
 your LyX-file. PDF files can also be included to the pdf-output of your
 lyx-file. I don't remember how this is done; you might find a solution
 in the TeX-FAQ:
 http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes

  4)
  i would like the department logo in the fancy header. how?

 This is also explained in the TeX-FAQ.

 regards Uwe



Re: wanted: examples of layout details for my thesis

2005-11-22 Thread Martin A. Hansen
hi william

the pdfpages package is indeed very cool. it did just the trick!

i am a bit concerned about hacking the coverpage into place using lyx/latex,
but if i really must, i am going to need some assistance. i will return with
specific questions at a later point - for now i just wanted to find out if
the coverpage should/could be made in some external program.

best regards


martin


On 21/11/05, William F. Adams [EMAIL PROTECTED] wrote:

 On Nov 21, 2005, at 12:58 PM, Martin A. Hansen wrote:

  i have been looking around for examples of other phd thesis with very
  little
  success. any pointers would be most welcome!

 Have you checked w/ your math/physics/comp-sci department to see if
 they've a LaTeX template?

 There're a couple of such on CTAN, http://www.ctan.org

  2)
  the title page is going to require major ERT hacking if i want to make
  it in
  lyx. i am planning on a fulpage watermark with a couple of white boxes
  with
  title, author, adress etc. on the other hand, it would be very simple
  to
  make in inkscape, export as eps and use the image as coverpage. any
  suggestions?

 I would suggest a proper documentclass approach so as to preclude
 errors introduced by failing to update the graphic.

  3)
  the general style of phd thesis from my instutution is composed of a
  title-page, summary, introduction, work1, work2, work3... references,
  appendices. now, work1--3 ... are published papers where i somehow
  need to
  embed these pdf files in the thesis. how can this be done?

 \usepackage{pdfpages}

 available from CTAN. read the fantastic manual for specific details.

  4)
  i would like the department logo in the fancy header. how?

 the esopic package is one good option for this.

 William

 --
 William Adams, publishing specialist
 voice - 717-731-6707 | Fax - 717-731-6708
 www.atlis.com http://www.atlis.com




Re: wanted: examples of layout details for my thesis

2005-11-22 Thread William F. Adams

On Nov 22, 2005, at 3:18 PM, Martin A. Hansen wrote:

i am a bit concerned about hacking the coverpage into place using 
lyx/latex,
but if i really must, i am going to need some assistance. i will 
return with
specific questions at a later point - for now i just wanted to find 
out if

the coverpage should/could be made in some external program.


While it could be done in an external app, there's no reason to trouble 
over this --- just redefine the \maketitle command to do what's needed 
and then you never have to worry about it not being in synch with the 
rest of the document.


I think I posted an example of this here a while back, if not it should 
be easy to find examples on a wiki somewhere, or on comp.text.tex using 
Google Groups.


William

--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com



Re: align left and hyphenation

2005-11-22 Thread Eric S Fraga
On Mon, Nov 21, 2005 at 11:24:38PM +, Jose' Matos wrote:
   I find it ironic defending a subject because it is pseudo-WYSIWYG in a lyx 
 list. ;-)

Actually, I would suggest that HTML is actually closer in concept to LyX
than it is to anything wysiwyg...  but please don't take this as support for
HTML email!

cheers,
eric
-- 
 Eric S. Fraga, Department of Chemical Engineering, UCL, London
***.*..**.*.*...***.***.*...*...***.*...


when to use koma-script?

2005-11-22 Thread Martin A. Hansen
hi all

i have been looking around for a fulfilling answer to this, but in vain. i
have found no hints in the koma-script documentation intro, the latex
companion, the tex faq, the lyx wiki, the lyx-extended-features
documentation ...

so perhaps somebody with experience using koma-script would share their
experiences, we could put together a page for the wiki and the docs?


martin


Re: align left and hyphenation

2005-11-22 Thread Marcelo Acuÿfffff1a
  Thanks for help me, Helge!

   I think that Lyx is very good for mathematics 
   but for history, sociology, etc. advantage is
   reduced for difficult to learn and poor tool
   for index entry.
 
  1) Difficult for index entry without assist.
  Examples:
  
   a) I have in my book: Otto von Bismark-Schonhausen
   I put the cursor at the end of this name, click on 
  Insert  Index Entry and get a dialog box with the
  word Schonhausen, then I must add the rest of name
  without any misspelling each time that this name
  appears.
  
   Note that in a book, after first mention, author
  only write last name but when make index entry he need
  remember the whole name. When the author make index
  entry and arrive at the middle of book encounter
  hundred of last names: Bismark? ... ehh ... with or
  without von? ... Oto or Otto? ... Schonhauser?
  ... Schonhaussen? ... Schomberg?
  Of course, Germans have not problem with names
  like this, but Germans have problems with French,
  Spanish, Russian, etc.
 

 I see the problem.  Of course lyx can't really know what part
 of the text is a name and what is just a word.

I put all names in Small Caps. This can be a criteria.
But not only names appears in Alphabetical Index,
too issues, names of institutions, etc., appears.

  So it guesses that you want to index a single word.
  Even if we had a name mode then lyx would be hard
 pressed to know exactly how many of the previous words
 belongs to a name.

 You can make this work easier bu using cut  paste
 smartly though. If I want to index Otto von
 Bismark-Schonhausen then I know that lyx is only going
 to get Schonhausen for me. So I mark Otto von Bismark-
 (using mouse or keyboard), then positions the cursor and insert
 an index entry.  Click on the entry, position the cursor in front
 of Schonhausen.  Then paste the rest, for linux users that
 usually done by pressing the middle mouse button.

So you have to fill in the index entry, but no need to worry
about how to write the name. Just paste it.

I think that this idea is not a solution well.

 Another trick, if you're indexing one author at a time:
 * Create a single index entry, as above
 * Now mark the entire index entry (not the text inside, but
 the entry itself)
 * Press ctrl+c (or the menu choice edit-copy)
 * That index entry is now in the paste buffer.  Move through the
 text, whenever you need the index entry, just position the cursor
 and press ctrl+v (or the edit-paste menu choice)

 This is much easier and faster than typing the name over and over.
 Probably not perfect for your use, but it can  make work easier
 while waiting for the next round of development in which
 new features _may_ be developed.

This method is better than previous, for now I am using
this, but I think that my suggestion generate lowest load
of work for author.
 
   I suggest a dialog box that show an alphabetical
 list of previous entries and that to allow choose
 and pick up a complete index entry of this list,
 or add a new entry.
 
 Seems like a good idea - it'd certainly make it easier to
 move through a text indexing hundreds of different people. 

 
 2) Absence of sub-issues.
 Example:
 I need get it.
 Bonaparte, Napoleon, 7,8, 56, 95.
Bonaparte in Egypt, 111-119, 142.
Bonaparte in Italy, 39, 160, 184.
 
 Lyx already has this:
 Index 
 Bonaparte!in Egypt 
 Bonaparte!in Italy

 To get the second level.  You can have three levels too
 if you like, such as Bonaparte!in Egypt!admiring pyramids

 
 3) Absence of item without page number.
 Examples:
 I need get it.
  Stalin (see Dzhugachvili, Iosif Visarionovich)
  von Radetz, count Radetzky (see Radetzky, Joseph) 
 

 Lyx has it, index this:
 Stalin|see Dzhugachvili, Iosif Visarionovich
 Well, you may have to do some tricks to get parantheses
  just like that.
 Note that symbols like |#65533;!{} and a few others have special meaning
 inside the index entry box.  You can do all index entry tricks that
 latex supports, which is a lot.  There are reference manuals
 for this if you're interested.
 
This work very well!
Before I posted about index entry I search in Google for 
“Lyx multi-level index entry” and I can't get nothing of this.
I need reference manuals, Where I can download it?


 I am not a C programmer. Sorry.
 
 Many aren't.  Consider asking about this again when lyx 1.5
 development opens up.  You might get a volunteer willing
 to make that dialog box you suggested.  It doesn't seem that
 hard.  Actually, go over to bugzilla.lyx.org and file a
 wishlist bug so it won't be forgotten!

 Non-programmers can still organize help, such as finding
 out exactly what would be useful for the most people without
 being too difficult to do, looking for volunteer programmers,
 or even raise money when a volunteer can't be found.

 Helge Hafting


About left align vs justify I suggest
  http://desktoppub.about.com/od/typelayout/
  “If someone insists that 

Re: wanted: examples of layout details for my thesis

2005-11-22 Thread Uwe Stöhr

Martin A. Hansen wrote:


i have had a look at your diploma thesis - its looks very nice. is it
possible to have a look at the lyx file? (i dont have read permissions)


Now you have it.


i have also tried to figure why koma-script should be superiour to the
standard latex classes. this seems not to be explained in brief anywhere?


koma-script is superior because you can adjust nearly everything. You 
need for example the LaTeX-package caption to set the caption font and 
style - this can be omitted because koma-script allows you to do the same.
koma-script supports also specialities like the setting of the dots in 
the section numbering 1.2.3 Test or 1.2.3. Test. It offers many 
commands to generate a suitable title page, headlines chapter layout, 
indices, the TOC etc.
Many of these features aren't available with the standard classes. And I 
forgot to mention that the documentation is excellent.


regards Uwe


Index Tips Tricks in LyX.

2005-11-22 Thread John C. McCabe-Dansted
On Tuesday 22 November 2005 03:55, Marcelo Acuÿf1a wrote:

 1) Difficult for index entry without assist.
  Examples:

   a) I have in my book: Otto von Bismark-Schonhausen
   I put the cursor at the end of this name, click on
 Insert  Index Entry and get a dialog box with the
 word Schonhausen, then I must add the rest of name
 without any misspelling each time that this name
 appears.

I found that really annoying too. What I did is put the line 

\renewcommand{\underbar}[1]{\textbf{#1}\index{#1}}

at the end of my Layout-Document-Preamble. This means text that is 
underlined in LyX will instead be made bold-face and added to the index in 
the PDF/PS/DVI LyX generates. It is easy to underline text in LyX (e.g. by 
selecting the text and pressing Cntl-U).

If you do not want your index entries bold, instead add the line:

\renewcommand{\underbar}[1]{#1\index{#1}}

   Note that in a book, after first mention, author
 only write last name but when make index entry he need
 remember the whole name. When the author make index
 entry and arrive at the middle of book encounter
 hundred of last names: Bismark? ... ehh ... with or
 without von? ... Oto or Otto? ... Schonhauser?
 ... Schonhaussen? ... Schomberg?
 Of course, Germans have not problem with names
 like this, but Germans have problems with French,
 Spanish, Russian, etc.

Ah, the trick above won't help here. 

 2) Absence of sub-issues.
 Example:
 I need get it.
 Bonaparte, Napoleon, 7,8, 56, 95.
Bonaparte in Egypt, 111-119, 142.
Bonaparte in Italy, 39, 160, 184.

Add these Index entries (with out the ''s):
Bonaparte, Napoleon
Bonaparte, Napoleon!Bonaparte in Egypt
Bonaparte, Napoleon!Bonaparte in Italy

 Marcelo Acuña
-- 
John C. McCabe-Dansted
Masters Student


Re: Index Tips Tricks in LyX.

2005-11-22 Thread Rich Shepard

On Wed, 23 Nov 2005, John C. McCabe-Dansted wrote:


  a) I have in my book: Otto von Bismark-Schonhausen I put the cursor at
  the end of this name, click on Insert  Index Entry and get a dialog box
  with the word Schonhausen, then I must add the rest of name without any
  misspelling each time that this name appears.



I found that really annoying too. What I did is put the line


  Probably we all trip over this. What I did was to highlight the name/word,
cut it, then paste it in the index box. It worked for me. I understand that
in a future version of LyX, we will be able to highlight the name/word,
select Index-Entry, and have the word placed in the box for us.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: wanted: examples of layout details for my thesis

2005-11-22 Thread John C. McCabe-Dansted
On Wednesday 23 November 2005 13:29, Uwe Stöhr wrote:
 koma-script is superior because you can adjust nearly everything. You
 need for example the LaTeX-package caption to set the caption font and
 style - this can be omitted because koma-script allows you to do the same.
 koma-script supports also specialities like the setting of the dots in
 the section numbering 1.2.3 Test or 1.2.3. Test. It offers many
 commands to generate a suitable title page, headlines chapter layout,
 indices, the TOC etc.
 Many of these features aren't available with the standard classes. And I
 forgot to mention that the documentation is excellent.

 regards Uwe

Yes, I found that to format a thesis correctly, I had to use koma-script. 
However, I found that to have theorems  lemmas etc I had to use AMS article. 
My current solution is to have a Koma-script file that inputs the chapters 
with theorems in AMS book format. 

However this generates lots of errors unless I put the lines below in my 
preamble, and I haven't found a way of getting unnumbered theorems to work. 
Is there a better way?


-- 
John C. McCabe-Dansted
Masters Student

%%%
%The following lines are needed to import AMS files
\newtheorem{thm}{Theorem}[section]
\newtheorem{lem}[thm]{Lemma} 
\newtheorem{example*}{Example}
\newtheorem{cor}[thm]{Corollary}
\newtheorem{prop}[thm]{Proposition}
\newtheorem{conjecture}[thm]{Conjecture}
\newtheorem{criterion}[thm]{Criterion} 
\newtheorem{algorithm}[thm]{Algorithm}
\newtheorem{fact}[thm]{Fact} 
\newtheorem{ax}[thm]{Axiom} 
\newtheorem{defn}[thm]{Definition}
\newtheorem{example}[thm]{Example}
\newtheorem{condition}[thm]{Condition}
\newtheorem{problem}[thm]{Problem}
\newtheorem{xca}[section]{Exercise}
\newtheorem{rem}[thm]{Remark}
\newtheorem{claim}[thm]{Claim}
\newtheorem{note}[thm]{Note} 
\newtheorem{notation}[thm]{Notation} 
\newtheorem{summary}[thm]{Summary} 
\newtheorem{acknowledgement}[thm]{Acknowledgement} 
\newtheorem{conclusion}[thm]{Conclusion} 
\newtheorem{case}{Case}

\newcommand{\openbox}{\leavevmode
  \hbox to.8em{%
  \hfil\vrule
  \vbox to.675em{\hrule width.6em\vfil\hrule}%
  \vrule\hfil}}
\providecommand{\qedsymbol}{\openbox}

[EMAIL PROTECTED]

\DeclareRobustCommand{\qed}{%
  \ifmmode \mathqed
  \else
\leavevmode\unskip\penalty \hbox{}\nobreak\hfill
\quad\hbox{\qedsymbol}%
  \fi
}

\newenvironment{proof}[1]
  {\hspace{0.5cm}Proof. }
  {\vspace{-0.3cm}\hfill\qed\vspace{1cm}

}

%The preceeding lines are needed to import AMS files
%%


Re: when to use koma-script?

2005-11-22 Thread Helge Hafting

Martin A. Hansen wrote:


hi all

i have been looking around for a fulfilling answer to this, but in vain. i
have found no hints in the koma-script documentation intro, the latex
companion, the tex faq, the lyx wiki, the lyx-extended-features
documentation ...

so perhaps somebody with experience using koma-script would share their
experiences, we could put together a page for the wiki and the docs?
 


Use komascript:
* When you want the look koma-script gives.  I believe it is tuned
  for European typography.
* whenever you find the extra features (things like addchap, as
  well as many latex commands) useful.  There are many things
  you may need to set up with latex commands, such as running heads
  and custom page layouts.  Koma-script has lots of extra commands
  for these things.

Helge Hafting


Re: Am I shut out because of my windows flavour??

2005-11-22 Thread Angus Leeming
Roy Schestowitz wrote:
> On Tue 22 Nov 2005 00:30:59 GMT, [Brian Lunergan] wrote:
>> Evening all:
>> I have been reading the material on LyX136 and I've got a concern over
>> one of the listed bugs. It suggests Win98 and Lyx don't get along. I use
>> Win98se on an 800mhz AMD machine, and do my downloading through a 56k
>> dialup connection. Am I shut out from using LyX, or have I misread the
>> notes?

>> It seems puzzling when MiKTeX and some of the other required software do
>> give the impression that they get along with Win98 just fine.

>> Any thoughts or opinions??

> For  several  years I have been using LyX ~1.3.4 on a Windows  98 
> (Second Edition)  laptop with 32MB of RAM and a 400mhz AMD processor.
> Neither LyX nor MikTeX have ever given me a hard time. Compilation time
> was decent and LyX was rather stable and responsive.

Hi, Brian. Hi, Roy.

It's true that we have had some problems with LyX 1.3.6 on Win98, because I
introduced the use of a couple of system functions that exist only on
later versions of Windows. With the help of Luis Rivera, things now appear
to work reasonably well on Win98 also. See
http://wiki.lyx.org/Windows/LyX137pre

If you hold off for a day or so, I'll upload the latest and greatest
version which I compiled on Sunday.

LyX's support for Win98 is now limited only by Qt/WinFree's support for
Win98. (Earlier, unofficial releases of LyX use an official,
non-commercial release of the Qt toolkit from Trolltech which we are
unable to use for various reasons.) Luis reports that everything is
working perfectly for him but, as always, your mileage may vary.

> If  you  experience trouble with installation of version 1.3.6, I 
> suggest you fall back to older versions. It is more or less guaranteed
> to work. I should point out that I was using the unsupported Windows
> port of LyX (was the  author's  name Klaus?).

If you were using the Cygwin port, it was Claus Hentschel. If you were
using the native Windows port, it was Ruurd Reitsma. Both ports have now
been folded into the official release 1.3.6.

> I installed it on other Windows machines and all was successful.
> Hope it helps,
> Roy

-- 
Angus



Re: Abstracts in multiple languages, preface and acknowledgements

2005-11-22 Thread Ingar Pareliussen
On Friday 18 November 2005 16:31, Andreas Kofod-Hansen wrote:
> Hi
>
>
>
> I'm writing my masters thesis in lyx, and as I'm writing the thesis in
> danish, an abstract in english (as well as one in danish) is required. I
> have tried using the latex directive selectlanguage to select first English
> (or more correctly, British) and then Danish, and that has worked ok as far
> as selecting the language the abstract "header" is displayed in. However,
> the page numbering is ruined as it's reset every when reaching the second
> abstract. How do I solve this? Do I simply use unnumbered chapters for the
> abstracts, or is there another way around it using the abstract text class.


I had to do this once when I was in a hurry. So I made a quick fix, there 
might be better methods, however it worked for me...

Copy your two abstract together and set the language to danish. Then without 
using a linebreak put something like this in an ert box between the two 
abstracts:

\newline 
 %(\newpage might work as well, depend on your style, I guess)
\begin{center}
 %(or flushleft/right, depending on your style)
\large\bf{Abstract} 
%(change size and bold to mach the style)
\end{center}
\hfill

> What about roman numbers before the TOC, is that possible in Lyx, or do I
> need to use Latex directives? 

This depends on your style and you should look in the documentation for the 
style to see if the behaviour can be changed. Or you could do somthing like 
this in ert when you want to change pagenumberstyle: 

\clearpage
\pagenumbering{roman} %or arabic
\setcounter{page}{3} % the pagenumber is reset and you have to correct it 

It might give some surprising results though :).

> And. what about the preface and 
> acknowledgements? I haven't found any way of selecting this in any of
> document classes, so how do I get around this?

Again it depends on your style, if you use report(koma-skript) you have many 
different choices that you could use such as dedications, and upper and lower 
title backs etc. 

Ingar




titletoc and "list of appendices"?

2005-11-22 Thread Andrew Morrison
Is it possible to have in a document a list of appendices such that the the
top of the table of contents appears like:

LIST OF TABLES
LIST OF FIGURES
LIST OF APPENDICES

Where the words are in all caps?

I've figured out how to insert the list of tables and list of figures, and
that I should probably use the titletoc to format the titles in all caps.
But, I can't figure out how titletoc works to do that, or how to insert a
"list of appendices" at the top of the toc. The appendices are currently
listed at the end of the toc, but I need them in list form, like the tables
and figures.

Thanks!

Andrew Morrison


Lyx from the commandline, pdf creation

2005-11-22 Thread Stephen Gross
I'm new to lyx, so please bear with me. I've got a lyx document that I want 
to turn into a pdf. I know this is easy to do through the graphical 
interface; is there a way to do it via the commandline? I see that there's a 
'-x' option for executing a lyx command from the commandline. Can it be used 
for pdf creation?

Thanks in advance,
--Steve

Stephen Gross
Case Western School of Medicine
Cleveland, OH

"By Grabthar's hammer, by the sons of Worvan, you shall be avenged." - Dr. 
Lazarus 




Re: Lyx from the commandline, pdf creation

2005-11-22 Thread Bo Peng
> I know this is easy to do through the graphical
> interface; is there a way to do it via the commandline?

lyx --export pdf xxx.lyx
lyx --export pdf2 xxx.lyx

The first uses latex, the second uses pdflatex.

Cheers,
Bo


Re: [announce] fourth release of the LyXWinInstaller

2005-11-22 Thread Stephen Harris


- Original Message - 
From: "Uwe Stöhr" <[EMAIL PROTECTED]>

To: "LyX-Users" 
Cc: "LyX-Devel" 
Sent: Monday, November 21, 2005 9:25 AM
Subject: [announce] fourth release of the LyXWinInstaller



Hello LyXers,

with the help from many people I'm now able to present the new version 0.4 
of the LyX installer for Windows.


I switched to LyX's new LaTeX -> LyX converter "tex2lyx". In contrary to 
the old "reLyX" tex2lyx is maintained by the LyX-developers. tex2lyx is 
currently not marked as "stable" but it is in most cases better than 
reLyX. tex2lyx is invoked when you use LyX's menu

File -> Import -> LaTeX



I tested version 4, small and network, with the Texlive2005, win32 latex 
distro.

Everything seemed to work and it found C:\Texlive2005\bin\win32; and added
it to the Lyx Path prefix.

I tested tex2lyx on sample.tex which has the author's picture which it 
displayed.
It did not display the pdf test files. "error converting to loadable format" 
and

something about "No information for converting pdf to eps" I saw ImageMagick
in both Paths (prefix). I tried adding C:\Texlive2005\bin\win32; to the 
Windows
Path and it didn't seem to help any, I imagine this is a problem with 
tex2lyx, not

the installer. The GUI looks a bit spiffier, new icons with functions?

Best regards,
Stephen




Re: Lyx from the commandline, pdf creation

2005-11-22 Thread Roy Schestowitz

_/ On Tue 22 Nov 2005 17:15:12 GMT, [Stephen Gross] wrote : \_


I'm new to lyx, so please bear with me. I've got a lyx document that I want
to turn into a pdf. I know this is easy to do through the graphical
interface; is there a way to do it via the commandline? I see that there's a
'-x' option for executing a lyx command from the commandline. Can it be used
for pdf creation?

Thanks in advance,
--Steve


Although I don't know which platform you use or what software is installed, I
would suggest the following:

- Open the LyX document, let us say example.lyx

- File -> Export -> LaTeX

- In the command line, type in e.g.: pdflatex example.tex

I typically generate PDF's in this way because it is verbose, flexible, 
and can

be conveniently integrated with LaTeX templates and styles. Moreover, I prefer
output from latex2html to lyx2html, which makes this step a necessary one.

Hope it helps,

Roy

--
Roy S. Schestowitz
http://Schestowitz.com



tex2pdf (was: Lyx from the commandline, pdf creation)

2005-11-22 Thread Joerg Hau
Hi,
On Tuesday 22 November 2005 18:15, Stephen Gross wrote:
> I've got a lyx document that I want to turn into a pdf. I know this is
> easy to do through the graphical interface; is there a way to do it via
> the commandline?  

Yes. Get Steffen Evers' script 'tex2pdf', it does all you need from the 
command line - including conversion of hyperlinks, thumbnail generation, 
etc. In spite of its name, it can deal with LyX _and_ LaTeX.

(The script used to be at http://tex2pdf.berlios.de/, but something is 
wrong with that right now ...)

Cheers & HTH,

- Joerg


-- 
joerg.hau(at)dplanet.ch * Lausanne, Switzerland
http://homepage.sunrise.ch/mysunrise/joerg.hau/
"All standard disclaimers apply."
Never take life seriously. You won't get out alive anyway.


Re: tex2pdf (was: Lyx from the commandline, pdf creation)

2005-11-22 Thread Jean-Pierre Chrétien

> Yes. Get Steffen Evers' script 'tex2pdf', it does all you need from the 
> command line - including conversion of hyperlinks, thumbnail generation, 
> etc. In spite of its name, it can deal with LyX _and_ LaTeX.
> 
> (The script used to be at http://tex2pdf.berlios.de/, but something is 
> wrong with that right now ...)

http://developer.berlios.de/projects/tex2pdf/
is OK

Useful if you have everyting OK with latex and want a pdf.
Makes it hyperreffered on the fly (good for papers,
which have no toc: you get it in the left column for free,
as well as all the crossrefs).

-- 
Jean-Pierre




Re: latex2rft / tex2rtf problems

2005-11-22 Thread K. Elo
Hi,

Charles de Miramon wrote on November 21,2005, 20:45:
> > I have to convert a long article with a bibtex bibliography into
> > the rtf-format. I have installed both latex2rtf and tex2rtf, but I
> > just cannot get it working. The problems are:
>
> Did you use latex2rtf like that :
>
> latex2rtf -a myauxiliaryfile.aux -b mybibliographyfile.bib
> mylatexfile.tex
>

BTW, the -b option should define the .bbl, not the .bib file. But 
anyway, I have normally used it just like:

latex2rtf myfile.tex (or latex2rtf -C raw myfile.tex)

because 'man latex2rtf' says...

"The  latex2rtf  command converts a LaTeX file into RTF text format. 
The text and much of the formatting information is translated to RTF.
 -a auxfile
Used to specify a particular cross-referencing file.  
When this ption  is  omitted,  the  auxfile  is assumed 
to be the same as inputfile with the .tex suffix 
replaced by .aux.
 -b bblfile
Used to specify a particular bibliography file. When this 
option is  omitted,  the bblfile is assumed to be the same 
as inputfile with the .tex suffix replaced by .bbl."

... and the files (both .tex, .aux, .bib and .bbl) are all in the same 
directory. Oddly enough, as I tried it with -a, the conversion 
worked :-\ - i.e. I could open the rtf-file with OOo.

The bibliography is still missing in the rtf file, but because I can 
copy and paste it from the pdf-file, it is not a problem. So thanks for 
your help, Charles.

Kind regards,
Kimmo


Re: wanted: examples of layout details for my thesis

2005-11-22 Thread Martin A. Hansen
hello uwe


i have had a look at your diploma thesis - its looks very nice. is it
possible to have a look at the lyx file? (i dont have read permissions)

maybe you would even donate it to the wiki - the thesis section is very
meager -> http://wiki.lyx.org/Examples/Thesis

i have also tried to figure why koma-script should be superiour to the
standard latex classes. this seems not to be explained in brief anywhere?


best regards


martin



On 21/11/05, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
>
> Martin A. Hansen wrote:
>
> > it is time for me to type up my phd thesis. lyx is the choice, and now i
> am
> > spending a couple of days to figure out how to make the layout.
> > 1)
> > i have been looking around for examples of other phd thesis with very
> little
> > success. any pointers would be most welcome!
>
> I can recommend to use a koma-script class. You find its description here:
>
> ftp://ftp.dante.de/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf
>
> Some of my colegues have writte their PHD-thesises using koma-script.
> For an example you can have a look at my diploma thesis:
> http://fkurth.de/uwest/usti/Diplom/
>
> > the general style of phd thesis from my instutution is composed of a
> > title-page, summary, introduction, work1, work2, work3... references,
> > appendices. now, work1--3 ... are published papers where i somehow need
> to
> > embed these pdf files in the thesis. how can this be done?
>
> If the papers are in lyx or tex-format you can simply include them to
> your LyX-file. PDF files can also be included to the pdf-output of your
> lyx-file. I don't remember how this is done; you might find a solution
> in the TeX-FAQ:
> http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
>
> > 4)
> > i would like the department logo in the fancy header. how?
>
> This is also explained in the TeX-FAQ.
>
> regards Uwe
>


Re: wanted: examples of layout details for my thesis

2005-11-22 Thread Martin A. Hansen
hi william

the pdfpages package is indeed very cool. it did just the trick!

i am a bit concerned about hacking the coverpage into place using lyx/latex,
but if i really must, i am going to need some assistance. i will return with
specific questions at a later point - for now i just wanted to find out if
the coverpage should/could be made in some external program.

best regards


martin


On 21/11/05, William F. Adams <[EMAIL PROTECTED]> wrote:
>
> On Nov 21, 2005, at 12:58 PM, Martin A. Hansen wrote:
>
> > i have been looking around for examples of other phd thesis with very
> > little
> > success. any pointers would be most welcome!
>
> Have you checked w/ your math/physics/comp-sci department to see if
> they've a LaTeX template?
>
> There're a couple of such on CTAN, http://www.ctan.org
>
> > 2)
> > the title page is going to require major ERT hacking if i want to make
> > it in
> > lyx. i am planning on a fulpage watermark with a couple of white boxes
> > with
> > title, author, adress etc. on the other hand, it would be very simple
> > to
> > make in inkscape, export as eps and use the image as coverpage. any
> > suggestions?
>
> I would suggest a proper documentclass approach so as to preclude
> errors introduced by failing to update the graphic.
>
> > 3)
> > the general style of phd thesis from my instutution is composed of a
> > title-page, summary, introduction, work1, work2, work3... references,
> > appendices. now, work1--3 ... are published papers where i somehow
> > need to
> > embed these pdf files in the thesis. how can this be done?
>
> \usepackage{pdfpages}
>
> available from CTAN. read the fantastic manual for specific details.
>
> > 4)
> > i would like the department logo in the fancy header. how?
>
> the esopic package is one good option for this.
>
> William
>
> --
> William Adams, publishing specialist
> voice - 717-731-6707 | Fax - 717-731-6708
> www.atlis.com 
>
>


Re: wanted: examples of layout details for my thesis

2005-11-22 Thread William F. Adams

On Nov 22, 2005, at 3:18 PM, Martin A. Hansen wrote:

i am a bit concerned about hacking the coverpage into place using 
lyx/latex,
but if i really must, i am going to need some assistance. i will 
return with
specific questions at a later point - for now i just wanted to find 
out if

the coverpage should/could be made in some external program.


While it could be done in an external app, there's no reason to trouble 
over this --- just redefine the \maketitle command to do what's needed 
and then you never have to worry about it not being in synch with the 
rest of the document.


I think I posted an example of this here a while back, if not it should 
be easy to find examples on a wiki somewhere, or on comp.text.tex using 
Google Groups.


William

--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com



Re: align left and hyphenation

2005-11-22 Thread Eric S Fraga
On Mon, Nov 21, 2005 at 11:24:38PM +, Jose' Matos wrote:
>   I find it ironic defending a subject because it is pseudo-WYSIWYG in a lyx 
> list. ;-)

Actually, I would suggest that HTML is actually closer in concept to LyX
than it is to anything wysiwyg...  but please don't take this as support for
HTML email!

cheers,
eric
-- 
 Eric S. Fraga, Department of Chemical Engineering, UCL, London
***.*..**.*.*...***.***.*...*...***.*...


when to use koma-script?

2005-11-22 Thread Martin A. Hansen
hi all

i have been looking around for a fulfilling answer to this, but in vain. i
have found no hints in the koma-script documentation intro, the latex
companion, the tex faq, the lyx wiki, the lyx-extended-features
documentation ...

so perhaps somebody with experience using koma-script would share their
experiences, we could put together a page for the wiki and the docs?


martin


Re: align left and hyphenation

2005-11-22 Thread Marcelo Acuÿfffff1a
  Thanks for help me, Helge!

>>>   I think that Lyx is very good for mathematics 
>>>   but for history, sociology, etc. advantage is
>>>   reduced for difficult to learn and poor tool
>>>   for index entry.
> 
>>  1) Difficult for index entry without assist.
>>  Examples:
>  
>>   a) I have in my book: Otto von Bismark-Schonhausen
>>   I put the cursor at the end of this name, click on 
>>  Insert > Index Entry and get a dialog box with the
>>  word Schonhausen, then I must add the rest of name
>>  without any misspelling each time that this name
>>  appears.
>>  
>>   Note that in a book, after first mention, author
>>  only write last name but when make index entry he need
>>  remember the whole name. When the author make index
>>  entry and arrive at the middle of book encounter
>>  hundred of last names: Bismark? ... ehh ... with or
>>  without von? ... Oto or Otto? ... Schonhauser?
>>  ... Schonhaussen? ... Schomberg?
>>  Of course, Germans have not problem with names
>>  like this, but Germans have problems with French,
>>  Spanish, Russian, etc.
>> 

> I see the problem.  Of course lyx can't really know what part
> of the text is a name and what is just a word.

I put all names in Small Caps. This can be a criteria.
But not only names appears in Alphabetical Index,
too issues, names of institutions, etc., appears.

>  So it guesses that you want to index a single word.
>  Even if we had a "name mode" then lyx would be hard
> pressed to know exactly how many of the previous words
> belongs to a name.

> You can make this work easier bu using cut & paste
> smartly though. If I want to index "Otto von
> Bismark-Schonhausen" then I know that lyx is only going
> to get "Schonhausen" for me. So I mark "Otto von Bismark-"
> (using mouse or keyboard), then positions the cursor and insert
> an index entry.  Click on the entry, position the cursor in front
> of "Schonhausen".  Then paste the rest, for linux users that
> usually done by pressing the middle mouse button.
>
>So you have to fill in the index entry, but no need to worry
>about how to write the name. Just paste it.

I think that this idea is not a solution well.

> Another trick, if you're indexing one author at a time:
> * Create a single index entry, as above
> * Now mark the entire index entry (not the text inside, but
> the entry itself)
> * Press ctrl+c (or the menu choice edit->copy)
> * That index entry is now in the paste buffer.  Move through the
> text, whenever you need the index entry, just position the cursor
> and press ctrl+v (or the edit->paste menu choice)

> This is much easier and faster than typing the name over and over.
> Probably not perfect for your use, but it can  make work easier
> while waiting for the next round of development in which
> new features _may_ be developed.

This method is better than previous, for now I am using
this, but I think that my suggestion generate lowest load
of work for author.
 
>>   I suggest a dialog box that show an alphabetical
>> list of previous entries and that to allow choose
>> and pick up a complete index entry of this list,
>> or add a new entry.
>> 
> Seems like a good idea - it'd certainly make it easier to
> move through a text indexing hundreds of different people. 

>> 
>> 2) Absence of sub-issues.
>> Example:
>> I need get it.
>> Bonaparte, Napoleon, 7,8, 56, 95.
>>Bonaparte in Egypt, 111-119, 142.
>>Bonaparte in Italy, 39, 160, 184.
>> 
> Lyx already has this:
> Index 
> "Bonaparte!in Egypt" 
> "Bonaparte!in Italy"
>
> To get the second level.  You can have three levels too
> if you like, such as "Bonaparte!in Egypt!admiring pyramids"
>
>> 
>> 3) Absence of item without page number.
>> Examples:
>> I need get it.
>>  Stalin (see Dzhugachvili, Iosif Visarionovich)
>>  von Radetz, count Radetzky (see Radetzky, Joseph) 
>> 
>
> Lyx has it, index this:
> "Stalin|see Dzhugachvili, Iosif Visarionovich"
> Well, you may have to do some tricks to get parantheses
>  just like that.
> Note that symbols like |!{}" and a few others have special meaning
> inside the index entry box.  You can do all index entry tricks that
> latex supports, which is a lot.  There are reference manuals
> for this if you're interested.
 
This work very well!
Before I posted about index entry I search in Google for 
“Lyx multi-level index entry” and I can't get nothing of this.
I need reference manuals, Where I can download it?


>> I am not a C programmer. Sorry.
>> 
> Many aren't.  Consider asking about this again when lyx 1.5
> development opens up.  You might get a volunteer willing
> to make that dialog box you suggested.  It doesn't seem that
> hard.  Actually, go over to bugzilla.lyx.org and file a
> "wishlist bug" so it won't be forgotten!
>
> Non-programmers can still organize help, such as finding
> out exactly what would be useful for the most people without
> being too difficult to do, looking for volunteer programmers,
> or even 

Re: wanted: examples of layout details for my thesis

2005-11-22 Thread Uwe Stöhr

Martin A. Hansen wrote:


i have had a look at your diploma thesis - its looks very nice. is it
possible to have a look at the lyx file? (i dont have read permissions)


Now you have it.


i have also tried to figure why koma-script should be superiour to the
standard latex classes. this seems not to be explained in brief anywhere?


koma-script is superior because you can adjust nearly everything. You 
need for example the LaTeX-package "caption" to set the caption font and 
style - this can be omitted because koma-script allows you to do the same.
koma-script supports also specialities like the setting of the dots in 
the section numbering "1.2.3 Test" or "1.2.3. Test". It offers many 
commands to generate a suitable title page, headlines chapter layout, 
indices, the TOC etc.
Many of these features aren't available with the standard classes. And I 
forgot to mention that the documentation is excellent.


regards Uwe


Index Tips & Tricks in LyX.

2005-11-22 Thread John C. McCabe-Dansted
On Tuesday 22 November 2005 03:55, Marcelo Acuÿf1a wrote:
>
> 1) Difficult for index entry without assist.
>  Examples:
>
>   a) I have in my book: Otto von Bismark-Schonhausen
>   I put the cursor at the end of this name, click on
> Insert > Index Entry and get a dialog box with the
> word Schonhausen, then I must add the rest of name
> without any misspelling each time that this name
> appears.

I found that really annoying too. What I did is put the line 

\renewcommand{\underbar}[1]{\textbf{#1}\index{#1}}

at the end of my Layout->Document->Preamble. This means text that is 
underlined in LyX will instead be made bold-face and added to the index in 
the PDF/PS/DVI LyX generates. It is easy to underline text in LyX (e.g. by 
selecting the text and pressing Cntl-U).

If you do not want your index entries bold, instead add the line:

\renewcommand{\underbar}[1]{#1\index{#1}}

>   Note that in a book, after first mention, author
> only write last name but when make index entry he need
> remember the whole name. When the author make index
> entry and arrive at the middle of book encounter
> hundred of last names: Bismark? ... ehh ... with or
> without von? ... Oto or Otto? ... Schonhauser?
> ... Schonhaussen? ... Schomberg?
> Of course, Germans have not problem with names
> like this, but Germans have problems with French,
> Spanish, Russian, etc.

Ah, the trick above won't help here. 

> 2) Absence of sub-issues.
> Example:
> I need get it.
> Bonaparte, Napoleon, 7,8, 56, 95.
>Bonaparte in Egypt, 111-119, 142.
>Bonaparte in Italy, 39, 160, 184.

Add these Index entries (with out the '"'s):
"Bonaparte, Napoleon"
"Bonaparte, Napoleon!Bonaparte in Egypt"
"Bonaparte, Napoleon!Bonaparte in Italy"

> Marcelo Acuña
-- 
John C. McCabe-Dansted
Masters Student


Re: Index Tips & Tricks in LyX.

2005-11-22 Thread Rich Shepard

On Wed, 23 Nov 2005, John C. McCabe-Dansted wrote:


  a) I have in my book: Otto von Bismark-Schonhausen I put the cursor at
  the end of this name, click on Insert > Index Entry and get a dialog box
  with the word Schonhausen, then I must add the rest of name without any
  misspelling each time that this name appears.



I found that really annoying too. What I did is put the line


  Probably we all trip over this. What I did was to highlight the name/word,
cut it, then paste it in the index box. It worked for me. I understand that
in a future version of LyX, we will be able to highlight the name/word,
select Index->Entry, and have the word placed in the box for us.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: wanted: examples of layout details for my thesis

2005-11-22 Thread John C. McCabe-Dansted
On Wednesday 23 November 2005 13:29, Uwe Stöhr wrote:
> koma-script is superior because you can adjust nearly everything. You
> need for example the LaTeX-package "caption" to set the caption font and
> style - this can be omitted because koma-script allows you to do the same.
> koma-script supports also specialities like the setting of the dots in
> the section numbering "1.2.3 Test" or "1.2.3. Test". It offers many
> commands to generate a suitable title page, headlines chapter layout,
> indices, the TOC etc.
> Many of these features aren't available with the standard classes. And I
> forgot to mention that the documentation is excellent.
>
> regards Uwe

Yes, I found that to format a thesis correctly, I had to use koma-script. 
However, I found that to have theorems & lemmas etc I had to use AMS article. 
My current solution is to have a Koma-script file that inputs the chapters 
with theorems in AMS book format. 

However this generates lots of errors unless I put the lines below in my 
preamble, and I haven't found a way of getting unnumbered theorems to work. 
Is there a better way?


-- 
John C. McCabe-Dansted
Masters Student

%%%
%The following lines are needed to import AMS files
\newtheorem{thm}{Theorem}[section]
\newtheorem{lem}[thm]{Lemma} 
\newtheorem{example*}{Example}
\newtheorem{cor}[thm]{Corollary}
\newtheorem{prop}[thm]{Proposition}
\newtheorem{conjecture}[thm]{Conjecture}
\newtheorem{criterion}[thm]{Criterion} 
\newtheorem{algorithm}[thm]{Algorithm}
\newtheorem{fact}[thm]{Fact} 
\newtheorem{ax}[thm]{Axiom} 
\newtheorem{defn}[thm]{Definition}
\newtheorem{example}[thm]{Example}
\newtheorem{condition}[thm]{Condition}
\newtheorem{problem}[thm]{Problem}
\newtheorem{xca}[section]{Exercise}
\newtheorem{rem}[thm]{Remark}
\newtheorem{claim}[thm]{Claim}
\newtheorem{note}[thm]{Note} 
\newtheorem{notation}[thm]{Notation} 
\newtheorem{summary}[thm]{Summary} 
\newtheorem{acknowledgement}[thm]{Acknowledgement} 
\newtheorem{conclusion}[thm]{Conclusion} 
\newtheorem{case}{Case}

\newcommand{\openbox}{\leavevmode
  \hbox to.8em{%
  \hfil\vrule
  \vbox to.675em{\hrule width.6em\vfil\hrule}%
  \vrule\hfil}}
\providecommand{\qedsymbol}{\openbox}

[EMAIL PROTECTED]

\DeclareRobustCommand{\qed}{%
  \ifmmode \mathqed
  \else
\leavevmode\unskip\penalty \hbox{}\nobreak\hfill
\quad\hbox{\qedsymbol}%
  \fi
}

\newenvironment{proof}[1]
  {\hspace{0.5cm}Proof. }
  {\vspace{-0.3cm}\hfill\qed\vspace{1cm}

}

%The preceeding lines are needed to import AMS files
%%


Re: when to use koma-script?

2005-11-22 Thread Helge Hafting

Martin A. Hansen wrote:


hi all

i have been looking around for a fulfilling answer to this, but in vain. i
have found no hints in the koma-script documentation intro, the latex
companion, the tex faq, the lyx wiki, the lyx-extended-features
documentation ...

so perhaps somebody with experience using koma-script would share their
experiences, we could put together a page for the wiki and the docs?
 


Use komascript:
* When you want the look koma-script gives.  I believe it is tuned
  for European typography.
* whenever you find the extra features (things like addchap, as
  well as many latex commands) useful.  There are many things
  you may need to set up with latex commands, such as running heads
  and custom page layouts.  Koma-script has lots of extra commands
  for these things.

Helge Hafting