sgml/xml and lyx

2005-02-21 Thread wenamun
hello all,as far as i understand you can edit sgml/xml-files with lyx, 
docbook-files that is. is it somehow possible to work with self-defined, 
arbitrary dtd's ? i want to edit tei-files with lyx and export them to pdf. 
frank



Re: sgml/xml and lyx

2005-02-21 Thread Jose' Matos
On Monday 21 February 2005 08:10, [EMAIL PROTECTED] wrote:
 hello all,as far as i understand you can edit sgml/xml-files with lyx,
 docbook-files that is. is it somehow possible to work with self-defined,
 arbitrary dtd's ?

  No, we are working on that, there is an entry in the bugzilla database 
requesting for tei support as an enhancement but we are not there (yet).

 i want to edit tei-files with lyx and export them to 
 pdf. frank

-- 
Jos Ablio


Re: Umlaute and sz (ß) not shown in Navigate and Table of contents

2005-02-21 Thread G. Milde
On 17.02.05, Georg Baum wrote:
 This is a known problem, because SuSE 9.2 uses an UTF8 environment and LyX 
 can't handle that. A workaround is described here: 
 http://bugzilla.lyx.org/show_bug.cgi?id=1755

As it seems to be a FAQ, I added an entry in the lyx wiki tips for it.

http://wiki.lyx.org/Tips/SettingLANG


Guenter

-- 
G.Milde web.de


Re: [noob q] Recursive sections?

2005-02-21 Thread Jose' Matos
On Saturday 19 February 2005 12:41, Glenn Davy wrote:
 Is there a template or layout readily available for lyx that will provide
 that type of functionality? Alternatively what are my other options for
 deeper nesting of subsections?

  No. At this time the only option is use the traditional scheme. I am sure 
that we will support that in later versions, but we are not there yet.

 Thanks

 Glenn

-- 
Jos Ablio


Re: [noob q] Recursive sections?

2005-02-21 Thread Juergen Spitzmueller
Glenn Davy wrote:
 Is there a template or layout readily available for lyx that will provide
 that type of functionality? 

If you need a way to switch easily between article kind of classes (where 
section is the uppermost level) and book (which has chapter one level 
higher), then you might try the memoir class, which is a book kind of class, 
but provides an article emulation.

There's also the LaTeX package outliner, which lets you use \Level 1, \Level 
2 etc. instead of the section stuff.
ftp://ftp.dante.de/tex-archive/macros/latex/contrib/outliner
These macros aren't supported by LyX natively. You either have to write a 
layout file or use ERT.

 Alternatively what are my other options for
 deeper nesting of subsections?

You can use subsubsections, paragraphs and subparagraphs. In 
Layout-Document-Numbering, you can change the numbering depth to get the 
subsubsections and paragraphs numbered, or even create subsubsubsections, as 
described here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=subsubsub

However, at least in German typography, sectioning level higher than 3 digits 
(e.g. 1.3.2.2) is considered bad style and a symptom that the author hasn't 
thought about his document structure well enough.

HTH,
Jürgen


Re: [nooby q] 'linked' text flow

2005-02-21 Thread Andre Poenitz
On Sat, Feb 19, 2005 at 11:53:01PM +1100, Glenn Davy wrote:
 I imagine given the 'structured' nature of lyx that this isn't possible?

It's almost impossible to do with (La)TeX, so it is not exactly LyX's
fault that this is not possible.

 Correct? Is it however possible to use some LaTeX tricks to achieve this?

Not really.

 Perhaps use LaTex to 'flow' a Lyx 'article' through some equivalent?
 Another possible solution?

There is an example in Knuth's TeXbook that shows text floating around a
circle, but you have to manually compute all the line length needed and
it is a real pain to do so for more than one paragraph. It might be
possible to automate that task a bit, but this is not on LyX's radar so
far.

Andre'


Re: [nooby q] 'linked' text flow

2005-02-21 Thread Herbert Voss
Andre Poenitz wrote:
There is an example in Knuth's TeXbook that shows text floating around a
circle, but you have to manually compute all the line length needed and
it is a real pain to do so for more than one paragraph. It might be
possible to automate that task a bit, but this is not on LyX's radar so
far.
- shapepar.sty
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: sgml/xml and lyx

2005-02-21 Thread Matej Cepl
Jose' Matos wrote:
 [EMAIL PROTECTED] wrote:
 hello all,as far as i understand you can edit sgml/xml-files with lyx,
 docbook-files that is. is it somehow possible to work with self-defined,
 arbitrary dtd's ?
 
   No, we are working on that, there is an entry in the bugzilla database
 requesting for tei support as an enhancement but we are not there (yet).

And acutally, you cannot edit Docbook/XML, just Docbook/SGML (unless you
create special type in Edit/Preferences and then set up some creative way
how to translate between XML and SGML).

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
He inherited some good instincts from his Quaker forebears, but
by diligent hard work, he overcame them.
  -- James Reston
 (about Richard Nixon)



Re: sgml/xml and lyx

2005-02-21 Thread Jose' Matos
On Monday 21 February 2005 17:09, Matej Cepl wrote:
 And acutally, you cannot edit Docbook/XML, just Docbook/SGML (unless you
 create special type in Edit/Preferences and then set up some creative way
 how to translate between XML and SGML).

  It is possible (read I have done it before ;-).
  It will be possible under 1.4.x to output both formats.

 Matej

