Re: Newbie questions: templates -> Document Settings -> ?

2010-02-09 Thread Rich Shepard

On Tue, 9 Feb 2010, Marshall Feldman wrote:


1. I'm writing a conference paper. LyX has a few conference/proceedings
templates, but none suit my needs. Several document classes could work for
me, but they're not complete. For example, a conference paper should list
the conference, location, etc., and most likely this information should
have a distinct style. How should one handle this? By adding a style to
the document class? (How?) By manually adjusting the appearance of text?


  Depending on the length of the peper either the article or report classes
would work. You can put the conference name and location in a footnote on
the title page or make it part of the title. Take a look, too, at the
KOMA-script versions. They're highly flexible and adaptable.

  Only if the conference wants to micro-manage the layout of presentation
articles might you have a problem. Otherwise, you can get all the necessary
and desired information in there by being creative.


2. I'd like to design a template for a working paper series. The cover
page would have a few graphics, a title, author, date, institutional
affiliation, and contact information. The first following right page would
have a title, abstract, and keywords. The second even page would start the
actual paper. It would have a title, abstract, and author, followed by the
text itself. What's the best way to do this?


  Take a look at the KOMA-script and memoir book classes.


3. How do the various templates and document classes know when to insert a
page break? In other words, how do they control front and back matter? Can
the user customize or override this?


  You enter LaTeX commands such as \frontmatter and \backmatter.

  If you plan to learn and use LyX extensively I recommend that you get
copies of the latest editions of The LaTeX Companion and The LaTeX Graphics
Companion,

Rich


Re: Newbie questions: templates -> Document Settings -> ?

2010-02-09 Thread rgheck

On 02/09/2010 01:28 AM, Marshall Feldman wrote:

Hi,

As a newbie to Lyx, I'm almost there in understanding how to use LyX 
and have a few basic questions. Here's what I think I know:



Hello from down the way at Brown.

1. Templates are just LyX documents saved in the place where templates 
live.



Right. Think of them as examples you can customize.


2. Document classes are types of documents (books, articles, etc.)

3. But document classes are not just types of documents. They also can 
come in multiple versions for each document type. (E.g., there can be 
a dozen or more versions of an "article.") The distinction between the 
different versions are largely stylistic, although they also can 
reflect content. For example, a Springer article has a "Conjecture" 
style, but most other article styles do not make conjectures.


Yes, and this makes more sense when you realize that LyX's document 
classes map more or less onto LaTeX class files. The mapping isn't 
perfect, because a LyX d.c. map actually map to a class file plus one or 
more packages.


4. Modules yet a lower level of granularity, and individual modules 
may correspond to individual styles.


Yes, and again you can think of modules as mapping to LaTeX packages, 
though again that isn't exactly right.


I hope this understanding is correct. Even so, I still can't 
completely connect the dots. Here are two things I still don't 
understand.


1. I'm writing a conference paper. LyX has a few 
conference/proceedings templates, but none suit my needs. Several 
document classes could work for me, but they're not complete. For 
example, a conference paper should list the conference, location, 
etc., and most likely this information should have a distinct style. 
How should one handle this? By adding a style to the document class? 
(How?) By manually adjusting the appearance of text?


Here it is crucial to remember that LyX knows nothing about the 
appearance of output. What it knows is how to "translate" a LyX document 
into LaTeX. It is LaTeX that then controls output. That's the sense in 
which LyX is a "frontend to LaTeX" (though also to other things). So in 
any case where you want to do a lot of customization, you have to think 
first in terms of LaTeX.


LaTeX will allow you to declare new commands and environments, which 
will include information about how they are to be displayed in the 
output. Once you know what you want to do as far as the LaTeX goes, then 
you can create a layout file that will tell LyX about it. I.e., you'd 
have something like:

Style Location
LaTeXType command
LaTeXName location
Preamble
\newcommand\location{...LaTeX Stuff Here...}
EndPremable
...More stuff to tell LyX how to display it
End
in a module, or in a new document class extending an old one if you 
prefer. The LaTeX part is where the real work is. The LyX stuff can 
actually be left at default, if you want. It won't look fancy, but it 
will work.


2. I'd like to design a template for a working paper series. The cover 
page would have a few graphics, a title, author, date, institutional 
affiliation, and contact information. The first following right page 
would have a title, abstract, and keywords. The second even page would 
start the actual paper. It would have a title, abstract, and author, 
followed by the text itself. What's the best way to do this?


This is a LaTeX issue again. So if you want to do this, you will need to 
learn a good bit of LaTeX.


3. How do the various templates and document classes know when to 
insert a page break? In other words, how do they control front and 
back matter?


This is all done through the magic of LaTeX. LaTeX knows that certain 
commands (\title, \author, etc) belong to the front matter, and in most 
classes these commands do not actually output anything. They just define 
certain variables to store the title, author, etc. Only when the command 
\maketitle is the title page output, and its format is defined by the 
document class. (LyX issues \maketitle when you stop doing things it 
thinks go in the front matter, i.e., for which the InTitle flag is 
true.) You can see this for yourself by putting the author before the 
title. This is bad form, but it won't affect output. I.e.,

\title{My Title}
\author{John B. Author}
\maketitle
and
\author{John B. Author}
\title{My Title}
\maketitle
do the same thing.


Can the user customize or override this?

Hence, the answer to this is "yes, but doing so means modifying the 
LaTeX document class file".


Richard



Newbie questions: templates -> Document Settings -> ?

2010-02-08 Thread Marshall Feldman

Hi,

As a newbie to Lyx, I'm almost there in understanding how to use LyX and 
have a few basic questions. Here's what I think I know:


1. Templates are just LyX documents saved in the place where templates live.

2. Document classes are types of documents (books, articles, etc.)

3. But document classes are not just types of documents. They also can 
come in multiple versions for each document type. (E.g., there can be a 
dozen or more versions of an "article.") The distinction between the 
different versions are largely stylistic, although they also can reflect 
content. For example, a Springer article has a "Conjecture" style, but 
most other article styles do not make conjectures.


4. Modules yet a lower level of granularity, and individual modules may 
correspond to individual styles.


I hope this understanding is correct. Even so, I still can't completely 
connect the dots. Here are two things I still don't understand.


1. I'm writing a conference paper. LyX has a few conference/proceedings 
templates, but none suit my needs. Several document classes could work 
for me, but they're not complete. For example, a conference paper should 
list the conference, location, etc., and most likely this information 
should have a distinct style. How should one handle this? By adding a 
style to the document class? (How?) By manually adjusting the appearance 
of text?


2. I'd like to design a template for a working paper series. The cover 
page would have a few graphics, a title, author, date, institutional 
affiliation, and contact information. The first following right page 
would have a title, abstract, and keywords. The second even page would 
start the actual paper. It would have a title, abstract, and author, 
followed by the text itself. What's the best way to do this?


3. How do the various templates and document classes know when to insert 
a page break? In other words, how do they control front and back matter? 
Can the user customize or override this?


Thanks for your help.

Marsh Feldman






Re: newbie questions - URLs in PDF, graphical diff

2009-07-03 Thread rgheck

Andrew Daviel wrote:
3) Is there an HTML output filter ? latex2html is too old and fails 
miserably on Lyx exported latex.


You can try the new elyxer output filter. Native LyX HTML output is 
under development.


4) Is it possible to choose which PDF output filter to use on the 
command line ? "lyx -e pdf" uses dvips, which gives me "Bad bounding 
box in Type 3 glyph" in xpdf and does not create the PDF metadata 
(title, author etc - nice for search engines)



Try pdf2 or pdf3.

rh



newbie questions - URLs in PDF, graphical diff

2009-07-02 Thread Andrew Daviel


I haven't used Lyx or LaTeX for some time, so things have changed, if I 
ever knew..


1)  If I create a document with blank style, or from the 
letter template, when I add a URL link it does not work, either in xdvi 
or PDF.


If I add the following preamble (stolen from the
UserGuide source) in Document/Settings, it works:
\usepackage{ifpdf}
\ifpdf % if pdflatex
  \usepackage[pdftex]{hyperref}
  \hypersetup{ pdftitle = {Test}, pdfauthor = {My Name}, pdfsubject = {Example}}
\else % if dvi or ps is produced
  \usepackage[ps2pdf]{hyperref}
\fi

- figured this out on the fly while composing this message

Naively, I would expect links to work if I create them using the GUI and 
check "generate hyperlink".


2) Is there a graphical "diff" utility - if a document is updated, either 
using Lyx version control, or externally using SVN, is there a way to 
generate graphical differences, e.g. mark up document in red/blue for 
added/deleted sections as in tkdiff ?


3) Is there an HTML output filter ? latex2html is too old and fails 
miserably on Lyx exported latex.


4) Is it possible to choose which PDF output filter to use on the command 
line ? "lyx -e pdf" uses dvips, which gives me "Bad bounding box 
in Type 3 glyph" in xpdf and does not create the PDF metadata (title, 
author etc - nice for search engines)


On Scientific Lunix 5.3 (=~ CENTOS =~ RHEL) I have
lyx-1.5.6
tetex-3.0-33
tetex-latex-3.0-33
tetex-xdvi-3.0-33
ghostscript-8.15.2
xpdf 3.02
acroread 9.1.0



--
Andrew Daviel, TRIUMF, Canada


Re: Initial Newbie Questions

2008-01-14 Thread rgheck

G. Milde wrote:

On 12.01.08, rgheck wrote:

  
The issue has to do with the use 
of color in chapter and section heading---headings, in particular, that 
appear as page headers. You always have to be careful with so-called 
"moving arguments". But the point remains: You don't really want to make a 
section heading green, if the green will then turn up in the page heading, 
and the TOC. Color elsewhere isn't an issue.



Just curious: 


* Would it be ok to define a colour for a chapter or section
  heading and give the same heading uncoloured as "short heading"?

* Would it help to \protect the colour def (as ERT)?

  

Try it!

rh



Re: Initial Newbie Questions

2008-01-14 Thread Enrico Forestieri
rgheck writes:

> Michael Thompson wrote:
> > I see that you were trying to change the color of a Chapter Heading, in
> > particular.  This does seem like a mess, easily reproducible by me;
> > titles and sections seem to work,
> though.  Evidently a problem for the masters. 
> >
> >   
> The reason, as Jurgen pointed out, is because the chapter headings turn 
> up in the page headers---not to mention the TOC. So you really don't 
> want to change its color anyway, not manually. If you want chapter 
> headings to be colored, you change that in the document class.

You can also overcome the problem using the following in the preamble:

