Show entry type in References

2006-06-05 Thread Ares

I would probaly try to hack alpha.bst.

I'll try this. thanks Jürgen

...but now I have a new problem: I don't manage to get the Bibliography in
the Table of Contents.

If I use the option Sectioned Bibliography, I cannot check the option Add
bibliography to TOC in the BibTeX generated bibliography dialog.

What I did is to define the Bibliography section name as a Chapter*
(chapter title without numbering). Either this way, the Bibliography does
not appear in TOC. I also went to Document settings -- Numbering and TOC,
but it is not possible from here to change the behaviour of Chapter* since
Chapter* is not there at all! but there are Part* and Section*, so why not
Chapter* ? By the way, I noticed that even if I set Part* and Section* to
appear in TOC, they don't. What's wrong? is it a bug or maybe I don't get
the meaning of it all?

Thanks again for your support,
Diego


-- Messaggio inoltrato --
From: Ares [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:16:56 +0200
Subject: Show entry type in References
I found that LyX 1.4.1 (on Win) has the option document  settings... 
bibliography  sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the Bibliography section name
- I'm still not able to define the citation style as [Art1], [Art2] etc for
articles, [Book1], [Book2] etc for books etc. Should I define a bst file by
myself?

Thanks for your support
Diego

From: Sara Stymne [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Thu, 18 May 2006 19:51:47 +0200
Subject: Re: Show entry type in References
Hi!

You might find an answer here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=multbib

/Sara


Ares wrote:


Hello everyone,
I'm using LyX to compile a PhD thesis and a bibtex database for
references, and I'm new to both.
I would like to group the references according to entry type, and to
show the entry type itself in the references. this would look like, for
instance:

...
References

articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...

Is there anyone who knows how to do that? maybe using an appropriate bst
file that does that??
Thanks for your support
Diego




-- Messaggio inoltrato --
From: Juergen Spitzmueller [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:57:05 +0200
Subject: Re: Show entry type in References
Ares wrote:

I found that LyX 1.4.1 (on Win) has the option document  settings... 
bibliography  sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the Bibliography section name


What's the problem with that? Otherwise it wouldn't simply be possible to
add
your own bibliography section headings. The option printheadings (in
Document-Settings-Class Options), however, changes the behaviour.


- I'm still not able to define the citation style as [Art1], [Art2] etc
for articles, [Book1], [Book2] etc for books etc. Should I define a bst
file by myself?


yes. I would probaly try to hack alpha.bst.
(as an alternative, if you have a manageable number of citations, the
package splitbib might help).

Jürgen


Re: problème avec lyx

2006-06-05 Thread Uwe Stöhr

[EMAIL PROTECTED] schrieb:

Bonjour je suis un nouvel utilisateur de lyx et j'ai un problème lorsque je  
convertit mon document au format dvi. Le message d'erreur est le suivant :

An error occured whilst running Python
D:/Utilitaires/lyx 1.4.1/Ressources/scripts


The problem might be the changed MiKTeX configuration. Replace the file 
hyperref.cfg in your MiKTeX installation (in the folder 
~\texmf\tex\latex\00miktex) with this one:


http://prdownload.berlios.de/lyxwininstall/hyperref.cfg

Then restart LyX and try it again.

regards Uwe


Re: problème avec lyx (Ihave a prob lem with lyx windows 1.4.1)

2006-06-05 Thread Gilles Mioni
Paul A. Rubin wrote:

 A S Hodel wrote:

 I think the translation is a bit different: (but then again, I'm
 an American so take this with a grain of salt)

 [EMAIL PROTECTED] wrote:

 Bonjour je suis un nouvel utilisateur de lyx et j'ai un
 problème lorsque je convertit mon document au format dvi. Le
 message d'erreur est le suivant : An error occured whilst
 running Python D:/Utilitaires/lyx 1.4.1/Ressources/scripts

 Et lorsque je demande la version en Draftdvi le message est
 :Bad dvi file

 En fait les problèmes disparaissent quand j'enlève mes images
 Bitmap du document. Pourrait-on m'expliquer le problème et
 comment y remédier ? Merci par avance.


 I am a new Lyx user and I have a problem when I convert my
 document to dvi format. The error message is the following: An
 error occured whilst running Python D:/Utilitaires/lyx
 1.4.1/Ressources/scripts

 And when I ask the version in Draftdvi the message is Bad dvi
 file.

 In fact these problems disappear when I upload my bitmap images
 from the document. Can some explain the problem and how to remedy
 it? Thanks in advance

 --

 I regret I can't answer the question, but perhaps the additional
 detail in the translation may help.

 A S Hodel http://homepage.mac.com/hodelas [EMAIL PROTECTED]





 The best approach would be for the original poster to post a
 minimal example (LyX document plus image) that triggers the error
 message. Any volunteers to translate that to French?

 /Paul


Destiné à [EMAIL PROTECTED], traduction d'une demande de précision de
Paul Rubin (ci-dessus) concernant le problème :

La meilleure façon serait pour celui qui a envoyé le message initial
serait de poster un exemple minimal (document lyx plus image) qui
conduit au message d'erreur.
 







Re: Show entry type in References

2006-06-05 Thread Juergen Spitzmueller
Ares wrote:
 If I use the option Sectioned Bibliography, I cannot check the option Add
 bibliography to TOC in the BibTeX generated bibliography dialog.

Yes, because there isn't a heading to add.

 What I did is to define the Bibliography section name as a Chapter*
 (chapter title without numbering). Either this way, the Bibliography does
 not appear in TOC. I also went to Document settings -- Numbering and TOC,
 but it is not possible from here to change the behaviour of Chapter* since
 Chapter* is not there at all! but there are Part* and Section*, so why not
 Chapter* ? By the way, I noticed that even if I set Part* and Section* to
 appear in TOC, they don't. What's wrong? is it a bug or maybe I don't get
 the meaning of it all?

The starred versions of the headings are _by definition_ excluded from the 
toc. So either add
\addcontentsline{toc}{chapter}{Bibliography}
in ERT below the heading, or use the KOMA-script classes, which provide 
\addchap (unnumbered headings that are included in the TOC).

HTH,
Jürgen


Re: including Table of Contents in Table of Contents

2006-06-05 Thread Juergen Spitzmueller
Eric Zollars wrote:
 How do I include the Table of Contents in the Table of Contents?

\usepackage{tocbibind}

(though I doubt that there is any serious reason for including the toc in the 
toc).

Jürgen


Bibliography in TOC [Was: Show entry type in References]

2006-06-05 Thread Ares

I managed to get the Bibliography in TOC in the output file by using the TeX
command \backmatter right before the Bibliography Chapter (not Chapter*) and
preceded by a page break. See:
http://groups.google.com/group/comp.text.tex/browse_thread/thread/ce999aa747cf4a3e/36b1505bedbf3288?q=starred+TOCrnum=1#36b1505bedbf3288


In this way, inside LyX you get the Bibliography chapter numbered, and as an
appendix (if you have, as in my case, appendixes), also appearing in LyX
file TOC. When you view the pdf, for example, you get a nice Bibliography
title (without number) in TOC of the compiled document.

Perhaps it is a dirty trick, but it works...

Anyway the Document settings -- Numbering and TOC pane does not work... is
it a bug? how to report it?

Regards,
Diego



-- Forwarded message --
From: Ares [EMAIL PROTECTED]
Date: 5-giu-2006 10.58
Subject: Show entry type in References
To: lyx-users@lists.lyx.org



I would probaly try to hack alpha.bst.

I'll try this. thanks Jürgen

...but now I have a new problem: I don't manage to get the Bibliography in
the Table of Contents.

If I use the option Sectioned Bibliography, I cannot check the option Add
bibliography to TOC in the BibTeX generated bibliography dialog.

What I did is to define the Bibliography section name as a Chapter*
(chapter title without numbering). Either this way, the Bibliography does
not appear in TOC. I also went to Document settings -- Numbering and TOC,
but it is not possible from here to change the behaviour of Chapter* since
Chapter* is not there at all! but there are Part* and Section*, so why not
Chapter* ? By the way, I noticed that even if I set Part* and Section* to
appear in TOC, they don't. What's wrong? is it a bug or maybe I don't get
the meaning of it all?

Thanks again for your support,
Diego


-- Messaggio inoltrato --
From: Ares [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:16:56 +0200
Subject: Show entry type in References
I found that LyX 1.4.1 (on Win) has the option document  settings... 
bibliography  sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the Bibliography section name
- I'm still not able to define the citation style as [Art1], [Art2] etc for
articles, [Book1], [Book2] etc for books etc. Should I define a bst file by
myself?

Thanks for your support
Diego

From: Sara Stymne [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Thu, 18 May 2006 19:51:47 +0200
Subject: Re: Show entry type in References
Hi!

You might find an answer here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=multbib

/Sara


Ares wrote:


Hello everyone,
I'm using LyX to compile a PhD thesis and a bibtex database for
references, and I'm new to both.
I would like to group the references according to entry type, and to
show the entry type itself in the references. this would look like, for
instance:

...
References

articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...

Is there anyone who knows how to do that? maybe using an appropriate bst
file that does that??
Thanks for your support
Diego




-- Messaggio inoltrato --
From: Juergen Spitzmueller [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:57:05 +0200
Subject: Re: Show entry type in References
Ares wrote:

I found that LyX 1.4.1 (on Win) has the option document  settings... 
bibliography  sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the Bibliography section name


What's the problem with that? Otherwise it wouldn't simply be possible to
add
your own bibliography section headings. The option printheadings (in
Document-Settings-Class Options), however, changes the behaviour.


- I'm still not able to define the citation style as [Art1], [Art2] etc
for articles, [Book1], [Book2] etc for books etc. Should I define a bst
file by myself?


yes. I would probaly try to hack alpha.bst.
(as an alternative, if you have a manageable number of citations, the
package splitbib might help).

Jürgen


Re: Chapter base Page numbering to TOC

2006-06-05 Thread Luqman H

2006/6/2, Sara Stymne [EMAIL PROTECTED]:

You can get the word Chapter in komascript. Just add the class option
chapterprefix. You add it in the documents settings: class settings,
options.


great...
there's more i want to ask...
1. The font for Chapter, and some other is different
   in report(komascript),
2. the line spacing between abstract, lof, lot in TOC is too far
   how to make it shorter... ? also line spacing in chapter title
   too far, and too much blank line at top part of page...
3. how to remove page number at TOC ? i want the page number
   for some part, for example the bibliography, not displayed at TOC.
   But the bibliography list is still exist in TOC.
4. the abstract title, not displayed at abstract page if using
Report(komascript)

thanks...


Re: LyX and TeXShop

2006-06-05 Thread Bruce Pourciau
Thank you Bennett, Stephen, Maria, and Tomoharu. I've made TeXShop my  
default pdf previewer in the finder. A step up from Preview.


Bruce

On Jun 2, 2006, at 9:56 PM, Bennett Helm wrote:


On Jun 2, 2006, at 5:44 PM, Stephen Buonopane wrote:

Does TeXShop make a better previewer than the default (Preview)  
for LyX/Mac? To change the viewer to TeXShop in LyX/Mac 1.4.1, I  
put -a texshop in the viewer space after doing Preferences  File  
formats  PDF (pdflatex). But viewing a LyX file then gave an  
error. Does texshop have to be by itself in the Applications  
folder? downloading mactex left TeXShop in a folder called TeX in  
the Applications folder, and not having sufficient authority I  
can't move it.


I use TexShop as my pdf viewer for LyX. It is the only OS X viewer  
that I know of that will update automatically when the pdf file  
changes. This way you can leave the pdf open in TexShop and use  
View-Update in LyX.


I installed TexXhop directly, so it is in the top level of my  
Applications folder. But you can put the full path name in the LyX  
preferences. Not sure where it looks by default. I have open -a  
'TeXShop'  Maybe you need the single quotes? Did you try a  
Reconfigure...Quit...Relaunch?


As others have noted, open -a TeXShop.app is what's needed. Another  
option, though, is to define TeXShop as the default pdf viewer in  
the Finder. (Select a .pdf file, select File  Get Info, select  
TeXShop in the Open With drop down menu, and click on the Change  
all... button.) Then you can leave LyX's viewer for .pdf files  
simply as open, and everything will work.


Again, as others have noted, the major benefit of using TeXShop is  
that it will automatically update the screen when the .pdf file  
changes. That's true whether you choose View  Update  PDF  
(pdflatex) or simply View  PDF (pdflatex). (Reconfigure, relaunch  
are not necessary here.)


In fact, it's possible to trick LyX into running LaTeX in the  
background, so that you can continue working on your document while  
it is typesetting. (That's useful on long documents like the book  
I'm currently working on, which is  100,000 words and which takes  
a minute or so for each pdflatex run.) How do you do this?


1. In LyX  Preferences  File formats, define a new file format as  
follows: Format = latex2, GUI name = PDFLaTeX (update), Extension =  
tex, Viewer = pdflatex.


2. In LyX  Preferences  Converters, define a new converter from  
LaTeX to PDFLaTeX (update), with Converter = touch $$i and Extra  
flag = latex.


Now when you select View  PDFLaTeX (Update), LyX will generate a  
new .tex file and run pdflatex once on it. Once the .pdf file is  
generated, TeXShop will update its screen.


Two things to note about this (which may make it confusing to those  
not familiar with LaTeX). First, if you are not currently viewing  
the .pdf file in TeXShop, that file will not be opened and so  
nothing will appear to happen (though in fact the .pdf file will be  
generated in your tmp directory). Second, pdflatex is only run once  
here, and bibtex and makeindex are not run at all. So if you add a  
new cross reference, it may take 2 pdflatex runs to generate the  
proper reference, and if you add a new citation, this trick will  
fail to generate the output properly. (For that, run the standard  
View  PDF (pdflatex).)


Bennett




Re: LyX-Code doubt

2006-06-05 Thread Paul A. Rubin

Javier Moro Sotelo wrote:

O Luns 05 Xuño 2006 00:00, Paul A. Rubin escribiu:

Re: LyX-Code doubt


First of all thaks for the help

No, I'm not trying to define a new font, I'm trying to inserte an assambler 
source code as part of my document (it's an article about ARM assambler 
language)  but when I try to convert it to pdf I get the error: A character 
number must be beetweeb 0 and  255. I changed this one to zero because the 
source code contains some negative numbers:
 
some code

***
num1 dcd 3, 17, 27, 12, 322 - this is the line where I get the error message
***
some code

If you want I can send you the lyx file to see it clearly.



The source code is just text to LaTeX, so the error message is probably 
something else -- possibly a non-printing character inconsistent with 
the document's character encoding got pasted in accidentally (?). 
Anyway, yes, the best thing would be to post the LyX file.  It would 
help if you cut it down to a minimal example.


/Paul



Re: LyX-Code doubt

2006-06-05 Thread Javier Moro Sotelo
O Luns 05 Xuño 2006 17:28, Paul A. Rubin escribiu:

This is a sample of the file, i get the error on the n dcd -3, -5, -6 line

#LyX 1.4.1 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass article
\language spanish
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize default
\use_geometry false
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout LyX-Code
area data
\end_layout

\begin_layout LyX-Code
n dcd -3, -5, -6
\end_layout

\end_body
\end_document

 Javier Moro Sotelo wrote:
  O Luns 05 Xuño 2006 00:00, Paul A. Rubin escribiu:
  Re: LyX-Code doubt
 
  First of all thaks for the help
 
  No, I'm not trying to define a new font, I'm trying to inserte an
  assambler source code as part of my document (it's an article about ARM
  assambler language)  but when I try to convert it to pdf I get the error:
  A character number must be beetweeb 0 and  255. I changed this one to
  zero because the source code contains some negative numbers:
 
  some code
  ***
  num1 dcd 3, 17, 27, 12, 322 - this is the line where I get the error
  message ***
  some code
 
  If you want I can send you the lyx file to see it clearly.

 The source code is just text to LaTeX, so the error message is probably
 something else -- possibly a non-printing character inconsistent with
 the document's character encoding got pasted in accidentally (?).
 Anyway, yes, the best thing would be to post the LyX file.  It would
 help if you cut it down to a minimal example.

 /Paul

-- 
Javier Moro Sotelo [EMAIL PROTECTED]

key_id=0xA92B3FC8
server=hkp://subkeys.pgp.net


pgpkzaZbwZmDG.pgp
Description: PGP signature


Re: periods instead of colon after Figure, Table

2006-06-05 Thread Paul A. Rubin

Eric Zollars wrote:

Is it possible to use a period

Figure 1.1.

instead of a colon

Figure 1.1:

after Figure, Table, etc.

Thanks.
Eric



Add \usepackage[labelsep=period]{caption} to your document's preamble.

/Paul



page numbering ToC, Bib

2006-06-05 Thread Eric Zollars

I am using komascript book and fancy headers.

The first page of each chapter has the page number in the center of the 
footer. For the chapters I can turn this off with \thispagestyle{empty}, 
but the first page of the ToC and Bibliography still have the page 
number in the center of the footer.  I tried using 
\pagenumbering{gobble} but that makes the page number in the ToC vanish 
as well.


Any suggestions?

Eric


Re: LyX-Code doubt

2006-06-05 Thread Paul A. Rubin

Javier Moro Sotelo wrote:

O Luns 05 Xuño 2006 17:28, Paul A. Rubin escribiu:

This is a sample of the file, i get the error on the n dcd -3, -5, -6 line

#LyX 1.4.1 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass article
\language spanish
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize default
\use_geometry false
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout LyX-Code
area data
\end_layout

\begin_layout LyX-Code
n dcd -3, -5, -6
\end_layout

\end_body
\end_document



Congratulations!  You found a bug in LyX 1.4.1.  I'll report it to 
bugzilla.  Meanwhile, try the following two lines in your document preamble:


\usepackage{babel}
[EMAIL PROTECTED]


Hopefully that will fix the problem without screwing anything else up.

/Paul



Re: page numbering ToC, Bib

2006-06-05 Thread Juergen Spitzmueller
Eric Zollars wrote:
 I am using komascript book and fancy headers.

 The first page of each chapter has the page number in the center of the
 footer. For the chapters I can turn this off with \thispagestyle{empty},
 but the first page of the ToC and Bibliography still have the page
 number in the center of the footer.  I tried using
 \pagenumbering{gobble} but that makes the page number in the ToC vanish
 as well.

 Any suggestions?

try
\renewcommand*{\chapterpagestyle}{empty}

Jürgen


Hacking bst files... [Was: Show entry type in References]

2006-06-05 Thread Ares

As I wrote in a previous post, I would like the references of my PhD thesis
to be arranged as follows:


References

Articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...


LyX 1.4.1 supports sectioned bibliography, so it is possible to split the
Bibliography chapter in sections.

In order to have the citation as [Art1] and [Book1] etc, I need to hack a
bst file, as suggested by Jürgen. I had a look to plain.bst and it doesn't
sound so easy!

In the end I would just like to add a prefix (Book, Art etc) to the
reference numbering and to use a separate bst file for each entry (Books,
Articles etc), so that the numbering starts with each section.

Is there a resource where I can find how bst files work? or is there someone
who can help me?

Thanks for support,
Diego


Re: LyX-Code doubt

2006-06-05 Thread Javier Moro Sotelo
O Luns 05 Xuño 2006 18:31, Paul A. Rubin escribiu:
 \usepackage{babel}
 [EMAIL PROTECTED]

Thank you for the help, now the lñast thing, where exactly shall I put those 
two lines?

-- 
Javier Moro Sotelo [EMAIL PROTECTED]

key_id=0xA92B3FC8
server=hkp://subkeys.pgp.net


pgpD84MSKEYE9.pgp
Description: PGP signature


Re: Installing LyX 1.3.7 on Windows 98 - Solved fairly well

2006-06-05 Thread David Neeley

Stephen,

If you have the hard drive space, you might also consider installing
Linux on the machine to dual-boot. The machine I am using at the
moment is a 600-mhz Pentium II I picked up for very little...added a
hard drive I already had and stuck in 512 MB of RAM I also had. It
works very well indeed.

The CD problem is easily solved--especially if you have a computer
flea market or a recycling center.

If you look on any sizeable newsstand, you can find magazines with CD
versions of various Linux distributions--or you can order them from
places like cheapbytes.com. Another source is to order a CD for
free--although it may take a while to arrive, from Ubuntu's shipit
program. I use Kubuntu, the KDE version, which is also free.

LyX, as you may know, has two UNIX interfaces--one uses an XForms
frontend, the other uses the QT toolset--which is also that used by
KDE.

You will find that Internet surfing and most other activities you do
will go faster in Linux than in Windows--although there will be a
learning curve involved. If you have a few GB of hard drive space,
though, you can easily set up the machine to give you a choice at boot
time between Windows and Linux.

If the rest of your machine is compatible, adding a CD reader
shouldn't run more than $20 or so.

David


Re: Hacking bst files... [Was: Show entry type in References]

2006-06-05 Thread K. Elo
Hi,

2006-06-05 18:46 +0200, Ares:
 As I wrote in a previous post, I would like the references of my PhD thesis
 to be arranged as follows:
 
  References
 
  Articles
  [Art1] article1
  [Art2] article2
  etc
  Books
  [Book1] book1
  [Book2] book2
  etc
  etc
  ...
 
 LyX 1.4.1 supports sectioned bibliography, so it is possible to split the
 Bibliography chapter in sections.
 
 In order to have the citation as [Art1] and [Book1] etc, I need to hack a
 bst file, as suggested by Jürgen. I had a look to plain.bst and it doesn't
 sound so easy!

 In the end I would just like to add a prefix (Book, Art etc) to the
 reference numbering and to use a separate bst file for each entry (Books,
 Articles etc), so that the numbering starts with each section.

Actually, this is an issue related to the \bibitem command in the .bst
file. However, adding a text before the number is a bit tricky... I have
been testing several solutions but haven't find any yet. I keep
testing...

Kind regards,
Kimmo



roman numbers

2006-06-05 Thread Francois Engelbrecht
Dear lyx-users

I have almost completed writing a thesis using the book-type lyx
document. Unfortunately, I'm struggling to insert roman numbers for the
first few introductory pages, followed by usual arabic numbering
starting at Chapter 1. I know the solution has something to do with
inserting latex commands (listed in the users guide extended features) 
via the Preamble option. I'm struggling with the details of how to use
the Preamble. Would you please send me some advice?

best wishes,
Francois Engelbrecht
University of Pretoria
South Africa
-- 
This message and attachments are subject to a disclaimer. Please refer
to http://www.it.up.ac.za/documentation/governance/disclaimer/ for full
details. / Hierdie boodskap en aanhangsels is aan 'n vrywaringsklousule
onderhewig. Volledige besonderhede is by
http://www.it.up.ac.za/documentation/governance/disclaimer/ beskikbaar.



Re: LyX-Code doubt

2006-06-05 Thread Marc Vinyals
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

En/na Javier Moro Sotelo ha escrit:
 Thank you for the help, now the lñast thing, where exactly shall I put those 
 two lines?

If I understand Paul correctly, they should be at the LaTeX premble. You
 can access it through Document - Settings... - LaTeX Preamble. Just
copy and paste.

Marc.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEhKJIu4rFT+k3kmQRAr1AAKC3SwL06SiyGofAYgqIUiLEgoVnhwCfaWNj
x+arDDOALfZ7Ifolg17xc4Q=
=hL+1
-END PGP SIGNATURE-


Re: LyX-Code doubt

2006-06-05 Thread Paul A. Rubin

Marc Vinyals wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

En/na Javier Moro Sotelo ha escrit:
Thank you for the help, now the lñast thing, where exactly shall I put those 
two lines?


If I understand Paul correctly, they should be at the LaTeX premble. You
 can access it through Document - Settings... - LaTeX Preamble. Just
copy and paste.



Yes, that's correct.

Incidentally, I filed a bug report on this.  Apparently the change from 
LyX 1.3.7 (where there is no problem) to LyX 1.4.1 (where the problem 
arises) was itself a fix for a difficult bug, so the initial reaction 
was that this bug might not be fixed.  However, that was just the first 
response; we'll see what other developers say.


Meanwhile, please let the list know if this fix works (in particular, 
does not cause any other problems).


/Paul



Re: Installing LyX 1.3.7 on Windows 98 - Solved very well

2006-06-05 Thread Stephen Harris

David Neeley wrote:

Stephen,

If you have the hard drive space, you might also consider installing
Linux on the machine to dual-boot. The machine I am using at the
moment is a 600-mhz Pentium II I picked up for very little...added a
hard drive I already had and stuck in 512 MB of RAM I also had. It
works very well indeed.



Thanks for the input. I have an 80mb drive that dual boots
WinXP and FC4. I was after solving the specific problem that
LyX doesn't work on Windows98 just XP. On the developer list
they put a fair amount of work into getting Win98 working for
those users with old machines and laptops, before giving up.

Some Windows users are not technically savvy and are intimidated
by the idea of hardware installation or installing a new OS.
Cygwin was made to run on Windows, not on Linux. So I was
announcing the first purely Windows software solution to LyX not
working on Win98. I thought it might work because Claus Hentschel
released LyX1.3.1 which worked with win98 and Cygwin. LyX working
natively (not X11) and then only for WinXP is less than a year old.

Nico Jabin wrote me about using LyX on Win98 so I wanted to test
(Re: Installing LyX 1.3.7 on Windows 98 - no appropriate help found)
the install procedure before telling him that it would work. I
found only two things not covered in Enrico's original simple Howto.

Enrico wrote:
Thinking about it, maybe you don't have C:\cygwin\bin in the Windows
system PATH. If this is the case, then you can solve your problem simply

copying lyx-x11.exe to C:\cygwin\bin and then creating a shortcut
to C:\cygwin\bin\lyx-x11.exe.

---

You are right. I tried earlier to put Cygwin in the Path, but the
C:\ autoexec.bat had 0 bytes. So I cleverly appended C:\cygwin\bin
to the autoexec.bat which exists in the C:\windows\command\EBD dir.
and copied that file to C:\. That proved to be a big mistake.
Now the C:\autoexec.bat file contains

SET PATH=C:\Windows;C:\Cygwin\bin
doskey

which works *very well*!

If, after installing cygnus, you get the message:
   Out of environment space
   add the line
   shell=C:\command.com /e:4096 /p
   to your c:\config.sys


The CD problem is easily solved--especially if you have a computer
flea market or a recycling center.

If you look on any sizeable newsstand, you can find magazines with CD
versions of various Linux distributions--or you can order them from
places like cheapbytes.com. Another source is to order a CD for
free--although it may take a while to arrive, from Ubuntu's shipit
program. I use Kubuntu, the KDE version, which is also free.



These sound like good resources for those with only dialup.
My win98/modem is for backup when the dsl rarely goes down.
I could have put a network card in it (also have to drill
hole in wall for cable)or a spare cd but letting the dialup
download run at night was less work.


LyX, as you may know, has two UNIX interfaces--one uses an XForms
frontend, the other uses the QT toolset--which is also that used by
KDE.



I was going to install KDE on Cygwin but they terminated the KDE
X11 port to Cygwin windows. They have a native port in the works now.


You will find that Internet surfing and most other activities you do
will go faster in Linux than in Windows--although there will be a
learning curve involved. If you have a few GB of hard drive space,
though, you can easily set up the machine to give you a choice at boot
time between Windows and Linux.



I like yum install lyx on FC4. I figured the user already knew about 
Linux when he asked his question about Win98 (Cygwin is not standalone)

so I was giving a win98 specific solution. I notice Bruce Byfield has
written several articles about O0o as superior for technical writing
than Word. But he doesn't think people are likely to change to it.




David



Regards,
Stephen



Re: Installing LyX 1.3.7 on Windows 98 - Solved very well

2006-06-05 Thread David Neeley

Yes, OOo is superior to Word for tech writing--but then, almost anything is!

I am trying to get far enough up the learning curve with LyX that I
can feel good about creating style files. Then, I intend to do a style
file for DITA--because I believe that LyX is, potentially, a far
better tech writing solution than anything else out there at the
moment. I also believe that DITA has advantages over most other
XML-based solutions for the purpose...and it should be far easier for
folks to learn and use consistently than DocBook, for instance.

Most folks still using Win98 should, in my opinion, seek other
solutions--especially if they want to keep using the same hardware.
That was the genesis of my suggestion to dual-boot with Linux. I am
not so charmed with Fedora--but then, I never really got into Red Hat
to begin with. Before I went to Kubuntu, I mostly used SuSE.

My main problem with Kubuntu at the moment is that the repository is
still behind the times with 1.3.7--I did the ./configure/make/make
install routine for 1.4.1.

David


Re: Installing LyX 1.3.7 on Windows 98 - DITA detour

2006-06-05 Thread Stephen Harris

David Neeley wrote:


I am trying to get far enough up the learning curve with LyX that I
can feel good about creating style files. Then, I intend to do a style
file for DITA--because I believe that LyX is, potentially, a far
better tech writing solution than anything else out there at the
moment. I also believe that DITA has advantages over most other
XML-based solutions for the purpose...and it should be far easier for
folks to learn and use consistently than DocBook, for instance.



Directions for tomorrow's techwriting

From:   David Neeley
Date:   Mon, Apr 22 2002 8:24 am
Groups: bit.listserv.techwr-l

Greetings!

I would appreciate your thoughts about the direction
of technical writing departments and practices in the
near future. Specifically, I invite your comments
about my growing conviction that we will see a growing
methodology shift driven by increased understanding of
the benefits of creating documentation that is easy to
re-use and maintain. It appears clear that this will
in most cases be through employment of XML and
repository tools based upon this technology.

-

SH: The Docbook topic comes up occasionally. Chris Karakas
has done quite a bit of work producing with LyX, SGML, and
Latex. http://www.karakas-online.de/mySGML/ There is quite
a bit involved to get all the packages working together IMO.




My main problem with Kubuntu at the moment is that the repository is
still behind the times with 1.3.7--I did the ./configure/make/make
install routine for 1.4.1.

David



I use Redhat because it installs so easily. I'm not able to argue
the merits of Fedora vs. other Linux versions and also Rex Dieter
monitors this list and he produces Fedora rpms very quickly, so
I never have a problem with updates and LyX, it's very convenient.

For those reading who are not acquainted with DITA:

http://www.newsforge.com/article.pl?sid=06/05/05/1744245
DITA

Over the last couple of years, Oasis Darwin Information Typing
Architecture (DITA) has been attracting a lot of attention among
technical writers -- so much so that it's starting to eat into
the market share of DocBook. Rather than being based on the
traditional book-chapter-section format, DITA is meant for creating
individual topics that you can combine and reuse in different types
of documentation and in different delivery formats. You can use
DITA to create just about any kind of documentation, but it's best
suited for Web content, online help, computer-based training,
knowledge bases, and FAQs.

Because DITA is based on XML, you can use any text or XML editor
to author DITA documents. Several editing tools both support DITA
and run on Linux. My text editor of choice is Emacs in conjunction
with psgmlx, which is what I use with DocBook. ...

Right now, the only way to convert a DITA document to a more usable
format on Linux is with the DITA Open Toolkit for Linux. The Open
Toolkit is easy to use and can transform DITA content to HTML,
XHTML, PDF, Eclipse Help, or RTF.

---

http://www-128.ibm.com/developerworks/xml/library/x-emacs/

I think (X)Emacs has been developed longer in this area.
I think Lyx 1.5 and 1.6 are slated to improve performance
for XML and Unicode. I'm not sure how easy it will be to
realize your goal, though I think it is a good idea. I've
seen the developers with expert opinions, Jose Matos and
Georg Baum express some interest in this topic. I think
information about other approaches might be helpful; so
much seems revolve around converting one format to another
these days in various database paradigms (thinking of AI).

Viva la Semantic Web!

Stephen







Re: Installing LyX 1.3.7 on Windows 98 - DITA detour

2006-06-05 Thread David Neeley

Yes, this is a topic I have been interested in for some years.
Creating documentation as a specialty seems an ideal use for LyX--at
least, as it may become in future.

One notion that becomes very important in document creation, updating,
and management in general is the notion of chunking into topics. One
firm that has built a business out of this idea is Information Mapping
Inc., although their methods are still somewhat controversial in the
field. Thinking of topical chunking is nearly an unnatural act for
many--but it may prove extremely useful if we are to get very far with
the implementation of XML-style technology in documentation.

One large problem is the lack of uniformity in the way people think of
and create documents. On the simplest level, that includes format
differences from individual to individual--format differences that are
aided and abetted by programs like Microsoft Word that allows--nay,
*encourages*--the profligate use of style tags and many ways to get a
particular visible result in a document.j

My interest in LyX has been powered by this observation, and the
thought that something must replace our existing tools if we are to
get the real benefits of the separation of content and form.

In short, the entire what you get is what you mean approach is long overdue!

However, the question remains whether LyX itself is the answer, or a
recast tool based around XML. In other words, all the stuff that
accompanies TeX and its complexity designed originally for typesetting
may make the learning curve sufficiently complex that many may find it
not to be worthwhile, especially for technical documentation that
lacks many of the needs of the scholarly dissertation, for example.

That is one thing I am attempting to determine by going through that
learning curve myself!

I delayed turning to LyX for several years, since for a time it
appeared to the casual observer to be somewhat of a dying application.
An aborted Klyx (kde specific) version, for example, did not appear
to be a sign of progress.

I believe, though, that if a stylesheet is made for the creation of
DITA topics, there is little of the TeX stuff that needs to be used at
all. Resulting topics could then be used by some as-yet-unidentified
DITA map/content management facility with very little learning curve
for the writers involved in topic content creation.

While I am personally fascinated with typography, we are a
comparatively dying breed these days, it seems.

One thing I am thinking of is the feasibility of a context-sensitive
right-click menu that would enable a quicker selection of a particular
style attribute rather than just the drop-down box in the present
interface. Such a dropdown could also be easily triggered with a
keyboard shortcut for those interested in true productivity--or
perhaps a handful of keyboard shortcuts for the principal style
designationsk, somewhat similar to the ones in FrameMaker.

LyX seems to be extremely useful for creating indexes, which seems to
me to be an often-neglected part of the written information trade.
Indexing, though, could become extremely significant in content
management--especially since indexing itself is in a major sense the
extraction and processing of metadata. Thus, the information chunks
represented by topic creation for content management may be best
served by creating index references at the time the topics are written
and placed in the repository originally. That would seem to permit the
locating and employment of the right chunks to meet any arbitrary
need. Then, creation of new documents as collections of these chunks
would be greatly eased.

Anyway, pardon my musings tonight...there is much that I am still at
sea about in this whole subject.

David

On 6/5/06, Stephen Harris [EMAIL PROTECTED] wrote:

David Neeley wrote:

 I am trying to get far enough up the learning curve with LyX that I
 can feel good about creating style files. Then, I intend to do a style
 file for DITA--because I believe that LyX is, potentially, a far
 better tech writing solution than anything else out there at the
 moment. I also believe that DITA has advantages over most other
 XML-based solutions for the purpose...and it should be far easier for
 folks to learn and use consistently than DocBook, for instance.




Re: Installing LyX 1.3.7 on Windows 98 - DITA detour

2006-06-05 Thread Stephen Harris

David Neeley wrote:


I delayed turning to LyX for several years, since for a time it
appeared to the casual observer to be somewhat of a dying application.
An aborted Klyx (kde specific) version, for example, did not appear
to be a sign of progress.



http://www.lyx.org/about/klyx.php




While I am personally fascinated with typography, we are a
comparatively dying breed these days, it seems.



Yes, it seems that way.


LyX seems to be extremely useful for creating indexes, which seems to
me to be an often-neglected part of the written information trade.
Indexing, though, could become extremely significant in content
management--especially since indexing itself is in a major sense the
extraction and processing of metadata. Thus, the information chunks
represented by topic creation for content management may be best
served by creating index references at the time the topics are written
and placed in the repository originally. That would seem to permit the
locating and employment of the right chunks to meet any arbitrary
need. Then, creation of new documents as collections of these chunks
would be greatly eased.



They say you can't judge a book by its cover but by its index.
It reminds me of Explore XY which takes for ages to finish.


http://explorexy.com/

CORRELATION – the process of establishing a relationship or connection 
between two or more subjects.


EXPLORATION – the process of traveling in or through an unfamiliar area 
in order to learn about it.


Correlation and exploration. Doing both, in depth, on the Internet was 
impossible. Not with search engines. Not with data mining. Not with 
crawlers or bots. Not with anything.


Until now. Introducing Explore XY.

Explore XY is a Knowledge Discovery Vehicle (KDVTM). A KDV is a radical, 
patented desktop application that explores all the web’s pages to find 
any correlation between two subjects. It reads a URL/web page and 
reports back text and source links that are relevant to connecting the 
two subjects.


Download it for free now!



Anyway, pardon my musings tonight...there is much that I am still at
sea about in this whole subject.

David

I enjoyed reading your thoughts and also Techwriter's toolkits and 
directions for tomorrow (long and deep response) twirlers Bill Hall


Any port in a storm :-)
Stephen




Re: roman numbers

2006-06-05 Thread Eric Zollars

In the book class you can just use the ERT at the beginning of the document:
\pagenumbering{roman}

and in Chapter 1:
\pagenumbering{arabic}

no preamble needed.

Eric

Francois Engelbrecht wrote:

Dear lyx-users

I have almost completed writing a thesis using the book-type lyx
document. Unfortunately, I'm struggling to insert roman numbers for the
first few introductory pages, followed by usual arabic numbering
starting at Chapter 1. I know the solution has something to do with
inserting latex commands (listed in the users guide extended features) 
via the Preamble option. I'm struggling with the details of how to use

the Preamble. Would you please send me some advice?

best wishes,
Francois Engelbrecht
University of Pretoria
South Africa


Show entry type in References

2006-06-05 Thread Ares

I would probaly try to hack alpha.bst.

I'll try this. thanks Jürgen

...but now I have a new problem: I don't manage to get the Bibliography in
the Table of Contents.

If I use the option Sectioned Bibliography, I cannot check the option Add
bibliography to TOC in the BibTeX generated bibliography dialog.

What I did is to define the Bibliography section name as a Chapter*
(chapter title without numbering). Either this way, the Bibliography does
not appear in TOC. I also went to Document settings -- Numbering and TOC,
but it is not possible from here to change the behaviour of Chapter* since
Chapter* is not there at all! but there are Part* and Section*, so why not
Chapter* ? By the way, I noticed that even if I set Part* and Section* to
appear in TOC, they don't. What's wrong? is it a bug or maybe I don't get
the meaning of it all?

Thanks again for your support,
Diego


-- Messaggio inoltrato --
From: Ares [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:16:56 +0200
Subject: Show entry type in References
I found that LyX 1.4.1 (on Win) has the option document  settings... 
bibliography  sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the Bibliography section name
- I'm still not able to define the citation style as [Art1], [Art2] etc for
articles, [Book1], [Book2] etc for books etc. Should I define a bst file by
myself?

Thanks for your support
Diego

From: Sara Stymne [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Thu, 18 May 2006 19:51:47 +0200
Subject: Re: Show entry type in References
Hi!

You might find an answer here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=multbib

/Sara


Ares wrote:


Hello everyone,
I'm using LyX to compile a PhD thesis and a bibtex database for
references, and I'm new to both.
I would like to group the references according to entry type, and to
show the entry type itself in the references. this would look like, for
instance:

...
References

articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...

Is there anyone who knows how to do that? maybe using an appropriate bst
file that does that??
Thanks for your support
Diego




-- Messaggio inoltrato --
From: Juergen Spitzmueller [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:57:05 +0200
Subject: Re: Show entry type in References
Ares wrote:

I found that LyX 1.4.1 (on Win) has the option document  settings... 
bibliography  sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the Bibliography section name


What's the problem with that? Otherwise it wouldn't simply be possible to
add
your own bibliography section headings. The option printheadings (in
Document-Settings-Class Options), however, changes the behaviour.


- I'm still not able to define the citation style as [Art1], [Art2] etc
for articles, [Book1], [Book2] etc for books etc. Should I define a bst
file by myself?


yes. I would probaly try to hack alpha.bst.
(as an alternative, if you have a manageable number of citations, the
package splitbib might help).

Jürgen


Re: problème avec lyx

2006-06-05 Thread Uwe Stöhr

[EMAIL PROTECTED] schrieb:

Bonjour je suis un nouvel utilisateur de lyx et j'ai un problème lorsque je  
convertit mon document au format dvi. Le message d'erreur est le suivant :

An error occured whilst running Python
D:/Utilitaires/lyx 1.4.1/Ressources/scripts


The problem might be the changed MiKTeX configuration. Replace the file 
hyperref.cfg in your MiKTeX installation (in the folder 
~\texmf\tex\latex\00miktex) with this one:


http://prdownload.berlios.de/lyxwininstall/hyperref.cfg

Then restart LyX and try it again.

regards Uwe


Re: problème avec lyx (Ihave a prob lem with lyx windows 1.4.1)

2006-06-05 Thread Gilles Mioni
Paul A. Rubin wrote:

 A S Hodel wrote:

 I think the translation is a bit different: (but then again, I'm
 an American so take this with a grain of salt)

 [EMAIL PROTECTED] wrote:

 Bonjour je suis un nouvel utilisateur de lyx et j'ai un
 problème lorsque je convertit mon document au format dvi. Le
 message d'erreur est le suivant : An error occured whilst
 running Python D:/Utilitaires/lyx 1.4.1/Ressources/scripts

 Et lorsque je demande la version en Draftdvi le message est
 :Bad dvi file

 En fait les problèmes disparaissent quand j'enlève mes images
 Bitmap du document. Pourrait-on m'expliquer le problème et
 comment y remédier ? Merci par avance.


 I am a new Lyx user and I have a problem when I convert my
 document to dvi format. The error message is the following: An
 error occured whilst running Python D:/Utilitaires/lyx
 1.4.1/Ressources/scripts

 And when I ask the version in Draftdvi the message is Bad dvi
 file.

 In fact these problems disappear when I upload my bitmap images
 from the document. Can some explain the problem and how to remedy
 it? Thanks in advance

 --

 I regret I can't answer the question, but perhaps the additional
 detail in the translation may help.

 A S Hodel http://homepage.mac.com/hodelas [EMAIL PROTECTED]





 The best approach would be for the original poster to post a
 minimal example (LyX document plus image) that triggers the error
 message. Any volunteers to translate that to French?

 /Paul


Destiné à [EMAIL PROTECTED], traduction d'une demande de précision de
Paul Rubin (ci-dessus) concernant le problème :

La meilleure façon serait pour celui qui a envoyé le message initial
serait de poster un exemple minimal (document lyx plus image) qui
conduit au message d'erreur.
 







Re: Show entry type in References

2006-06-05 Thread Juergen Spitzmueller
Ares wrote:
 If I use the option Sectioned Bibliography, I cannot check the option Add
 bibliography to TOC in the BibTeX generated bibliography dialog.

Yes, because there isn't a heading to add.

 What I did is to define the Bibliography section name as a Chapter*
 (chapter title without numbering). Either this way, the Bibliography does
 not appear in TOC. I also went to Document settings -- Numbering and TOC,
 but it is not possible from here to change the behaviour of Chapter* since
 Chapter* is not there at all! but there are Part* and Section*, so why not
 Chapter* ? By the way, I noticed that even if I set Part* and Section* to
 appear in TOC, they don't. What's wrong? is it a bug or maybe I don't get
 the meaning of it all?

The starred versions of the headings are _by definition_ excluded from the 
toc. So either add
\addcontentsline{toc}{chapter}{Bibliography}
in ERT below the heading, or use the KOMA-script classes, which provide 
\addchap (unnumbered headings that are included in the TOC).

HTH,
Jürgen


Re: including Table of Contents in Table of Contents

2006-06-05 Thread Juergen Spitzmueller
Eric Zollars wrote:
 How do I include the Table of Contents in the Table of Contents?

\usepackage{tocbibind}

(though I doubt that there is any serious reason for including the toc in the 
toc).

Jürgen


Bibliography in TOC [Was: Show entry type in References]

2006-06-05 Thread Ares

I managed to get the Bibliography in TOC in the output file by using the TeX
command \backmatter right before the Bibliography Chapter (not Chapter*) and
preceded by a page break. See:
http://groups.google.com/group/comp.text.tex/browse_thread/thread/ce999aa747cf4a3e/36b1505bedbf3288?q=starred+TOCrnum=1#36b1505bedbf3288


In this way, inside LyX you get the Bibliography chapter numbered, and as an
appendix (if you have, as in my case, appendixes), also appearing in LyX
file TOC. When you view the pdf, for example, you get a nice Bibliography
title (without number) in TOC of the compiled document.

Perhaps it is a dirty trick, but it works...

Anyway the Document settings -- Numbering and TOC pane does not work... is
it a bug? how to report it?

Regards,
Diego



-- Forwarded message --
From: Ares [EMAIL PROTECTED]
Date: 5-giu-2006 10.58
Subject: Show entry type in References
To: lyx-users@lists.lyx.org



I would probaly try to hack alpha.bst.

I'll try this. thanks Jürgen

...but now I have a new problem: I don't manage to get the Bibliography in
the Table of Contents.

If I use the option Sectioned Bibliography, I cannot check the option Add
bibliography to TOC in the BibTeX generated bibliography dialog.

What I did is to define the Bibliography section name as a Chapter*
(chapter title without numbering). Either this way, the Bibliography does
not appear in TOC. I also went to Document settings -- Numbering and TOC,
but it is not possible from here to change the behaviour of Chapter* since
Chapter* is not there at all! but there are Part* and Section*, so why not
Chapter* ? By the way, I noticed that even if I set Part* and Section* to
appear in TOC, they don't. What's wrong? is it a bug or maybe I don't get
the meaning of it all?

Thanks again for your support,
Diego


-- Messaggio inoltrato --
From: Ares [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:16:56 +0200
Subject: Show entry type in References
I found that LyX 1.4.1 (on Win) has the option document  settings... 
bibliography  sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the Bibliography section name
- I'm still not able to define the citation style as [Art1], [Art2] etc for
articles, [Book1], [Book2] etc for books etc. Should I define a bst file by
myself?

Thanks for your support
Diego

From: Sara Stymne [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Thu, 18 May 2006 19:51:47 +0200
Subject: Re: Show entry type in References
Hi!

You might find an answer here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=multbib

/Sara


Ares wrote:


Hello everyone,
I'm using LyX to compile a PhD thesis and a bibtex database for
references, and I'm new to both.
I would like to group the references according to entry type, and to
show the entry type itself in the references. this would look like, for
instance:

...
References

articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...

Is there anyone who knows how to do that? maybe using an appropriate bst
file that does that??
Thanks for your support
Diego




-- Messaggio inoltrato --
From: Juergen Spitzmueller [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:57:05 +0200
Subject: Re: Show entry type in References
Ares wrote:

I found that LyX 1.4.1 (on Win) has the option document  settings... 
bibliography  sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the Bibliography section name


What's the problem with that? Otherwise it wouldn't simply be possible to
add
your own bibliography section headings. The option printheadings (in
Document-Settings-Class Options), however, changes the behaviour.


- I'm still not able to define the citation style as [Art1], [Art2] etc
for articles, [Book1], [Book2] etc for books etc. Should I define a bst
file by myself?


yes. I would probaly try to hack alpha.bst.
(as an alternative, if you have a manageable number of citations, the
package splitbib might help).

Jürgen


Re: Chapter base Page numbering to TOC

2006-06-05 Thread Luqman H

2006/6/2, Sara Stymne [EMAIL PROTECTED]:

You can get the word Chapter in komascript. Just add the class option
chapterprefix. You add it in the documents settings: class settings,
options.


great...
there's more i want to ask...
1. The font for Chapter, and some other is different
   in report(komascript),
2. the line spacing between abstract, lof, lot in TOC is too far
   how to make it shorter... ? also line spacing in chapter title
   too far, and too much blank line at top part of page...
3. how to remove page number at TOC ? i want the page number
   for some part, for example the bibliography, not displayed at TOC.
   But the bibliography list is still exist in TOC.
4. the abstract title, not displayed at abstract page if using
Report(komascript)

thanks...


Re: LyX and TeXShop

2006-06-05 Thread Bruce Pourciau
Thank you Bennett, Stephen, Maria, and Tomoharu. I've made TeXShop my  
default pdf previewer in the finder. A step up from Preview.


Bruce

On Jun 2, 2006, at 9:56 PM, Bennett Helm wrote:


On Jun 2, 2006, at 5:44 PM, Stephen Buonopane wrote:

Does TeXShop make a better previewer than the default (Preview)  
for LyX/Mac? To change the viewer to TeXShop in LyX/Mac 1.4.1, I  
put -a texshop in the viewer space after doing Preferences  File  
formats  PDF (pdflatex). But viewing a LyX file then gave an  
error. Does texshop have to be by itself in the Applications  
folder? downloading mactex left TeXShop in a folder called TeX in  
the Applications folder, and not having sufficient authority I  
can't move it.


I use TexShop as my pdf viewer for LyX. It is the only OS X viewer  
that I know of that will update automatically when the pdf file  
changes. This way you can leave the pdf open in TexShop and use  
View-Update in LyX.


I installed TexXhop directly, so it is in the top level of my  
Applications folder. But you can put the full path name in the LyX  
preferences. Not sure where it looks by default. I have open -a  
'TeXShop'  Maybe you need the single quotes? Did you try a  
Reconfigure...Quit...Relaunch?


As others have noted, open -a TeXShop.app is what's needed. Another  
option, though, is to define TeXShop as the default pdf viewer in  
the Finder. (Select a .pdf file, select File  Get Info, select  
TeXShop in the Open With drop down menu, and click on the Change  
all... button.) Then you can leave LyX's viewer for .pdf files  
simply as open, and everything will work.


Again, as others have noted, the major benefit of using TeXShop is  
that it will automatically update the screen when the .pdf file  
changes. That's true whether you choose View  Update  PDF  
(pdflatex) or simply View  PDF (pdflatex). (Reconfigure, relaunch  
are not necessary here.)


In fact, it's possible to trick LyX into running LaTeX in the  
background, so that you can continue working on your document while  
it is typesetting. (That's useful on long documents like the book  
I'm currently working on, which is  100,000 words and which takes  
a minute or so for each pdflatex run.) How do you do this?


1. In LyX  Preferences  File formats, define a new file format as  
follows: Format = latex2, GUI name = PDFLaTeX (update), Extension =  
tex, Viewer = pdflatex.


2. In LyX  Preferences  Converters, define a new converter from  
LaTeX to PDFLaTeX (update), with Converter = touch $$i and Extra  
flag = latex.


Now when you select View  PDFLaTeX (Update), LyX will generate a  
new .tex file and run pdflatex once on it. Once the .pdf file is  
generated, TeXShop will update its screen.


Two things to note about this (which may make it confusing to those  
not familiar with LaTeX). First, if you are not currently viewing  
the .pdf file in TeXShop, that file will not be opened and so  
nothing will appear to happen (though in fact the .pdf file will be  
generated in your tmp directory). Second, pdflatex is only run once  
here, and bibtex and makeindex are not run at all. So if you add a  
new cross reference, it may take 2 pdflatex runs to generate the  
proper reference, and if you add a new citation, this trick will  
fail to generate the output properly. (For that, run the standard  
View  PDF (pdflatex).)


Bennett




Re: LyX-Code doubt

2006-06-05 Thread Paul A. Rubin

Javier Moro Sotelo wrote:

O Luns 05 Xuño 2006 00:00, Paul A. Rubin escribiu:

Re: LyX-Code doubt


First of all thaks for the help

No, I'm not trying to define a new font, I'm trying to inserte an assambler 
source code as part of my document (it's an article about ARM assambler 
language)  but when I try to convert it to pdf I get the error: A character 
number must be beetweeb 0 and  255. I changed this one to zero because the 
source code contains some negative numbers:
 
some code

***
num1 dcd 3, 17, 27, 12, 322 - this is the line where I get the error message
***
some code

If you want I can send you the lyx file to see it clearly.



The source code is just text to LaTeX, so the error message is probably 
something else -- possibly a non-printing character inconsistent with 
the document's character encoding got pasted in accidentally (?). 
Anyway, yes, the best thing would be to post the LyX file.  It would 
help if you cut it down to a minimal example.


/Paul



Re: LyX-Code doubt

2006-06-05 Thread Javier Moro Sotelo
O Luns 05 Xuño 2006 17:28, Paul A. Rubin escribiu:

This is a sample of the file, i get the error on the n dcd -3, -5, -6 line

#LyX 1.4.1 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass article
\language spanish
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize default
\use_geometry false
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout LyX-Code
area data
\end_layout

\begin_layout LyX-Code
n dcd -3, -5, -6
\end_layout

\end_body
\end_document

 Javier Moro Sotelo wrote:
  O Luns 05 Xuño 2006 00:00, Paul A. Rubin escribiu:
  Re: LyX-Code doubt
 
  First of all thaks for the help
 
  No, I'm not trying to define a new font, I'm trying to inserte an
  assambler source code as part of my document (it's an article about ARM
  assambler language)  but when I try to convert it to pdf I get the error:
  A character number must be beetweeb 0 and  255. I changed this one to
  zero because the source code contains some negative numbers:
 
  some code
  ***
  num1 dcd 3, 17, 27, 12, 322 - this is the line where I get the error
  message ***
  some code
 
  If you want I can send you the lyx file to see it clearly.

 The source code is just text to LaTeX, so the error message is probably
 something else -- possibly a non-printing character inconsistent with
 the document's character encoding got pasted in accidentally (?).
 Anyway, yes, the best thing would be to post the LyX file.  It would
 help if you cut it down to a minimal example.

 /Paul

-- 
Javier Moro Sotelo [EMAIL PROTECTED]

key_id=0xA92B3FC8
server=hkp://subkeys.pgp.net


pgpkzaZbwZmDG.pgp
Description: PGP signature


Re: periods instead of colon after Figure, Table

2006-06-05 Thread Paul A. Rubin

Eric Zollars wrote:

Is it possible to use a period

Figure 1.1.

instead of a colon

Figure 1.1:

after Figure, Table, etc.

Thanks.
Eric



Add \usepackage[labelsep=period]{caption} to your document's preamble.

/Paul



page numbering ToC, Bib

2006-06-05 Thread Eric Zollars

I am using komascript book and fancy headers.

The first page of each chapter has the page number in the center of the 
footer. For the chapters I can turn this off with \thispagestyle{empty}, 
but the first page of the ToC and Bibliography still have the page 
number in the center of the footer.  I tried using 
\pagenumbering{gobble} but that makes the page number in the ToC vanish 
as well.


Any suggestions?

Eric


Re: LyX-Code doubt

2006-06-05 Thread Paul A. Rubin

Javier Moro Sotelo wrote:

O Luns 05 Xuño 2006 17:28, Paul A. Rubin escribiu:

This is a sample of the file, i get the error on the n dcd -3, -5, -6 line

#LyX 1.4.1 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass article
\language spanish
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize default
\use_geometry false
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout LyX-Code
area data
\end_layout

\begin_layout LyX-Code
n dcd -3, -5, -6
\end_layout

\end_body
\end_document



Congratulations!  You found a bug in LyX 1.4.1.  I'll report it to 
bugzilla.  Meanwhile, try the following two lines in your document preamble:


\usepackage{babel}
[EMAIL PROTECTED]


Hopefully that will fix the problem without screwing anything else up.

/Paul



Re: page numbering ToC, Bib

2006-06-05 Thread Juergen Spitzmueller
Eric Zollars wrote:
 I am using komascript book and fancy headers.

 The first page of each chapter has the page number in the center of the
 footer. For the chapters I can turn this off with \thispagestyle{empty},
 but the first page of the ToC and Bibliography still have the page
 number in the center of the footer.  I tried using
 \pagenumbering{gobble} but that makes the page number in the ToC vanish
 as well.

 Any suggestions?

try
\renewcommand*{\chapterpagestyle}{empty}

Jürgen


Hacking bst files... [Was: Show entry type in References]

2006-06-05 Thread Ares

As I wrote in a previous post, I would like the references of my PhD thesis
to be arranged as follows:


References

Articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...


LyX 1.4.1 supports sectioned bibliography, so it is possible to split the
Bibliography chapter in sections.

In order to have the citation as [Art1] and [Book1] etc, I need to hack a
bst file, as suggested by Jürgen. I had a look to plain.bst and it doesn't
sound so easy!

In the end I would just like to add a prefix (Book, Art etc) to the
reference numbering and to use a separate bst file for each entry (Books,
Articles etc), so that the numbering starts with each section.

Is there a resource where I can find how bst files work? or is there someone
who can help me?

Thanks for support,
Diego


Re: LyX-Code doubt

2006-06-05 Thread Javier Moro Sotelo
O Luns 05 Xuño 2006 18:31, Paul A. Rubin escribiu:
 \usepackage{babel}
 [EMAIL PROTECTED]

Thank you for the help, now the lñast thing, where exactly shall I put those 
two lines?

-- 
Javier Moro Sotelo [EMAIL PROTECTED]

key_id=0xA92B3FC8
server=hkp://subkeys.pgp.net


pgpD84MSKEYE9.pgp
Description: PGP signature


Re: Installing LyX 1.3.7 on Windows 98 - Solved fairly well

2006-06-05 Thread David Neeley

Stephen,

If you have the hard drive space, you might also consider installing
Linux on the machine to dual-boot. The machine I am using at the
moment is a 600-mhz Pentium II I picked up for very little...added a
hard drive I already had and stuck in 512 MB of RAM I also had. It
works very well indeed.

The CD problem is easily solved--especially if you have a computer
flea market or a recycling center.

If you look on any sizeable newsstand, you can find magazines with CD
versions of various Linux distributions--or you can order them from
places like cheapbytes.com. Another source is to order a CD for
free--although it may take a while to arrive, from Ubuntu's shipit
program. I use Kubuntu, the KDE version, which is also free.

LyX, as you may know, has two UNIX interfaces--one uses an XForms
frontend, the other uses the QT toolset--which is also that used by
KDE.

You will find that Internet surfing and most other activities you do
will go faster in Linux than in Windows--although there will be a
learning curve involved. If you have a few GB of hard drive space,
though, you can easily set up the machine to give you a choice at boot
time between Windows and Linux.

If the rest of your machine is compatible, adding a CD reader
shouldn't run more than $20 or so.

David


Re: Hacking bst files... [Was: Show entry type in References]

2006-06-05 Thread K. Elo
Hi,

2006-06-05 18:46 +0200, Ares:
 As I wrote in a previous post, I would like the references of my PhD thesis
 to be arranged as follows:
 
  References
 
  Articles
  [Art1] article1
  [Art2] article2
  etc
  Books
  [Book1] book1
  [Book2] book2
  etc
  etc
  ...
 
 LyX 1.4.1 supports sectioned bibliography, so it is possible to split the
 Bibliography chapter in sections.
 
 In order to have the citation as [Art1] and [Book1] etc, I need to hack a
 bst file, as suggested by Jürgen. I had a look to plain.bst and it doesn't
 sound so easy!

 In the end I would just like to add a prefix (Book, Art etc) to the
 reference numbering and to use a separate bst file for each entry (Books,
 Articles etc), so that the numbering starts with each section.

Actually, this is an issue related to the \bibitem command in the .bst
file. However, adding a text before the number is a bit tricky... I have
been testing several solutions but haven't find any yet. I keep
testing...

Kind regards,
Kimmo



roman numbers

2006-06-05 Thread Francois Engelbrecht
Dear lyx-users

I have almost completed writing a thesis using the book-type lyx
document. Unfortunately, I'm struggling to insert roman numbers for the
first few introductory pages, followed by usual arabic numbering
starting at Chapter 1. I know the solution has something to do with
inserting latex commands (listed in the users guide extended features) 
via the Preamble option. I'm struggling with the details of how to use
the Preamble. Would you please send me some advice?

best wishes,
Francois Engelbrecht
University of Pretoria
South Africa
-- 
This message and attachments are subject to a disclaimer. Please refer
to http://www.it.up.ac.za/documentation/governance/disclaimer/ for full
details. / Hierdie boodskap en aanhangsels is aan 'n vrywaringsklousule
onderhewig. Volledige besonderhede is by
http://www.it.up.ac.za/documentation/governance/disclaimer/ beskikbaar.



Re: LyX-Code doubt

2006-06-05 Thread Marc Vinyals
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

En/na Javier Moro Sotelo ha escrit:
 Thank you for the help, now the lñast thing, where exactly shall I put those 
 two lines?

If I understand Paul correctly, they should be at the LaTeX premble. You
 can access it through Document - Settings... - LaTeX Preamble. Just
copy and paste.

Marc.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEhKJIu4rFT+k3kmQRAr1AAKC3SwL06SiyGofAYgqIUiLEgoVnhwCfaWNj
x+arDDOALfZ7Ifolg17xc4Q=
=hL+1
-END PGP SIGNATURE-


Re: LyX-Code doubt

2006-06-05 Thread Paul A. Rubin

Marc Vinyals wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

En/na Javier Moro Sotelo ha escrit:
Thank you for the help, now the lñast thing, where exactly shall I put those 
two lines?


If I understand Paul correctly, they should be at the LaTeX premble. You
 can access it through Document - Settings... - LaTeX Preamble. Just
copy and paste.



Yes, that's correct.

Incidentally, I filed a bug report on this.  Apparently the change from 
LyX 1.3.7 (where there is no problem) to LyX 1.4.1 (where the problem 
arises) was itself a fix for a difficult bug, so the initial reaction 
was that this bug might not be fixed.  However, that was just the first 
response; we'll see what other developers say.


Meanwhile, please let the list know if this fix works (in particular, 
does not cause any other problems).


/Paul



Re: Installing LyX 1.3.7 on Windows 98 - Solved very well

2006-06-05 Thread Stephen Harris

David Neeley wrote:

Stephen,

If you have the hard drive space, you might also consider installing
Linux on the machine to dual-boot. The machine I am using at the
moment is a 600-mhz Pentium II I picked up for very little...added a
hard drive I already had and stuck in 512 MB of RAM I also had. It
works very well indeed.



Thanks for the input. I have an 80mb drive that dual boots
WinXP and FC4. I was after solving the specific problem that
LyX doesn't work on Windows98 just XP. On the developer list
they put a fair amount of work into getting Win98 working for
those users with old machines and laptops, before giving up.

Some Windows users are not technically savvy and are intimidated
by the idea of hardware installation or installing a new OS.
Cygwin was made to run on Windows, not on Linux. So I was
announcing the first purely Windows software solution to LyX not
working on Win98. I thought it might work because Claus Hentschel
released LyX1.3.1 which worked with win98 and Cygwin. LyX working
natively (not X11) and then only for WinXP is less than a year old.

Nico Jabin wrote me about using LyX on Win98 so I wanted to test
(Re: Installing LyX 1.3.7 on Windows 98 - no appropriate help found)
the install procedure before telling him that it would work. I
found only two things not covered in Enrico's original simple Howto.

Enrico wrote:
Thinking about it, maybe you don't have C:\cygwin\bin in the Windows
system PATH. If this is the case, then you can solve your problem simply

copying lyx-x11.exe to C:\cygwin\bin and then creating a shortcut
to C:\cygwin\bin\lyx-x11.exe.

---

You are right. I tried earlier to put Cygwin in the Path, but the
C:\ autoexec.bat had 0 bytes. So I cleverly appended C:\cygwin\bin
to the autoexec.bat which exists in the C:\windows\command\EBD dir.
and copied that file to C:\. That proved to be a big mistake.
Now the C:\autoexec.bat file contains

SET PATH=C:\Windows;C:\Cygwin\bin
doskey

which works *very well*!

If, after installing cygnus, you get the message:
   Out of environment space
   add the line
   shell=C:\command.com /e:4096 /p
   to your c:\config.sys


The CD problem is easily solved--especially if you have a computer
flea market or a recycling center.

If you look on any sizeable newsstand, you can find magazines with CD
versions of various Linux distributions--or you can order them from
places like cheapbytes.com. Another source is to order a CD for
free--although it may take a while to arrive, from Ubuntu's shipit
program. I use Kubuntu, the KDE version, which is also free.



These sound like good resources for those with only dialup.
My win98/modem is for backup when the dsl rarely goes down.
I could have put a network card in it (also have to drill
hole in wall for cable)or a spare cd but letting the dialup
download run at night was less work.


LyX, as you may know, has two UNIX interfaces--one uses an XForms
frontend, the other uses the QT toolset--which is also that used by
KDE.



I was going to install KDE on Cygwin but they terminated the KDE
X11 port to Cygwin windows. They have a native port in the works now.


You will find that Internet surfing and most other activities you do
will go faster in Linux than in Windows--although there will be a
learning curve involved. If you have a few GB of hard drive space,
though, you can easily set up the machine to give you a choice at boot
time between Windows and Linux.



I like yum install lyx on FC4. I figured the user already knew about 
Linux when he asked his question about Win98 (Cygwin is not standalone)

so I was giving a win98 specific solution. I notice Bruce Byfield has
written several articles about O0o as superior for technical writing
than Word. But he doesn't think people are likely to change to it.




David



Regards,
Stephen



Re: Installing LyX 1.3.7 on Windows 98 - Solved very well

2006-06-05 Thread David Neeley

Yes, OOo is superior to Word for tech writing--but then, almost anything is!

I am trying to get far enough up the learning curve with LyX that I
can feel good about creating style files. Then, I intend to do a style
file for DITA--because I believe that LyX is, potentially, a far
better tech writing solution than anything else out there at the
moment. I also believe that DITA has advantages over most other
XML-based solutions for the purpose...and it should be far easier for
folks to learn and use consistently than DocBook, for instance.

Most folks still using Win98 should, in my opinion, seek other
solutions--especially if they want to keep using the same hardware.
That was the genesis of my suggestion to dual-boot with Linux. I am
not so charmed with Fedora--but then, I never really got into Red Hat
to begin with. Before I went to Kubuntu, I mostly used SuSE.

My main problem with Kubuntu at the moment is that the repository is
still behind the times with 1.3.7--I did the ./configure/make/make
install routine for 1.4.1.

David


Re: Installing LyX 1.3.7 on Windows 98 - DITA detour

2006-06-05 Thread Stephen Harris

David Neeley wrote:


I am trying to get far enough up the learning curve with LyX that I
can feel good about creating style files. Then, I intend to do a style
file for DITA--because I believe that LyX is, potentially, a far
better tech writing solution than anything else out there at the
moment. I also believe that DITA has advantages over most other
XML-based solutions for the purpose...and it should be far easier for
folks to learn and use consistently than DocBook, for instance.



Directions for tomorrow's techwriting

From:   David Neeley
Date:   Mon, Apr 22 2002 8:24 am
Groups: bit.listserv.techwr-l

Greetings!

I would appreciate your thoughts about the direction
of technical writing departments and practices in the
near future. Specifically, I invite your comments
about my growing conviction that we will see a growing
methodology shift driven by increased understanding of
the benefits of creating documentation that is easy to
re-use and maintain. It appears clear that this will
in most cases be through employment of XML and
repository tools based upon this technology.

-

SH: The Docbook topic comes up occasionally. Chris Karakas
has done quite a bit of work producing with LyX, SGML, and
Latex. http://www.karakas-online.de/mySGML/ There is quite
a bit involved to get all the packages working together IMO.




My main problem with Kubuntu at the moment is that the repository is
still behind the times with 1.3.7--I did the ./configure/make/make
install routine for 1.4.1.

David



I use Redhat because it installs so easily. I'm not able to argue
the merits of Fedora vs. other Linux versions and also Rex Dieter
monitors this list and he produces Fedora rpms very quickly, so
I never have a problem with updates and LyX, it's very convenient.

For those reading who are not acquainted with DITA:

http://www.newsforge.com/article.pl?sid=06/05/05/1744245
DITA

Over the last couple of years, Oasis Darwin Information Typing
Architecture (DITA) has been attracting a lot of attention among
technical writers -- so much so that it's starting to eat into
the market share of DocBook. Rather than being based on the
traditional book-chapter-section format, DITA is meant for creating
individual topics that you can combine and reuse in different types
of documentation and in different delivery formats. You can use
DITA to create just about any kind of documentation, but it's best
suited for Web content, online help, computer-based training,
knowledge bases, and FAQs.

Because DITA is based on XML, you can use any text or XML editor
to author DITA documents. Several editing tools both support DITA
and run on Linux. My text editor of choice is Emacs in conjunction
with psgmlx, which is what I use with DocBook. ...

Right now, the only way to convert a DITA document to a more usable
format on Linux is with the DITA Open Toolkit for Linux. The Open
Toolkit is easy to use and can transform DITA content to HTML,
XHTML, PDF, Eclipse Help, or RTF.

---

http://www-128.ibm.com/developerworks/xml/library/x-emacs/

I think (X)Emacs has been developed longer in this area.
I think Lyx 1.5 and 1.6 are slated to improve performance
for XML and Unicode. I'm not sure how easy it will be to
realize your goal, though I think it is a good idea. I've
seen the developers with expert opinions, Jose Matos and
Georg Baum express some interest in this topic. I think
information about other approaches might be helpful; so
much seems revolve around converting one format to another
these days in various database paradigms (thinking of AI).

Viva la Semantic Web!

Stephen







Re: Installing LyX 1.3.7 on Windows 98 - DITA detour

2006-06-05 Thread David Neeley

Yes, this is a topic I have been interested in for some years.
Creating documentation as a specialty seems an ideal use for LyX--at
least, as it may become in future.

One notion that becomes very important in document creation, updating,
and management in general is the notion of chunking into topics. One
firm that has built a business out of this idea is Information Mapping
Inc., although their methods are still somewhat controversial in the
field. Thinking of topical chunking is nearly an unnatural act for
many--but it may prove extremely useful if we are to get very far with
the implementation of XML-style technology in documentation.

One large problem is the lack of uniformity in the way people think of
and create documents. On the simplest level, that includes format
differences from individual to individual--format differences that are
aided and abetted by programs like Microsoft Word that allows--nay,
*encourages*--the profligate use of style tags and many ways to get a
particular visible result in a document.j

My interest in LyX has been powered by this observation, and the
thought that something must replace our existing tools if we are to
get the real benefits of the separation of content and form.

In short, the entire what you get is what you mean approach is long overdue!

However, the question remains whether LyX itself is the answer, or a
recast tool based around XML. In other words, all the stuff that
accompanies TeX and its complexity designed originally for typesetting
may make the learning curve sufficiently complex that many may find it
not to be worthwhile, especially for technical documentation that
lacks many of the needs of the scholarly dissertation, for example.

That is one thing I am attempting to determine by going through that
learning curve myself!

I delayed turning to LyX for several years, since for a time it
appeared to the casual observer to be somewhat of a dying application.
An aborted Klyx (kde specific) version, for example, did not appear
to be a sign of progress.

I believe, though, that if a stylesheet is made for the creation of
DITA topics, there is little of the TeX stuff that needs to be used at
all. Resulting topics could then be used by some as-yet-unidentified
DITA map/content management facility with very little learning curve
for the writers involved in topic content creation.

While I am personally fascinated with typography, we are a
comparatively dying breed these days, it seems.

One thing I am thinking of is the feasibility of a context-sensitive
right-click menu that would enable a quicker selection of a particular
style attribute rather than just the drop-down box in the present
interface. Such a dropdown could also be easily triggered with a
keyboard shortcut for those interested in true productivity--or
perhaps a handful of keyboard shortcuts for the principal style
designationsk, somewhat similar to the ones in FrameMaker.

LyX seems to be extremely useful for creating indexes, which seems to
me to be an often-neglected part of the written information trade.
Indexing, though, could become extremely significant in content
management--especially since indexing itself is in a major sense the
extraction and processing of metadata. Thus, the information chunks
represented by topic creation for content management may be best
served by creating index references at the time the topics are written
and placed in the repository originally. That would seem to permit the
locating and employment of the right chunks to meet any arbitrary
need. Then, creation of new documents as collections of these chunks
would be greatly eased.

Anyway, pardon my musings tonight...there is much that I am still at
sea about in this whole subject.

David

On 6/5/06, Stephen Harris [EMAIL PROTECTED] wrote:

David Neeley wrote:

 I am trying to get far enough up the learning curve with LyX that I
 can feel good about creating style files. Then, I intend to do a style
 file for DITA--because I believe that LyX is, potentially, a far
 better tech writing solution than anything else out there at the
 moment. I also believe that DITA has advantages over most other
 XML-based solutions for the purpose...and it should be far easier for
 folks to learn and use consistently than DocBook, for instance.




Re: Installing LyX 1.3.7 on Windows 98 - DITA detour

2006-06-05 Thread Stephen Harris

David Neeley wrote:


I delayed turning to LyX for several years, since for a time it
appeared to the casual observer to be somewhat of a dying application.
An aborted Klyx (kde specific) version, for example, did not appear
to be a sign of progress.



http://www.lyx.org/about/klyx.php




While I am personally fascinated with typography, we are a
comparatively dying breed these days, it seems.



Yes, it seems that way.


LyX seems to be extremely useful for creating indexes, which seems to
me to be an often-neglected part of the written information trade.
Indexing, though, could become extremely significant in content
management--especially since indexing itself is in a major sense the
extraction and processing of metadata. Thus, the information chunks
represented by topic creation for content management may be best
served by creating index references at the time the topics are written
and placed in the repository originally. That would seem to permit the
locating and employment of the right chunks to meet any arbitrary
need. Then, creation of new documents as collections of these chunks
would be greatly eased.



They say you can't judge a book by its cover but by its index.
It reminds me of Explore XY which takes for ages to finish.


http://explorexy.com/

CORRELATION – the process of establishing a relationship or connection 
between two or more subjects.


EXPLORATION – the process of traveling in or through an unfamiliar area 
in order to learn about it.


Correlation and exploration. Doing both, in depth, on the Internet was 
impossible. Not with search engines. Not with data mining. Not with 
crawlers or bots. Not with anything.


Until now. Introducing Explore XY.

Explore XY is a Knowledge Discovery Vehicle (KDVTM). A KDV is a radical, 
patented desktop application that explores all the web’s pages to find 
any correlation between two subjects. It reads a URL/web page and 
reports back text and source links that are relevant to connecting the 
two subjects.


Download it for free now!



Anyway, pardon my musings tonight...there is much that I am still at
sea about in this whole subject.

David

I enjoyed reading your thoughts and also Techwriter's toolkits and 
directions for tomorrow (long and deep response) twirlers Bill Hall


Any port in a storm :-)
Stephen




Re: roman numbers

2006-06-05 Thread Eric Zollars

In the book class you can just use the ERT at the beginning of the document:
\pagenumbering{roman}

and in Chapter 1:
\pagenumbering{arabic}

no preamble needed.

Eric

Francois Engelbrecht wrote:

Dear lyx-users

I have almost completed writing a thesis using the book-type lyx
document. Unfortunately, I'm struggling to insert roman numbers for the
first few introductory pages, followed by usual arabic numbering
starting at Chapter 1. I know the solution has something to do with
inserting latex commands (listed in the users guide extended features) 
via the Preamble option. I'm struggling with the details of how to use

the Preamble. Would you please send me some advice?

best wishes,
Francois Engelbrecht
University of Pretoria
South Africa


Show entry type in References

2006-06-05 Thread Ares

I would probaly try to hack alpha.bst.

I'll try this. thanks Jürgen

...but now I have a new problem: I don't manage to get the Bibliography in
the Table of Contents.

If I use the option Sectioned Bibliography, I cannot check the option "Add
bibliography to TOC" in the "BibTeX generated bibliography" dialog.

What I did is to define the "Bibliography" section name as a Chapter*
(chapter title without numbering). Either this way, the Bibliography does
not appear in TOC. I also went to Document settings --> Numbering and TOC,
but it is not possible from here to change the behaviour of Chapter* since
Chapter* is not there at all! but there are Part* and Section*, so why not
Chapter* ? By the way, I noticed that even if I set Part* and Section* to
appear in TOC, they don't. What's wrong? is it a bug or maybe I don't get
the meaning of it all?

Thanks again for your support,
Diego


-- Messaggio inoltrato --
From: Ares <[EMAIL PROTECTED]>
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:16:56 +0200
Subject: Show entry type in References
I found that LyX 1.4.1 (on Win) has the option document > settings... >
bibliography > sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the "Bibliography" section name
- I'm still not able to define the citation style as [Art1], [Art2] etc for
articles, [Book1], [Book2] etc for books etc. Should I define a bst file by
myself?

Thanks for your support
Diego

From: Sara Stymne <[EMAIL PROTECTED]>
To: lyx-users@lists.lyx.org
Date: Thu, 18 May 2006 19:51:47 +0200
Subject: Re: Show entry type in References
Hi!

You might find an answer here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=multbib

/Sara


Ares wrote:


Hello everyone,
I'm using LyX to compile a PhD thesis and a bibtex database for
references, and I'm new to both.
I would like to group the references according to entry type, and to
show the entry type itself in the references. this would look like, for
instance:

...
References

articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...

Is there anyone who knows how to do that? maybe using an appropriate bst
file that does that??
Thanks for your support
Diego




-- Messaggio inoltrato --
From: Juergen Spitzmueller <[EMAIL PROTECTED]>
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:57:05 +0200
Subject: Re: Show entry type in References
Ares wrote:

I found that LyX 1.4.1 (on Win) has the option document > settings... >
bibliography > sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the "Bibliography" section name


What's the problem with that? Otherwise it wouldn't simply be possible to
add
your own bibliography section headings. The option "printheadings" (in
Document->Settings->Class Options), however, changes the behaviour.


- I'm still not able to define the citation style as [Art1], [Art2] etc
for articles, [Book1], [Book2] etc for books etc. Should I define a bst
file by myself?


yes. I would probaly try to hack alpha.bst.
(as an alternative, if you have a manageable number of citations, the
package "splitbib" might help).

Jürgen


Re: problème avec lyx

2006-06-05 Thread Uwe Stöhr

[EMAIL PROTECTED] schrieb:

Bonjour je suis un nouvel utilisateur de lyx et j'ai un problème lorsque je  
convertit mon document au format dvi. Le message d'erreur est le suivant :

"An error occured whilst running Python"
"D:/Utilitaires/lyx 1.4.1/Ressources/scripts


The problem might be the changed MiKTeX configuration. Replace the file 
"hyperref.cfg" in your MiKTeX installation (in the folder 
~\texmf\tex\latex\00miktex) with this one:


http://prdownload.berlios.de/lyxwininstall/hyperref.cfg

Then restart LyX and try it again.

regards Uwe


Re: problème avec lyx (Ihave a prob lem with lyx windows 1.4.1)

2006-06-05 Thread Gilles Mioni
Paul A. Rubin wrote:

> A S Hodel wrote:
>
>> I think the translation is a bit different: (but then again, I'm
>> an American so take this with a grain of salt)
>>
>>> [EMAIL PROTECTED] wrote:
>>>
 Bonjour je suis un nouvel utilisateur de lyx et j'ai un
 problème lorsque je convertit mon document au format dvi. Le
 message d'erreur est le suivant : "An error occured whilst
 running Python" "D:/Utilitaires/lyx 1.4.1/Ressources/scripts

 Et lorsque je demande la version en Draftdvi le message est
 :"Bad dvi file"

 En fait les problèmes disparaissent quand j'enlève mes images
 Bitmap du document. Pourrait-on m'expliquer le problème et
 comment y remédier ? Merci par avance.
>>
>>
>> I am a new Lyx user and I have a problem when I convert my
>> document to dvi format. The error message is the following: "An
>> error occured whilst running Python" "D:/Utilitaires/lyx
>> 1.4.1/Ressources/scripts
>>
>> And when I ask the version in Draftdvi the message is "Bad dvi
>> file."
>>
>> In fact these problems disappear when I upload my bitmap images
>> from the document. Can some explain the problem and how to remedy
>> it? Thanks in advance
>>
>> --
>>
>> I regret I can't answer the question, but perhaps the additional
>> detail in the translation may help.
>>
>> A S Hodel http://homepage.mac.com/hodelas [EMAIL PROTECTED]
>>
>>
>>
>>
>
> The best approach would be for the original poster to post a
> minimal example (LyX document plus image) that triggers the error
> message. Any volunteers to translate that to French?
>
> /Paul


Destiné à [EMAIL PROTECTED], traduction d'une demande de précision de
Paul Rubin (ci-dessus) concernant le problème :

"La meilleure façon serait pour celui qui a envoyé le message initial
serait de poster un exemple minimal (document lyx plus image) qui
conduit au message d'erreur."
 







Re: Show entry type in References

2006-06-05 Thread Juergen Spitzmueller
Ares wrote:
> If I use the option Sectioned Bibliography, I cannot check the option "Add
> bibliography to TOC" in the "BibTeX generated bibliography" dialog.

Yes, because there isn't a heading to add.

> What I did is to define the "Bibliography" section name as a Chapter*
> (chapter title without numbering). Either this way, the Bibliography does
> not appear in TOC. I also went to Document settings --> Numbering and TOC,
> but it is not possible from here to change the behaviour of Chapter* since
> Chapter* is not there at all! but there are Part* and Section*, so why not
> Chapter* ? By the way, I noticed that even if I set Part* and Section* to
> appear in TOC, they don't. What's wrong? is it a bug or maybe I don't get
> the meaning of it all?

The starred versions of the headings are _by definition_ excluded from the 
toc. So either add
\addcontentsline{toc}{chapter}{Bibliography}
in ERT below the heading, or use the KOMA-script classes, which provide 
\addchap (unnumbered headings that are included in the TOC).

HTH,
Jürgen


Re: including Table of Contents in Table of Contents

2006-06-05 Thread Juergen Spitzmueller
Eric Zollars wrote:
> How do I include the Table of Contents in the Table of Contents?

\usepackage{tocbibind}

(though I doubt that there is any serious reason for including the toc in the 
toc).

Jürgen


Bibliography in TOC [Was: Show entry type in References]

2006-06-05 Thread Ares

I managed to get the Bibliography in TOC in the output file by using the TeX
command \backmatter right before the Bibliography Chapter (not Chapter*) and
preceded by a page break. See:
http://groups.google.com/group/comp.text.tex/browse_thread/thread/ce999aa747cf4a3e/36b1505bedbf3288?q=starred+TOC=1#36b1505bedbf3288


In this way, inside LyX you get the Bibliography chapter numbered, and as an
appendix (if you have, as in my case, appendixes), also appearing in LyX
file TOC. When you view the pdf, for example, you get a nice Bibliography
title (without number) in TOC of the compiled document.

Perhaps it is a dirty trick, but it works...

Anyway the Document settings --> Numbering and TOC pane does not work... is
it a bug? how to report it?

Regards,
Diego



-- Forwarded message --
From: Ares <[EMAIL PROTECTED]>
Date: 5-giu-2006 10.58
Subject: Show entry type in References
To: lyx-users@lists.lyx.org



I would probaly try to hack alpha.bst.

I'll try this. thanks Jürgen

...but now I have a new problem: I don't manage to get the Bibliography in
the Table of Contents.

If I use the option Sectioned Bibliography, I cannot check the option "Add
bibliography to TOC" in the "BibTeX generated bibliography" dialog.

What I did is to define the "Bibliography" section name as a Chapter*
(chapter title without numbering). Either this way, the Bibliography does
not appear in TOC. I also went to Document settings --> Numbering and TOC,
but it is not possible from here to change the behaviour of Chapter* since
Chapter* is not there at all! but there are Part* and Section*, so why not
Chapter* ? By the way, I noticed that even if I set Part* and Section* to
appear in TOC, they don't. What's wrong? is it a bug or maybe I don't get
the meaning of it all?

Thanks again for your support,
Diego


-- Messaggio inoltrato --
From: Ares <[EMAIL PROTECTED]>
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:16:56 +0200
Subject: Show entry type in References
I found that LyX 1.4.1 (on Win) has the option document > settings... >
bibliography > sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the "Bibliography" section name
- I'm still not able to define the citation style as [Art1], [Art2] etc for
articles, [Book1], [Book2] etc for books etc. Should I define a bst file by
myself?

Thanks for your support
Diego

From: Sara Stymne <[EMAIL PROTECTED]>
To: lyx-users@lists.lyx.org
Date: Thu, 18 May 2006 19:51:47 +0200
Subject: Re: Show entry type in References
Hi!

You might find an answer here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=multbib

/Sara


Ares wrote:


Hello everyone,
I'm using LyX to compile a PhD thesis and a bibtex database for
references, and I'm new to both.
I would like to group the references according to entry type, and to
show the entry type itself in the references. this would look like, for
instance:

...
References

articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...

Is there anyone who knows how to do that? maybe using an appropriate bst
file that does that??
Thanks for your support
Diego




-- Messaggio inoltrato --
From: Juergen Spitzmueller <[EMAIL PROTECTED]>
To: lyx-users@lists.lyx.org
Date: Sun, 4 Jun 2006 13:57:05 +0200
Subject: Re: Show entry type in References
Ares wrote:

I found that LyX 1.4.1 (on Win) has the option document > settings... >
bibliography > sectioned bibliography, so i can insert multiple bibtex
generated bibliography and add section (or subsection) names by myself.
There's some cons, though:
- I have to define myself the "Bibliography" section name


What's the problem with that? Otherwise it wouldn't simply be possible to
add
your own bibliography section headings. The option "printheadings" (in
Document->Settings->Class Options), however, changes the behaviour.


- I'm still not able to define the citation style as [Art1], [Art2] etc
for articles, [Book1], [Book2] etc for books etc. Should I define a bst
file by myself?


yes. I would probaly try to hack alpha.bst.
(as an alternative, if you have a manageable number of citations, the
package "splitbib" might help).

Jürgen


Re: Chapter base Page numbering to TOC

2006-06-05 Thread Luqman H

2006/6/2, Sara Stymne <[EMAIL PROTECTED]>:

You can get the word "Chapter" in komascript. Just add the class option
"chapterprefix". You add it in the documents settings: class settings,
options.


great...
there's more i want to ask...
1. The font for Chapter, and some other is different
   in report(komascript),
2. the line spacing between abstract, lof, lot in TOC is too far
   how to make it shorter... ? also line spacing in chapter title
   too far, and too much blank line at top part of page...
3. how to remove page number at TOC ? i want the page number
   for some part, for example the bibliography, not displayed at TOC.
   But the bibliography list is still exist in TOC.
4. the abstract title, not displayed at abstract page if using
Report(komascript)

thanks...


Re: LyX and TeXShop

2006-06-05 Thread Bruce Pourciau
Thank you Bennett, Stephen, Maria, and Tomoharu. I've made TeXShop my  
default pdf previewer in the finder. A step up from Preview.


Bruce

On Jun 2, 2006, at 9:56 PM, Bennett Helm wrote:


On Jun 2, 2006, at 5:44 PM, Stephen Buonopane wrote:

Does TeXShop make a better previewer than the default (Preview)  
for LyX/Mac? To change the viewer to TeXShop in LyX/Mac 1.4.1, I  
put -a texshop in the viewer space after doing Preferences > File  
formats > PDF (pdflatex). But viewing a LyX file then gave an  
error. Does texshop have to be by itself in the Applications  
folder? downloading mactex left TeXShop in a folder called TeX in  
the Applications folder, and not having sufficient authority I  
can't move it.


I use TexShop as my pdf viewer for LyX. It is the only OS X viewer  
that I know of that will update automatically when the pdf file  
changes. This way you can leave the pdf open in TexShop and use  
View->Update in LyX.


I installed TexXhop directly, so it is in the top level of my  
Applications folder. But you can put the full path name in the LyX  
preferences. Not sure where it looks by default. I have open -a  
'TeXShop'  Maybe you need the single quotes? Did you try a  
Reconfigure...Quit...Relaunch?


As others have noted, open -a TeXShop.app is what's needed. Another  
option, though, is to define TeXShop as the default pdf viewer in  
the Finder. (Select a .pdf file, select File > Get Info, select  
TeXShop in the "Open With" drop down menu, and click on the "Change  
all..." button.) Then you can leave LyX's viewer for .pdf files  
simply as "open", and everything will work.


Again, as others have noted, the major benefit of using TeXShop is  
that it will automatically update the screen when the .pdf file  
changes. That's true whether you choose View > Update > PDF  
(pdflatex) or simply View > PDF (pdflatex). (Reconfigure, relaunch  
are not necessary here.)


In fact, it's possible to trick LyX into running LaTeX in the  
background, so that you can continue working on your document while  
it is typesetting. (That's useful on long documents like the book  
I'm currently working on, which is > 100,000 words and which takes  
a minute or so for each pdflatex run.) How do you do this?


1. In LyX > Preferences > File formats, define a new file format as  
follows: Format = latex2, GUI name = PDFLaTeX (update), Extension =  
tex, Viewer = pdflatex.


2. In LyX > Preferences > Converters, define a new converter from  
LaTeX to PDFLaTeX (update), with Converter = touch $$i and Extra  
flag = latex.


Now when you select View > PDFLaTeX (Update), LyX will generate a  
new .tex file and run pdflatex once on it. Once the .pdf file is  
generated, TeXShop will update its screen.


Two things to note about this (which may make it confusing to those  
not familiar with LaTeX). First, if you are not currently viewing  
the .pdf file in TeXShop, that file will not be opened and so  
nothing will appear to happen (though in fact the .pdf file will be  
generated in your tmp directory). Second, pdflatex is only run once  
here, and bibtex and makeindex are not run at all. So if you add a  
new cross reference, it may take 2 pdflatex runs to generate the  
proper reference, and if you add a new citation, this trick will  
fail to generate the output properly. (For that, run the standard  
View > PDF (pdflatex).)


Bennett




Re: LyX-Code doubt

2006-06-05 Thread Paul A. Rubin

Javier Moro Sotelo wrote:

O Luns 05 Xuño 2006 00:00, Paul A. Rubin escribiu:

Re: LyX-Code doubt


First of all thaks for the help

No, I'm not trying to define a new font, I'm trying to inserte an assambler 
source code as part of my document (it's an article about ARM assambler 
language)  but when I try to convert it to pdf I get the error: "A character 
number must be beetweeb 0 and  255. I changed this one to zero" because the 
source code contains some negative numbers:
 
some code

***
num1 dcd 3, 17, 27, 12, 322 ->> this is the line where I get the error message
***
some code

If you want I can send you the lyx file to see it clearly.



The source code is just text to LaTeX, so the error message is probably 
something else -- possibly a non-printing character inconsistent with 
the document's character encoding got pasted in accidentally (?). 
Anyway, yes, the best thing would be to post the LyX file.  It would 
help if you cut it down to a minimal example.


/Paul



Re: LyX-Code doubt

2006-06-05 Thread Javier Moro Sotelo
O Luns 05 Xuño 2006 17:28, Paul A. Rubin escribiu:

This is a sample of the file, i get the error on the "n dcd -3, -5, -6" line

#LyX 1.4.1 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass article
\language spanish
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize default
\use_geometry false
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout LyX-Code
area data
\end_layout

\begin_layout LyX-Code
n dcd -3, -5, -6
\end_layout

\end_body
\end_document

> Javier Moro Sotelo wrote:
> > O Luns 05 Xuño 2006 00:00, Paul A. Rubin escribiu:
> >> Re: LyX-Code doubt
> >
> > First of all thaks for the help
> >
> > No, I'm not trying to define a new font, I'm trying to inserte an
> > assambler source code as part of my document (it's an article about ARM
> > assambler language)  but when I try to convert it to pdf I get the error:
> > "A character number must be beetweeb 0 and  255. I changed this one to
> > zero" because the source code contains some negative numbers:
> >
> > some code
> > ***
> > num1 dcd 3, 17, 27, 12, 322 ->> this is the line where I get the error
> > message ***
> > some code
> >
> > If you want I can send you the lyx file to see it clearly.
>
> The source code is just text to LaTeX, so the error message is probably
> something else -- possibly a non-printing character inconsistent with
> the document's character encoding got pasted in accidentally (?).
> Anyway, yes, the best thing would be to post the LyX file.  It would
> help if you cut it down to a minimal example.
>
> /Paul

-- 
Javier Moro Sotelo <[EMAIL PROTECTED]>

key_id=0xA92B3FC8
server=hkp://subkeys.pgp.net


pgpkzaZbwZmDG.pgp
Description: PGP signature


Re: periods instead of colon after Figure, Table

2006-06-05 Thread Paul A. Rubin

Eric Zollars wrote:

Is it possible to use a period

Figure 1.1.

instead of a colon

Figure 1.1:

after Figure, Table, etc.

Thanks.
Eric



Add \usepackage[labelsep=period]{caption} to your document's preamble.

/Paul



page numbering ToC, Bib

2006-06-05 Thread Eric Zollars

I am using komascript book and fancy headers.

The first page of each chapter has the page number in the center of the 
footer. For the chapters I can turn this off with \thispagestyle{empty}, 
but the first page of the ToC and Bibliography still have the page 
number in the center of the footer.  I tried using 
\pagenumbering{gobble} but that makes the page number in the ToC vanish 
as well.


Any suggestions?

Eric


Re: LyX-Code doubt

2006-06-05 Thread Paul A. Rubin

Javier Moro Sotelo wrote:

O Luns 05 Xuño 2006 17:28, Paul A. Rubin escribiu:

This is a sample of the file, i get the error on the "n dcd -3, -5, -6" line

#LyX 1.4.1 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass article
\language spanish
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize default
\use_geometry false
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout LyX-Code
area data
\end_layout

\begin_layout LyX-Code
n dcd -3, -5, -6
\end_layout

\end_body
\end_document



Congratulations!  You found a bug in LyX 1.4.1.  I'll report it to 
bugzilla.  Meanwhile, try the following two lines in your document preamble:


\usepackage{babel}
[EMAIL PROTECTED]


Hopefully that will fix the problem without screwing anything else up.

/Paul



Re: page numbering ToC, Bib

2006-06-05 Thread Juergen Spitzmueller
Eric Zollars wrote:
> I am using komascript book and fancy headers.
>
> The first page of each chapter has the page number in the center of the
> footer. For the chapters I can turn this off with \thispagestyle{empty},
> but the first page of the ToC and Bibliography still have the page
> number in the center of the footer.  I tried using
> \pagenumbering{gobble} but that makes the page number in the ToC vanish
> as well.
>
> Any suggestions?

try
\renewcommand*{\chapterpagestyle}{empty}

Jürgen


Hacking bst files... [Was: Show entry type in References]

2006-06-05 Thread Ares

As I wrote in a previous post, I would like the references of my PhD thesis
to be arranged as follows:


References

Articles
[Art1] article1
[Art2] article2
etc
Books
[Book1] book1
[Book2] book2
etc
etc
...


LyX 1.4.1 supports "sectioned bibliography", so it is possible to split the
Bibliography chapter in sections.

In order to have the citation as [Art1] and [Book1] etc, I need to hack a
bst file, as suggested by Jürgen. I had a look to plain.bst and it doesn't
sound so easy!

In the end I would just like to add a prefix (Book, Art etc) to the
reference numbering and to use a separate bst file for each entry (Books,
Articles etc), so that the numbering starts with each "section".

Is there a resource where I can find how bst files work? or is there someone
who can help me?

Thanks for support,
Diego


Re: LyX-Code doubt

2006-06-05 Thread Javier Moro Sotelo
O Luns 05 Xuño 2006 18:31, Paul A. Rubin escribiu:
> \usepackage{babel}
> [EMAIL PROTECTED]

Thank you for the help, now the lñast thing, where exactly shall I put those 
two lines?

-- 
Javier Moro Sotelo <[EMAIL PROTECTED]>

key_id=0xA92B3FC8
server=hkp://subkeys.pgp.net


pgpD84MSKEYE9.pgp
Description: PGP signature


Re: Installing LyX 1.3.7 on Windows 98 - Solved fairly well

2006-06-05 Thread David Neeley

Stephen,

If you have the hard drive space, you might also consider installing
Linux on the machine to dual-boot. The machine I am using at the
moment is a 600-mhz Pentium II I picked up for very little...added a
hard drive I already had and stuck in 512 MB of RAM I also had. It
works very well indeed.

The CD problem is easily solved--especially if you have a computer
flea market or a recycling center.

If you look on any sizeable newsstand, you can find magazines with CD
versions of various Linux distributions--or you can order them from
places like cheapbytes.com. Another source is to order a CD for
free--although it may take a while to arrive, from Ubuntu's "shipit"
program. I use Kubuntu, the KDE version, which is also free.

LyX, as you may know, has two UNIX interfaces--one uses an XForms
frontend, the other uses the QT toolset--which is also that used by
KDE.

You will find that Internet surfing and most other activities you do
will go faster in Linux than in Windows--although there will be a
learning curve involved. If you have a few GB of hard drive space,
though, you can easily set up the machine to give you a choice at boot
time between Windows and Linux.

If the rest of your machine is compatible, adding a CD reader
shouldn't run more than $20 or so.

David


Re: Hacking bst files... [Was: Show entry type in References]

2006-06-05 Thread K. Elo
Hi,

2006-06-05 18:46 +0200, Ares:
> As I wrote in a previous post, I would like the references of my PhD thesis
> to be arranged as follows:
> 
> > References
> >
> > Articles
> > [Art1] article1
> > [Art2] article2
> > etc
> > Books
> > [Book1] book1
> > [Book2] book2
> > etc
> > etc
> > ...
> 
> LyX 1.4.1 supports "sectioned bibliography", so it is possible to split the
> Bibliography chapter in sections.
> 
> In order to have the citation as [Art1] and [Book1] etc, I need to hack a
> bst file, as suggested by Jürgen. I had a look to plain.bst and it doesn't
> sound so easy!

> In the end I would just like to add a prefix (Book, Art etc) to the
> reference numbering and to use a separate bst file for each entry (Books,
> Articles etc), so that the numbering starts with each "section".

Actually, this is an issue related to the \bibitem command in the .bst
file. However, adding a text before the number is a bit tricky... I have
been testing several solutions but haven't find any yet. I keep
testing...

Kind regards,
Kimmo



roman numbers

2006-06-05 Thread Francois Engelbrecht
Dear lyx-users

I have almost completed writing a thesis using the book-type lyx
document. Unfortunately, I'm struggling to insert roman numbers for the
first few introductory pages, followed by usual arabic numbering
starting at Chapter 1. I know the solution has something to do with
inserting latex commands (listed in the users guide extended features) 
via the Preamble option. I'm struggling with the details of how to use
the Preamble. Would you please send me some advice?

best wishes,
Francois Engelbrecht
University of Pretoria
South Africa
-- 
This message and attachments are subject to a disclaimer. Please refer
to http://www.it.up.ac.za/documentation/governance/disclaimer/ for full
details. / Hierdie boodskap en aanhangsels is aan 'n vrywaringsklousule
onderhewig. Volledige besonderhede is by
http://www.it.up.ac.za/documentation/governance/disclaimer/ beskikbaar.



Re: LyX-Code doubt

2006-06-05 Thread Marc Vinyals
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

En/na Javier Moro Sotelo ha escrit:
> Thank you for the help, now the lñast thing, where exactly shall I put those 
> two lines?

If I understand Paul correctly, they should be at the LaTeX premble. You
 can access it through Document -> Settings... -> LaTeX Preamble. Just
copy and paste.

Marc.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEhKJIu4rFT+k3kmQRAr1AAKC3SwL06SiyGofAYgqIUiLEgoVnhwCfaWNj
x+arDDOALfZ7Ifolg17xc4Q=
=hL+1
-END PGP SIGNATURE-


Re: LyX-Code doubt

2006-06-05 Thread Paul A. Rubin

Marc Vinyals wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

En/na Javier Moro Sotelo ha escrit:
Thank you for the help, now the lñast thing, where exactly shall I put those 
two lines?


If I understand Paul correctly, they should be at the LaTeX premble. You
 can access it through Document -> Settings... -> LaTeX Preamble. Just
copy and paste.



Yes, that's correct.

Incidentally, I filed a bug report on this.  Apparently the change from 
LyX 1.3.7 (where there is no problem) to LyX 1.4.1 (where the problem 
arises) was itself a fix for a difficult bug, so the initial reaction 
was that this bug might not be fixed.  However, that was just the first 
response; we'll see what other developers say.


Meanwhile, please let the list know if this fix works (in particular, 
does not cause any other problems).


/Paul



Re: Installing LyX 1.3.7 on Windows 98 - Solved very well

2006-06-05 Thread Stephen Harris

David Neeley wrote:

Stephen,

If you have the hard drive space, you might also consider installing
Linux on the machine to dual-boot. The machine I am using at the
moment is a 600-mhz Pentium II I picked up for very little...added a
hard drive I already had and stuck in 512 MB of RAM I also had. It
works very well indeed.



Thanks for the input. I have an 80mb drive that dual boots
WinXP and FC4. I was after solving the specific problem that
LyX doesn't work on Windows98 just XP. On the developer list
they put a fair amount of work into getting Win98 working for
those users with old machines and laptops, before giving up.

Some Windows users are not technically savvy and are intimidated
by the idea of hardware installation or installing a new OS.
Cygwin was made to run on Windows, not on Linux. So I was
announcing the first purely Windows software solution to LyX not
working on Win98. I thought it might work because Claus Hentschel
released LyX1.3.1 which worked with win98 and Cygwin. LyX working
natively (not X11) and then only for WinXP is less than a year old.

Nico Jabin wrote me about using LyX on Win98 so I wanted to test
(Re: Installing LyX 1.3.7 on Windows 98 - no appropriate help found)
the install procedure before telling him that it would work. I
found only two things not covered in Enrico's original simple Howto.

Enrico wrote:
"Thinking about it, maybe you don't have C:\cygwin\bin in the Windows
system PATH. If this is the case, then you can solve your problem simply

copying lyx-x11.exe to C:\cygwin\bin and then creating a shortcut
to C:\cygwin\bin\lyx-x11.exe."

---

You are right. I tried earlier to put Cygwin in the Path, but the
C:\ autoexec.bat had 0 bytes. So I cleverly appended C:\cygwin\bin
to the autoexec.bat which exists in the C:\windows\command\EBD dir.
and copied that file to C:\. That proved to be a big mistake.
Now the C:\autoexec.bat file contains

SET PATH=C:\Windows;C:\Cygwin\bin
doskey

which works *very well*!

If, after installing cygnus, you get the message:
   Out of environment space
   add the line
   shell=C:\command.com /e:4096 /p
   to your c:\config.sys


The CD problem is easily solved--especially if you have a computer
flea market or a recycling center.

If you look on any sizeable newsstand, you can find magazines with CD
versions of various Linux distributions--or you can order them from
places like cheapbytes.com. Another source is to order a CD for
free--although it may take a while to arrive, from Ubuntu's "shipit"
program. I use Kubuntu, the KDE version, which is also free.



These sound like good resources for those with only dialup.
My win98/modem is for backup when the dsl rarely goes down.
I could have put a network card in it (also have to drill
hole in wall for cable)or a spare cd but letting the dialup
download run at night was less work.


LyX, as you may know, has two UNIX interfaces--one uses an XForms
frontend, the other uses the QT toolset--which is also that used by
KDE.



I was going to install KDE on Cygwin but they terminated the KDE
X11 port to Cygwin windows. They have a native port in the works now.


You will find that Internet surfing and most other activities you do
will go faster in Linux than in Windows--although there will be a
learning curve involved. If you have a few GB of hard drive space,
though, you can easily set up the machine to give you a choice at boot
time between Windows and Linux.



I like "yum install lyx" on FC4. I figured the user already knew about 
Linux when he asked his question about Win98 (Cygwin is not standalone)

so I was giving a win98 specific solution. I notice Bruce Byfield has
written several articles about O0o as superior for technical writing
than Word. But he doesn't think people are likely to change to it.




David



Regards,
Stephen



Re: Installing LyX 1.3.7 on Windows 98 - Solved very well

2006-06-05 Thread David Neeley

Yes, OOo is superior to Word for tech writing--but then, almost anything is!

I am trying to get far enough up the learning curve with LyX that I
can feel good about creating style files. Then, I intend to do a style
file for DITA--because I believe that LyX is, potentially, a far
better tech writing solution than anything else out there at the
moment. I also believe that DITA has advantages over most other
XML-based solutions for the purpose...and it should be far easier for
folks to learn and use consistently than DocBook, for instance.

Most folks still using Win98 should, in my opinion, seek other
solutions--especially if they want to keep using the same hardware.
That was the genesis of my suggestion to dual-boot with Linux. I am
not so charmed with Fedora--but then, I never really got into Red Hat
to begin with. Before I went to Kubuntu, I mostly used SuSE.

My main problem with Kubuntu at the moment is that the repository is
still behind the times with 1.3.7--I did the ./configure/make/make
install routine for 1.4.1.

David


Re: Installing LyX 1.3.7 on Windows 98 - DITA detour

2006-06-05 Thread Stephen Harris

David Neeley wrote:


I am trying to get far enough up the learning curve with LyX that I
can feel good about creating style files. Then, I intend to do a style
file for DITA--because I believe that LyX is, potentially, a far
better tech writing solution than anything else out there at the
moment. I also believe that DITA has advantages over most other
XML-based solutions for the purpose...and it should be far easier for
folks to learn and use consistently than DocBook, for instance.



Directions for tomorrow's techwriting

From:   David Neeley
Date:   Mon, Apr 22 2002 8:24 am
Groups: bit.listserv.techwr-l

Greetings!

"I would appreciate your thoughts about the direction
of technical writing departments and practices in the
near future. Specifically, I invite your comments
about my growing conviction that we will see a growing
methodology shift driven by increased understanding of
the benefits of creating documentation that is easy to
re-use and maintain. It appears clear that this will
in most cases be through employment of XML and
repository tools based upon this technology."

-

SH: The Docbook topic comes up occasionally. Chris Karakas
has done quite a bit of work producing with LyX, SGML, and
Latex. http://www.karakas-online.de/mySGML/ There is quite
a bit involved to get all the packages working together IMO.




My main problem with Kubuntu at the moment is that the repository is
still behind the times with 1.3.7--I did the ./configure/make/make
install routine for 1.4.1.

David



I use Redhat because it installs so easily. I'm not able to argue
the merits of Fedora vs. other Linux versions and also Rex Dieter
monitors this list and he produces Fedora rpms very quickly, so
I never have a problem with updates and LyX, it's very convenient.

For those reading who are not acquainted with DITA:

http://www.newsforge.com/article.pl?sid=06/05/05/1744245
DITA

"Over the last couple of years, Oasis Darwin Information Typing
Architecture (DITA) has been attracting a lot of attention among
technical writers -- so much so that it's starting to eat into
the market share of DocBook. Rather than being based on the
traditional book-chapter-section format, DITA is meant for creating
individual topics that you can combine and reuse in different types
of documentation and in different delivery formats. You can use
DITA to create just about any kind of documentation, but it's best
suited for Web content, online help, computer-based training,
knowledge bases, and FAQs.

Because DITA is based on XML, you can use any text or XML editor
to author DITA documents. Several editing tools both support DITA
and run on Linux. My text editor of choice is Emacs in conjunction
with psgmlx, which is what I use with DocBook. ...

Right now, the only way to convert a DITA document to a more usable
format on Linux is with the DITA Open Toolkit for Linux. The Open
Toolkit is easy to use and can transform DITA content to HTML,
XHTML, PDF, Eclipse Help, or RTF."

---

http://www-128.ibm.com/developerworks/xml/library/x-emacs/

I think (X)Emacs has been developed longer in this area.
I think Lyx 1.5 and 1.6 are slated to improve performance
for XML and Unicode. I'm not sure how easy it will be to
realize your goal, though I think it is a good idea. I've
seen the developers with expert opinions, Jose Matos and
Georg Baum express some interest in this topic. I think
information about other approaches might be helpful; so
much seems revolve around converting one format to another
these days in various database paradigms (thinking of AI).

Viva la Semantic Web!

Stephen







Re: Installing LyX 1.3.7 on Windows 98 - DITA detour

2006-06-05 Thread David Neeley

Yes, this is a topic I have been interested in for some years.
Creating documentation as a specialty seems an ideal use for LyX--at
least, as it may become in future.

One notion that becomes very important in document creation, updating,
and management in general is the notion of "chunking" into topics. One
firm that has built a business out of this idea is Information Mapping
Inc., although their methods are still somewhat controversial in the
field. Thinking of topical "chunking" is nearly an unnatural act for
many--but it may prove extremely useful if we are to get very far with
the implementation of XML-style technology in documentation.

One large problem is the lack of uniformity in the way people think of
and create documents. On the simplest level, that includes format
differences from individual to individual--format differences that are
aided and abetted by programs like Microsoft Word that allows--nay,
*encourages*--the profligate use of style tags and many ways to get a
particular visible result in a document.j

My interest in LyX has been powered by this observation, and the
thought that something must replace our existing tools if we are to
get the real benefits of the separation of content and form.

In short, the entire "what you get is what you mean" approach is long overdue!

However, the question remains whether LyX itself is the answer, or a
recast tool based around XML. In other words, all the "stuff" that
accompanies TeX and its complexity designed originally for typesetting
may make the learning curve sufficiently complex that many may find it
not to be worthwhile, especially for technical documentation that
lacks many of the needs of the scholarly dissertation, for example.

That is one thing I am attempting to determine by going through that
learning curve myself!

I delayed turning to LyX for several years, since for a time it
appeared to the casual observer to be somewhat of a dying application.
An aborted "Klyx" (kde specific) version, for example, did not appear
to be a sign of progress.

I believe, though, that if a stylesheet is made for the creation of
DITA topics, there is little of the TeX stuff that needs to be used at
all. Resulting topics could then be used by some as-yet-unidentified
DITA map/content management facility with very little learning curve
for the writers involved in topic content creation.

While I am personally fascinated with typography, we are a
comparatively dying breed these days, it seems.

One thing I am thinking of is the feasibility of a context-sensitive
right-click menu that would enable a quicker selection of a particular
style attribute rather than just the drop-down box in the present
interface. Such a dropdown could also be easily triggered with a
keyboard shortcut for those interested in true productivity--or
perhaps a handful of keyboard shortcuts for the principal style
designationsk, somewhat similar to the ones in FrameMaker.

LyX seems to be extremely useful for creating indexes, which seems to
me to be an often-neglected part of the written information trade.
Indexing, though, could become extremely significant in content
management--especially since indexing itself is in a major sense the
extraction and processing of metadata. Thus, the information chunks
represented by topic creation for content management may be best
served by creating index references at the time the topics are written
and placed in the repository originally. That would seem to permit the
locating and employment of the right chunks to meet any arbitrary
need. Then, creation of new documents as collections of these chunks
would be greatly eased.

Anyway, pardon my musings tonight...there is much that I am still at
sea about in this whole subject.

David

On 6/5/06, Stephen Harris <[EMAIL PROTECTED]> wrote:

David Neeley wrote:

> I am trying to get far enough up the learning curve with LyX that I
> can feel good about creating style files. Then, I intend to do a style
> file for DITA--because I believe that LyX is, potentially, a far
> better tech writing solution than anything else out there at the
> moment. I also believe that DITA has advantages over most other
> XML-based solutions for the purpose...and it should be far easier for
> folks to learn and use consistently than DocBook, for instance.
>



Re: Installing LyX 1.3.7 on Windows 98 - DITA detour

2006-06-05 Thread Stephen Harris

David Neeley wrote:


I delayed turning to LyX for several years, since for a time it
appeared to the casual observer to be somewhat of a dying application.
An aborted "Klyx" (kde specific) version, for example, did not appear
to be a sign of progress.



http://www.lyx.org/about/klyx.php




While I am personally fascinated with typography, we are a
comparatively dying breed these days, it seems.



Yes, it seems that way.


LyX seems to be extremely useful for creating indexes, which seems to
me to be an often-neglected part of the written information trade.
Indexing, though, could become extremely significant in content
management--especially since indexing itself is in a major sense the
extraction and processing of metadata. Thus, the information chunks
represented by topic creation for content management may be best
served by creating index references at the time the topics are written
and placed in the repository originally. That would seem to permit the
locating and employment of the right chunks to meet any arbitrary
need. Then, creation of new documents as collections of these chunks
would be greatly eased.



They say you can't judge a book by its cover but by its index.
It reminds me of Explore XY which takes for ages to finish.


http://explorexy.com/

CORRELATION – the process of establishing a relationship or connection 
between two or more subjects.


EXPLORATION – the process of traveling in or through an unfamiliar area 
in order to learn about it.


Correlation and exploration. Doing both, in depth, on the Internet was 
impossible. Not with search engines. Not with data mining. Not with 
crawlers or bots. Not with anything.


Until now. Introducing Explore XY.

Explore XY is a Knowledge Discovery Vehicle (KDVTM). A KDV is a radical, 
patented desktop application that explores all the web’s pages to find 
any correlation between two subjects. It reads a URL/web page and 
reports back text and source links that are relevant to connecting the 
two subjects.


Download it for free now!



Anyway, pardon my musings tonight...there is much that I am still at
sea about in this whole subject.

David

I enjoyed reading your thoughts and also "Techwriter's toolkits and 
directions for tomorrow" (long and deep response)" twirlers Bill Hall


Any port in a storm :-)
Stephen




Re: roman numbers

2006-06-05 Thread Eric Zollars

In the book class you can just use the ERT at the beginning of the document:
\pagenumbering{roman}

and in Chapter 1:
\pagenumbering{arabic}

no preamble needed.

Eric

Francois Engelbrecht wrote:

Dear lyx-users

I have almost completed writing a thesis using the book-type lyx
document. Unfortunately, I'm struggling to insert roman numbers for the
first few introductory pages, followed by usual arabic numbering
starting at Chapter 1. I know the solution has something to do with
inserting latex commands (listed in the users guide extended features) 
via the Preamble option. I'm struggling with the details of how to use

the Preamble. Would you please send me some advice?

best wishes,
Francois Engelbrecht
University of Pretoria
South Africa