-- 
José Abílio


Re: How to set up book-like footnotes

2005-02-21 Thread Matej Cepl
Jack M. Lyon wrote:

 Here's a way to set up standard, book-like footnotes in LyX--in other
 words, notes that look like this:

http://groups-beta.google.com/group/linux.gentoo.user/msg/ee3217f5c4dd9a70

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
As a rule of thumb, the more qualifiers there are before the name
of a country, the more corrupt the rulers. A country called The
Socialist People's Democratic Republic of X is probably the last
place in the world you'd want to live.
 -- Paul Graham discussing (not only) Nigerian spam
(http://www.paulgraham.com/spam.html)



Re: Custom import filter

2005-02-21 Thread Matej Cepl
Jack M. Lyon wrote:
 It would be most cool if I could import such text directly into LyX. There
 must be a way to do this, but I can't figure it out from the
 documentation. I'd be grateful for any tips.

It is not well documented, but you can do it -- create your new type file
(in Edit/Preferences/File Formats) and then in Edit/Preferences/Converters
define a way how to translate it (with some external program) into some
format which is supported by LyX. You can repeat with intermediate formats
as well.

 The EDITORIUM
 Microsoft Word Add-Ins for Publishing Professionals
 http://www.editorium.com

Like remove M$-Windows and install Linux w/ LyX? :-)

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
In those days spirits were brave, the stakes were high, men were
real men, women were real women and small furry creatures from
Alpha Centauri were real small furry creatures from Alpha
Centauri.
-- Douglas Adams



Re: Using a LaTeX class file in LyX

2005-02-21 Thread Matej Cepl
Bren Mochocki wrote:
 I am under the impression that a document class file cannot be directly
 used in LyX, it must be converted into a template first.  Is this the
 case?  If so, how do I create the template?  If not, how do I use the
 class file?

More or less you are correct, except that document class file is not
CONVERTED, but the additional .layout file is created to help LyX
understand what is necessary from the class file. You will find a help how
to do it in Help/Customization.

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
There are lies, damned lies, and quotes from literary icons.




Re: Adding a Command in the ToC -- RESOLVED

2005-02-21 Thread Eric S Fraga
On Sat, Feb 19, 2005 at 12:02:34AM +0530, samar j. singh wrote:
 Well, I've resolved this one, too, by decreasing the ToC depth by one
  level. Takes two pages off the total count, has no widow item on the last
  page and actually looks better without all the clutter.
 
 For future reference, is there a way to manipulate page layout within
 the
  ToC?
 
 Not quite sure what you mean by manipulating page layout, but if you want to
 add to a particular entry
 in the toc, you can go as follows for instance where all the stuff in the
 last set of curly braces will be added to your table of contents. There is a
 historical tendency to have such tables of contents in philosophical works.
 
 \addcontentsline{toc}{section}{Adding your own text to Table of Contents -
 Normal method of generating Table of Contents - Doing a bit more work to
 insert extra text - Similarity with other structures such as chapters}
 
 Understandably this would have to go in as an ERT directly after the
 particular section (in this case) entry that you would want to modify.
 
 The other way is to edit the toc file. I am not sure you can do that  while
 using  lyx but I believe I have done that  in my latex days.

I have a related question that maybe you can help with. I often find I was
to manipulate slightly the inter-item spacing for bibliography entries
generated by the BibTeX Generated References LyX directive. Unfortunately,
any reference to itemsep before or after this gray box has no effect and the
only way I can get things the way I want them is to edit the latex (well,
the bibtex generated) code itself.  Is there any way to pass options to the
LyX bibtex generation entry?

cheers,
eric

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


Re: NEWBIE Q: how do I eliminate \usepackage[T1]{fontenc}

2005-02-21 Thread mario
On Mon, 2005-02-21 at 00:48, Uwe Stöhr wrote:
 mario wrote:
 
  It seems to me that Lyx insert the following two lines by default
  
  \usepackage[T1]{fontenc}
  \usepackage[latin1]{inputenc}
  
  I would like not to have them
 
 Why? Do you have a good reason for that and know what these packages do?
 
 Without inputenc, you won't be able to insert accented and other 
 non-english characters directly.
 fontenc is the encoding for the font in your document, T1 is the 
 encoding for latin letters.

Usually, I don't use them.  (I type \`{a} for à)
However, my present issue is a different one: say I process my file.tex
by pdflatex as to get file.pdf. If I have used fontenc and/or inputenc,
the acroread viewer displays file.pdf in a very weird way, characters
are somehow distorted. Note that file.pdf looks fine if displayed by
some other viewer. Anybody knows what it is going on?

Anyway, may I force Lyx somehow not to use fontenc/inputenc?
Thanks 
mario

 



 
 regards Uwe
 



Re: NEWBIE Q: how do I eliminate \usepackage[T1]{fontenc}

2005-02-21 Thread Uwe Stöhr
mario wrote:
Usually, I don't use them.  (I type \`{a} for à)
If this is an advantage for you.
However, my present issue is a different one: say I process my file.tex
by pdflatex as to get file.pdf. If I have used fontenc and/or inputenc,
the acroread viewer displays file.pdf in a very weird way, characters
are somehow distorted. Note that file.pdf looks fine if displayed by
some other viewer. Anybody knows what it is going on?
Acroread has problems to display bitmap-fonts, see
http://wiki.lyx.org/FAQ/PDF#badFonts
Anyway, may I force Lyx somehow not to use fontenc/inputenc?
inptenc: Layout - Docuemtn - Language - Encoding: default
fontenc: not that I know.
regards Uwe