\let\oldtextcolor\textcolor
\DeclareRobustCommand{\textcolor}[1]{%
  \lowercase{\oldtextcolor{#1}}}

Of course, this only works when all colors you use have lower case names.
 
-- 
Enrico



Re: Initial Newbie Questions

2008-01-13 Thread Jürgen Spitzmüller
G. Milde wrote:
> Just curious:
>
> * Would it be ok to define a colour for a chapter or section
>   heading and give the same heading uncoloured as "short heading"?

Should (theoretically) work.

> * Would it help to \protect the colour def (as ERT)?

No. This is not about moving arguments. The problem is simply that the page 
style "headings" upcases everything, incl. LaTeX commands. So if you color 
the chapter red, \textcolor{red} is used, but in the heading, textcolor{RED} 
is requested, which is unknown.

A solution, as already outlined, is to define a textcolor RED in preamble.

Note that the problem also does not occur if you use another page style (such 
as fancy) that does no upcasing.

Jürgen


Re: Initial Newbie Questions

2008-01-13 Thread G. Milde
On 12.01.08, rgheck wrote:

> The issue has to do with the use 
> of color in chapter and section heading---headings, in particular, that 
> appear as page headers. You always have to be careful with so-called 
> "moving arguments". But the point remains: You don't really want to make a 
> section heading green, if the green will then turn up in the page heading, 
> and the TOC. Color elsewhere isn't an issue.

Just curious: 

* Would it be ok to define a colour for a chapter or section
  heading and give the same heading uncoloured as "short heading"?

* Would it help to \protect the colour def (as ERT)?

GM


Re: Initial Newbie Questions

2008-01-12 Thread rgheck

Michael Thompson wrote:

I see that you were trying to change the color of a Chapter Heading, in
particular.  This does seem like a mess, easily reproducible by me; titles and sections seem to work, though.  Evidently a problem for the masters. 

  
The reason, as Jurgen pointed out, is because the chapter headings turn 
up in the page headers---not to mention the TOC. So you really don't 
want to change its color anyway, not manually. If you want chapter 
headings to be colored, you change that in the document class.


Richard




Re: Initial Newbie Questions

2008-01-12 Thread Michael Thompson
I see that you were trying to change the color of a Chapter Heading, in
particular.  This does seem like a mess, easily reproducible by me; titles and
sections seem to work, though.  Evidently a problem for the masters. 




Re: Initial Newbie Questions

2008-01-12 Thread Michael Thompson
(Fellow semi-beginner's response:)
I tried this with the different ways of viewing text
available to  me on the mac with no problem. 
I notice the LyX manual says, discussing the
text styles dialogue, (3.6.4):

Color: You can adjust the color of the
 text with this control. Notice that not all dvi-viewers
 are are able to display colors. ...

Then googling Yap color text I promptly got
http://www.gnustep.it/marko/GPSText/index.html
saying:

Getting colored output:
Set "PostScript Device" to "24 bit color" 
for color previews; use the style sheet "color" 
to get colored a2ps output. 
This only works if the color style sheet
 is installed on your system 
("/usr/bin/a2ps --list=style-sheets").
Note that mutally contradictory options 
to a2ps may cancel each other out.

So it looks like its to do with Yap, which is 
bundled with Miktex. It would probably be 
easiest to set something else as a viewer, 
through the general LyX preferences:
Preferences --> File Formats --> DVI
then look whats listed as the viewer - and
try to change it.  I don't know what else
you may have to view it, but there is 
plenty about this sort of thing if you 
search these posts, for example. 







Re: Initial Newbie Questions

2008-01-12 Thread rgheck

Scott Meyers wrote:

rgheck wrote:

You don't say which documents you are compiling.


The LyX Tutorial -- 35 pages in the DVI file.  Not a very long 
document, in other words.  Something I'd hope could be generated in no 
more than a couple of seconds.


The former is a weird bug that emerged from a combination no-one 
actually uses.


What is the combination you are referring to?  As online display of 
books and other documents becomes increasingly common, the 
semantically meaningful use of color (e.g., syntax coloring program 
source code, color-coded navigational aids) becomes increasingly 
important.  As such, good support for color is one of the features of 
LyX I'm interested in.


I meant using color in a heading that also involved the LyX macro. But, 
as Jurgen pointed out, that isn't the issue. The issue has to do with 
the use of color in chapter and section heading---headings, in 
particular, that appear as page headers. You always have to be careful 
with so-called "moving arguments". But the point remains: You don't 
really want to make a section heading green, if the green will then turn 
up in the page heading, and the TOC. Color elsewhere isn't an issue.


Richard



Re: Initial Newbie Questions

2008-01-12 Thread Jürgen Spitzmüller
rgheck wrote:
> > I just downloaded and installed LyX via the Windows installer. I've
> > used LaTeX before (not recently), but never LyX. In playing around
> > with the LyX Tutorial, I find that after changing some text to red or
> > green and then generating DVI, I get errors such as this,
> >    LaTeX Error: Undefined color `RED'
> >  with this explanation when I click on the message (yes, the
> > explanation really does refer to green, not red, notwithstanding the
> > message above):
> >    \chapter
> >                  {\textcolor{green}{Getting started with \LyX{}}}
> >    You're in trouble here.  Try typing   >    If that doesn't work, type  X  >  [snip]
> >  The resulting DVI has the appropriate colors on the appropriate text,
> > so I don't
> >  know what the LaTeX errors are complaining about.
>
> This is a weird problem. It's got something to do---I don't know what,
> yet---with the way LyX is handling "LyX" and "LaTeX". These get
> converted to custom macros, and they are not playing nice for some
> reason with \textcolor. I'm cc'ing this to the devel list so someone
> will take care of it, or at least explain it.

No. It's nothing to do with the LyX macro. The problem occurs when you color a 
chapter heading (which is something you shouldn't do anyway, at least not 
locally ;-)) in the specific constellation the Tutorial is using.

The problem is in the way the page headings are generated: The page headings 
are upcased, and the color definition, which goes to the heading and the TOC 
as well, is upcased in the headings, too. Thus the error message about the 
unknown color "RED". In fact, only "red" (lowcase) is defined.

The document compiles if you put in the preamble:

\definecolor{RED}{rgb}{1,0,0}

Jürgen


Re: Initial Newbie Questions

2008-01-11 Thread Scott Meyers

rgheck wrote:

You don't say which documents you are compiling.


The LyX Tutorial -- 35 pages in the DVI file.  Not a very long document, in 
other words.  Something I'd hope could be generated in no more than a couple of 
seconds.


The former is a weird bug that emerged from a combination no-one 
actually uses.


What is the combination you are referring to?  As online display of books and 
other documents becomes increasingly common, the semantically meaningful use of 
color (e.g., syntax coloring program source code, color-coded navigational aids) 
becomes increasingly important.  As such, good support for color is one of the 
features of LyX I'm interested in.


Thanks,

Scott



Re: Initial Newbie Questions

2008-01-11 Thread rgheck
I just downloaded and installed LyX via the Windows installer. I've 
used LaTeX before (not recently), but never LyX. In playing around 
with the LyX Tutorial, I find that after changing some text to red or 
green and then generating DVI, I get errors such as this,

   LaTeX Error: Undefined color `RED'
 with this explanation when I click on the message (yes, the 
explanation really does refer to green, not red, notwithstanding the 
message above):

   \chapter
 {\textcolor{green}{Getting started with \LyX{}}}
   You're in trouble here.  Try typing   The resulting DVI has the appropriate colors on the appropriate text, 
so I don't

 know what the LaTeX errors are complaining about.


This is a weird problem. It's got something to do---I don't know what, 
yet---with the way LyX is handling "LyX" and "LaTeX". These get 
converted to custom macros, and they are not playing nice for some 
reason with \textcolor. I'm cc'ing this to the devel list so someone 
will take care of it, or at least explain it.


Furthermore, I find that I have to wait at least 10 seconds for Yap to 
update
its display after generating new DVI, and this is on what should be a 
pretty
fast machine:  a dual-core newish Thinkpad with 2GB of RAM.  Sometimes 
I've had to wait over 30 seconds for Yap to update.


You don't say which documents you are compiling. Even on my spankin' new 
quad core monster, the Extended Features manual can take a while to 
compile. This is a LaTeX thing. Given the references, figures, and 
stuff, there's a lot to do. LaTeX runs three times, at least. (If you 
launch LyX from a terminal, you can see what's going on.) If you were 
really going to write something as long as that manual, it'd be a good 
idea to break it up into chunks. I suppose that one's not broken up 
because it's intended to be readable online, via the Help menu. Anyway, 
it depends on what you are doing. And I guess it depends upon Yap. Maybe 
it's slow as dirt? What do other people use around here? Anyone? (I'm on 
Linux.)


It'd be nice if compiling happened in the background. I know that's on 
several people's radar, but no-one has gotten to it.


My current goal is to evaluate LyX's suitability for a book I'll be 
writing.
The LaTeX errors when using colored text and the long delay for Yap to 
update
its display don't give me a very favorable initial impression.  Are 
these issues
simple normal newbie bumps in the road, or are they more likely 
indicators that

I'm probably going to run into even more problems in the future?
The former is a weird bug that emerged from a combination no-one 
actually uses. The latter, well, I doubt it's really a long-term issue.


Richard





Initial Newbie Questions

2008-01-11 Thread Scott Meyers
I just downloaded and installed LyX via the Windows installer.  I've used LaTeX 
before (not recently), but never LyX.  In playing around with the LyX Tutorial, 
I find that after changing some text to red or green and then generating DVI, I 
get errors such as this,


  LaTeX Error: Undefined color `RED'.

with this explanation when I click on the message (yes, the explanation really 
does refer to green, not red, notwithstanding the message above):


  \chapter
{\textcolor{green}{Getting started with \LyX{}}}
  You're in trouble here.  Try typingto proceed.
  If that doesn't work, type  X   to quit.

Also this,

  LaTeX Error: Undefined color `GREEN'.

with this explanation (and yes, it really is formatted like this):

  C
 urrently, undo is limited to 100 steps. Undo also doesn't work for
  You're in trouble here.  Try typingto proceed.
  If that doesn't work, type  X   to quit.

The resulting DVI has the appropriate colors on the appropriate text, so I don't 
know what the LaTeX errors are complaining about.


Furthermore, I find that I have to wait at least 10 seconds for Yap to update 
its display after generating new DVI, and this is on what should be a pretty 
fast machine:  a dual-core newish Thinkpad with 2GB of RAM.  Sometimes I've had 
to wait over 30 seconds for Yap to update.


My current goal is to evaluate LyX's suitability for a book I'll be writing. 
The LaTeX errors when using colored text and the long delay for Yap to update 
its display don't give me a very favorable initial impression.  Are these issues 
simple normal newbie bumps in the road, or are they more likely indicators that 
I'm probably going to run into even more problems in the future?


Thanks,

Scott



Re: Newbie questions re. Lyx

2006-11-18 Thread Gmane User
Enrico Forestieri wrote:
> Gmane User <[EMAIL PROTECTED]> writes:
>>
>> You solution of installing tetex-extra from cygwin works magically.  It now
>> takes seconds to do
>> View->pdflatex from Lyx.  It hasn't solved the scrbook problem, but I'm sure
>> that's just a matter of
>> googling the class and installing it in the tetex directory structure.  (I've
>> installed a few packages on
>> the tetex tree already, so I'm not too fazed by that).  Thanks alot!!!
> 
> I am sure that after you reconfigure LyX (Tools->Reconfigure) the scrbook
> problem will also magically disappear :)

Wow.  This is all very awesome.  After the reconfiguration, the user-guide 
compiled in a short amount of time and even the hyerlinks work.  A quick google 
shows that tetex-extra contains hyperref already.  Amazing.  Before moving to 
Lyx, I invested quite some time learning about tetex to install packages for 
LaTeX (to make a document template work).  Ah well, the learning will be 
useful, I'm sure.

Thanks again for you help, Enrico.



Re: Newbie questions re. Lyx

2006-11-15 Thread Enrico Forestieri
Gmane User <[EMAIL PROTECTED]> writes:

> Enrico,
> 
> You solution of installing tetex-extra from cygwin works magically.  It now
> takes seconds to do
> View->pdflatex from Lyx.  It hasn't solved the scrbook problem, but I'm sure
> that's just a matter of
> googling the class and installing it in the tetex directory structure.  (I've
> installed a few packages on
> the tetex tree already, so I'm not too fazed by that).  Thanks alot!!!

I am sure that after you reconfigure LyX (Tools->Reconfigure) the scrbook
problem will also magically disappear :)

-- 
Enrico



Re: Newbie questions re. Lyx

2006-11-15 Thread Gmane User
Enrico Forestieri wrote:
> Gmane User <[EMAIL PROTECTED]> writes:
> 
>>   Log line: ./Tutorial.tex:48: Font T1/cmr/m/sc/9=eccc0900 at 9.0pt not
>> loadable: Metric (T
> 
> I think that you are missing the tetex-extra package. Try issuing the
> command "kpsewhich eccc.mf" and see what it says. For me its output is:
> 
> $ kpsewhich eccc.mf
> /usr/share/texmf/fonts/source/jknappen/ec/eccc.mf
> 
>> As mentioned above, the last snippet is likely from pdflatexing the
>> User Guide, since the 2nd & 3rd lines match the warning window that
>> came up, saying
>>
>>The document uses a missing TeX class "scrbook".
>>LyX will not be able to produce output.
> 
> You *definitely* are missing the tetex-extra package. Try installing it
> through the cygwin setup.exe installation tool.
> 
> I don't understand why processing the tutorial takes so long for you,
> though. After installing the tetex-extra package, try issuing the
> following commands:
> 
> $ cp /usr/share/lyx/doc/Tutorial.lyx .
> $ lyx -e pdflatex Tutorial.lyx
> $ pdflatex Tutorial.tex
> 
> The pdflatex step takes 2 to 3 seconds for me.

Enrico,

You solution of installing tetex-extra from cygwin works magically.  It now 
takes seconds to do View->pdflatex from Lyx.  It hasn't solved the scrbook 
problem, but I'm sure that's just a matter of googling the class and installing 
it in the tetex directory structure.  (I've installed a few packages on the 
tetex tree already, so I'm not too fazed by that).  Thanks alot!!!



Re: Newbie questions re. Lyx

2006-11-13 Thread Enrico Forestieri
Gmane User <[EMAIL PROTECTED]> writes:

>   Log line: ./Tutorial.tex:48: Font T1/cmr/m/sc/9=eccc0900 at 9.0pt not
> loadable: Metric (T

I think that you are missing the tetex-extra package. Try issuing the
command "kpsewhich eccc.mf" and see what it says. For me its output is:

$ kpsewhich eccc.mf
/usr/share/texmf/fonts/source/jknappen/ec/eccc.mf

> As mentioned above, the last snippet is likely from pdflatexing the
> User Guide, since the 2nd & 3rd lines match the warning window that
> came up, saying
> 
>The document uses a missing TeX class "scrbook".
>LyX will not be able to produce output.

You *definitely* are missing the tetex-extra package. Try installing it
through the cygwin setup.exe installation tool.

I don't understand why processing the tutorial takes so long for you,
though. After installing the tetex-extra package, try issuing the
following commands:

$ cp /usr/share/lyx/doc/Tutorial.lyx .
$ lyx -e pdflatex Tutorial.lyx
$ pdflatex Tutorial.tex

The pdflatex step takes 2 to 3 seconds for me.

-- 
Enrico



Re: Newbie questions re. Lyx

2006-11-12 Thread Gmane User
Enrico Forestieri wrote:
> Gmane User <[EMAIL PROTECTED]> writes:
> 
>> Well, I didn't have a chance to repeat the attempt on the original computer
>> on which the problems was
>> observed.  However, I tried it on another computer, with the same apparent
>> problem (Lyx goes away,
>> consumes much CPU, and "never" comes back).  I never did the debug step
>> because View->pdflatex *does* come
>> back after half an hour (not sure how much after, but probably no more than
>> an hour after it started).
>>
>> The long time for the conversion might be a function of the file.  It was
>> the Help->Tutorial file that caused
>> such a long conversion.  If I open a blank new Lyx file and type a few
>> words, the conversion takes trivial
>> amount of time.  The View->Update also works.
>>
>> I tried the View->Update on the long-converting Tutorial file.  It still
>> takes a long time.  How long...not
>> sure, it's still running.
> 
> This is really weird. However, do you mean that after almost an hour
> a perfectly working pdf file is produced? Or are there problems with
> fonts?

Hmm, you're right.  I repeated the pdflatexing of the tutorial and captured
the debugging information with

   nice -n 20 lyx -dbg latex 2>&1 | tee ~/Temp/lyx-dbg_latex.out &

The error messages seem to indicate a missing font problem.  Upon
examining the PDF file, it seems that the headings are gone.
Equations and tables are fine.  That was on the Lyx file invoked by
Help->Tutorial.

To see if figures are good, I tried pdflatexing the user guide from
Help->UserGuide.  It was missing a class.

The messages in the log from pdflatexing the Tutorial are quite voluminous.
I'll take snippets where they seem to be the relevant:

  Setting debug level to latex
  Debugging `latex' (LaTeX generation/execution)
  makeLaTeXFile...
Validating buffer...
  font.noun: 1
  Noun enabled. Font: Noun On, Language: English
  font.noun: 1
  Noun enabled. Font: Noun On, Language: English
  LyX needs the following commands when LaTeXing:
  * Packages:
  * Macros:[EMAIL PROTECTED]
  \newcommand{\noun}[1]{\textsc{#1}}
  \newcommand{\lyxarrow}{\leavevmode\,$\triangleright$\,\allowbreak}
  %% Bold symbol macro for standard LaTeX users
  \providecommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}}

  %% Because html converters don't know tabularnewline
  \providecommand{\tabularnewline}{\\}

  * Textclass stuff:\newenvironment{lyxcode}
  {\begin{list}{}{
  \setlength{\rightmargin}{\leftmargin}
  \setlength{\listparindent}{0pt}% needed for AMS classes
  \raggedright
  \setlength{\itemsep}{0pt}
  \setlength{\parsep}{0pt}
  \normalfont\ttfamily}%
   \item[]}
  {\end{list}}

  * done.
Buffer validation done.
  TeXOnePar... 0x101ae478 ''
  SimpleTeXOnePar... 0x101ae478
  SimpleTeXOnePar...done 0x101ae478
  TeXOnePar...done 0x101b0ee0
  TeXOnePar... 0x101b0ee0 ''
  SimpleTeXOnePar... 0x101b0ee0
  TeXOnePar... 0x101ae150 ''
  SimpleTeXOnePar... 0x101ae150
  SimpleTeXOnePar...done 0x101ae150
  SimpleTeXOnePar...done 0x101b0ee0
  TeXOnePar...done 0x101a1990
  TeXOnePar... 0x101a1990 ''
  SimpleTeXOnePar... 0x101a1990
  SimpleTeXOnePar...done 0x101a1990
   <...snip...>
  SimpleTeXOnePar... 0x10244318
  SimpleTeXOnePar...done 0x10244318
  makeLaTeXFile...done
  Scanning aux file: Tutorial.aux
  Run #1
  Log file: Tutorial.log
  Log line: This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) 
(format=pdflatex 2006.11.11)  12 NOV 2006 14:34
  Log line: entering extended mode
  Log line:  file:line:error style messages enabled.
  Log line:  %&-line parsing enabled.
  Log line: **Tutorial.tex
  Log line: (./Tutorial.tex
  Log line: LaTeX2e <2003/12/01>
  Log line: Babel  and hyphenation patterns for american, french, 
german, ngerman, b
  Log line: ahasa, basque, bulgarian, catalan, croatian, czech, danish, 
dutch, esperanto, e
  Log line: stonian, finnish, greek, icelandic, irish, italian, latin, 
magyar, norsk, polis
  Log line: h, portuges, romanian, russian, serbian, slovak, slovene, 
spanish, swedish, tur
  Log line: kish, ukrainian, nohyphenation, loaded.
  Log line:
  Log line: (/usr/share/texmf/tex/latex/base/book.cls
  Log line: Document Class: book 2004/02/16 v1.4f Standard LaTeX document 
class
  Log line: (/usr/share/texmf/tex/latex/base/bk10.clo
  Log line: File: bk10.clo 2004/02/16 v1.4f Standard LaTeX file (size 
option)
  Log line: )
  Log line: [EMAIL PROTECTED]
  Log line: [EMAIL PROTECTED]
  Log line: [EMAIL PROTECTED]
  Log line: [EMAIL PROTECTED]
  Log line: [EMAIL PROTECTED]
  Log line: [EMAIL PROTECTED]
  Log line: [EMAIL PROTECTED]
  Log line: [EMAIL PROTECTED]
  Log line: [EMAIL PROTECTED]
  Log lin

Re: Newbie questions re. Lyx

2006-11-12 Thread Enrico Forestieri
Gmane User <[EMAIL PROTECTED]> writes:

> Well, I didn't have a chance to repeat the attempt on the original computer
> on which the problems was
> observed.  However, I tried it on another computer, with the same apparent
> problem (Lyx goes away,
> consumes much CPU, and "never" comes back).  I never did the debug step
> because View->pdflatex *does* come
> back after half an hour (not sure how much after, but probably no more than
> an hour after it started).
> 
> The long time for the conversion might be a function of the file.  It was
> the Help->Tutorial file that caused
> such a long conversion.  If I open a blank new Lyx file and type a few
> words, the conversion takes trivial
> amount of time.  The View->Update also works.
> 
> I tried the View->Update on the long-converting Tutorial file.  It still
> takes a long time.  How long...not
> sure, it's still running.

This is really weird. However, do you mean that after almost an hour
a perfectly working pdf file is produced? Or are there problems with
fonts?

> The temporary files seem to be located in
> /tmp/lyx_tmpdir1724fSfEOO/lyx_tmpbufXX, where XX is 0, 1, 2,
> ... .  If the PDF file is still opened in acrobat viewer, the update
> cannot complete because the file is
> locked (this is in a windows environment, even though cygwin makes it
> look like unix).

Yes, this is a known problem with the acrobat reader. This also happens
on linux where the update of the pdf file succeeds, but acroread doesn't
update its view and must be closed and restarted. On windows you have
to close the acrobat reader before updating the pdf file, but the net
result is not much different. On the wiki you can find some workarounds
for this problem.

-- 
Enrico



Re: Newbie questions re. Lyx

2006-11-11 Thread Gmane User
Gmane User wrote:
> Richard Heck wrote:
>> Gmane User wrote:
>>> I'm reading the online documentation, and see no navigation panel
>>> to navigate the chapters and subsections.  There is only the "Table
>>> of Contents" (TOC) button, which only shows 1st level headings.  
>> Look at the Navigation menu. The TOC button is there to insert at
>> TOC, not to provide navigation. (And, at least under Linux, you can
>> move the little slider at the bottom of the box that pops up when
>> you click the TOC button to expand it.)
> 
> Will try it in the coming week.

Works.  Awesome.

>>> So I tried to view the online docs as PDFs in hopes of seeing the
>>> full TOC, maybe even hyperlinked if I'm lucky.  However, this
>>> always seems to crash Lyx.  From the task manager, I can see all
>>> sorts of processes rising to the top of my list, sorted by CPU
>>> usage.  So no one process is stalled, but there might be a script
>>> caught in a loop.  Same thing happens if I restart Lyx and try to
>>> export to PDF.  If I try to print to a PS file the PS file never
>>> shows up (looked in the default directory, as well as the directory
>>> I specified).  I am able to print my HelloWorld file to PS, though.
>>>
>>> Are the online documents unprintable/unexportable in other Lyx
>>> installations?
>>
>> I don't have these problems under Linux. I do note, however, that
>> the first time I viewed the file as DVI, it did take a while. It's a
>> good-sized file. Try this: Find the temporary directory LyX is using
>> to do the compilation. You should see a .tex file there to which LyX
>> is exporting LaTeX. Run LaTeX manually on that file and see what
>> happens.  That's what LyX is doing anyway: Export to LaTeX; run
>> latex (or pdflatex, or whatever).
> 
> Will try, thanks.

Well, this reveals that the problem is probably not Lyx.  Even 1 pass
of pdflatex takes forever.  There's something very complicated about
the Tutorial tex file.

>>> I'm also interested in hyperlinking, both in the Lyx file and the
>>> final PDF file.  I know I can generate hyperlinks in LaTeX, but
>>> only in the final PDF (since LaTeX is just text).  Even that needs
>>> all sorts of files and commands embedded in the LaTeX file.  I
>>> understand that the user has to make them known to Lyx.  I'm not
>>> necessarily expecting someone to spell out step by step how to do
>>> it (though I wouldn't ignore it if someone did), I'd appreciate it
>>> if those who have tried going through the process can indicate how
>>> straightforward it is, assuming it is even possible.
>>
>> You just have to \usepackage{hyperref}. That will generate a lot of
>> links for you automagically. Others can be inserted using "ERT",
>> which allows the insertion of arbitrary LaTeX code in the LyX
>> document. So the process is pretty much the same as with LaTeX. Some
>> enhancement requests have recently been filed to make this a bit
>> easier, and the developers seemed enthusiastic.

Thanks for that.

>>> On the matter of making files known to Lyx, the template I'm using
>>> is for LaTeX use.  How painless is it to make it available to Lyx?
>>> I'm thinking that as I navigate the online docs, there might be a
>>> section that says how to point Lyx to the tetex tree that I set up
>>> for LaTex (I'm a bit new to that, too, and it took about 1.5 days
>>> to get the template working, including fetching missing files from
>>> the web). Thanks for an advance idea of what can be expected.
>>
>> I assume what you mean by a "template" is a LaTeX document class or
>> style. If so, then you need to create a LyX "layout" to go with it.
>> This can be anywhere from trivial to a pain in the tuckus, depending
>> upon the details of the class. But there are plenty of people here
>> who have experience writing these, and it's really not that hard if
>> you have any experience at all with coding. For what it's worth,
>> though, probably the most common complaint about LyX is precisely
>> that getting a new LaTeX class to work is harder than it ought to
>> be. But, on the other hand, it's something you aren't likely to have
>> to do very often, unless you're in the habit of creating new classes
>> all the time.
> 
> I don't actually have access to the computer in question at the
> moment, but I recall having to put a bunch of files from the package
> into the TeTex directory structure.  I also have a LaTeX file that
> has lots of commands already present, some of which I'm sure make
> use of those files in the TeTex directory tree.  I added a bunch of
> commands to actually make use of hyperref.  Depending on how the
> coming week goes, I'll probably give a shot at working on template
> from Lyx.

Just a non-follow-up -- haven't had a chance to try this yet, but I'll
probably revisit that path when I next explore the option of using
Lyx rather than Word.  For the current report, the template seems to be
behaving itself.

Thanks for your suggestions.



Re: Newbie questions re. Lyx

2006-11-11 Thread Gmane User
Enrico Forestieri wrote:
> Gmane User <[EMAIL PROTECTED]> writes:
> 
>> Enrico Forestieri wrote:
 Gmane User schrieb:

> I've installed LaTex and Lyx via the Cygwin installation,
  > However, this always seems to crash Lyx.
>>> I am using a cygwin version of LyX and have no problems. When you say that
>>> you are trying to view the pdf, do you mean that you are trying to export
>>> to pdf or are you using View->PDF?
>> Both.
> 
> Please, if your shell is tcsh, use this command to start lyx:
> 
> lyx -dbg latex >& output.log
> 
> Instead, if your shell is bash, launch lyx this way:
> 
> lyx -dbg latex > output.log 2>&1
> 
> After LyX started, load Intro.lyx through Help->Introduction and then select
> "View->PDF (pdflatex)". If it finishes and you can use the menu, quit LyX.
> Otherwise, if something seems to be stalled, kill LyX by issuing a Control-C
> in the window from where you started it.
> 
> Thereafter, send to the list as an attachment the file output.log.
> Hopefully we will be able to deduce something from its contents.

I use bash.

Well, I didn't have a chance to repeat the attempt on the original computer on 
which the problems was observed.  However, I tried it on another computer, with 
the same apparent problem (Lyx goes away, consumes much CPU, and "never" comes 
back).  I never did the debug step because View->pdflatex *does* come back 
after half an hour (not sure how much after, but probably no more than an hour 
after it started).

The long time for the conversion might be a function of the file.  It was the 
Help->Tutorial file that caused such a long conversion.  If I open a blank new 
Lyx file and type a few words, the conversion takes trivial amount of time.  
The View->Update also works.

I tried the View->Update on the long-converting Tutorial file.  It still takes 
a long time.  How long...not sure, it's still running.

The temporary files seem to be located in 
/tmp/lyx_tmpdir1724fSfEOO/lyx_tmpbufXX, where XX is 0, 1, 2, ... .  If the PDF 
file is still opened in acrobat viewer, the update cannot complete because the 
file is locked (this is in a windows environment, even though cygwin makes it 
look like unix).

Thanks for your suggestions in troubleshooting.



Re: Newbie questions re. Lyx

2006-11-08 Thread Enrico Forestieri
Gmane User <[EMAIL PROTECTED]> writes:

> Thanks, Enrico.  I will give it a try...will be some time this week, as
> there has been a crunch lately.

No problem. I would also suggest that you verify whether the problem only
occurs when there are graphics.

-- 
Enrico



Re: Newbie questions re. Lyx

2006-11-06 Thread Gmane User
Enrico Forestieri wrote:
> Gmane User <[EMAIL PROTECTED]> writes:
> 
>> Enrico Forestieri wrote:
 Gmane User schrieb:

> I've installed LaTex and Lyx via the Cygwin installation,
  > However, this always seems to crash Lyx.
>>> I am using a cygwin version of LyX and have no problems. When you say that
>>> you are trying to view the pdf, do you mean that you are trying to export
>>> to pdf or are you using View->PDF?
>> Both.
> 
> Please, if your shell is tcsh, use this command to start lyx:
> 
> lyx -dbg latex >& output.log
> 
> Instead, if your shell is bash, launch lyx this way:
> 
> lyx -dbg latex > output.log 2>&1
> 
> After LyX started, load Intro.lyx through Help->Introduction and then select
> "View->PDF (pdflatex)". If it finishes and you can use the menu, quit LyX.
> Otherwise, if something seems to be stalled, kill LyX by issuing a Control-C
> in the window from where you started it.
> 
> Thereafter, send to the list as an attachment the file output.log.
> Hopefully we will be able to deduce something from its contents.

Thanks, Enrico.  I will give it a try...will be some time this week, as there 
has been a crunch lately.



Re: Newbie questions re. Lyx

2006-11-06 Thread Enrico Forestieri
Gmane User <[EMAIL PROTECTED]> writes:

> 
> Enrico Forestieri wrote:
> >> Gmane User schrieb:
> >>
> >>> I've installed LaTex and Lyx via the Cygwin installation,
> >>  > However, this always seems to crash Lyx.
> > 
> > I am using a cygwin version of LyX and have no problems. When you say that
> > you are trying to view the pdf, do you mean that you are trying to export
> > to pdf or are you using View->PDF?
> 
> Both.

Please, if your shell is tcsh, use this command to start lyx:

lyx -dbg latex >& output.log

Instead, if your shell is bash, launch lyx this way:

lyx -dbg latex > output.log 2>&1

After LyX started, load Intro.lyx through Help->Introduction and then select
"View->PDF (pdflatex)". If it finishes and you can use the menu, quit LyX.
Otherwise, if something seems to be stalled, kill LyX by issuing a Control-C
in the window from where you started it.

Thereafter, send to the list as an attachment the file output.log.
Hopefully we will be able to deduce something from its contents.

-- 
Enrico



Re: Newbie questions re. Lyx

2006-11-05 Thread Gmane User
Richard Heck wrote:
> Gmane User wrote:
>> I'm reading the online documentation, and see no navigation panel
>> to navigate the chapters and subsections.  There is only the "Table
>> of Contents" (TOC) button, which only shows 1st level headings.  
>
> Look at the Navigation menu. The TOC button is there to insert at
> TOC, not to provide navigation. (And, at least under Linux, you can
> move the little slider at the bottom of the box that pops up when
> you click the TOC button to expand it.)

Will try it in the coming week.

>> So I tried to view the online docs as PDFs in hopes of seeing the
>> full TOC, maybe even hyperlinked if I'm lucky.  However, this
>> always seems to crash Lyx.  From the task manager, I can see all
>> sorts of processes rising to the top of my list, sorted by CPU
>> usage.  So no one process is stalled, but there might be a script
>> caught in a loop.  Same thing happens if I restart Lyx and try to
>> export to PDF.  If I try to print to a PS file the PS file never
>> shows up (looked in the default directory, as well as the directory
>> I specified).  I am able to print my HelloWorld file to PS, though.
>>
>> Are the online documents unprintable/unexportable in other Lyx
>> installations?
>
> I don't have these problems under Linux. I do note, however, that
> the first time I viewed the file as DVI, it did take a while. It's a
> good-sized file. Try this: Find the temporary directory LyX is using
> to do the compilation. You should see a .tex file there to which LyX
> is exporting LaTeX. Run LaTeX manually on that file and see what
> happens.  That's what LyX is doing anyway: Export to LaTeX; run
> latex (or pdflatex, or whatever).

Will try, thanks.

>> Since my aim is to replace Word, there is some functionality I'm
>> hoping to see present.  One is Word's "outline mode", which lets
>> the user collapse or expand any hierarcy of text, promote/demote
>> move entire subtrees of text, and generally move subtrees around.
>> Is there such functionality in Lyx?
>
> At present, there is no such functionality built into LyX. There is,
> as I've just mentioned, good navigation, and you could use branches
> to allow text to be displayed and hidden. But it isn't outline mode.
> There's something a little closer in OpenOffice.

Yes, have tried it.  It's very similar to Word's.

>> I'm also interested in hyperlinking, both in the Lyx file and the
>> final PDF file.  I know I can generate hyperlinks in LaTeX, but
>> only in the final PDF (since LaTeX is just text).  Even that needs
>> all sorts of files and commands embedded in the LaTeX file.  I
>> understand that the user has to make them known to Lyx.  I'm not
>> necessarily expecting someone to spell out step by step how to do
>> it (though I wouldn't ignore it if someone did), I'd appreciate it
>> if those who have tried going through the process can indicate how
>> straightforward it is, assuming it is even possible.
>
> You just have to \usepackage{hyperref}. That will generate a lot of
> links for you automagically. Others can be inserted using "ERT",
> which allows the insertion of arbitrary LaTeX code in the LyX
> document. So the process is pretty much the same as with LaTeX. Some
> enhancement requests have recently been filed to make this a bit
> easier, and the developers seemed enthusiastic.
>
>> On the matter of making files known to Lyx, the template I'm using
>> is for LaTeX use.  How painless is it to make it available to Lyx?
>> I'm thinking that as I navigate the online docs, there might be a
>> section that says how to point Lyx to the tetex tree that I set up
>> for LaTex (I'm a bit new to that, too, and it took about 1.5 days
>> to get the template working, including fetching missing files from
>> the web). Thanks for an advance idea of what can be expected.
>
> I assume what you mean by a "template" is a LaTeX document class or
> style. If so, then you need to create a LyX "layout" to go with it.
> This can be anywhere from trivial to a pain in the tuckus, depending
> upon the details of the class. But there are plenty of people here
> who have experience writing these, and it's really not that hard if
> you have any experience at all with coding. For what it's worth,
> though, probably the most common complaint about LyX is precisely
> that getting a new LaTeX class to work is harder than it ought to
> be. But, on the other hand, it's something you aren't likely to have
> to do very often, unless you're in the habit of creating new classes
> all the time.

I don't actually have access to the computer in question at the
moment, but I recall having to put a bunch of files from the package
into the TeTex directory structure.  I also have a LaTeX file that
has lots of commands already present, some of which I'm sure make
use of those files in the TeTex directory tree.  I added a bunch of
commands to actually make use of hyperref.  Depending on how the
coming week goes, I'll probably give a shot at working on template
f

Re: Newbie questions re. Lyx

2006-11-05 Thread Gmane User
Enrico Forestieri wrote:
>> Gmane User schrieb:
>>
>>> I've installed LaTex and Lyx via the Cygwin installation,
>>  > However, this always seems to crash Lyx.
> 
> I am using a cygwin version of LyX and have no problems. When you say that
> you are trying to view the pdf, do you mean that you are trying to export
> to pdf or are you using View->PDF?

Both.



Re: Newbie questions re. Lyx

2006-11-05 Thread Gmane User
Uwe Stöhr wrote:
> Gmane User schrieb:
> 
>> I've installed LaTex and Lyx via the Cygwin installation,
> 
> Better use LyX's native windows builds when it is possible to avoid 
> cygwin.

Coming from a unix environment, I actually like Cygwin.

> Here's a possible installer that also installs MiKTeX and 
> configures it for LyX's needs:
> http://wiki.lyx.org/Windows/LyXWinInstaller

OK, thanks for that.  Since I didn't have it in mind to install
outside of Cygwin, it's something I'll keep in mind fo rnow.

>> I'm reading the online documentation, and see no navigation panel to
>> navigate the chapters and subsections.  There is only the "Table of
>> Contents" (TOC) button, which only shows 1st level headings.
> 
> Strange, this should work. Could you please test this out using a native 
> Win LyX build?

I appreciate your suggestion...I'll see what the coming week looks like
before trying it.

>> So I tried to view the online docs as PDFs in hopes of seeing the full
>  > TOC, maybe even hyperlinked if I'm lucky.
> 
> The PDF output of the current doc version is not hyperlinked but I'm 
> working an the docs. The next docs version will also have an index.

Great.

>  > However, this always seems to crash Lyx.
> 
> Again, this must be a cygwin-related problem.
> 
>> Are the online documents unprintable/unexportable in other Lyx
>> installations?
> 
> No, you should be able to export them in every LyX installation.

OK.  Looks like it might be cygwin's version.

>> Since my aim is to replace Word, there is some functionality I'm hoping
>> to see present.  One is Word's "outline mode", which lets the user
>> collapse or expand any hierarcy of text, promote/demote move entire
>> subtrees of text, and generally move subtrees around.  Is there such
>> functionality in Lyx?
> 
> The upcoming LyX version 1.5 will have this feature, see
> http://wiki.lyx.org/LyX/NewInLyX15

That looks like a nice addition.  It'd totally rock if you can expand
out the headings so as to see the 1st physical line of the paragraphs
and drag them around too.  It looks like the answer is that basic
outline functionality is coming soon.

>> I'm also interested in hyperlinking, both in the Lyx file and the final
>> PDF file.  I know I can generate hyperlinks in LaTeX, but only in the
>> final PDF (since LaTeX is just text).
> 
> The sections are "hyperlinked" in the LyX-file by their references: 
> Right-click on a reference and the cursor jumps to the referenced section.

Thanks for that.

> Having a hyperlinked PDF-file is relatively easy. An example of this is 
> this new manual "Extended-Insets":
> "http://wiki.lyx.org/LyX/DocumentationDevelopment#Extended-Insets";
> This manual also contains some information how to generate hyperlinks 
> using the LaTeX-package "hyperref".

Sounds promising.  I've got hyperref working with the LaTeX template
I'm using, but haven't tried bringing either into LyX.  Good to know
that at least hyperref won't be problematic.

> If you can read German, there is a more detailed description in section 
> 22.18 of this manual:
> http://wiki.lyx.org/uploads/LyX/LyXMathebefehle/LyXMathebefehle-3-09.pdf
> (from http://wiki.lyx.org/LyX/LyXMathebefehle)

Sorry, I don't.

>> On the matter of making files known to Lyx, the template I'm using is
>> for LaTeX use.  How painless is it to make it available to Lyx?
> 
> It depends on the document preamble that you are using in your template.
> LyX supports various templates of many publishers.
> Personally, I can recommend to use a "koma-script" or "memoir" class to 
> write theses, manuals, or other larger documents.

I have to use the template I'm given.  I might explore this more
fully.

>> Finally, a question to those who had experience in LaTeX before going
>> to Lyx -- was it worthwhile?  Did you find it actually helped?
> 
> Of course it is! (What answer have you expected on this LyX-list? ;-) )
> I came to LyX after my professor forced me to use LaTeX instead of Word. 
> Then I started to fiddle around with "WinEdt" and plain LaTeX and gave 
> up because I don't like to learn so many commands and don't want to 
> "program" my text. A friend pointed me to LyX and it took me only a 
> weekend after that I was able to write documents as I want to have them.

I was an avid LaTeXer in another life.  When I got away from that, I
noticed that a colleague (a non-LaTeXer) had become a Lyxer.  I've
been spoiled by Framemaker, and have even come to appreciate some Word
features, unstable and frustrating though the applciation may be.  So
(time allowing) I will see whether Lyx give good elements from all 3.



Re: Newbie questions re. Lyx

2006-11-05 Thread Enrico Forestieri
Uwe Stöhr <[EMAIL PROTECTED]> writes:

> 
> Enrico Forestieri schrieb:
> 
> > Better avoid the native windows builds if it is possible to use cygwin.
> 
> There's no reason for this. I might be an advantage for you to use 
> cygwin (for what reason btw.?) but not for new users!

I think that cygwin makes windows bearable to those who come to it from
*nix and know that there are better ways to have the work done. If you
only know windows and only know one way to perform a task, then you don't
feel the need for something better, perhaps.

> Or why do you think we have invested so much time to get a native 
> Windows build?

This really escapes me ;-)

-- 
Enrico





Re: Newbie questions re. Lyx

2006-11-05 Thread Uwe Stöhr

Enrico Forestieri schrieb:


Better avoid the native windows builds if it is possible to use cygwin.


There's no reason for this. I might be an advantage for you to use 
cygwin (for what reason btw.?) but not for new users!
Or why do you think we have invested so much time to get a native 
Windows build?


regards Uwe


Re: Newbie questions re. Lyx

2006-11-04 Thread Enrico Forestieri
Uwe Stöhr <[EMAIL PROTECTED]> writes:

> 
> Gmane User schrieb:
> 
> > I've installed LaTex and Lyx via the Cygwin installation,
> 
> Better use LyX's native windows builds when it is possible to avoid 
> cygwin.

;-)

Better avoid the native windows builds if it is possible to use cygwin.

>  > However, this always seems to crash Lyx.

I am using a cygwin version of LyX and have no problems. When you say that
you are trying to view the pdf, do you mean that you are trying to export
to pdf or are you using View->PDF?

-- 
Enrico



Re: Newbie questions re. Lyx

2006-11-04 Thread Richard Heck
Gmane User wrote:
> I'm reading the online documentation, and see no navigation panel to navigate 
> the chapters and subsections.  There is only the "Table of Contents" (TOC) 
> button, which only shows 1st level headings.  
Look at the Navigation menu. The TOC button is there to insert at TOC,
not to provide navigation. (And, at least under Linux, you can move the
little slider at the bottom of the box that pops up when you click the
TOC button to expand it.)
> So I tried to view the online docs as PDFs in hopes of seeing the full TOC, 
> maybe even hyperlinked if I'm lucky.  However, this always seems to crash 
> Lyx.  From the task manager, I can see all sorts of processes rising to the 
> top of my list, sorted by CPU usage.  So no one process is stalled, but there 
> might be a script caught in a loop.  Same thing happens if I restart Lyx and 
> try to export to PDF.  If I try to print to a PS file the PS file never shows 
> up (looked in the default directory, as well as the directory I specified).  
> I am able to print my HelloWorld file to PS, though.
>
> Are the online documents unprintable/unexportable in other Lyx installations?
>   
I don't have these problems under Linux. I do note, however, that the
first time I viewed the file as DVI, it did take a while. It's a
good-sized file. Try this: Find the temporary directory LyX is using to
do the compilation. You should see a .tex file there to which LyX is
exporting LaTeX. Run LaTeX manually on that file and see what happens.
That's what LyX is doing anyway: Export to LaTeX; run latex (or
pdflatex, or whatever).
> Since my aim is to replace Word, there is some functionality I'm hoping to 
> see present.  One is Word's "outline mode", which lets the user collapse or 
> expand any hierarcy of text, promote/demote move entire subtrees of text, and 
> generally move subtrees around.  Is there such functionality in Lyx?
>   
At present, there is no such functionality built into LyX. There is, as
I've just mentioned, good navigation, and you could use branches to
allow text to be displayed and hidden. But it isn't outline mode.
There's something a little closer in OpenOffice.
> I'm also interested in hyperlinking, both in the Lyx file and the final PDF 
> file.  I know I can generate hyperlinks in LaTeX, but only in the final PDF 
> (since LaTeX is just text).  Even that needs all sorts of files and commands 
> embedded in the LaTeX file.  I understand that the user has to make them 
> known to Lyx.  I'm not necessarily expecting someone to spell out step by 
> step how to do it (though I wouldn't ignore it if someone did), I'd 
> appreciate it if those who have tried going through the process can indicate 
> how straightforward it is, assuming it is even possible.
>   
You just have to \usepackage{hyperref}. That will generate a lot of
links for you automagically. Others can be inserted using "ERT", which
allows the insertion of arbitrary LaTeX code in the LyX document. So the
process is pretty much the same as with LaTeX. Some enhancement requests
have recently been filed to make this a bit easier, and the developers
seemed enthusiastic.
> On the matter of making files known to Lyx, the template I'm using is for 
> LaTeX use.  How painless is it to make it available to Lyx?  I'm thinking 
> that as I navigate the online docs, there might be a section that says how to 
> point Lyx to the tetex tree that I set up for LaTex (I'm a bit new to that, 
> too, and it took about 1.5 days to get the template working, including 
> fetching missing files from the web). Thanks for an advance idea of what can 
> be expected.
>   
I assume what you mean by a "template" is a LaTeX document class or
style. If so, then you need to create a LyX "layout" to go with it. This
can be anywhere from trivial to a pain in the tuckus, depending upon the
details of the class. But there are plenty of people here who have
experience writing these, and it's really not that hard if you have any
experience at all with coding. For what it's worth, though, probably the
most common complaint about LyX is precisely that getting a new LaTeX
class to work is harder than it ought to be. But, on the other hand,
it's something you aren't likely to have to do very often, unless you're
in the habit of creating new classes all the time.
> Finally, a question to those who had experience in LaTeX before going to Lyx 
> -- was it worthwhile?  Did you find it actually helped?
>   
I use LyX for some things and straight LaTeX for others. Mostly, I use
LyX when I'm writing papers or a book, and especially when I'm doing
lots of mathematics. So I find LyX helps, yes.

Richard



Re: Newbie questions re. Lyx

2006-11-04 Thread Uwe Stöhr

Gmane User schrieb:


I've installed LaTex and Lyx via the Cygwin installation,


Better use LyX's native windows builds when it is possible to avoid 
cygwin. Here's a possible installer that also installs MiKTeX and 
configures it for LyX's needs:

http://wiki.lyx.org/Windows/LyXWinInstaller


I'm reading the online documentation, and see no navigation panel to
navigate the chapters and subsections.  There is only the "Table of
Contents" (TOC) button, which only shows 1st level headings.


Strange, this should work. Could you please test this out using a native 
Win LyX build?



So I tried to view the online docs as PDFs in hopes of seeing the full

> TOC, maybe even hyperlinked if I'm lucky.

The PDF output of the current doc version is not hyperlinked but I'm 
working an the docs. The next docs version will also have an index.


> However, this always seems to crash Lyx.

Again, this must be a cygwin-related problem.


Are the online documents unprintable/unexportable in other Lyx
installations?


No, you should be able to export them in every LyX installation.


Since my aim is to replace Word, there is some functionality I'm hoping
to see present.  One is Word's "outline mode", which lets the user
collapse or expand any hierarcy of text, promote/demote move entire
subtrees of text, and generally move subtrees around.  Is there such
functionality in Lyx?


The upcoming LyX version 1.5 will have this feature, see
http://wiki.lyx.org/LyX/NewInLyX15


I'm also interested in hyperlinking, both in the Lyx file and the final
PDF file.  I know I can generate hyperlinks in LaTeX, but only in the
final PDF (since LaTeX is just text).


The sections are "hyperlinked" in the LyX-file by their references: 
Right-click on a reference and the cursor jumps to the referenced section.


Having a hyperlinked PDF-file is relatively easy. An example of this is 
this new manual "Extended-Insets":

"http://wiki.lyx.org/LyX/DocumentationDevelopment#Extended-Insets";
This manual also contains some information how to generate hyperlinks 
using the LaTeX-package "hyperref".
If you can read German, there is a more detailed description in section 
22.18 of this manual:

http://wiki.lyx.org/uploads/LyX/LyXMathebefehle/LyXMathebefehle-3-09.pdf
(from http://wiki.lyx.org/LyX/LyXMathebefehle)


On the matter of making files known to Lyx, the template I'm using is
for LaTeX use.  How painless is it to make it available to Lyx?


It depends on the document preamble that you are using in your template.
LyX supports various templates of many publishers.
Personally, I can recommend to use a "koma-script" or "memoir" class to 
write theses, manuals, or other larger documents.



Finally, a question to those who had experience in LaTeX before going
to Lyx -- was it worthwhile?  Did you find it actually helped?


Of course it is! (What answer have you expected on this LyX-list? ;-) )
I came to LyX after my professor forced me to use LaTeX instead of Word. 
Then I started to fiddle around with "WinEdt" and plain LaTeX and gave 
up because I don't like to learn so many commands and don't want to 
"program" my text. A friend pointed me to LyX and it took me only a 
weekend after that I was able to write documents as I want to have them.


regards Uwe


Newbie questions re. Lyx

2006-11-03 Thread Gmane User
Hello,

I was advised on the tex newsgroup to post this here.
Just a bit of background: I've done a graduate thesis, presentations,
and conference papers in LaTex, but that was many years ago.  I am
highly, highly troubled by Word.  I'm a fan of Framemaker 1st, and
WordPerfect 2nd.  However, the only tools accessible right now are Word
and LaTex.  I've installed LaTex and Lyx via the Cygwin installation,
made LaTex work with the templates that we have to use, and dabbled
with Lyx.  I can view and export PDFs of little "Hello world" test
files.

I'm reading the online documentation, and see no navigation panel to
navigate the chapters and subsections.  There is only the "Table of
Contents" (TOC) button, which only shows 1st level headings.  So I
tried to view the online docs as PDFs in hopes of seeing the full TOC,
maybe even hyperlinked if I'm lucky.  However, this always seems to
crash Lyx.  From the task manager, I can see all sorts of processes
rising to the top of my list, sorted by CPU usage.  So no one process
is stalled, but there might be a script caught in a loop.  Same thing
happens if I restart Lyx and try to export to PDF.  If I try to print
to a PS file the PS file never shows up (looked in the default
directory, as well as the directory I specified).  I am able to print
my HelloWorld file to PS, though.

Are the online documents unprintable/unexportable in other Lyx
installations?

Since my aim is to replace Word, there is some functionality I'm hoping
to see present.  One is Word's "outline mode", which lets the user
collapse or expand any hierarcy of text, promote/demote move entire
subtrees of text, and generally move subtrees around.  Is there such
functionality in Lyx?

I'm also interested in hyperlinking, both in the Lyx file and the final
PDF file.  I know I can generate hyperlinks in LaTeX, but only in the
final PDF (since LaTeX is just text).  Even that needs all sorts of
files and commands embedded in the LaTeX file.  I understand that the
user has to make them known to Lyx.  I'm not necessarily expecting
someone to spell out step by step how to do it (though I wouldn't
ignore it if someone did), I'd appreciate it if those who have tried
going through the process can indicate how straightforward it is,
assuming it is even possible.

On the matter of making files known to Lyx, the template I'm using is
for LaTeX use.  How painless is it to make it available to Lyx?  I'm
thinking that as I navigate the online docs, there might be a section
that says how to point Lyx to the tetex tree that I set up for LaTex
(I'm a bit new to that, too, and it took about 1.5 days to get the
template working, including fetching missing files from the web).
Thanks for an advance idea of what can be expected.

Finally, a question to those who had experience in LaTeX before going
to Lyx -- was it worthwhile?  Did you find it actually helped?

Fred



Re: Newbie questions

2005-09-30 Thread Helge Hafting

[EMAIL PROTECTED] wrote:


2) In need to change the *subsection font to italics, how is this done?
 


Several solutions:


1. A new layout
The ideal solution is to get/make a new layout file for
lyx, that sets everything up right for you.  That way,
you get a new document type that you might want to call
"surgical journal article".

A layout file contains any latex code that might be needed for the 
desired result (i.e. use of the correct packages, font specifications 
and so on.)

A layout file also decides what things should look like on screen,
so you'll get an italic font for the "*subsection"  on screen too,
not _only_ in the final output.

Making a new layout is some work, because there are no
tools for doing it, other than text editors.  (The layout file
is a text file.)  If you want to attempt this, make a copy of
whatever existing layout that is closest to what you want, and edit that.
Feel free to ask for advice here if you get stuck.  Lyx documents
layout files somewhat in the help document "Customization".
I believe custom layouts are stored in .lyx/layouts, you may
also need to copy the standard layouts there.

2. Use some latex commands in the preamble
The font for *subsection  (and lots of other things)
can be overridden by entering the appropriate latex command(s)
into the document preamble.  You can find such commands on the
net, ask about them here, or look them up in a latex book.

When you got something that works, create a template document
by saving a document that has no text except for those
preamble commands.  You can store the template in
.lyx/templates.

If making a new layout is a bit too much, then this is the
way to go. And if you decide to make a new layout file later, then
that file can use the same latex commands as you use in
this preamble.

Note that the commands for changing subsection font may depend
on what document class you are using.  The koma-script classes
have some commands that make this easier than plain "article"
for example.


3. The not recommended "dummy" way:
Whenever you use subsection*, mark the text and change it to
italics.  Not recommended because it is a *lot* of work. It is also
easy to forget now and then, resulting in inconsistent style.
And if you ever need to change the style,
you'll need to change every subsection* in every document . That sort
of work is avoided with either of the two first ways.

Helge Hafting



RE: Newbie questions

2005-09-28 Thread lewisa
Thanks all,

My articles are now date free.
I had found Paul Johnsons stuff searching the mail-archive, but I hadn't come 
across the wiki pages. I hope they provide the answers I am looking for.

Alastair Lewis





Re: Newbie questions

2005-09-28 Thread chr
On Wed, 28 Sep 2005, Daniel Watkins wrote:

> On Tue, 2005-09-27 at 23:30 +0100, [EMAIL PROTECTED] wrote:
> > 3) Biblographies. I have used pybliographic to create .bib databases.
> > However, changing the order citations in the text upsets the citation
> > numbering within the text. I can't find a simple HOWTO on getting the
> > whole bibtext thing going.
> > 
> I quote Paul Johnson, from a little while back, on this list:

Also see these links
http://wiki.lyx.org/BibTeX/Introduction
http://wiki.lyx.org/Examples/SimpleUseOfBibTeX

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: Newbie questions

2005-09-27 Thread Daniel Watkins
On Tue, 2005-09-27 at 23:30 +0100, [EMAIL PROTECTED] wrote:
> 3) Biblographies. I have used pybliographic to create .bib databases.
> However, changing the order citations in the text upsets the citation
> numbering within the text. I can't find a simple HOWTO on getting the
> whole bibtext thing going.
> 
I quote Paul Johnson, from a little while back, on this list:
> When I started using LyX, I had never heard of BiBTeX and was distressed 
> that most documentation about bibliographies in LyX assumed I knew about 
> LaTeX and BibTeX.  After a while, I found a workable way and wrote up an 
> introductory explanation for newcomers.
> 
> I hope users will find this helpful and I'd be delighted if any/all of 
> the content could be added to the LyX documentation or linked on your 
> website:
> 
> http://www.ku.edu/~pauljohn/latex/biblioexample.pdf
> 
> That is simple and graphically illustrated.
> 
> A less well illustrated (more fumbling and bumbling) document was 
> circulated a while ago, and I don't really recommend it to new users. 
> The only unique component is that it explains one route by which to 
> create customized natbib style files for particular journals.
> 
> http://www.ku.edu/~pauljohn/latex/LaTeX_Bibliographies.html

I hope that is helpful (I can't say I've read it through, as bibliographies 
aren't really involved in what I need LyX for).

Cheers,
Dan





Re: Newbie questions

2005-09-27 Thread Rich Shepard

On Mon, 26 Sep 2005 [EMAIL PROTECTED] wrote:


I am new to lyx, and have been hooked by the concept and potential power of
the application. I principally would like to use it for (surgical) journal
article preparation. I have three questions that will ease the transation
away from OpenOffice.


  That's appropriate, Alastair: a cutting-edge application for surgical
articles.


1) How do I get rid of the date that follows the title?


  In the preamble, put:

\date{}

  Oops! Just got a business call. Gotta' run.

Rich

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


Newbie questions

2005-09-27 Thread lewisa
I am new to lyx, and have been hooked by the concept and potential power of the 
application. I principally would like to use it for (surgical) journal article 
preparation.
I have three questions that will ease the transation away from OpenOffice.

1) How do I get rid of the date that follows the title?

2) In need to change the *subsection font to italics, how is this done?

3) Biblographies. I have used pybliographic to create .bib databases. However, 
changing the order citations in the text upsets the citation numbering within 
the text. I can't find a simple HOWTO on getting the whole bibtext thing going.

Sorry this thread covers a lot of ground. Any pointers would be gratefully 
appreciated.


Alastair Lewis





Re: newbie questions about lyx/sgml

2004-12-14 Thread Bo Peng
> > 1. For whatever text in code and verbatim environment, I see [[CDATA etc
> >in ps/pdf/html output. 

>   That is a bug. Could you send me a small file showing this?

#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass linuxdoc
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Code

s
\the_end

> 5...
>   That means that the exported document is badly formed.



 #LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass docbook
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Title

title
\layout FirstName

firstname
\layout Surname

surname
\layout Date

date
\layout Abstract

ab
\layout Standard

standard
\the_end

ERROR MESSAGES:

Using catalogs: /etc/sgml/sgml-docbook-4.1-1.0-17.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.12/docbook-utils.dsl#print
Working on: /tmp/lyx_tmpdir61555Cc7a3/lyx_tmpbuf0/try.sgml
jade:/tmp/lyx_tmpdir61555Cc7a3/lyx_tmpbuf0/try.sgml:31:9:E: end tag
for "ARTICLE" which is not finished
Using catalogs: /etc/sgml/sgml-docbook-4.1-1.0-17.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.12/docbook-utils.dsl#print
Working on: /tmp/lyx_tmpdir61555Cc7a3/lyx_tmpbuf0/try.sgml
jade:/tmp/lyx_tmpdir61555Cc7a3/lyx_tmpbuf0/try.sgml:25:7:E: document
type does not allowelement "PARA" here; missing one of "ABSTRACT",
"PRINTHISTORY", "AUTHORBLURB", "LEGALNOTICE" start-tag
jade:/tmp/lyx_tmpdir61555Cc7a3/lyx_tmpbuf0/try.sgml:34:9:E: end tag
for "ARTICLE" which is not finished


Re: newbie questions about lyx/sgml

2004-12-13 Thread Jose' Matos
On Monday 13 December 2004 17:30, Bo Peng wrote:
> Dear List,
>
> I am a long time lyx user but totally new to sgml. I am writting a
> user's manual and decide to use sgml for its better style. I encountered
> several problems:
>
> 1. For whatever text in code and verbatim environment, I see [[CDATA etc
>in ps/pdf/html output. The tex file exported looks like:
>
>  \begin{verbatim}
>  
>  \end{verbatim}
>
>and the lyx code is (I am using include but plan text has the same
>problem)
>
>  \begin_inset Include \verbatiminput*{b.txt}
>   preview false
>
>   \end_inset

  That is a bug. Could you send me a small file showing this?

> 2. no mathematical formula. For a displayed formula \sin \alpha^2, the
>generated latex code is
>
>  {$<$}{[}CDATA{[}$\backslash$sin$\backslash$alpha\^{}$\{$2$\}$
>   sin
>alpha  2

  It is a tricky subject. We are trying to get it right in 1.4.

> 3. My understanding (I could not find any lyx sgml manual) is that SGML
>environment is for plain sgml code. However, when I input
>someone else in SGML enviroment, I get
>
>  someone else
>
>in sgml export.

  For that you need ERT. The SGML layout will go out in 1.4.

> 4. I would like to use a batch file to generate ps/pdf/html files but
>could not figure out what exactly the commands to use. What are the
>routes of lyx to generate files?
>lyx->(sgml?)->tex->dvi->ps
>lyx->sgml->tex->pdf
>lyx->sgml->pdf?
>lyx->tex->html
>lyx->sgml->html?

  That all depends if you are using linuxdoc or docbook. They are different 
and they have different toolchains.

> 5. I am using a SGML article style with standard title/date/author etc
>and I can at least get some output. When I use docbook SGML style, I
>get a bunch of error messages like
>
>% Using catalogs: /etc/sgml/sgml-docbook-4.1-1.0-17.cat
>Using stylesheet:
>/usr/share/sgml/docbook/utils-0.6.12/docbook-utils.dsl#print
>Working on: /tmp/lyx_tmpdir5097uuHXpm/lyx_tmpbuf1/userGuide.sgml
>jade:/tmp/lyx_tmpdir5097uuHXpm/lyx_tmpbuf1/userGuide.sgml:13:0:E:
>character data is not allowed here
>jade:/tmp/lyx_tmpdir5097uuHXpm/lyx_tmpbuf1/userGuide.sgml:14:10:E:
>end tag for"AUTHOR" which is not finished
>
>I have no idea at all what is going on.

  That means that the exported document is badly formed.

> I am using a standard redhat 9 box with the following apt-get'ed
> packages
>
> lyx-1.3.5
> linuxdoc-tools-0.9.20-8
> openjade-1.3.1-12
> sgml-common-0.6.3-14
> jadetex-3.12-9
> docbook-style-dsssl-1.76-8
> docbook-utils-0.6.12-5
> ... what else?

  That is fair.

> lyx reconfigure says:
>
> +checking for linuxdoc class linuxdoc...  yes
> ...
> +checking for docbook  class docbook-book...  yes
> +checking for docbook  class docbook-chapter...  yes
> +checking for docbook  class docbook-section...  yes
> +checking for docbook  class docbook...  yes
>
>
> Many thanks in advance.

-- 
José Abílio


newbie questions about lyx/sgml

2004-12-13 Thread Bo Peng
Dear List,

I am a long time lyx user but totally new to sgml. I am writting a 
user's manual and decide to use sgml for its better style. I encountered 
several problems:

1. For whatever text in code and verbatim environment, I see [[CDATA etc 
   in ps/pdf/html output. The tex file exported looks like:
   
 \begin{verbatim}
 
 \end{verbatim}

   and the lyx code is (I am using include but plan text has the same 
   problem)
   
 \begin_inset Include \verbatiminput*{b.txt}
  preview false

  \end_inset

2. no mathematical formula. For a displayed formula \sin \alpha^2, the 
   generated latex code is 

 {$<$}{[}CDATA{[}$\backslash$sin$\backslash$alpha\^{}$\{$2$\}$
  sin
   alpha  2

3. My understanding (I could not find any lyx sgml manual) is that SGML 
   environment is for plain sgml code. However, when I input  
   someone else in SGML enviroment, I get 
   
 someone else

   in sgml export.

4. I would like to use a batch file to generate ps/pdf/html files but 
   could not figure out what exactly the commands to use. What are the 
   routes of lyx to generate files?
   lyx->(sgml?)->tex->dvi->ps
   lyx->sgml->tex->pdf
   lyx->sgml->pdf?
   lyx->tex->html
   lyx->sgml->html?

5. I am using a SGML article style with standard title/date/author etc 
   and I can at least get some output. When I use docbook SGML style, I 
   get a bunch of error messages like

   % Using catalogs: /etc/sgml/sgml-docbook-4.1-1.0-17.cat
   Using stylesheet: 
   /usr/share/sgml/docbook/utils-0.6.12/docbook-utils.dsl#print
   Working on: /tmp/lyx_tmpdir5097uuHXpm/lyx_tmpbuf1/userGuide.sgml
   jade:/tmp/lyx_tmpdir5097uuHXpm/lyx_tmpbuf1/userGuide.sgml:13:0:E: 
   character data is not allowed here
   jade:/tmp/lyx_tmpdir5097uuHXpm/lyx_tmpbuf1/userGuide.sgml:14:10:E: 
   end tag for"AUTHOR" which is not finished

   I have no idea at all what is going on.

   
I am using a standard redhat 9 box with the following apt-get'ed 
packages 

lyx-1.3.5
linuxdoc-tools-0.9.20-8
openjade-1.3.1-12
sgml-common-0.6.3-14
jadetex-3.12-9
docbook-style-dsssl-1.76-8
docbook-utils-0.6.12-5
... what else?

lyx reconfigure says:

+checking for linuxdoc class linuxdoc...  yes
...
+checking for docbook  class docbook-book...  yes
+checking for docbook  class docbook-chapter...  yes
+checking for docbook  class docbook-section...  yes
+checking for docbook  class docbook...  yes


Many thanks in advance.
   

-- 
Bo Peng


more lyx newbie questions

2004-10-18 Thread Raphael Clifford
Despite using lyx for a while I am still basically a newbie :) 

How should this single page have been done correctly for example?  
Basically I have kludged the footnote markers seriously.  I didn't even 
particularly want footnotes but couldn't see any other way of doing the 
attributions.  Any tips gratefully received.

Cheers,
Raphael

#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass prosper-by-Weiss
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Author

R.Clifford
\begin_inset ERT
status Open

\layout Standard

\backslash 
hspace{-.15cm}
\end_inset 


\begin_inset Foot
collapsed false

\layout Standard

Algorithm Design Group, King's College London, UK
\end_inset 

, R.
 Groult
\begin_inset ERT
status Open

\layout Standard

\backslash 
hspace{-.15cm}
\end_inset 


\begin_inset Foot
collapsed false

\layout Standard

LIFAR-ABISS, Faculté des Sciences, France
\end_inset 

, C.S.
 Iliopoulos
\begin_inset ERT
status Open

\layout Standard

\backslash 
footnotemark[1]
\end_inset 

, D.
 Byrd
\begin_inset ERT
status Open

\layout Standard

\backslash 
hspace{-.15cm}
\end_inset 


\begin_inset Foot
collapsed false

\layout Standard

School of Music, Indiana University, USA
\end_inset 


\layout Title

Music Retrieval Algorithms for the Lead Sheet Problem
\the_end


Re: Newbie Questions

2004-10-08 Thread Dominik Waßenhoven
Herbert Voss schrieb:
Uwe Stöhr wrote:
[...]
choose Layout -> Paragraph -> left aligned
this makes only sense for a few paragraphs. For the
whole document a \raggedroght in ERT is better
I think, \raggedright would be of more use ;-)
Dominik.-


Re: Newbie Questions

2004-10-08 Thread Herbert Voss
Uwe Stöhr wrote:
Also, LyX is hyphenating my text when it reaches the
margins. How do I disable this feature? I would rather
have text not hyphenated.

choose Layout -> Paragraph -> left aligned
this makes only sense for a few paragraphs. For the
whole document a \raggedroght in ERT is better
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: Newbie Questions

2004-10-08 Thread N Castro

--- Uwe Stöhr <[EMAIL PROTECTED]> wrote:

> N Castro wrote:
> 
> > I think I would use some arrangement like Part,
> > Chapter, Section, but I don't want the extra
> numbers
> > (such as 1.1.1 subsection, or Chapter 1- Chapter
> > title), I would like to just have the names of
> each
> > section. How would I do this?
> 
> Use the starred form of the environments, e.g.
> choose "section*" instead 
> of "section"
> 
> > Also, LyX is hyphenating my text when it reaches
> the
> > margins. How do I disable this feature? I would
> rather
> > have text not hyphenated.
> 
> choose Layout -> Paragraph -> left aligned
> 
> regards Uwe
> 


=

Custom game sprites, custom animations, Free Downloads

http://www.nc-games.com




Re: Newbie Questions

2004-10-07 Thread Uwe Stöhr
N Castro wrote:
I think I would use some arrangement like Part,
Chapter, Section, but I don't want the extra numbers
(such as 1.1.1 subsection, or Chapter 1- Chapter
title), I would like to just have the names of each
section. How would I do this?
Use the starred form of the environments, e.g. choose "section*" instead 
of "section"

Also, LyX is hyphenating my text when it reaches the
margins. How do I disable this feature? I would rather
have text not hyphenated.
choose Layout -> Paragraph -> left aligned
regards Uwe


Newbie Questions

2004-10-07 Thread N Castro
Hi everyone.

I'm new to using LyX (and still new to using linux in
general) and I have a few questions.  I want to use
LyX to setup the formatting for a text book I want to
self publish.  It will have some sections and
chapters, I have been looking at the tips and tricks
section on the main lyx site, but I still have a few
questions that I couldn't find there.

I want the book to be arranged as such:

Introductions
 Chapter A
 Chapter B
Theory
 Chapter C
Design
 Section 1
  Chapter D
  Chapter E
 Section 2
  Chapter F
  Chapter G

I think I would use some arrangement like Part,
Chapter, Section, but I don't want the extra numbers
(such as 1.1.1 subsection, or Chapter 1- Chapter
title), I would like to just have the names of each
section. How would I do this?

Also, LyX is hyphenating my text when it reaches the
margins. How do I disable this feature? I would rather
have text not hyphenated.

Thanks for the help!

-Noel



Re: Newbie questions...

2004-04-15 Thread Paul A. Rubin
German Riano, Ph. D. wrote:
These may be FAQ, but I did not find an answer in the FAQs I checked.

I am trying to get Ruurd Reitsma´s lyx windows implementation to work on a
win2000 machine with MikTex. When running lyx I get:
LyXTextClassList::Read: no textclasses found!

There is a  textclass.lst file located at lyx\share\lyx\ which looks fine
to my untrained eye.
Any idea what is wrong?
Note: I also tried to compile lyx under cygwin, but ./configure failed to
find a forms library, and I cannot guess which cygwin package contins it.
Any idea?

There are a variety of ways the configuration script can fail under 
Windows.  You might want to look at 
http://www.soton.ac.uk/~rds2/WinLyxsetupnotes.htm for some installation 
notes.

-- Paul



Re: Newbie questions...

2004-04-15 Thread Uwe Stöhr
I am trying to get Ruurd Reitsma´s lyx windows implementation to work on a
win2000 machine with MikTex. When running lyx I get:
LyXTextClassList::Read: no textclasses found!

There is a  textclass.lst file located at lyx\share\lyx\ which looks fine
to my untrained eye.
Any idea what is wrong?
Try this:
"Edit the configure.bat manually.
The problem is when LyX and user's %HOME%/.lyx do not live on the
same drive - Edit->Reconfigure fails from within LyX then.
A minor change from %~p0 to %~dp0 everywhere in the batch file fixes that."
After that reconfigure LyX again (menu Edit->Reconfigure).


Re: Newbie questions...

2004-04-15 Thread Angus Leeming
German Riano, Ph. D. wrote:
> I am trying to get Ruurd Reitsma´s lyx windows implementation to
> work on a win2000 machine with MikTex. When running lyx I get:
> 
> LyXTextClassList::Read: no textclasses found!

>From the command line:

lyx -dbg all > lyx.log

should provide you with a mass of information. Some of it might even
be useful.

> There is a  textclass.lst file located at lyx\share\lyx\ which looks
> fine to my untrained eye.
> Any idea what is wrong?
> 
> Note: I also tried to compile lyx under cygwin, but ./configure
> failed to find a forms library, and I cannot guess which cygwin
> package contins it. Any idea?

Try './configure --with-frontend=qt' instead. The default is to use
the xforms gui library, but the qt alternative is far prettier.

-- 
Angus



Newbie questions...

2004-04-15 Thread German Riano, Ph. D.
These may be FAQ, but I did not find an answer in the FAQs I checked.

I am trying to get Ruurd Reitsma´s lyx windows implementation to work on a
win2000 machine with MikTex. When running lyx I get:

LyXTextClassList::Read: no textclasses found!


There is a  textclass.lst file located at lyx\share\lyx\ which looks fine
to my untrained eye.
Any idea what is wrong?

Note: I also tried to compile lyx under cygwin, but ./configure failed to
find a forms library, and I cannot guess which cygwin package contins it.
Any idea?



Re: Newbie Questions

2003-06-24 Thread Rajil Saraswat
seems i am on a old version, upgrading now.
Thanks

-
LaTeX2e <2000/06/01>
Babel  and hyphenation patterns for american, french, german, ngerman, 
n
ohyphenation, loaded.

(/usr/share/texmf/tex/latex/koma-script/scrartcl.cls
Document Class: scrartcl 1999/12/29 v2.5h LaTeX2e KOMA document class
(/usr/share/texmf/tex/latex/base/size11.clo
File: size11.clo 2000/05/19 v1.4b Standard LaTeX file (size option)
) (/usr/share/texmf/tex/latex/koma-script/typearea.sty
Package: typearea 1999/12/29 v2.5h LaTeX2e KOMA package
Package: typearea, Copyright (C) Frank Neukam, 1992-1994 
   Copyright (C) Markus Kohm, 1994-1999

On Tuesday 24 June 2003 19:03, Juergen Spitzmueller wrote:
> Rajil Saraswat wrote:
> > How can i find out which version i am using?
>
> if you did a LaTeX run (view dvi/postscript), the version is mentioned in
> the log file (view->LaTeX Log file).
>
> Juergen.

-- 
Rajil Saraswat
Materials Processing Group,
Department of Materials,   Tel(O): +44-20-759 46746
Imperial College,Tel(R): +44-20-785 20304
Prince Consort Road,
London, SW7 2BP, U.K
##
  Gentoo Linux
   Linux Version 2.4.20-ck6, Compiled #2 Tue Apr 29 18:12:09 BST 2003
 One 2.67GHz Intel Pentium 4 Processor, 1GB RAM, 5308.41 Bogomips Total
 Load Average 1.36, 1.16, 0.74
Uptime 1 day 8 hours 12 minutes
sora.mt.ic.ac.uk



Re: Newbie Questions

2003-06-24 Thread Juergen Spitzmueller
Rajil Saraswat wrote:
> How can i find out which version i am using?

if you did a LaTeX run (view dvi/postscript), the version is mentioned in the 
log file (view->LaTeX Log file).

Juergen.


Re: Newbie Questions

2003-06-24 Thread Rajil Saraswat
How can i find out which version i am using? The tex distribution i have is
Version 3.14159 (Web2C 7.3.1)
Does this give some hint?
Thanks
On Tuesday 24 June 2003 18:29, Juergen Spitzmueller wrote:
> Rajil Saraswat wrote:
> > Do i need to put this is in the preamble?
>
> Yes.
>
> > It gives me two errors if i put
> > this in the preamble
> > 
> > LaTeX Error: Missing \begin{document}.
> >  \setkomafont{s
> >ectioning}{\normalfont\normalcolor\bfseries}
> > You're in trouble here.  Try typingto proceed.
> > If that doesn't work, type  X   to quit.
>
> Which version of koma-script do you have? The package has evolved very much
> in the past year. The latest version is 2.9o
> ftp://ftp.dante.de/tex-archive/macros/latex/contrib/supported/koma-script
>
> With older versions, the setkomafont makros won't work. You have to use
> \renewcommand*{\sectfont}{\bfseries}
>
> But I strongly recommend upgrading. With older versions, you cannot use all
> features covered by LyX.
>
> Juergen.


Re: Newbie Questions

2003-06-24 Thread Juergen Spitzmueller
Rajil Saraswat wrote:
> Do i need to put this is in the preamble? 

Yes.

> It gives me two errors if i put
> this in the preamble
> 
> LaTeX Error: Missing \begin{document}.
>  \setkomafont{s
>ectioning}{\normalfont\normalcolor\bfseries}
> You're in trouble here.  Try typingto proceed.
> If that doesn't work, type  X   to quit.

Which version of koma-script do you have? The package has evolved very much in 
the past year. The latest version is 2.9o
ftp://ftp.dante.de/tex-archive/macros/latex/contrib/supported/koma-script

With older versions, the setkomafont makros won't work. You have to use
\renewcommand*{\sectfont}{\bfseries}

But I strongly recommend upgrading. With older versions, you cannot use all 
features covered by LyX.

Juergen.


Re: Newbie Questions

2003-06-24 Thread Rajil Saraswat
Do i need to put this is in the preamble? It gives me two errors if i put this 
in the preamble

LaTeX Error: Missing \begin{document}.
 \setkomafont{s
   ectioning}{\normalfont\normalcolor\bfseries}
You're in trouble here.  Try typingto proceed.
If that doesn't work, type  X   to quit.

Undefined control sequence.
 \setkomafont
 {sectioning}{\normalfont\normalcolor\bfseries}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
---
On Tuesday 24 June 2003 17:25, Juergen Spitzmueller wrote:
> Rajil Saraswat wrote:
> >  The koma-script  reminds me of Arial font of
> > windows. Can this property be changed for koma-script?
>
> Shure.
> \setkomafont{sectioning}{\normalfont\normalcolor\bfseries}
> KOMA Script is one of the most flexible class bundle. Have a look at the
> ~300 pages documentation and you'll know what I mean.
>
> > And what is natbib, is it some special style of bibtex?
>
> It is an extension for bibtex that lets you cite in Author (year) style.
> You need special bst styles.
>
> Juergen.


Re: Newbie Questions

2003-06-24 Thread Juergen Spitzmueller
Rajil Saraswat wrote:
>  The koma-script  reminds me of Arial font of
> windows. Can this property be changed for koma-script?

Shure.
\setkomafont{sectioning}{\normalfont\normalcolor\bfseries}
KOMA Script is one of the most flexible class bundle. Have a look at the ~300 
pages documentation and you'll know what I mean.

> And what is natbib, is it some special style of bibtex?

It is an extension for bibtex that lets you cite in Author (year) style. You 
need special bst styles.

Juergen.


Re: Newbie Questions

2003-06-24 Thread Rajil Saraswat
Thanks for answering my questions. The koma-script looks to have more 
environments than the simple article style. However i didnt like the fonts of 
koma-script, i want to use the fonts as used by the article style(i think it 
is the Adobe Times one). The koma-script  reminds me of Arial font of 
windows. Can this property be changed for koma-script?
And what is natbib, is it some special style of bibtex?
Thanks

On Tuesday 24 June 2003 16:42, Matej Cepl wrote:
> On 2003-06-24, 08:29 GMT, Rajil Saraswat wrote:
> > Yesterday i started my first paper in lyx, my supervisor was taken
> > aback when i showed him the printout, 'it was exactly like a journal'
>
> Not only like a journal -- many journals are created with LaTeX :-).
>
> > 1. Using the article layout always add the date to the rendered text.
> > Is it possible to turn off the date. I am writing a paper for
> > a journal, is article the best layout for me or are there any other
> > layouts available?
>
> Article is fine, plus some journals (Kluwer, Springer, ...) have their
> own classes, and some of them are supported by LyX. Also you may try
> article (koma-script), which is more flexible than standard article.
>
> As of date -- see
> http://www.educat.hu-berlin.de/~voss/lyx/titlepage/titlepage.phtml#date
>
> > 2. For a particular layout, how do i change the default font settings for
> > paragraph, section, subsection etc. I have tried exploring the
> > Layout>Document,Character but these donot change setting globally for a
> > particular environmental depth.
>
> No, they don't. What exactly would you like to do?
>
> > 3. How do i change the  type of numbering of section. For section the
> > numbering is like this '1' but i want a '.' to like this '1.' Is this
> > possible? Moreover i want my sections to start from number 3, how can i
> > do it?
>
> Koma-script has it as a standard, and for normal article put this into
> Layout/Document/Preamble:
>
>\renewcommand\thesection{\arabic{section}.}
>
> > 4. How do i change the format of my bibliography, can i add my own bst
> > files?
>
> Sure, in BibTeX dialog (Insert/TOC/BibTeX) the bottom field (Style) is
> for name of the bst file. Also if using any of natbib styles, do not
> forget to check Natbib in Layout/Document/Bibliography.
>
> > Is there any repository of bst files for different journals?
>
> There is (try directory.google.com for BibTeX), but better is to try
> homepage of your journal (many of them have a special page for LaTeX
> authors with particular style files.
>
> > phew! those are the ones i can think off now.
> > Thanks a lot.
>
> You're very welcome.
>
>Matej



Re: Some More Newbie Questions

2003-06-24 Thread Matej Cepl
On 2003-06-24, 11:38 GMT, Rajil Saraswat wrote:
> 1. I exported my lyx file (which had a table using the multirow 
> package) to a latex file and tried importing it back. The resulting 
> file had a totally misfigured table. Is lyx not capable of doing this 
> kind of stuff?

Current version of LyX has problems with that.

Matej

--
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Re: Newbie Questions

2003-06-24 Thread Matej Cepl
On 2003-06-24, 08:29 GMT, Rajil Saraswat wrote:
> Yesterday i started my first paper in lyx, my supervisor was taken 
> aback when i showed him the printout, 'it was exactly like a journal' 

Not only like a journal -- many journals are created with LaTeX :-).

> 1. Using the article layout always add the date to the rendered text. 
> Is it possible to turn off the date. I am writing a paper for 
> a journal, is article the best layout for me or are there any other 
> layouts available?

Article is fine, plus some journals (Kluwer, Springer, ...) have their 
own classes, and some of them are supported by LyX. Also you may try 
article (koma-script), which is more flexible than standard article.

As of date -- see
http://www.educat.hu-berlin.de/~voss/lyx/titlepage/titlepage.phtml#date

> 2. For a particular layout, how do i change the default font settings for 
> paragraph, section, subsection etc. I have tried exploring the 
> Layout>Document,Character but these donot change setting globally for a 
> particular environmental depth.

No, they don't. What exactly would you like to do?

> 3. How do i change the  type of numbering of section. For section the 
> numbering is like this '1' but i want a '.' to like this '1.' Is this 
> possible? Moreover i want my sections to start from number 3, how can i do 
> it?

Koma-script has it as a standard, and for normal article put this into 
Layout/Document/Preamble:

   \renewcommand\thesection{\arabic{section}.}


> 4. How do i change the format of my bibliography, can i add my own bst files? 

Sure, in BibTeX dialog (Insert/TOC/BibTeX) the bottom field (Style) is 
for name of the bst file. Also if using any of natbib styles, do not 
forget to check Natbib in Layout/Document/Bibliography.

> Is there any repository of bst files for different journals?

There is (try directory.google.com for BibTeX), but better is to try 
homepage of your journal (many of them have a special page for LaTeX 
authors with particular style files.

> phew! those are the ones i can think off now.
> Thanks a lot.

You're very welcome.

   Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Re: Some More Newbie Questions

2003-06-24 Thread Andre Poenitz
On Tue, Jun 24, 2003 at 01:11:32PM +0100, Rajil Saraswat wrote:
> 2. I inserted a normal graphics without the float feature. Now i want to 
> assign a caption and refer it in my text.

Not sure that 'non floating graphics' can have a caption.

You could put it in a float and choose 'Here!' placement.

> If change my caption from standard to 'environment caption' then lyx
> gives an error that caption is out of float. Is there a way to assign
> numbers to captions and then refer these in the text?

But a label in the caption and a reference in the text.

> I know how to do this sort of thing for equations because we have an
> explicit command in the 'Edit' menu for 'toggling numering of line' but
> is there any for figure captions? 

Note that you shouldn't write 'see Table 2' but rather 'see Table
[grey reference button]'

Andre'

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


Re: Some More Newbie Questions

2003-06-24 Thread Juergen Spitzmueller
Rajil Saraswat wrote:
> 2. I inserted a normal graphics without the float feature. Now i want to
> assign a caption and refer it in my text.

Again a friendly pointer to Herbert's pages:
http://www.educat.hu-berlin.de/~voss/lyx/floats/nonFloat.phtml

(captions are only possible inside floats by default)

Juergen.


Re: Some More Newbie Questions

2003-06-24 Thread Rajil Saraswat
Thanks i was able to copy the table by opening the files in the same session. 
I was inserting some images in my file and was stuck with the numbering. I 
tried two ways:
1. Using a float figure works fine and i can assign and refer captions.
2. I inserted a normal graphics without the float feature. Now i want to 
assign a caption and refer it in my text. If change my caption from standard 
to 'environment caption' then lyx gives an error that caption is out of 
float. Is there a way to assign numbers to captions and then refer these in 
the text?. I know how to do this sort of thing for equations because we have 
an explicit command in the 'Edit' menu for 'toggling numering of line' but is 
there any for figure captions?
Thanks again.


Re: Some More Newbie Questions

2003-06-24 Thread Juergen Spitzmueller
Rajil Saraswat wrote:
> 1. I exported my lyx file (which had a table using the multirow package) to
> a latex file and tried importing it back. The resulting file had a totally
> misfigured table. Is lyx not capable of doing this kind of stuff?

Not always sufficiently (unfortunately).

> 2. I want to copy this table to another lyx file without having to create
> it again. I tried to copy/paste among these lyx documents but only the text
> gets copied not the table. How can i copy the table? Alright, here is a

Select the table, edit->copy, go the the other document, edit->paste. Note 
that Strg+C/Strg+V and lyx-copy do different things (which is a feature).

> stupid idea, is it possible to see the tex/lyx code which lyx is writing
> when i am typing something in lyx. Something like an html editor which
> shows you the html source and the rendered page. If this could be possible
> i could just copy the underlying tex code into my new document.
> Thanks to this wonderful community.

For math, you can use the preview-latex feature (install preview-latex style 
and select "instant preview" from preferences). For tables, this is not (yet) 
implemented (but personally I think it would be woth it).

Juergen.


Re: Some More Newbie Questions

2003-06-24 Thread Andre Poenitz
On Tue, Jun 24, 2003 at 12:38:24PM +0100, Rajil Saraswat wrote:
> Thank you all for your help. I am slowly and steadily progressing on my lyx 
> experience.
> I couldnt do the following things:
> 1. I exported my lyx file (which had a table using the multirow package) to a 
> latex file and tried importing it back. The resulting file had a totally 
> misfigured table. Is lyx not capable of doing this kind of stuff?

It isn't. [Probably, but you can send me a minimal example file just to
make sure]

> 2. I want to copy this table to another lyx file without having to create it 
> again. I tried to copy/paste among these lyx documents but only the text gets 
> copied not the table. How can i copy the table?

By opening both files in the same LyX instance.

> Alright, here is a stupid idea, is it possible to see the tex/lyx code
> which lyx is writing when i am typing something in lyx. Something like
> an html editor which shows you the html source and the rendered page. If
> this could be possible i could just copy the underlying tex code into my
> new document.

Not side by side. You could define a 'viewer for LaTeX' in the
Edit->Preferences->Converters section as 'xterm -e less' and subsequently
view the kind of .tex LyX would produce by selecting View->Latex (after a
restart of LyX maybe).

Andre'


Andre'

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


Some More Newbie Questions

2003-06-24 Thread Rajil Saraswat
Thank you all for your help. I am slowly and steadily progressing on my lyx 
experience.
I couldnt do the following things:
1. I exported my lyx file (which had a table using the multirow package) to a 
latex file and tried importing it back. The resulting file had a totally 
misfigured table. Is lyx not capable of doing this kind of stuff?
2. I want to copy this table to another lyx file without having to create it 
again. I tried to copy/paste among these lyx documents but only the text gets 
copied not the table. How can i copy the table? Alright, here is a stupid 
idea, is it possible to see the tex/lyx code which lyx is writing when i am 
typing something in lyx. Something like an html editor which shows you the 
html source and the rendered page. If this could be possible i could just 
copy the underlying tex code into my new document.
Thanks to this wonderful community.


Re: FEATURE REQUEST - Re: Newbie Questions

2003-06-24 Thread Andre Poenitz
On Tue, Jun 24, 2003 at 07:27:16PM +0900, Jan Peters wrote:
> >What's wrong with the current TeX button?
> 
> There was just one user saying: how can I take out the \date line out of
> the article? In Latex that would be no problem and that was the answer.
> But LyX should be more than a front-end where you have to dig deeper
> with an external editor: every option of the article class should be
> reachable with some button!!!

*sigh* I surely mentioned 'limited resources' at some point of time.

Feel free to increase them.
 
> That was all I was saying - and \date is not reachable!

But Herbert's page is reachable, and - surprise - everything that's needed
is written there under - you might have guessed it - 'Date'.

Andre'

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


Re: FEATURE REQUEST - Re: Newbie Questions

2003-06-24 Thread Jan Peters
Apparently it's too hard to change this, so it looks like this 
will be
a limitation in LyX for some time now ;( .
... however, you won't find a fancy point&click interface in LyX for
that.
Could you just add a button: [LATEX] or [PREAMBLE] for these things?
What's wrong with the current TeX button?
There was just one user saying: how can I take out the \date line
out of the article? In Latex that would be no problem and that was
the answer. But LyX should be more than a front-end where you
have to dig deeper with an external editor: every option of the
article class should be reachable with some button!!!
That was all I was saying - and \date is not reachable!

 -Jan



Re: FEATURE REQUEST - Re: Newbie Questions

2003-06-24 Thread Andre Poenitz
On Tue, Jun 24, 2003 at 06:58:03PM +0900, Jan Peters wrote:
> >>>Apparently it's too hard to change this, so it looks like this will be
> >>>a limitation in LyX for some time now ;( .
> >>
> >>... however, you won't find a fancy point&click interface in LyX for
> >>that.
> 
> Could you just add a button: [LATEX] or [PREAMBLE] for these things? 

What's wrong with the current TeX button?

Andre'



FEATURE REQUEST - Re: Newbie Questions

2003-06-24 Thread Jan Peters
Apparently it's too hard to change this, so it looks like this will
be a limitation in LyX for some time now ;( .
... however, you won't find a fancy point&click interface in LyX for
that.
Could you just add a button: [LATEX] or [PREAMBLE] for these things? It 
is completely
fine from a Users point of view when many things are not point&click 
--- but
it would make things much easier if I do no have to leave LyX and go
to an editor for that!

LyX developers: you are doing a great job, and you are clearly right 
lyx can and should
not have all features of Latex integrated in the gui; that would just 
make it
impractical (good example: word does that - thats why hardly anybody 
knows
more than the basic features of word). BUT: all features of latex that 
are not
accessible through the gui should be shown as small buttons [LATEX].

Thank you guys so much for giving us LyX :):) :):) :):) :):) :):) :):) 
:):) :):) :):)
-Jan



Re: Newbie Questions

2003-06-24 Thread Juergen Spitzmueller
Rajil Saraswat wrote:
> I have some newbie questions here,It would be great if you can give me
> hints on these:

In general, I can recommend Herbert Voss' Lyx Tips. They are a treasure not 
only for newbies:
http://www.educat.hu-berlin.de/~voss/lyx/index.phtml
There are also a useful Lyx Wiki pages:
http://ev-en.org/wiki/moin.cgi

> 1. Using the article layout always add the date to the rendered text. Is it
> possible to turn off the date. I am writing a paper for a journal, is
> article the best layout for me or are there any other layouts available?

http://www.educat.hu-berlin.de/~voss/lyx/titlepage/titlepage.phtml#date

> 2. For a particular layout, how do i change the default font settings for
> paragraph, section, subsection etc. I have tried exploring the
> Layout>Document,Character but these donot change setting globally for a
> particular environmental depth.

This is easy with komascript classes: class options smallheadings, 
normalheadings bigheadings or in preamble

With standard classes, you'll have to redefine the environments or (better) 
have a look at the titlesec package available on CTAN (www.ctan.org).

> 3. How do i change the  type of numbering of section. For section the
> numbering is like this '1' but i want a '.' to like this '1.' Is this
> possible? Moreover i want my sections to start from number 3, how can i do
> it?

1. In komascript: class options pointednumbers. In normal classes you have to 
redefine the counters in the preamble:
\renewcommand\thesection{\arabic{section}.}
etc.

2. setcounter{section}{2}
in preamble

> 4. How do i change the format of my bibliography, can i add my own bst
> files? Is there any repository of bst files for different journals?

You can add you bst files. If you place them into a directory where tex can 
find them (texmf-tree) and run texhash, LyX should get aware of it.
(Insert->List...->BibTeX Inset).

HTH,
Juergen



Re: Newbie Questions

2003-06-24 Thread Thomas CLive Richards
> > 
> > Unfortunately, these things seem to be "hard coded" into Lyx.
> 
> These things are 'hard wired' into the corresponding LaTeX class.
> This can be changes easily with a line of LaTeX or two...
> 
> > Apparently it's too hard to change this, so it looks like this will
> > be a limitation in LyX for some time now ;( .
> 
> ... however, you won't find a fancy point&click interface in LyX for
> that.
> 

bleh, whatever the correct terminology is...

> > However, there is a workaround, if you really care. I've found the
> > best way is to export it to latex format, and then open it with
> > another app, such as TexMacs.  (actually, i created my own python
> > script to make the changes i need to the document I'm working on).
> > Once you've made the changes you can use any one of the plethora od
> > latex conversion tools to convert your finished document to any
> > format you want, such as HTML, PDF, or whatever.
> 
> So now we are on the "let's spread FUD on LyX" trip?
> 
umm.. no.. it's a solution to a problem... what's the problem? *i* found
it easier to do this way, others might too...


-- 

Thomi Richards,
[EMAIL PROTECTED]



Re: Newbie Questions

2003-06-24 Thread Andre Poenitz
On Tue, Jun 24, 2003 at 08:44:21PM +1200, Thomas CLive Richards wrote:
> > 2. For a particular layout, how do i change the
> > default font settings for paragraph, section, subsection etc. I have
> > tried exploring the Layout>Document,Character but these donot change
> > setting globally for a particular environmental depth.
> > 3. How do i change the  type of numbering of section. For section the 
> > numbering is like this '1' but i want a '.' to like this '1.' Is this 
> > possible? Moreover i want my sections to start from number 3, how can
> > i do it?
> 
> Unfortunately, these things seem to be "hard coded" into Lyx.

These things are 'hard wired' into the corresponding LaTeX class.
This can be changes easily with a line of LaTeX or two...

> Apparently it's too hard to change this, so it looks like this will be
> a limitation in LyX for some time now ;( .

... however, you won't find a fancy point&click interface in LyX for that.

> However, there is a workaround, if you really care. I've found the best
> way is to export it to latex format, and then open it with another app,
> such as TexMacs.  (actually, i created my own python script to make the
> changes i need to the document I'm working on). Once you've made the
> changes you can use any one of the plethora od latex conversion tools to
> convert your finished document to any format you want, such as HTML, PDF,
> or whatever.

So now we are on the "let's spread FUD on LyX" trip?

Andre'

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


Re: Newbie Questions

2003-06-24 Thread Andre Poenitz
On Tue, Jun 24, 2003 at 09:29:40AM +0100, Rajil Saraswat wrote:
> Yesterday i started my first paper in lyx, my supervisor was taken aback when 
> i showed him the printout, 'it was exactly like a journal' is what he said. 

Good.

> So i am sticking with lyx for long time now :)
> I have some newbie questions here,It would be great if you can give me hints 
> on these:
> 1. Using the article layout always add the date to the rendered text. Is it 
> possible to turn off the date.

You can make an empty paragraph with Layout 'Date' near the top of your doc
and put a 'protected blank'  (Ctrl-Space) there to make sure the 'empty'
paragraph is not automatically removed.

> I am writing a paper for a journal, is article 
> the best layout for me or are there any other layouts available?

Usually the journals have some LaTeX class of their own, and in rare cases
there is even a suitable LyX .layout. I guess you have to give more details
here...

> 2. For a particular layout, how do i change the default font settings for 
> paragraph, section, subsection etc. I have tried exploring the 
> Layout>Document,Character but these donot change setting globally for a 
> particular environmental depth.

Usually in the style/class file. It is, however, not encouraged. You should
rather pick a class with suitable defaults.

> 3. How do i change the  type of numbering of section. For section the 
> numbering is like this '1' but i want a '.' to like this '1.' Is this 
> possible?

The 'KoMa' classes to that by default. 

> Moreover i want my sections to start from number 3, how can i do it?

By using plain LaTeX: \setcounter{section}{2} immediately before your first
section heading.

> 4. How do i change the format of my bibliography, can i add my own bst files? 

I thought the Insert->List&TOC->Bibtex dialog took care of that.

> Is there any repository of bst files for different journals?

Don't know.

Andre'

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


Re: Newbie Questions

2003-06-24 Thread Thomas CLive Richards
Hey!


> 2. For a particular layout, how do i change the
> default font settings for paragraph, section, subsection etc. I have
> tried exploring the Layout>Document,Character but these donot change
> setting globally for a particular environmental depth.
> 3. How do i change the  type of numbering of section. For section the 
> numbering is like this '1' but i want a '.' to like this '1.' Is this 
> possible? Moreover i want my sections to start from number 3, how can
> i do it?

Unfortunately, these things seem to be "hard coded" into Lyx. Apparently
it's too hard to change this, so it looks like this will be a limitation
in LyX for some time now ;( . However, there is a workaround, if you
really care. I've found the best way is to export it to latex format,
and then open it with another app, such as TexMacs. (actually, i created
my own python script to make the changes i need to the document I'm
working on). Once you've made the changes you can use any one of the
plethora od latex conversion tools to convert your finished document to
any format you want, such as HTML, PDF, or whatever.

HTH,

-- 

Thomi Richards,
[EMAIL PROTECTED]



Newbie Questions

2003-06-24 Thread Rajil Saraswat
Hi,
Yesterday i started my first paper in lyx, my supervisor was taken aback when 
i showed him the printout, 'it was exactly like a journal' is what he said. 
So i am sticking with lyx for long time now :)
I have some newbie questions here,It would be great if you can give me hints 
on these:
1. Using the article layout always add the date to the rendered text. Is it 
possible to turn off the date. I am writing a paper for a journal, is article 
the best layout for me or are there any other layouts available?
2. For a particular layout, how do i change the default font settings for 
paragraph, section, subsection etc. I have tried exploring the 
Layout>Document,Character but these donot change setting globally for a 
particular environmental depth.
3. How do i change the  type of numbering of section. For section the 
numbering is like this '1' but i want a '.' to like this '1.' Is this 
possible? Moreover i want my sections to start from number 3, how can i do 
it?
4. How do i change the format of my bibliography, can i add my own bst files? 
Is there any repository of bst files for different journals?

phew! those are the ones i can think off now.
Thanks a lot.


Re: Newbie questions

2002-11-20 Thread Andre Poenitz
On Tue, Nov 19, 2002 at 09:28:39PM -0500, Mark Carroll wrote:
> Cool, thanks. (-: It turned out that our local LaTeX person also thought
> the \date{} thing would work! The searchable archive is great too. I
> haven't found the answer to my removing-section-numbers question yet

Can his be solved by using  section*  instead of  section?

> Overall, LyX seems pretty nice so far, though I'm starting to wonder if
> I'll have to learn LaTeX sometime if I start using LyX much.

Probably. But you can do that in small steps...

Andre'

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



Re: Newbie questions

2002-11-20 Thread Jean-Marc Lasgouttes
> "Christian" == Christian Ridderström <[EMAIL PROTECTED]> writes:

Christian> Oh, btw Mark, I just checked and there is nothing in the
Christian> FAQ.lyx about this, which must be the most frequently asked
Christian> question about LyX...

Indeed.

Christian> So I took the liberty of adding the small piece of
Christian> .lyx-code below to the FAQ.lyx now I just need to
Christian> figure out how to get it to the documentation team's
Christian> attention.

The easiest for us is to make sure you have the latest version from
cvs and send a patch against it to [EMAIL PROTECTED]

However, I did include your snippet to the FAQ, and then got carried
away and did a general cleanup of the document. If somebody feels
inclined to do a further cleanup, please do!

JMarc




RE: Newbie questions

2002-11-20 Thread Jochen Wurster
Hi,

here is another way to get rid of the section and subsection numbering.
Use Section* environment instead of Section. Same with SubSection* and so
on. No numbering on the screen and no numbering on the output. But remember
those sections will not be listed in the ToC.

Bye
Jochen

-Ursprungliche Nachricht-
Von: Mark Carroll [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 19. November 2002 19:03
An: [EMAIL PROTECTED]
Betreff: Newbie questions


Hi. I'm using LyX 1.1.6fix4 with "latex --version" giving,
TeX (Web2C 7.3.7) 3.14159
kpathsea version 3.3.7

I am writing a document - my first in LyX - where the title, section,
subsection structure of "article" seems to work well, but I can't work out
how to get rid of the date under the title, or the numbers before the
section headings. I've tried things like Layout -> Document -> Document ->
Pagestyle=plain, etc. but none of the options under the Class=article bit
really seem to have any effect on the PostScript I'm outputting.

Am I missing something obvious? I have all the help docs installed if I
just need to be pointed to something I missed.

Thanks,
Mark





Re: Newbie questions

2002-11-20 Thread José Abílio Oliveira Matos
On Wednesday 20 November 2002 04:52, Christian Ridderström wrote:
>
> You'll probably have lots of use for your "latex"-person :-)
>
> Here's a very hackish solution for how to get rid of the section and
> subsection numbers... it's in a "wiki", so anybody who knows better can
> add a better solution:
>
>   http://ev-en.org/wiki/moin.cgi/LyxFAQ

  Layout => Document => Extra => Section number depth

  change it to -2 and the section numbers *puhf*.

> /Christian

-- 
José Abílio



Re: Newbie questions

2002-11-19 Thread Christian Ridderström
On Tue, 19 Nov 2002, Mark Carroll wrote:

> On Tue, 19 Nov 2002, Christian Ridderström wrote:
> (snip)
> > Oh, btw Mark, I just checked and there is nothing in the FAQ.lyx about
> > this, which must be the most frequently asked question about LyX...
> >
> > So I took the liberty of adding the small piece of .lyx-code below
> > to the FAQ.lyx now I just need to figure out how to get it to
> > the documentation team's attention.
> (snip)
> 
> Cool, thanks. (-: It turned out that our local LaTeX person also thought
> the \date{} thing would work! The searchable archive is great too. I
> haven't found the answer to my removing-section-numbers question yet (or
You'll probably have lots of use for your "latex"-person :-)

Here's a very hackish solution for how to get rid of the section and 
subsection numbers... it's in a "wiki", so anybody who knows better can 
add a better solution:

http://ev-en.org/wiki/moin.cgi/LyxFAQ

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se






Re: Newbie questions

2002-11-19 Thread Mark Carroll
On Tue, 19 Nov 2002, Christian Ridderström wrote:
(snip)
> Oh, btw Mark, I just checked and there is nothing in the FAQ.lyx about
> this, which must be the most frequently asked question about LyX...
>
> So I took the liberty of adding the small piece of .lyx-code below
> to the FAQ.lyx now I just need to figure out how to get it to
> the documentation team's attention.
(snip)

Cool, thanks. (-: It turned out that our local LaTeX person also thought
the \date{} thing would work! The searchable archive is great too. I
haven't found the answer to my removing-section-numbers question yet (or
why in general the layout document thing doesn't seem to have much
effect), but I'm still searching! (The problem with the Date problem and
most search engines was that I was finding all articles with a Date:
header.)

Overall, LyX seems pretty nice so far, though I'm starting to wonder if
I'll have to learn LaTeX sometime if I start using LyX much. The pdf
conversion messed up my pngs, but doing ps2pdf manually with
-dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode fixed that.
At some point I'll figure out how to have text running beside an image.
(-:

All the best,
  Mark




Re: Newbie questions

2002-11-19 Thread Christian Ridderström
On Tue, 19 Nov 2002, Mark Carroll wrote:
>
> how to get rid of the date under the title
> 
> Am I missing something obvious? I have all the help docs installed if I
> just need to be pointed to something I missed.
> 

Oh, btw Mark, I just checked and there is nothing in the FAQ.lyx about 
this, which must be the most frequently asked question about LyX...

So I took the liberty of adding the small piece of .lyx-code below 
to the FAQ.lyx now I just need to figure out how to get it to 
the documentation team's attention.

### code snippet about how to get rid of the date...

\layout Subsubsection

How do I get rid of the date under the title?
\layout Standard

One solution is to open the menu 
\family sans 
Layout\SpecialChar \menuseparator
Preamble
\family default 
 and add write the line
\layout LyX-Code


\backslash 
date{}
\layout Standard

in the preamble window.

### end of code snippet.

The modified FAQ.lyx can also be found at: 
http://www.md.kth.se/~chr/lyx/doc/FAQ.lyx

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se






Re: Newbie questions

2002-11-19 Thread Christian Ridderström
On Tue, 19 Nov 2002, Mark Carroll wrote:

> Hi. I'm using LyX 1.1.6fix4 with "latex --version" giving,
> TeX (Web2C 7.3.7) 3.14159
> kpathsea version 3.3.7
> 
> I am writing a document - my first in LyX - where the title, section,
> subsection structure of "article" seems to work well, but I can't work out
> how to get rid of the date under the title, or the numbers before the

Try this link,

http://marc.theaimsgroup.com/?l=lyx-users&w=2&r=1&s=date+title&q=b

there you can find todays discussion about how to remove the date :-)

It's actually very easy to solve, but this way you'll also get a link 
to a place where you can search this mailing list.

/Christian

PS. If you want the quick solution, just add  \date{}  in your preamble, 
i.e. open the menu:

Layout->Preamble

and then type

\date{}

in that window and click on OK. DS

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se






Newbie questions

2002-11-19 Thread Mark Carroll
Hi. I'm using LyX 1.1.6fix4 with "latex --version" giving,
TeX (Web2C 7.3.7) 3.14159
kpathsea version 3.3.7

I am writing a document - my first in LyX - where the title, section,
subsection structure of "article" seems to work well, but I can't work out
how to get rid of the date under the title, or the numbers before the
section headings. I've tried things like Layout -> Document -> Document ->
Pagestyle=plain, etc. but none of the options under the Class=article bit
really seem to have any effect on the PostScript I'm outputting.

Am I missing something obvious? I have all the help docs installed if I
just need to be pointed to something I missed.

Thanks,
Mark




Re: Newbie Questions

2001-02-17 Thread George De Bruin

On Friday 16 February 2001 18:49, Dekel Tsur wrote:

> Did you put a TOC in the document using the
> insert->list&toc->table_of_contents menu ?
>
> Maybe you did something else wrong.
> See the attached example file.

  That was exactly it.  Just inserted it and it works 
perfectly.  I thought I had looked at the insert menu for that, but just 
must've missed it.  (Yes, I really do need to read the docs...that's next on 
the list...:)

Thanks Dekel!

// George



Re: Newbie Questions

2001-02-16 Thread Marcus Beyer


> On Thursday 15 February 2001 18:54, Dekel Tsur wrote:
> > Use Chapter instead of Chapter*.
> > Then open the document dialog, and set the "section number depth" to -1.
>
> This is really, really close.  I see now that the TOC menu and Edit->Table
> of Contents do show the entries.  However, when I generate a DVI there
> isn't a table of contents.
>
> I  wonder if I need to include Herbert's suggestion of adding
>
> \addcontentsline{toc}{chapter}{YourChapterTitle}
>
> With this formatting to make it work?
>
> Hmm, doesn't look like it.  I just tried it and it had no effect.
>
> // George

Can you tell me what's wrong with "Addchap"?
I thought this is exactly what you need without any tricks.

Marcus

http://www.Stormlight.de/lyx_de.html



Re: Newbie Questions

2001-02-16 Thread Dekel Tsur

On Fri, Feb 16, 2001 at 12:32:38PM +, George De Bruin wrote:
> On Thursday 15 February 2001 18:54, Dekel Tsur wrote:
> 
> > Use Chapter instead of Chapter*.
> > Then open the document dialog, and set the "section number depth" to -1.
> 
> This is really, really close.  I see now that the TOC menu and Edit->Table of 
> Contents do show the entries.  However, when I generate a DVI there isn't a 
> table of contents.  

Did you put a TOC in the document using the 
insert->list&toc->table_of_contents menu ?

Maybe you did something else wrong.
See the attached example file.




#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass scrbook
\language english
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth -1
\tocdepth 2
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 2
\paperpagestyle default

\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Chapter

The First Chapter
\layout Chapter

The Second Chapter
\the_end



Re: Newbie Questions

2001-02-16 Thread George De Bruin

On Thursday 15 February 2001 18:54, Dekel Tsur wrote:

> Use Chapter instead of Chapter*.
> Then open the document dialog, and set the "section number depth" to -1.

This is really, really close.  I see now that the TOC menu and Edit->Table of 
Contents do show the entries.  However, when I generate a DVI there isn't a 
table of contents.  

I  wonder if I need to include Herbert's suggestion of adding

\addcontentsline{toc}{chapter}{YourChapterTitle}

With this formatting to make it work?

Hmm, doesn't look like it.  I just tried it and it had no effect.

// George



Re: Newbie Questions

2001-02-15 Thread Dekel Tsur

On Thu, Feb 15, 2001 at 11:19:35AM +, George De Bruin wrote:
> Hello,
> 
> I am fairly new to LyX, and am having a bit of a problem figuring out how to 
> do something(s).
> 
> What I am trying to format is a 'book' of 'poetry'.  Currently I am using the 
> book (koma script) document class.  I've marked the title of each poem using 
> the \layout Chapter* formatting, as that places each piece on a new page and 
> doesn't number them. (I also changed the format to one sidedi nstead of two 
> sided to avoid getting a bunch of extra blank pages).
> 
> Okay, so far, so good...  Only exception is: using Chapter* no entries are 
> created in the TOC.  Even though these entries aren't numbered, I do want 
> them in the table of contents.  So, that is the question: how do I get the 
> Chapter* formatting to create entries in the table of contents?

Use Chapter instead of Chapter*.
Then open the document dialog, and set the "section number depth" to -1.




Re: Newbie Questions

2001-02-15 Thread Marcus Beyer


> > What I am trying to format is a 'book' of 'poetry'.  Currently I am using
> > the book (koma script) document class.  I've marked the title of each
> > poem using the \layout Chapter* formatting, as that places each piece on
> > a new page and doesn't number them. (I also changed the format to one
> > sidedi nstead of two sided to avoid getting a bunch of extra blank
> > pages).
> >
> > Okay, so far, so good...  Only exception is: using Chapter* no entries
> > are created in the TOC.  Even though these entries aren't numbered, I do
> > want them in the table of contents.  So, that is the question: how do I
> > get the Chapter* formatting to create entries in the table of contents?
>
> there must be a special command for koma-class. have a look
> at the manual.

Because of using "book (koma script)" it's much easier:
Just choose "Addchap" instead of "Chapter*". That's all :-)

Marcus

http://www.Stormlight.de/lyx_de.html



Re: Newbie Questions

2001-02-15 Thread Herbert Voss

George De Bruin wrote:
> 
> Hello,
> 
> I am fairly new to LyX, and am having a bit of a problem figuring out how to
> do something(s).
> 
> What I am trying to format is a 'book' of 'poetry'.  Currently I am using the
> book (koma script) document class.  I've marked the title of each poem using
> the \layout Chapter* formatting, as that places each piece on a new page and
> doesn't number them. (I also changed the format to one sidedi nstead of two
> sided to avoid getting a bunch of extra blank pages).
> 
> Okay, so far, so good...  Only exception is: using Chapter* no entries are
> created in the TOC.  Even though these entries aren't numbered, I do want
> them in the table of contents.  So, that is the question: how do I get the
> Chapter* formatting to create entries in the table of contents?

in tex (red) behind the chapter

\addcontentsline{toc}{chapter}{YourChapterTitle}

there must be a special command for koma-class. have a look
at the manual.

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/lyx/



Newbie Questions

2001-02-15 Thread George De Bruin

Hello,

I am fairly new to LyX, and am having a bit of a problem figuring out how to 
do something(s).

What I am trying to format is a 'book' of 'poetry'.  Currently I am using the 
book (koma script) document class.  I've marked the title of each poem using 
the \layout Chapter* formatting, as that places each piece on a new page and 
doesn't number them. (I also changed the format to one sidedi nstead of two 
sided to avoid getting a bunch of extra blank pages).

Okay, so far, so good...  Only exception is: using Chapter* no entries are 
created in the TOC.  Even though these entries aren't numbered, I do want 
them in the table of contents.  So, that is the question: how do I get the 
Chapter* formatting to create entries in the table of contents?

Thanks for any help!

// George



Re: Newbie Questions

2000-07-27 Thread Jean-Marc Lasgouttes

> "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes:

Kayvan> On Wed, Jul 26, 2000 at 09:28:08AM -0400, Dave Rolfe wrote:
>> I have just started using Lyx to create patent documents. I am
>> using version 1.1.5fix1 and installed it as an rpm binary. It is
>> working quite well, but I have a couple questions. Right now I am
>> printing out using the Times font, but I may need to create output
>> using a sans serif font. I went to the document menu and clicked on
>> helvit. I understand that this does not change the screen font. 

The helvet options (which uses the helvet.sty package) does only one
thing: change the sans-serif font to be helvetica instead of computer
modern sans serif. So it does not really helps you. I know it's
stupid, but it is how things are right now...

However, there is a solution: add
  \renewcommand\familydefault{\sfdefault}
in Layout->LaTeX_Preamble. This will not change the disaply on screen
but should be corretc for xdvi/paper.

It would not be too difficult to make a patent style that does that
and gives correct display (especially if a latex document class for
that eixsts).

JMarc



Re: Newbie Questions

2000-07-26 Thread Kayvan A. Sylvan

On Wed, Jul 26, 2000 at 09:28:08AM -0400, Dave Rolfe wrote:
> I have just started using Lyx to create patent documents. I am using
> version 1.1.5fix1 and installed it as an rpm binary. It is working quite
> well, but I have a couple questions. Right now I am printing out using
> the Times font, but I may need to create output using a sans serif font.
> I went to the document menu and clicked on helvit. I understand that
> this does not change the screen font. But when I preview the document as
> dvi or postscript it shows up as Times! Nothing I do can get Lyx to
> output anything but Times. So maybe my install is messed up somehow. In
> addition the list of fonts that appear in Lyx is a small subset of the
> type 1 fonts I have installed and are known to the X font server. Why is
> this? And if I change the screen font to helvit I get the right thing.

I don't know an answer to this question offhand, but I do know
the answer to your second question:

> A second question involves line numbers. I did not see anything in the
> Lyx menus that would get me line numbers so I went off and downloaded
> the lineno.sty package, figured out how to put Tex in a Lyx document and
> the line number stuff is working. But in order for Lyx (LaTex?) to find
> the lineno.sty macro, it has to be in the current directory with the
> document. This means that I will have to have a copy of lineno.sty for
> each document I create and this seems rather ugly. Is there a way that I
> can tell Lyx where to look for sty files?
> 
> Thanks, Dave

Use the TEXINPUTS environment variable.

Set it to something like:

.:/home/kayvan/src/tex/sty:!!/usr/share/texmf/{tex,pdftex}/{generic,}//

The directory /home/kayvan/src/tex/sty is where I put all my homegrown
and non-standard TeX style files.

---Kayvan
-- 
Kayvan A. Sylvan   | Proud husband of  | Father to my kids:
Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena
http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory



  1   2   >