Re: NEWBIE Q: how do I eliminate \usepackage[T1]{fontenc}

2005-02-21 Thread Herbert Voss
mario wrote:
Usually, I don't use them.  (I type \`{a} for à)
h, makes no sense with LyX and german docs
However, my present issue is a different one: say I process my file.tex
by pdflatex as to get file.pdf. If I have used fontenc and/or inputenc,
the acroread viewer displays file.pdf in a very weird way, characters
are somehow distorted. Note that file.pdf looks fine if displayed by
some other viewer. Anybody knows what it is going on?
\usepackage{lmodern}
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


RE: [nooby q] 'linked' text flow

2005-02-21 Thread Glenn Davy
Hi Rich and group
I'm getting the idea that its not going to happen this for me.
However, as you suggest I'll state what I had in mind JIC.

In the late '80s and early '90's  I did a lot of work in, pagestream on the
Atari ST, and then pagemaker.

What I would do is edit 'stories' using styles (which I now know is analog
to class in lyx), then 'place' them on the page, often breaking the story up
and interleaving it 'zine style with other stories etc. 

So now I know that lyx has no pretentions when it comes to 'pagelayout',
however its strict use of 'classes' means that it's a model editor for
articles/stories etc. I'm hoping I can then 'import' these lyx or latex
files into another pagelayout tool, which will understand and respect the
lxy template/class system.

I'm guessing the answer is no, however will be interested to hear otherwise.
If not no worries, I'll just continue my journey into lyx,latex,tex and a
less urgent rate

 Thx
Glenn

-Original Message-
From: Rich Shepard [mailto:[EMAIL PROTECTED] 
Sent: Sunday, 20 February 2005 9:38 AM
To: lyx-users@lists.lyx.org
Subject: RE: [nooby q] 'linked' text flow

On Sun, 20 Feb 2005, Glenn Davy wrote:

 Does anyone know of a page layout tools that an utilise content created
 with Lyx/LaTex and 'lay' it out in a manner described? Lyx seems like a
 great way to author content.

Glenn,

   It still looks like you are asking for more work than you need. From the
above I think you really want a page layout program (i.e., Scribus) for your
product and output, but you don't want to write in that environment.

   You have two options: 1) write in LyX then use File-Export-ASCII or B)
use a plain text editor (emacs, vim, joe, ...) and skip the intervening
step. I assume that page layout programs accept plain text as input.

   Perhaps you can explain what you want to accomplish. Then we can offer
more focused sugestions.

HTH,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863




Re: Adding a Command in the ToC -- RESOLVED

2005-02-21 Thread samar j. singh
Eric Fraga wrote
 I have a related question that maybe you can help with. I often find I was
 to manipulate slightly the inter-item spacing for bibliography entries
 generated by the BibTeX Generated References LyX directive.
Unfortunately,
 any reference to itemsep before or after this gray box has no effect and
the
 only way I can get things the way I want them is to edit the latex (well,
 the bibtex generated) code itself.  Is there any way to pass options to
the
 LyX bibtex generation entry?

I  think you may need to look at Section 13.8 of Goosen's The Latex
Companion
which has stuff about making small changes in a bibtex style file.
Good luck

samar




sgml/xml and lyx

2005-02-21 Thread wenamun
hello all,as far as i understand you can edit sgml/xml-files with lyx, 
docbook-files that is. is it somehow possible to work with self-defined, 
arbitrary dtd's ? i want to edit tei-files with lyx and export them to pdf. 
frank



Re: sgml/xml and lyx

2005-02-21 Thread Jose' Matos
On Monday 21 February 2005 08:10, [EMAIL PROTECTED] wrote:
 hello all,as far as i understand you can edit sgml/xml-files with lyx,
 docbook-files that is. is it somehow possible to work with self-defined,
 arbitrary dtd's ?

  No, we are working on that, there is an entry in the bugzilla database 
requesting for tei support as an enhancement but we are not there (yet).

 i want to edit tei-files with lyx and export them to 
 pdf. frank

-- 
Jos Ablio


Re: Umlaute and sz (ß) not shown in Navigate and Table of contents

2005-02-21 Thread G. Milde
On 17.02.05, Georg Baum wrote:
 This is a known problem, because SuSE 9.2 uses an UTF8 environment and LyX 
 can't handle that. A workaround is described here: 
 http://bugzilla.lyx.org/show_bug.cgi?id=1755

As it seems to be a FAQ, I added an entry in the lyx wiki tips for it.

http://wiki.lyx.org/Tips/SettingLANG


Guenter

-- 
G.Milde web.de


Re: [noob q] Recursive sections?

2005-02-21 Thread Jose' Matos
On Saturday 19 February 2005 12:41, Glenn Davy wrote:
 Is there a template or layout readily available for lyx that will provide
 that type of functionality? Alternatively what are my other options for
 deeper nesting of subsections?

  No. At this time the only option is use the traditional scheme. I am sure 
that we will support that in later versions, but we are not there yet.

 Thanks

 Glenn

-- 
Jos Ablio


Re: [noob q] Recursive sections?

2005-02-21 Thread Juergen Spitzmueller
Glenn Davy wrote:
 Is there a template or layout readily available for lyx that will provide
 that type of functionality? 

If you need a way to switch easily between article kind of classes (where 
section is the uppermost level) and book (which has chapter one level 
higher), then you might try the memoir class, which is a book kind of class, 
but provides an article emulation.

There's also the LaTeX package outliner, which lets you use \Level 1, \Level 
2 etc. instead of the section stuff.
ftp://ftp.dante.de/tex-archive/macros/latex/contrib/outliner
These macros aren't supported by LyX natively. You either have to write a 
layout file or use ERT.

 Alternatively what are my other options for
 deeper nesting of subsections?

You can use subsubsections, paragraphs and subparagraphs. In 
Layout-Document-Numbering, you can change the numbering depth to get the 
subsubsections and paragraphs numbered, or even create subsubsubsections, as 
described here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=subsubsub

However, at least in German typography, sectioning level higher than 3 digits 
(e.g. 1.3.2.2) is considered bad style and a symptom that the author hasn't 
thought about his document structure well enough.

HTH,
Jürgen


Re: [nooby q] 'linked' text flow

2005-02-21 Thread Andre Poenitz
On Sat, Feb 19, 2005 at 11:53:01PM +1100, Glenn Davy wrote:
 I imagine given the 'structured' nature of lyx that this isn't possible?

It's almost impossible to do with (La)TeX, so it is not exactly LyX's
fault that this is not possible.

 Correct? Is it however possible to use some LaTeX tricks to achieve this?

Not really.

 Perhaps use LaTex to 'flow' a Lyx 'article' through some equivalent?
 Another possible solution?

There is an example in Knuth's TeXbook that shows text floating around a
circle, but you have to manually compute all the line length needed and
it is a real pain to do so for more than one paragraph. It might be
possible to automate that task a bit, but this is not on LyX's radar so
far.

Andre'


Re: [nooby q] 'linked' text flow

2005-02-21 Thread Herbert Voss
Andre Poenitz wrote:
There is an example in Knuth's TeXbook that shows text floating around a
circle, but you have to manually compute all the line length needed and
it is a real pain to do so for more than one paragraph. It might be
possible to automate that task a bit, but this is not on LyX's radar so
far.
- shapepar.sty
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: sgml/xml and lyx

2005-02-21 Thread Matej Cepl
Jose' Matos wrote:
 [EMAIL PROTECTED] wrote:
 hello all,as far as i understand you can edit sgml/xml-files with lyx,
 docbook-files that is. is it somehow possible to work with self-defined,
 arbitrary dtd's ?
 
   No, we are working on that, there is an entry in the bugzilla database
 requesting for tei support as an enhancement but we are not there (yet).

And acutally, you cannot edit Docbook/XML, just Docbook/SGML (unless you
create special type in Edit/Preferences and then set up some creative way
how to translate between XML and SGML).

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
He inherited some good instincts from his Quaker forebears, but
by diligent hard work, he overcame them.
  -- James Reston
 (about Richard Nixon)



Re: sgml/xml and lyx

2005-02-21 Thread Jose' Matos
On Monday 21 February 2005 17:09, Matej Cepl wrote:
 And acutally, you cannot edit Docbook/XML, just Docbook/SGML (unless you
 create special type in Edit/Preferences and then set up some creative way
 how to translate between XML and SGML).

  It is possible (read I have done it before ;-).
  It will be possible under 1.4.x to output both formats.

 Matej

-- 
José Abílio


Re: How to set up book-like footnotes

2005-02-21 Thread Matej Cepl
Jack M. Lyon wrote:

 Here's a way to set up standard, book-like footnotes in LyX--in other
 words, notes that look like this:

http://groups-beta.google.com/group/linux.gentoo.user/msg/ee3217f5c4dd9a70

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
As a rule of thumb, the more qualifiers there are before the name
of a country, the more corrupt the rulers. A country called The
Socialist People's Democratic Republic of X is probably the last
place in the world you'd want to live.
 -- Paul Graham discussing (not only) Nigerian spam
(http://www.paulgraham.com/spam.html)



Re: Custom import filter

2005-02-21 Thread Matej Cepl
Jack M. Lyon wrote:
 It would be most cool if I could import such text directly into LyX. There
 must be a way to do this, but I can't figure it out from the
 documentation. I'd be grateful for any tips.

It is not well documented, but you can do it -- create your new type file
(in Edit/Preferences/File Formats) and then in Edit/Preferences/Converters
define a way how to translate it (with some external program) into some
format which is supported by LyX. You can repeat with intermediate formats
as well.

 The EDITORIUM
 Microsoft Word Add-Ins for Publishing Professionals
 http://www.editorium.com

Like remove M$-Windows and install Linux w/ LyX? :-)

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
In those days spirits were brave, the stakes were high, men were
real men, women were real women and small furry creatures from
Alpha Centauri were real small furry creatures from Alpha
Centauri.
-- Douglas Adams



Re: Using a LaTeX class file in LyX

2005-02-21 Thread Matej Cepl
Bren Mochocki wrote:
 I am under the impression that a document class file cannot be directly
 used in LyX, it must be converted into a template first.  Is this the
 case?  If so, how do I create the template?  If not, how do I use the
 class file?

More or less you are correct, except that document class file is not
CONVERTED, but the additional .layout file is created to help LyX
understand what is necessary from the class file. You will find a help how
to do it in Help/Customization.

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
There are lies, damned lies, and quotes from literary icons.




Re: Adding a Command in the ToC -- RESOLVED

2005-02-21 Thread Eric S Fraga
On Sat, Feb 19, 2005 at 12:02:34AM +0530, samar j. singh wrote:
 Well, I've resolved this one, too, by decreasing the ToC depth by one
  level. Takes two pages off the total count, has no widow item on the last
  page and actually looks better without all the clutter.
 
 For future reference, is there a way to manipulate page layout within
 the
  ToC?
 
 Not quite sure what you mean by manipulating page layout, but if you want to
 add to a particular entry
 in the toc, you can go as follows for instance where all the stuff in the
 last set of curly braces will be added to your table of contents. There is a
 historical tendency to have such tables of contents in philosophical works.
 
 \addcontentsline{toc}{section}{Adding your own text to Table of Contents -
 Normal method of generating Table of Contents - Doing a bit more work to
 insert extra text - Similarity with other structures such as chapters}
 
 Understandably this would have to go in as an ERT directly after the
 particular section (in this case) entry that you would want to modify.
 
 The other way is to edit the toc file. I am not sure you can do that  while
 using  lyx but I believe I have done that  in my latex days.

I have a related question that maybe you can help with. I often find I was
to manipulate slightly the inter-item spacing for bibliography entries
generated by the BibTeX Generated References LyX directive. Unfortunately,
any reference to itemsep before or after this gray box has no effect and the
only way I can get things the way I want them is to edit the latex (well,
the bibtex generated) code itself.  Is there any way to pass options to the
LyX bibtex generation entry?

cheers,
eric

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


Re: NEWBIE Q: how do I eliminate \usepackage[T1]{fontenc}

2005-02-21 Thread mario
On Mon, 2005-02-21 at 00:48, Uwe Stöhr wrote:
 mario wrote:
 
  It seems to me that Lyx insert the following two lines by default
  
  \usepackage[T1]{fontenc}
  \usepackage[latin1]{inputenc}
  
  I would like not to have them
 
 Why? Do you have a good reason for that and know what these packages do?
 
 Without inputenc, you won't be able to insert accented and other 
 non-english characters directly.
 fontenc is the encoding for the font in your document, T1 is the 
 encoding for latin letters.

Usually, I don't use them.  (I type \`{a} for à)
However, my present issue is a different one: say I process my file.tex
by pdflatex as to get file.pdf. If I have used fontenc and/or inputenc,
the acroread viewer displays file.pdf in a very weird way, characters
are somehow distorted. Note that file.pdf looks fine if displayed by
some other viewer. Anybody knows what it is going on?

Anyway, may I force Lyx somehow not to use fontenc/inputenc?
Thanks 
mario

 



 
 regards Uwe
 



Re: NEWBIE Q: how do I eliminate \usepackage[T1]{fontenc}

2005-02-21 Thread Uwe Stöhr
mario wrote:
Usually, I don't use them.  (I type \`{a} for à)
If this is an advantage for you.
However, my present issue is a different one: say I process my file.tex
by pdflatex as to get file.pdf. If I have used fontenc and/or inputenc,
the acroread viewer displays file.pdf in a very weird way, characters
are somehow distorted. Note that file.pdf looks fine if displayed by
some other viewer. Anybody knows what it is going on?
Acroread has problems to display bitmap-fonts, see
http://wiki.lyx.org/FAQ/PDF#badFonts
Anyway, may I force Lyx somehow not to use fontenc/inputenc?
inptenc: Layout - Docuemtn - Language - Encoding: default
fontenc: not that I know.
regards Uwe


Re: NEWBIE Q: how do I eliminate \usepackage[T1]{fontenc}

2005-02-21 Thread Herbert Voss
mario wrote:
Usually, I don't use them.  (I type \`{a} for à)
h, makes no sense with LyX and german docs
However, my present issue is a different one: say I process my file.tex
by pdflatex as to get file.pdf. If I have used fontenc and/or inputenc,
the acroread viewer displays file.pdf in a very weird way, characters
are somehow distorted. Note that file.pdf looks fine if displayed by
some other viewer. Anybody knows what it is going on?
\usepackage{lmodern}
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


RE: [nooby q] 'linked' text flow

2005-02-21 Thread Glenn Davy
Hi Rich and group
I'm getting the idea that its not going to happen this for me.
However, as you suggest I'll state what I had in mind JIC.

In the late '80s and early '90's  I did a lot of work in, pagestream on the
Atari ST, and then pagemaker.

What I would do is edit 'stories' using styles (which I now know is analog
to class in lyx), then 'place' them on the page, often breaking the story up
and interleaving it 'zine style with other stories etc. 

So now I know that lyx has no pretentions when it comes to 'pagelayout',
however its strict use of 'classes' means that it's a model editor for
articles/stories etc. I'm hoping I can then 'import' these lyx or latex
files into another pagelayout tool, which will understand and respect the
lxy template/class system.

I'm guessing the answer is no, however will be interested to hear otherwise.
If not no worries, I'll just continue my journey into lyx,latex,tex and a
less urgent rate

 Thx
Glenn

-Original Message-
From: Rich Shepard [mailto:[EMAIL PROTECTED] 
Sent: Sunday, 20 February 2005 9:38 AM
To: lyx-users@lists.lyx.org
Subject: RE: [nooby q] 'linked' text flow

On Sun, 20 Feb 2005, Glenn Davy wrote:

 Does anyone know of a page layout tools that an utilise content created
 with Lyx/LaTex and 'lay' it out in a manner described? Lyx seems like a
 great way to author content.

Glenn,

   It still looks like you are asking for more work than you need. From the
above I think you really want a page layout program (i.e., Scribus) for your
product and output, but you don't want to write in that environment.

   You have two options: 1) write in LyX then use File-Export-ASCII or B)
use a plain text editor (emacs, vim, joe, ...) and skip the intervening
step. I assume that page layout programs accept plain text as input.

   Perhaps you can explain what you want to accomplish. Then we can offer
more focused sugestions.

HTH,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863




Re: Adding a Command in the ToC -- RESOLVED

2005-02-21 Thread samar j. singh
Eric Fraga wrote
 I have a related question that maybe you can help with. I often find I was
 to manipulate slightly the inter-item spacing for bibliography entries
 generated by the BibTeX Generated References LyX directive.
Unfortunately,
 any reference to itemsep before or after this gray box has no effect and
the
 only way I can get things the way I want them is to edit the latex (well,
 the bibtex generated) code itself.  Is there any way to pass options to
the
 LyX bibtex generation entry?

I  think you may need to look at Section 13.8 of Goosen's The Latex
Companion
which has stuff about making small changes in a bibtex style file.
Good luck

samar




sgml/xml and lyx

2005-02-21 Thread wenamun
hello all,as far as i understand you can edit sgml/xml-files with lyx, 
docbook-files that is. is it somehow possible to work with self-defined, 
arbitrary dtd's ? i want to edit tei-files with lyx and export them to pdf. 
frank



Re: sgml/xml and lyx

2005-02-21 Thread Jose' Matos
On Monday 21 February 2005 08:10, [EMAIL PROTECTED] wrote:
> hello all,as far as i understand you can edit sgml/xml-files with lyx,
> docbook-files that is. is it somehow possible to work with self-defined,
> arbitrary dtd's ?

  No, we are working on that, there is an entry in the bugzilla database 
requesting for tei support as an enhancement but we are not there (yet).

> i want to edit tei-files with lyx and export them to 
> pdf. frank

-- 
Josà AbÃlio


Re: Umlaute and sz (ß) not shown in Navigate and Table of contents

2005-02-21 Thread G. Milde
On 17.02.05, Georg Baum wrote:
> This is a known problem, because SuSE 9.2 uses an UTF8 environment and LyX 
> can't handle that. A workaround is described here: 
> http://bugzilla.lyx.org/show_bug.cgi?id=1755

As it seems to be a FAQ, I added an entry in the lyx wiki tips for it.

http://wiki.lyx.org/Tips/SettingLANG


Guenter

-- 
G.Milde web.de


Re: [noob q] Recursive sections?

2005-02-21 Thread Jose' Matos
On Saturday 19 February 2005 12:41, Glenn Davy wrote:
> Is there a template or layout readily available for lyx that will provide
> that type of functionality? Alternatively what are my other options for
> deeper nesting of subsections?

  No. At this time the only option is use the traditional scheme. I am sure 
that we will support that in later versions, but we are not there yet.

> Thanks
>
> Glenn

-- 
Josà AbÃlio


Re: [noob q] Recursive sections?

2005-02-21 Thread Juergen Spitzmueller
Glenn Davy wrote:
> Is there a template or layout readily available for lyx that will provide
> that type of functionality? 

If you need a way to switch easily between article kind of classes (where 
section is the uppermost level) and book (which has chapter one level 
higher), then you might try the memoir class, which is a book kind of class, 
but provides an article emulation.

There's also the LaTeX package "outliner", which lets you use \Level 1, \Level 
2 etc. instead of the section stuff.
ftp://ftp.dante.de/tex-archive/macros/latex/contrib/outliner
These macros aren't supported by LyX natively. You either have to write a 
layout file or use ERT.

> Alternatively what are my other options for
> deeper nesting of subsections?

You can use subsubsections, paragraphs and subparagraphs. In 
Layout->Document->Numbering, you can change the numbering depth to get the 
subsubsections and paragraphs numbered, or even create subsubsubsections, as 
described here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=subsubsub

However, at least in German typography, sectioning level higher than 3 digits 
(e.g. 1.3.2.2) is considered bad style and a symptom that the author hasn't 
thought about his document structure well enough.

HTH,
Jürgen


Re: [nooby q] 'linked' text flow

2005-02-21 Thread Andre Poenitz
On Sat, Feb 19, 2005 at 11:53:01PM +1100, Glenn Davy wrote:
> I imagine given the 'structured' nature of lyx that this isn't possible?

It's almost impossible to do with (La)TeX, so it is not exactly LyX's
fault that this is not possible.

> Correct? Is it however possible to use some LaTeX tricks to achieve this?

Not really.

> Perhaps use LaTex to 'flow' a Lyx 'article' through some equivalent?
> Another possible solution?

There is an example in Knuth's TeXbook that shows text floating around a
circle, but you have to manually compute all the line length needed and
it is a real pain to do so for more than one paragraph. It might be
possible to automate that task a bit, but this is not on LyX's radar so
far.

Andre'


Re: [nooby q] 'linked' text flow

2005-02-21 Thread Herbert Voss
Andre Poenitz wrote:
There is an example in Knuth's TeXbook that shows text floating around a
circle, but you have to manually compute all the line length needed and
it is a real pain to do so for more than one paragraph. It might be
possible to automate that task a bit, but this is not on LyX's radar so
far.
-> shapepar.sty
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: sgml/xml and lyx

2005-02-21 Thread Matej Cepl
Jose' Matos wrote:
> [EMAIL PROTECTED] wrote:
>> hello all,as far as i understand you can edit sgml/xml-files with lyx,
>> docbook-files that is. is it somehow possible to work with self-defined,
>> arbitrary dtd's ?
> 
>   No, we are working on that, there is an entry in the bugzilla database
> requesting for tei support as an enhancement but we are not there (yet).

And acutally, you cannot edit Docbook/XML, just Docbook/SGML (unless you
create special type in Edit/Preferences and then set up some creative way
how to translate between XML and SGML).

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
He inherited some good instincts from his Quaker forebears, but
by diligent hard work, he overcame them.
  -- James Reston
 (about Richard Nixon)



Re: sgml/xml and lyx

2005-02-21 Thread Jose' Matos
On Monday 21 February 2005 17:09, Matej Cepl wrote:
> And acutally, you cannot edit Docbook/XML, just Docbook/SGML (unless you
> create special type in Edit/Preferences and then set up some creative way
> how to translate between XML and SGML).

  It is possible (read I have done it before ;-).
  It will be possible under 1.4.x to output both formats.

> Matej

-- 
José Abílio


Re: How to set up book-like footnotes

2005-02-21 Thread Matej Cepl
Jack M. Lyon wrote:

> Here's a way to set up standard, book-like footnotes in LyX--in other
> words, notes that look like this:

http://groups-beta.google.com/group/linux.gentoo.user/msg/ee3217f5c4dd9a70

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
As a rule of thumb, the more qualifiers there are before the name
of a country, the more corrupt the rulers. A country called The
Socialist People's Democratic Republic of X is probably the last
place in the world you'd want to live.
 -- Paul Graham discussing (not only) Nigerian spam
(http://www.paulgraham.com/spam.html)



Re: Custom import filter

2005-02-21 Thread Matej Cepl
Jack M. Lyon wrote:
> It would be most cool if I could import such text directly into LyX. There
> must be a way to do this, but I can't figure it out from the
> documentation. I'd be grateful for any tips.

It is not well documented, but you can do it -- create your new type file
(in Edit/Preferences/File Formats) and then in Edit/Preferences/Converters
define a way how to translate it (with some external program) into some
format which is supported by LyX. You can repeat with intermediate formats
as well.

> The EDITORIUM
> Microsoft Word Add-Ins for Publishing Professionals
> http://www.editorium.com

Like "remove M$-Windows and install Linux w/ LyX?" :-)

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
In those days spirits were brave, the stakes were high, men were
real men, women were real women and small furry creatures from
Alpha Centauri were real small furry creatures from Alpha
Centauri.
-- Douglas Adams



Re: Using a LaTeX class file in LyX

2005-02-21 Thread Matej Cepl
Bren Mochocki wrote:
> I am under the impression that a document class file cannot be directly
> used in LyX, it must be converted into a template first.  Is this the
> case?  If so, how do I create the template?  If not, how do I use the
> class file?

More or less you are correct, except that document class file is not
CONVERTED, but the additional .layout file is created to help LyX
understand what is necessary from the class file. You will find a help how
to do it in Help/Customization.

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
There are lies, damned lies, and quotes from literary icons.




Re: Adding a Command in the ToC -- RESOLVED

2005-02-21 Thread Eric S Fraga
On Sat, Feb 19, 2005 at 12:02:34AM +0530, samar j. singh wrote:
> >Well, I've resolved this one, too, by decreasing the ToC depth by one
> > level. Takes two pages off the total count, has no widow item on the last
> > page and actually looks better without all the clutter.
> >
> >For future reference, is there a way to manipulate page layout within
> the
> > ToC?
> >
> Not quite sure what you mean by manipulating page layout, but if you want to
> add to a particular entry
> in the toc, you can go as follows for instance where all the stuff in the
> last set of curly braces will be added to your table of contents. There is a
> historical tendency to have such tables of contents in philosophical works.
> 
> \addcontentsline{toc}{section}{Adding your own text to Table of Contents -
> Normal method of generating Table of Contents - Doing a bit more work to
> insert extra text - Similarity with other structures such as chapters}
> 
> Understandably this would have to go in as an ERT directly after the
> particular section (in this case) entry that you would want to modify.
> 
> The other way is to edit the toc file. I am not sure you can do that  while
> using  lyx but I believe I have done that  in my latex days.

I have a related question that maybe you can help with. I often find I was
to manipulate slightly the inter-item spacing for bibliography entries
generated by the "BibTeX Generated References" LyX directive. Unfortunately,
any reference to itemsep before or after this gray box has no effect and the
only way I can get things the way I want them is to edit the latex (well,
the bibtex generated) code itself.  Is there any way to pass options to the
LyX bibtex generation entry?

cheers,
eric

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


Re: NEWBIE Q: how do I eliminate \usepackage[T1]{fontenc}

2005-02-21 Thread mario
On Mon, 2005-02-21 at 00:48, Uwe Stöhr wrote:
> mario wrote:
> 
> > It seems to me that Lyx insert the following two lines by default
> > 
> > \usepackage[T1]{fontenc}
> > \usepackage[latin1]{inputenc}
> > 
> > I would like not to have them
> 
> Why? Do you have a good reason for that and know what these packages do?
> 
> Without inputenc, you won't be able to insert accented and other 
> non-english characters directly.
> fontenc is the encoding for the font in your document, T1 is the 
> encoding for latin letters.

Usually, I don't use them.  (I type \`{a} for à)
However, my present issue is a different one: say I process my file.tex
by pdflatex as to get file.pdf. If I have used fontenc and/or inputenc,
the acroread viewer displays file.pdf in a very weird way, characters
are somehow distorted. Note that file.pdf looks fine if displayed by
some other viewer. Anybody knows what it is going on?

Anyway, may I force Lyx somehow not to use fontenc/inputenc?
Thanks 
mario

 



> 
> regards Uwe
> 



Re: NEWBIE Q: how do I eliminate \usepackage[T1]{fontenc}

2005-02-21 Thread Uwe Stöhr
mario wrote:
Usually, I don't use them.  (I type \`{a} for à)
If this is an advantage for you.
However, my present issue is a different one: say I process my file.tex
by pdflatex as to get file.pdf. If I have used fontenc and/or inputenc,
the acroread viewer displays file.pdf in a very weird way, characters
are somehow distorted. Note that file.pdf looks fine if displayed by
some other viewer. Anybody knows what it is going on?
Acroread has problems to display bitmap-fonts, see
http://wiki.lyx.org/FAQ/PDF#badFonts
Anyway, may I force Lyx somehow not to use fontenc/inputenc?
inptenc: Layout -> Docuemtn -> Language -> Encoding: default
fontenc: not that I know.
regards Uwe


Re: NEWBIE Q: how do I eliminate \usepackage[T1]{fontenc}

2005-02-21 Thread Herbert Voss
mario wrote:
Usually, I don't use them.  (I type \`{a} for à)
h, makes no sense with LyX and german docs
However, my present issue is a different one: say I process my file.tex
by pdflatex as to get file.pdf. If I have used fontenc and/or inputenc,
the acroread viewer displays file.pdf in a very weird way, characters
are somehow distorted. Note that file.pdf looks fine if displayed by
some other viewer. Anybody knows what it is going on?
\usepackage{lmodern}
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


RE: [nooby q] 'linked' text flow

2005-02-21 Thread Glenn Davy
Hi Rich and group
I'm getting the idea that its not going to happen this for me.
However, as you suggest I'll state what I had in mind JIC.

In the late '80s and early '90's  I did a lot of work in, pagestream on the
Atari ST, and then pagemaker.

What I would do is edit 'stories' using styles (which I now know is analog
to class in lyx), then 'place' them on the page, often breaking the story up
and interleaving it 'zine style with other stories etc. 

So now I know that lyx has no pretentions when it comes to 'pagelayout',
however its strict use of 'classes' means that it's a model editor for
articles/stories etc. I'm hoping I can then 'import' these lyx or latex
files into another pagelayout tool, which will understand and respect the
lxy template/class system.

I'm guessing the answer is no, however will be interested to hear otherwise.
If not no worries, I'll just continue my journey into lyx,latex,tex and a
less urgent rate

 Thx
Glenn

-Original Message-
From: Rich Shepard [mailto:[EMAIL PROTECTED] 
Sent: Sunday, 20 February 2005 9:38 AM
To: lyx-users@lists.lyx.org
Subject: RE: [nooby q] 'linked' text flow

On Sun, 20 Feb 2005, Glenn Davy wrote:

> Does anyone know of a page layout tools that an utilise content created
> with Lyx/LaTex and 'lay' it out in a manner described? Lyx seems like a
> great way to author content.

Glenn,

   It still looks like you are asking for more work than you need. From the
above I think you really want a page layout program (i.e., Scribus) for your
product and output, but you don't want to write in that environment.

   You have two options: 1) write in LyX then use File->Export->ASCII or B)
use a plain text editor (emacs, vim, joe, ...) and skip the intervening
step. I assume that page layout programs accept plain text as input.

   Perhaps you can explain what you want to accomplish. Then we can offer
more focused sugestions.

HTH,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863




Re: Adding a Command in the ToC -- RESOLVED

2005-02-21 Thread samar j. singh
Eric Fraga wrote
> I have a related question that maybe you can help with. I often find I was
> to manipulate slightly the inter-item spacing for bibliography entries
> generated by the "BibTeX Generated References" LyX directive.
Unfortunately,
> any reference to itemsep before or after this gray box has no effect and
the
> only way I can get things the way I want them is to edit the latex (well,
> the bibtex generated) code itself.  Is there any way to pass options to
the
> LyX bibtex generation entry?
>
I  think you may need to look at Section 13.8 of Goosen's The Latex
Companion
which has stuff about making small changes in a bibtex style file.
Good luck

samar