Re: user interface study of lyx

2006-08-29 Thread Wolfgang Engelmann

 In preparation for the class, I plan to post a separate
 questionnaire to the lyx-users and lyx-devel lists. 

 I welcome any comments about this.  Again, my intent is to
 have this be a contribution to the lyx project.

I am currently working with a colleague on a book chapter using lyx, me on 
linux platform, he on microsoft. There are some problems on his side (e.g. 
exporting to pdf) with which I can´t help him.

I think, it would be very helpful in such and similar cases to have a linux 
livesystem on CD which contains all the necessary programs needed for writing 
documents with lyx such as tex stuff, spellchecker, vector and pixel oriented 
graphics (xfig, PyX, PStricks..), chemical formulas, bibtex related things 
such as JabRef or Pybliographer, presentations (beamer..). There is a nice 
book by Rainer Hattenhauer (2005), Linux-Livesysteme (published by Galileo 
Computing) - alas in German (perhaps translated in the meantime?) which gives 
detailed instructions and could serve as a basis. 

One could just insert this CD in the computer, start the system, work with it, 
save the produced documents on the computer, and thats it. I think this would 
be a nice project also for your students ...

Wolfgang


Re: user interface study of lyx

2006-08-29 Thread Helge Hafting

Daryl Hepting wrote:

Hello;

I am about to start teaching an undergraduate course in human
computer interaction for the fall semester (about a week away
now) and I will be asking my students to look at lyx.  I have
been using LaTeX for years and I've had a bit of experience
with lyx.  I'm interested in how well (new) users can work with
lyx.

I joined the e-mail lists last week and I am impressed by
the amount of traffic on both the user and development lists.
What do I hope to come up with at the end of the semester? I
expect that students will come up with some design alternatives
for various aspects of the lyx interface.  

Interesting!
Some things to consider about user interface design:
* The mouse is nice, but the (expert) user should be able to
  get around with the keyboard only too.  Not because the
  mouse gets lost, but the keyboard is so much faster
  when you know all the shortcuts. 
 
  In LyX, you may want to have a look at how the paragraph

  types (standard, bullet list, sectioning, and so on) can be
  set without the mouse.  This is a huge timesaver - the
  paragraph type list is just a single mouse click away.  Still,
  Typing ALT P B to get a bullet list or ALT P 3 for the third
  level of sectioning is so much faster. 


  Also, all the math can be typed as latex commands. Typing
  \fracspace is much faster than looking up fractions in
  the math menus.

* Small popup windows is considered bad.  A big dialog is ok,
  when there is lots of information to fill in.  But most of the
  time you spend on the small popups is spent on the OK
  button - and that is wasted time.  LyX have a status line
  at the bottom where it is possible to show small messages
  without requiring the user to click anything at all.
 
  Of course LyX has its share of annoying small popups, so

  this is a field where your students may make improvements.

* The worst annoying popup is the search  replace dialog.
  Search, and often enough the word you search for will be
  found - UNDER the stupid dialog.  And sometimes you search
  just to get to a certain place in a big document, but then
  you have to get rid of the  search popup  before  you can type.

  Now, there are occations when the search dialog is useful,
  it contains some options that sometimes are useful.  And it
  may be extended to do more complicated searches - regexps
  or searching/replacing formatted text. 


  What many want, but can't find time to code, is an alternative
  search - a simple search that use no popup, just a text entry
  field that shows up in the status area when some search hotkey
  is pressed.  I.e. a firefox/emacs/vi style search, instead of
  a dialog.  The existing dialog should be preserved though,
  as it have more options.

* The LyX editor and file format supports some operations and
  insets that currently cannot be entered - because the
  menus and keybindings are behind LyX capabilities.

  Adding interfaces for such things should be nice student work.




I would like these
to be contributions to the lyx project.  We are very interested
in open source software development here at my university and
if all goes well, we might even have a class in winter 2007,
that could work at implementing these alternatives -- again,
as a contribution to the project.

In preparation for the class, I plan to post a separate
questionnaire to the lyx-users and lyx-devel lists.  All
responses will be carefully reviewed.  For those who are
interested, I will also post details of the study
that the students will conduct here, using participants from
the participant pool that we have here.  Basically, we will be
recruiting people who self-report proficiency in either LaTeX
or MS Word and then ask them to format a sample document using
their preferred of those 2 tools and lyx.

Now that could be an interesting test, especially the comparison
with word.  How do you plan on doing this? 


I suggest handing them a large document that
is entirely in ascii. Then they can turn headings into real
headings, add a TOC, perhaps a small index, perhaps
some tables, figures, and lists of tables  figures,
and things like title and author.

For a formatting test you want a really large document,
because some oddities don't happen all that often.
For example, some word processors will happily
put a heading at the bottom of the page sometimes.
LyX and Latex won't do that, but you need quite a few pages
for it to happen by accident.  You can increase chances by
setting up for a small format like A5 or A6 or other custom
small paper.  I believe that the word user will have to
go through the document carefully looking for such things,
while latex simply avoids them.

And when they are done, ask them to change the margins
a bit and resubmit the PDF.  See how much time that takes . . .

Look both at the time invested, and the quality of final
results.


I welcome any comments about this.  Again, my intent is to
have this be a contribution to the lyx 

Re: Abstract Page Numbering and Separate Chapter Numbering

2006-08-29 Thread Helge Hafting

Chris Share wrote:

Hi,

I'm a PhD student and I'd like to use LyX for my thesis. I'm new to 
LyX (although I have written one research paper in LaTeX using 
TeXnicCenter). I've read the Introduction, Tutorial and part of the 
User's Guide.


I have two questions:

1. My document consists of a main file and separate files for each 
chapter. All files are reports. I realise that in a report class an 
abstract appears without a page number. How can I force a page number 
to appear on the abstract page/s?

\thispagestyle{plain}
inside an ERT box.  The ERT box goes inside the abstract, for example
in the first line.  This trick works for the standard report class.
When I tried this, LyX reset the page counter to 1 on the first page
of the abstract.  If this isn't what you want, consider
\setcounter{page}{45} or whatever to fix it. Or perhaps
you want a different style page numbers for the abstract?



2. Each chapter title is in Chapter format however because they're 
separate, each one is labelled Chapter 1. Although this doesn't 
affect the final document, I'd like to change it so that it matches 
the actual chapter number. How can I do this?

Three ways you may use:

The \setcounter way:
==
I wouldn't bother with it, but \setcounter{chapter}{5} will cause
the next chapter to be number 6.  I.e. use setcounter and one
less than the chapter number you want.  Logical, because
you are really setting the number of the previous chapter,
and the new chapter increase the counter value before printing.

Note that you will not see a different chapter number inside LyX,
only in the previews/printouts.

The reason I wouldn't bother with it, is mainly that this screws
up completely _if_ you add or remove a chapter, or reorder them.
you will then have to fix every \setcounter command.  Doing nothing
works for the final document after all.



Chapter headings in the main document
==
Another way of achieving what you want.  Put all the
chapter headings in the master document, and include
child documents that doesn't contain the chapter
environment.

When you print drafts, always print the master document
where you simply don't include more than one child document.
That way - you get headings for empty chapters as well as the
one document you wanted. 


The numbering is correct no matter  how you re-order stuff,
and you don't waste time running the entire thesis through
latex everytime.

Newer versions of LyX support Document branches.  This lets
you turn parts of the document on and off, instead of
removing/reinserting files in the master document.


Document branches
==
You can also use document branches to achieve time  paper
saving, without having to split into several documents.
In this case you put everything into one big document, and
put each chapter (except for the chapter heading itself perhaps)
in a document branch of its own.  You can then use
the document-settings-branches menu to turn
various parts of the document on and off.  Performance
should be fine even with a single huge document.


Helge Hafting


Re: Spacing between lines...

2006-08-29 Thread Helge Hafting

Frederick FN Noronha wrote:

I'm trying to set a book to 12/15 points. Is there some way I can do
this? The options I'm getting are just one-line, one-and-half, and
double-linespace. So I'd be really grateful if someone could tell me
how to get 12/15 points settings. Thanks! FN

When I needed a 10.5 pt font with 12.5 pt linespread, I used this:
\renewcommand{\normalsize}{\fontsize{10.5pt}{12.5pt}\selectfont}

Your case would be \renewcommand{\normalsize}{\fontsize{12}{15}\selectfont}
I think.  The command goes in the preamble, which you find in
document-settings.

Helge Hafting




Re: word counter: feature not usefull for me

2006-08-29 Thread Helge Hafting

Marcelo Acuña wrote:

Hello,
 Word counter count words in Notes and ERTs.
 This is not usefull for me.
 I think that command in ERT must not be counted.
 I use notes for reminders, for keep quotes in
original language for further revision of translation,
and so on.
 Again, count words in notes not make usefull
information for me.
 What think about this other Lyx´s users? 
  

I agree that skipping notes is the right thing to do.
ERT is more tricky, for it is perfectly possible
to have some words of normal printed text inside ERT.
For example, if you need to do:
\begin{myhighlight}Special words\end{myhighlight}
The Special words will print, and should therefore be counted.

Unfortunately, parsing latex in order to get a perfect word count
is hard, so perhaps skipping ERT is the better choice.
The counting issue above may then be avoided by having two ERT boxes
containing the commands only. Between them the special words will
be written as normal text. The downside of this approach is that the
two latex boxes _must_ be matched pairs.  Cutpaste errors
may then leave you with an extra ERT box somewhere, which will cause
odd latex errors when you try to print or preview.

Do you really have so much code in ERT that this is a real problem?
Consider filing bugs at bugzilla.lyx.org.

Helge Hafting


Re: wish for reference interface

2006-08-29 Thread Helge Hafting

Helmut Hauser wrote:

Hi guys,

First of all thanks a lot for this great piece of
software!

I am not sure if this is the right place to make wish
(maybe the developer's list would have been better),
but anyway I think it would be a great improvement for
the reference cross-reference interface if one could
not only sort but could SEARCH for expressions (maybe
an iterative search - with a list of all results so
far).
  

File a wishlist bug at bugzilla.lyx.org

Helge Hafting


Re: toc-dotted leaders

2006-08-29 Thread Helge Hafting

Bob Lounsbury wrote:

Hello,

Does anyone know how to get dotted leaders on chapter entries in the
toc?  I'm using the memoir class and have been through the documentation
but it seems to me that the latex commands are not working in LyX.
  

If you know how to do this in latex, then you can
do it in lyx too. 
Under document-settings-preamble you find the

latex preamble, where you put anything that
normally goes before \begin{document}.

Latex commands can be used anywhere in the document too,
note that you have to put them in an ERT box. (Click the
toolbar button labeled ERT to get one.)
If the ERT box goes in the middle of some text, take care
to terminate the latex command (with a space or an extra {})
so the words in the text won't become part of your latex command.

Helge Hafting




Re: user interface study of lyx

2006-08-29 Thread Helge Hafting

Wolfgang Engelmann wrote:

In preparation for the class, I plan to post a separate
questionnaire to the lyx-users and lyx-devel lists. 


I welcome any comments about this.  Again, my intent is to
have this be a contribution to the lyx project.



I am currently working with a colleague on a book chapter using lyx, me on 
linux platform, he on microsoft. There are some problems on his side (e.g. 
exporting to pdf) with which I can´t help him.


I think, it would be very helpful in such and similar cases to have a linux 
livesystem on CD which contains all the necessary programs needed for writing 
documents with lyx such as tex stuff, spellchecker, vector and pixel oriented 
graphics (xfig, PyX, PStricks..), chemical formulas, bibtex related things 
such as JabRef or Pybliographer, presentations (beamer..). There is a nice 
book by Rainer Hattenhauer (2005), Linux-Livesysteme (published by Galileo 
Computing) - alas in German (perhaps translated in the meantime?) which gives 
detailed instructions and could serve as a basis. 

One could just insert this CD in the computer, start the system, work with it, 
save the produced documents on the computer, and thats it. I think this would 
be a nice project also for your students ...
  

A LyX liveCD would be nice, sure.  Be aware that linux doesn't
write very well to NTFS filesystems though - so it may be necessary
to save on FAT/FAT32 formatted usb thing if the disk filesystem is NTFS.

As for making pdf on windows - pdflatex is supposed to work
there too.

Helge Hafting


Re: HTML export

2006-08-29 Thread Pupeno
On Monday 28 August 2006 17:50, Juergen Fenn wrote:
 Pupeno [EMAIL PROTECTED] writes:
  Is there some way to generate a better HTML file out of a LyX file.
  Currently the export generates very old HTML, I need XHTML.

 I don't know what LyX exactly does nowadays because I still run
 v1.3.7, but you can convert to XHTML by exporting to LaTeX and running
 tex4ht

   http://www.cse.ohio-state.edu/~gurari/TeX4ht/mn.html

 on the LaTeX like this (adapt as you like):

   htlatex myfile.tex xhtml,0,fn-in,NoFonts,fonts

Ok, I am trying to use it, but it seems to require a lot of knowledge of LaTeX 
processing that I do not have. Do you know if there's an option to avoid 
using CSS (to put the colors of the fonts IN the text itself) ?

  Furthermore I'd like LyX-code sections to be ptt/tt/p, not
  dldt, etc.  Is that possible ?

 ? Please check your markup in LyX/LaTeX before converting.

What can I do about the markup in LyX ? Should I use something different than 
LyX-Code ?
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)


pgpdPAf368VM8.pgp
Description: PGP signature


Re: want to prevent textheight from bottom justify

2006-08-29 Thread Helge Hafting

Sue Kientz wrote:

Hi,

Is there a way to prevent the text in Book document class from bottom 
justifying the text height? What I'm seeing is, if there's a large 
block (e.g., figure) that needs to follow paragraphs or an enumerated 
list, and there's not enough space on the page, instead of leaving 
white space on the bottom of the page, it spaces out the enumerated 
list or paragraphs on that previous page, so that some text will show 
at the bottom of that page. Looks like it's bottom justifying the page 
text.

Books are supposed to be this way, because you see two pages at a time
when a book is open.  Having them end at different height tends to
look stupid, so the text is stretched.  Having lots of 
stretchable/compressable

spacing (headings, lists, paragraph breaks) makes the effects smaller.
It can look bad if you only have a little stretchable space that gets 
stretched

a lot.

There is an override, I think it is a latex command like \raggedbottom
which you put in a ERT box.

Read a latex tutorial to find out more.

Helge Hafting




Upright greek letters in normal text and math mode

2006-08-29 Thread Reinhard Mayr aka Czerwinski
Hi on the list!

I would like to have upright greek letters in both normal text and in math 
mode. Does anybody how to do this?

Thanks in advance!

Cz.
-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


How to get rid of the vertical line above footnotes?

2006-08-29 Thread Martin A. Hansen

i dont want that line immidiately below a table with footnotes (in a
minipage), and don't have my latex companion around ...

thanks


martin


Continuous numbering of list items

2006-08-29 Thread K. Elo
Hi,

is there any possibilities to prevent lyx from resetting the counter of
enumerated lists when several enumerated lists appear in different
sections? What I am looking for is the possibility to have a
continuously numerated list separated with section titles, i.e.:

a) Section a
1. List item #1
2. List item #2
3. List item #3
b) Section b
4. List item #4
5. List item #5
c) Section c
6. List item #6
7. List item #7
8. List item #8
...

Any ideas how to make this happen? I have tried to insert the following
commands:
\usepackage{remreset}
[EMAIL PROTECTED]

into the preamble, but this is not working.

Thanks in advance 6 kind regards,
Kimmo




Re: Continuous numbering of list items

2006-08-29 Thread Paul Smith

On 8/29/06, K. Elo [EMAIL PROTECTED] wrote:

is there any possibilities to prevent lyx from resetting the counter of
enumerated lists when several enumerated lists appear in different
sections? What I am looking for is the possibility to have a
continuously numerated list separated with section titles, i.e.:

a) Section a
1. List item #1
2. List item #2
3. List item #3
b) Section b
4. List item #4
5. List item #5
c) Section c
6. List item #6
7. List item #7
8. List item #8
...

Any ideas how to make this happen? I have tried to insert the following
commands:
\usepackage{remreset}
[EMAIL PROTECTED]

into the preamble, but this is not working.


Kimmo,

I have not tried it, but the section Break and Continue a Enumerate List at

http://www.people.ku.edu/~ashan/museWeb/LyxNotes.html

seems to be a solution for your problem.

Paul


Re: HTML export

2006-08-29 Thread Juergen Fenn
Pupeno [EMAIL PROTECTED] writes:

   http://www.cse.ohio-state.edu/~gurari/TeX4ht/mn.html

 Ok, I am trying to use it, but it seems to require a lot of knowledge of 
 LaTeX 
 processing that I do not have. 

LyX exports LaTeX code that should compile all right. Only if tex4ht
does not process this code correctly, you have to have a look into the
LaTeX file. Conversion is always a tricky business. Converting LaTeX
doubly so.

 Do you know if there's an option to avoid using CSS (to put the
 colors of the fonts IN the text itself) ?

I don't know of such an option (which does not mean that there is
none). But if you don't want a separate CSS file you can insert the
CSS code into the head of your HTML file.

  Furthermore I'd like LyX-code sections to be ptt/tt/p, not
  dldt, etc.  Is that possible ?

 ? Please check your markup in LyX/LaTeX before converting.

 What can I do about the markup in LyX ? Should I use something different than 
 LyX-Code ?

The only way not to get definition lists when converting to HTML is
not to input description lists in LyX. Given that the markup is
converted correctly.

For problems specific to tex4ht you should ask in comp.text.tex
because Eitan Gurari appears to follow the newsgroup.

Regards,
Jürgen.



Re: Continuous numbering of list items

2006-08-29 Thread Ed Gatzke
 is there any possibilities to prevent lyx from resetting the counter of
 enumerated lists when several enumerated lists appear in different
 sections? What I am looking for is the possibility to have a
 continuously numerated list separated with section titles, i.e.:
 
 a) Section a
 1. List item #1
 2. List item #2
 3. List item #3
 b) Section b
 4. List item #4
 5. List item #5
 c) Section c
 6. List item #6
 7. List item #7
 8. List item #8
 ...
 

If you just have a few items, you can use ERT LaTeX commands.

Put the following in ERT right after each enumeration and it will 
overwrite the current number and keep the correct formatting:   [4.]

No curly braces {}, just square brackets and the number in ERT.

Ed




Re: Continuous numbering of list items

2006-08-29 Thread K. Elo
Hi,

2006-08-29 12:10 +0100, Paul Smith:

 I have not tried it, but the section Break and Continue a Enumerate List at
 
 http://www.people.ku.edu/~ashan/museWeb/LyxNotes.html
 
 seems to be a solution for your problem.

It did. Thanks a lot. I the meantime I figured out two workarounds:
1) I exported the document in .tex, commented out all other
\begin{enumerate} and \end{enumerate} commands expect the first and the
last and run latex. Works fine.

2) I inserted the section headers in-between as parboxes, separated with
a crtl+enter after the last list item in a section and a standard line
break after the parbox. Works fine, too!

Anyway, thanks for Your quick answers.
Kind regards,
Kimmo




Re: Wish, suggestion about templates

2006-08-29 Thread Ed Gatzke

 Lyx preferences allow to modify the default templates directory.
 Problem: I use 2 templates directories (zs I guess some people)
 1 system wide (/usr/share/lyx/templates/)

The whole template thing is a problem for me.  I wish lyx had a nice way of
adding class files and templates.  I know latex has to do some magic for cls
files, but it can be a pain, especially if you have multiple latex installs (as
may be common on an XP box running lyx bundle and cygwin).  

A wizard or something to help with the overall template cls install may be nice,
something more user friendly than the help files...






Re: HTML export

2006-08-29 Thread Miki Dovrat
Hi,

Do the features view/export HTML work in lyx 1.4.2?

They don't work on my lyx 1.4.2 Windows XP with MikTex 2.5 even though 
htlatex is installed and works via command line.

In html view, I get an error saying lyx can't find the file 
c:\tmp\lyxtmpdir..\lyx_tmpbuf0\myfile.html

In html export, I see that a dvi is generated in the directory but no html.

If I take an exported latex file and use htlatex in a command line window 
everything works.

So, does anyone know what is wrong? Using a command line is fine by me, 
however a little tedious.

Thanks 





lyx and revtex4

2006-08-29 Thread Miller, Bruce
I want to use lyx to write scientific articles for physics journals. 
When I select revtex4 in the layout menu, lyx inserts non-standard commands in 
the header of the exported latex. It does not produce a standard revtex 
document. Any comments would be helpful.

---
Professor Bruce N. Miller
Department of Physics and Astronomy
Texas Christian University
TCU Box 298840
Fort Worth, TX  76129

[EMAIL PROTECTED]
817-257-7123   office
817-257-7375   dept. office
817-257-7742   fax
http://personal.tcu.edu/~bmiller





Postscript Printer Question

2006-08-29 Thread Bruce Pourciau
This is a LaTeX rather than LyX question. Concerning the quality of  
the output -- specifically for printing LaTeX and eps files, but also  
more generally -- what would be the difference between printer A and  
printer B, if A is described as having standard postscript support,  
while B, under printer fonts, says 26 scalable fonts but there's  
nothing about postscript support. We will be getting a new printer  
for the department of mathematics, and we'll need good reasons if we  
ask for the more expensive printer A.


Any help would be appreciated.

Bruce


Re: Postscript Printer Question

2006-08-29 Thread Rich Shepard

On Tue, 29 Aug 2006, Bruce Pourciau wrote:


This is a LaTeX rather than LyX question. Concerning the quality of the
output -- specifically for printing LaTeX and eps files, but also more
generally -- what would be the difference between printer A and printer B,
if A is described as having standard postscript support, while B, under
printer fonts, says 26 scalable fonts but there's nothing about
postscript support. We will be getting a new printer for the department of
mathematics, and we'll need good reasons if we ask for the more expensive
printer A.


Bruce,

  Probably no difference whatsoever. Most printers do not come with built-in
postscript engines because the licensing fee increases the printer cost and
most folks (i.e., Microserfs) couldn't care less. So, CUPS (or whatever
other printing system you're using nowadays) passes the test through
ghostscipt and sends the output to your printer.

  Fonts included with the printer do not need to be downloaded from a host,
along with the document. But, you can use whatever typefaces your
application supports and the output will be as high as the printer produces
(as long as you have it configured that way).

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: HTML export

2006-08-29 Thread TechTonics

Miki Dovrat wrote:

Hi,

Do the features view/export HTML work in lyx 1.4.2?

They don't work on my lyx 1.4.2 Windows XP with MikTex 2.5 even though 
htlatex is installed and works via command line.


In html view, I get an error saying lyx can't find the file 
c:\tmp\lyxtmpdir..\lyx_tmpbuf0\myfile.html


In html export, I see that a dvi is generated in the directory but no html.

If I take an exported latex file and use htlatex in a command line window 
everything works.


So, does anyone know what is wrong? Using a command line is fine by me, 
however a little tedious.


Thanks 



No, it doesn't work. It helps if you change your LyX temp and work 
directories found under Tools - Preferences to a path without spaces

such as C:\Lyx142\worklyx or C:\LyX142\templyx. Then the conversion
progresses longer. Maybe it will be fixed in LyX143.

Regards,
Stephen




Re: Continuous numbering of list items

2006-08-29 Thread Maria Gouskova
If you often use sequentially numbered lists that span several  
sections, you might want to check out the Covington package. It does  
just that, and you can set LyX up so that it provides the numbered  
environment as part of a document class (e.g., Article).


http://wiki.lyx.org/LyX/LinguistLyX#toc11

Maria


On Aug 29, 2006, at 8:31 AM, K. Elo wrote:


Hi,

2006-08-29 12:10 +0100, Paul Smith:

I have not tried it, but the section Break and Continue a  
Enumerate List at


http://www.people.ku.edu/~ashan/museWeb/LyxNotes.html

seems to be a solution for your problem.


It did. Thanks a lot. I the meantime I figured out two workarounds:
1) I exported the document in .tex, commented out all other
\begin{enumerate} and \end{enumerate} commands expect the first and  
the

last and run latex. Works fine.

2) I inserted the section headers in-between as parboxes, separated  
with

a crtl+enter after the last list item in a section and a standard line
break after the parbox. Works fine, too!

Anyway, thanks for Your quick answers.
Kind regards,
Kimmo






Re: Postscript Printer Question

2006-08-29 Thread Paul A. Rubin

Bruce Pourciau wrote:
This is a LaTeX rather than LyX question. Concerning the quality of the 
output -- specifically for printing LaTeX and eps files, but also more 
generally -- what would be the difference between printer A and printer 
B, if A is described as having standard postscript support, while B, 
under printer fonts, says 26 scalable fonts but there's nothing 
about postscript support. We will be getting a new printer for the 
department of mathematics, and we'll need good reasons if we ask for the 
more expensive printer A.


Any help would be appreciated.

Bruce



Printers that advertise standard Postscript support typically have a 
set of Type 1 Adobe fonts in firmware.  That allows the printer driver 
to print glyphs from those fonts on the printer without resorting to 
bitmaps.  I'm not sure how many Type 1 fonts there are all told, but I'm 
sure I've seen printers that advertised 35 or more Type 1 fonts in 
firmware.  The extent to which you get mileage out of the built-in fonts 
is obviously proportional to the likelihood that users employ those 
fonts in their documents.  I think you get a bit of a speed boost using 
fonts the printer has in firmware; whether the output quality is better 
may depend on printer resolution and some other factors, so I'm less 
sure there is an advantage there.


If printer B has 26 scalable fonts that are not Adobe fonts (and are not 
MS TrueType fonts), then my guess is that you won't get any mileage out 
of them.  I've seen printers once or twice that had a few non-Adobe 
fonts, but they were fonts I never used (and did not have installed on 
my PCs).


For either printer, if a font is encountered that is not Adobe Type 1, 
the used glyphs from that font will probably be embedded in the 
document, and I think the driver for either should be able to handle 
that.  If a font is neither embedded in the document nor recognized, I 
think the driver will use a map to substitute some font it (or the 
printer) knows, and that can produce some butt-ugly output.


For what it's worth, I turn all my LyX output into PDFs and print them 
on an HP multifunction ink-jet that does not contain any Postscript font 
support whatsoever.  I also tend to use the ae or lmodern fonts, even 
when generating PDFs (although occasionally I will use pslatex, which 
might match the embedded Type 1 fonts if I had embedded Type 1 fonts, 
which I don't).


/Paul



export to openoffice?

2006-08-29 Thread Neal Becker
I tried export to openoffice.  I have oolatex installed, but it AFAICT,
selecting 'export to openoffice' produced no output, nor any messages. 
This is lyx-1.4.2.



Re: Postscript Printer Question

2006-08-29 Thread Bruce Pourciau

Thanks, Paul and Rich.

Bruce
On Aug 29, 2006, at 1:21 PM, Paul A. Rubin wrote:


Bruce Pourciau wrote:
This is a LaTeX rather than LyX question. Concerning the quality  
of the output -- specifically for printing LaTeX and eps files,  
but also more generally -- what would be the difference between  
printer A and printer B, if A is described as having standard  
postscript support, while B, under printer fonts, says 26  
scalable fonts but there's nothing about postscript support. We  
will be getting a new printer for the department of mathematics,  
and we'll need good reasons if we ask for the more expensive  
printer A.

Any help would be appreciated.
Bruce


Printers that advertise standard Postscript support typically  
have a set of Type 1 Adobe fonts in firmware.  That allows the  
printer driver to print glyphs from those fonts on the printer  
without resorting to bitmaps.  I'm not sure how many Type 1 fonts  
there are all told, but I'm sure I've seen printers that advertised  
35 or more Type 1 fonts in firmware.  The extent to which you get  
mileage out of the built-in fonts is obviously proportional to the  
likelihood that users employ those fonts in their documents.  I  
think you get a bit of a speed boost using fonts the printer has in  
firmware; whether the output quality is better may depend on  
printer resolution and some other factors, so I'm less sure there  
is an advantage there.


If printer B has 26 scalable fonts that are not Adobe fonts (and  
are not MS TrueType fonts), then my guess is that you won't get any  
mileage out of them.  I've seen printers once or twice that had a  
few non-Adobe fonts, but they were fonts I never used (and did not  
have installed on my PCs).


For either printer, if a font is encountered that is not Adobe Type  
1, the used glyphs from that font will probably be embedded in the  
document, and I think the driver for either should be able to  
handle that.  If a font is neither embedded in the document nor  
recognized, I think the driver will use a map to substitute some  
font it (or the printer) knows, and that can produce some butt-ugly  
output.


For what it's worth, I turn all my LyX output into PDFs and print  
them on an HP multifunction ink-jet that does not contain any  
Postscript font support whatsoever.  I also tend to use the ae or  
lmodern fonts, even when generating PDFs (although occasionally I  
will use pslatex, which might match the embedded Type 1 fonts if I  
had embedded Type 1 fonts, which I don't).


/Paul




Bruce,

  Probably no difference whatsoever. Most printers do not come with  
built-in
postscript engines because the licensing fee increases the printer  
cost and
most folks (i.e., Microserfs) couldn't care less. So, CUPS (or  
whatever

other printing system you're using nowadays) passes the test through
ghostscipt and sends the output to your printer.

  Fonts included with the printer do not need to be downloaded from  
a host,

along with the document. But, you can use whatever typefaces your
application supports and the output will be as high as the printer  
produces

(as long as you have it configured that way).

Rich




Re: HTML export

2006-08-29 Thread TechTonics

Miki Dovrat wrote:

Hi,

Do the features view/export HTML work in lyx 1.4.2?

They don't work on my lyx 1.4.2 Windows XP with MikTex 2.5 even though 
htlatex is installed and works via command line.


In html view, I get an error saying lyx can't find the file 
c:\tmp\lyxtmpdir..\lyx_tmpbuf0\myfile.html


In html export, I see that a dvi is generated in the directory but no html.

If I take an exported latex file and use htlatex in a command line window 
everything works.


So, does anyone know what is wrong? Using a command line is fine by me, 
however a little tedious.


Thanks 





The basic structure of the html file is created, the problem
is that the file is named foo.htm rather than foo.html which
is the filename Lyx looks for. If you navigate to that tmp
folder and rename foo.htm to foo.html and run View-Html
again, then it will display because it finds the right filename.

The wrong filename is not the major problem. This process does
not work like running htlatex foo(.tex) from the command line
which does incorporate image files generated (.pngs default).

I don't think the generated image filenames are correct. I
think this is similar to bug #2299 
http://bugzilla.lyx.org/show_bug.cgi?id=2299


Georg wrote: I also know the cause: dvipdfm needs .bb files for  all 
graphics. LyX simply does not know that and does not copy these files

to  the temporary directory where latex and dvipdfm are run.

Changing the filename output from .htm to .html is minor.
I don't know if the fix Georg made for bug #2299 will fix
this problem although they seem related. Even on a file with
no equations like splash.lyx, the conversion to filename htm
which should be splash.html loses its formatting that is maintained
if you run htlatex from the command line, meaning if you navigate
to the tmp_buf* folder and type htlatex splash.tex, then use
View-Html from LyX, it looks pretty good, but not from how Lyx
invokes htlatex from the View command normally = bad splash.html

Regards,
Stephen



Re: export to openoffice?

2006-08-29 Thread TechTonics

Neal Becker wrote:

I tried export to openoffice.  I have oolatex installed, but it AFAICT,
selecting 'export to openoffice' produced no output, nor any messages. 
This is lyx-1.4.2.





I think it is broken, on Windows anyway.
You will have better luck with Windows or Linux
http://wiki.lyx.org/Tools/LyX2OpenOffice
I'm not sure it works on Macs yet.


Re: HTML export

2006-08-29 Thread Miki Dovrat
Thanks for the answers

Miki


TechTonics [EMAIL PROTECTED] wrote in 
message news:[EMAIL PROTECTED]
 Miki Dovrat wrote:
 Hi,

 Do the features view/export HTML work in lyx 1.4.2?

 They don't work on my lyx 1.4.2 Windows XP with MikTex 2.5 even though 
 htlatex is installed and works via command line.

 In html view, I get an error saying lyx can't find the file 
 c:\tmp\lyxtmpdir..\lyx_tmpbuf0\myfile.html

 In html export, I see that a dvi is generated in the directory but no 
 html.

 If I take an exported latex file and use htlatex in a command line window 
 everything works.

 So, does anyone know what is wrong? Using a command line is fine by me, 
 however a little tedious.

 Thanks

 The basic structure of the html file is created, the problem
 is that the file is named foo.htm rather than foo.html which
 is the filename Lyx looks for. If you navigate to that tmp
 folder and rename foo.htm to foo.html and run View-Html
 again, then it will display because it finds the right filename.

 The wrong filename is not the major problem. This process does
 not work like running htlatex foo(.tex) from the command line
 which does incorporate image files generated (.pngs default).

 I don't think the generated image filenames are correct. I
 think this is similar to bug #2299 
 http://bugzilla.lyx.org/show_bug.cgi?id=2299

 Georg wrote: I also know the cause: dvipdfm needs .bb files for  all 
 graphics. LyX simply does not know that and does not copy these files
 to  the temporary directory where latex and dvipdfm are run.

 Changing the filename output from .htm to .html is minor.
 I don't know if the fix Georg made for bug #2299 will fix
 this problem although they seem related. Even on a file with
 no equations like splash.lyx, the conversion to filename htm
 which should be splash.html loses its formatting that is maintained
 if you run htlatex from the command line, meaning if you navigate
 to the tmp_buf* folder and type htlatex splash.tex, then use
 View-Html from LyX, it looks pretty good, but not from how Lyx
 invokes htlatex from the View command normally = bad splash.html

 Regards,
 Stephen

 





chapter spacing

2006-08-29 Thread Bob Lounsbury




Hello,

Does anyone know how to modify the chapter vertical space above and
below a chapter title for the koma-script book class? I've looked
through the pdf, but I don't see any options. 

Also, is there a way to make the lists look better? I need my document
to be double spaced and that makes the lists look bad even if I try to
define each item as single spaced. See attached screen printout of the
list issues and my need for the chapter title to not have any vertical
space above it.

Thanks,
Bob


attachment: lyxlist2.jpg


noweb book child documents: don't get processed through the noweb handler

2006-08-29 Thread Paul Johnson

Hello, everybody.

If I have a book chapter in book-noweb document class, I can view it
and the R/Noweb linkage is fine--the code chunks run through R and the
documents are displayed.

If I take the same book chapter, and put it in as a child document
inside the whole book the Noweb processing is not done. he
over-arching document's setting is also book-noweb, and it is simply a
series of included lyx child documents.  The code chunks just show up
in the final document, along with the macro commands at the beginning
and end of each code chunk.

What do you think?

If you have R and are willing to set up your system according to the
instructions in the Lyx Wiki for using Rweave/Noweb, then I can give
you the files so you can see for yourself.

For system details, I have Fedora Core 5 with the newest LyX from the
Fedora Extras, 1.4.2

pj

--
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: export to openoffice?

2006-08-29 Thread Bennett Helm

On Aug 29, 2006, at 3:02 PM, TechTonics wrote:


Neal Becker wrote:
I tried export to openoffice.  I have oolatex installed, but it  
AFAICT,
selecting 'export to openoffice' produced no output, nor any  
messages. This is lyx-1.4.2.


I think it is broken, on Windows anyway.
You will have better luck with Windows or Linux
http://wiki.lyx.org/Tools/LyX2OpenOffice
I'm not sure it works on Macs yet.


The Linux version works fine on Mac (which is, after all, *nix at  
heart).


Bennett



Re: user interface study of lyx

2006-08-29 Thread Wolfgang Engelmann

 In preparation for the class, I plan to post a separate
 questionnaire to the lyx-users and lyx-devel lists. 

 I welcome any comments about this.  Again, my intent is to
 have this be a contribution to the lyx project.

I am currently working with a colleague on a book chapter using lyx, me on 
linux platform, he on microsoft. There are some problems on his side (e.g. 
exporting to pdf) with which I can´t help him.

I think, it would be very helpful in such and similar cases to have a linux 
livesystem on CD which contains all the necessary programs needed for writing 
documents with lyx such as tex stuff, spellchecker, vector and pixel oriented 
graphics (xfig, PyX, PStricks..), chemical formulas, bibtex related things 
such as JabRef or Pybliographer, presentations (beamer..). There is a nice 
book by Rainer Hattenhauer (2005), Linux-Livesysteme (published by Galileo 
Computing) - alas in German (perhaps translated in the meantime?) which gives 
detailed instructions and could serve as a basis. 

One could just insert this CD in the computer, start the system, work with it, 
save the produced documents on the computer, and thats it. I think this would 
be a nice project also for your students ...

Wolfgang


Re: user interface study of lyx

2006-08-29 Thread Helge Hafting

Daryl Hepting wrote:

Hello;

I am about to start teaching an undergraduate course in human
computer interaction for the fall semester (about a week away
now) and I will be asking my students to look at lyx.  I have
been using LaTeX for years and I've had a bit of experience
with lyx.  I'm interested in how well (new) users can work with
lyx.

I joined the e-mail lists last week and I am impressed by
the amount of traffic on both the user and development lists.
What do I hope to come up with at the end of the semester? I
expect that students will come up with some design alternatives
for various aspects of the lyx interface.  

Interesting!
Some things to consider about user interface design:
* The mouse is nice, but the (expert) user should be able to
  get around with the keyboard only too.  Not because the
  mouse gets lost, but the keyboard is so much faster
  when you know all the shortcuts. 
 
  In LyX, you may want to have a look at how the paragraph

  types (standard, bullet list, sectioning, and so on) can be
  set without the mouse.  This is a huge timesaver - the
  paragraph type list is just a single mouse click away.  Still,
  Typing ALT P B to get a bullet list or ALT P 3 for the third
  level of sectioning is so much faster. 


  Also, all the math can be typed as latex commands. Typing
  \fracspace is much faster than looking up fractions in
  the math menus.

* Small popup windows is considered bad.  A big dialog is ok,
  when there is lots of information to fill in.  But most of the
  time you spend on the small popups is spent on the OK
  button - and that is wasted time.  LyX have a status line
  at the bottom where it is possible to show small messages
  without requiring the user to click anything at all.
 
  Of course LyX has its share of annoying small popups, so

  this is a field where your students may make improvements.

* The worst annoying popup is the search  replace dialog.
  Search, and often enough the word you search for will be
  found - UNDER the stupid dialog.  And sometimes you search
  just to get to a certain place in a big document, but then
  you have to get rid of the  search popup  before  you can type.

  Now, there are occations when the search dialog is useful,
  it contains some options that sometimes are useful.  And it
  may be extended to do more complicated searches - regexps
  or searching/replacing formatted text. 


  What many want, but can't find time to code, is an alternative
  search - a simple search that use no popup, just a text entry
  field that shows up in the status area when some search hotkey
  is pressed.  I.e. a firefox/emacs/vi style search, instead of
  a dialog.  The existing dialog should be preserved though,
  as it have more options.

* The LyX editor and file format supports some operations and
  insets that currently cannot be entered - because the
  menus and keybindings are behind LyX capabilities.

  Adding interfaces for such things should be nice student work.




I would like these
to be contributions to the lyx project.  We are very interested
in open source software development here at my university and
if all goes well, we might even have a class in winter 2007,
that could work at implementing these alternatives -- again,
as a contribution to the project.

In preparation for the class, I plan to post a separate
questionnaire to the lyx-users and lyx-devel lists.  All
responses will be carefully reviewed.  For those who are
interested, I will also post details of the study
that the students will conduct here, using participants from
the participant pool that we have here.  Basically, we will be
recruiting people who self-report proficiency in either LaTeX
or MS Word and then ask them to format a sample document using
their preferred of those 2 tools and lyx.

Now that could be an interesting test, especially the comparison
with word.  How do you plan on doing this? 


I suggest handing them a large document that
is entirely in ascii. Then they can turn headings into real
headings, add a TOC, perhaps a small index, perhaps
some tables, figures, and lists of tables  figures,
and things like title and author.

For a formatting test you want a really large document,
because some oddities don't happen all that often.
For example, some word processors will happily
put a heading at the bottom of the page sometimes.
LyX and Latex won't do that, but you need quite a few pages
for it to happen by accident.  You can increase chances by
setting up for a small format like A5 or A6 or other custom
small paper.  I believe that the word user will have to
go through the document carefully looking for such things,
while latex simply avoids them.

And when they are done, ask them to change the margins
a bit and resubmit the PDF.  See how much time that takes . . .

Look both at the time invested, and the quality of final
results.


I welcome any comments about this.  Again, my intent is to
have this be a contribution to the lyx 

Re: Abstract Page Numbering and Separate Chapter Numbering

2006-08-29 Thread Helge Hafting

Chris Share wrote:

Hi,

I'm a PhD student and I'd like to use LyX for my thesis. I'm new to 
LyX (although I have written one research paper in LaTeX using 
TeXnicCenter). I've read the Introduction, Tutorial and part of the 
User's Guide.


I have two questions:

1. My document consists of a main file and separate files for each 
chapter. All files are reports. I realise that in a report class an 
abstract appears without a page number. How can I force a page number 
to appear on the abstract page/s?

\thispagestyle{plain}
inside an ERT box.  The ERT box goes inside the abstract, for example
in the first line.  This trick works for the standard report class.
When I tried this, LyX reset the page counter to 1 on the first page
of the abstract.  If this isn't what you want, consider
\setcounter{page}{45} or whatever to fix it. Or perhaps
you want a different style page numbers for the abstract?



2. Each chapter title is in Chapter format however because they're 
separate, each one is labelled Chapter 1. Although this doesn't 
affect the final document, I'd like to change it so that it matches 
the actual chapter number. How can I do this?

Three ways you may use:

The \setcounter way:
==
I wouldn't bother with it, but \setcounter{chapter}{5} will cause
the next chapter to be number 6.  I.e. use setcounter and one
less than the chapter number you want.  Logical, because
you are really setting the number of the previous chapter,
and the new chapter increase the counter value before printing.

Note that you will not see a different chapter number inside LyX,
only in the previews/printouts.

The reason I wouldn't bother with it, is mainly that this screws
up completely _if_ you add or remove a chapter, or reorder them.
you will then have to fix every \setcounter command.  Doing nothing
works for the final document after all.



Chapter headings in the main document
==
Another way of achieving what you want.  Put all the
chapter headings in the master document, and include
child documents that doesn't contain the chapter
environment.

When you print drafts, always print the master document
where you simply don't include more than one child document.
That way - you get headings for empty chapters as well as the
one document you wanted. 


The numbering is correct no matter  how you re-order stuff,
and you don't waste time running the entire thesis through
latex everytime.

Newer versions of LyX support Document branches.  This lets
you turn parts of the document on and off, instead of
removing/reinserting files in the master document.


Document branches
==
You can also use document branches to achieve time  paper
saving, without having to split into several documents.
In this case you put everything into one big document, and
put each chapter (except for the chapter heading itself perhaps)
in a document branch of its own.  You can then use
the document-settings-branches menu to turn
various parts of the document on and off.  Performance
should be fine even with a single huge document.


Helge Hafting


Re: Spacing between lines...

2006-08-29 Thread Helge Hafting

Frederick FN Noronha wrote:

I'm trying to set a book to 12/15 points. Is there some way I can do
this? The options I'm getting are just one-line, one-and-half, and
double-linespace. So I'd be really grateful if someone could tell me
how to get 12/15 points settings. Thanks! FN

When I needed a 10.5 pt font with 12.5 pt linespread, I used this:
\renewcommand{\normalsize}{\fontsize{10.5pt}{12.5pt}\selectfont}

Your case would be \renewcommand{\normalsize}{\fontsize{12}{15}\selectfont}
I think.  The command goes in the preamble, which you find in
document-settings.

Helge Hafting




Re: word counter: feature not usefull for me

2006-08-29 Thread Helge Hafting

Marcelo Acuña wrote:

Hello,
 Word counter count words in Notes and ERTs.
 This is not usefull for me.
 I think that command in ERT must not be counted.
 I use notes for reminders, for keep quotes in
original language for further revision of translation,
and so on.
 Again, count words in notes not make usefull
information for me.
 What think about this other Lyx´s users? 
  

I agree that skipping notes is the right thing to do.
ERT is more tricky, for it is perfectly possible
to have some words of normal printed text inside ERT.
For example, if you need to do:
\begin{myhighlight}Special words\end{myhighlight}
The Special words will print, and should therefore be counted.

Unfortunately, parsing latex in order to get a perfect word count
is hard, so perhaps skipping ERT is the better choice.
The counting issue above may then be avoided by having two ERT boxes
containing the commands only. Between them the special words will
be written as normal text. The downside of this approach is that the
two latex boxes _must_ be matched pairs.  Cutpaste errors
may then leave you with an extra ERT box somewhere, which will cause
odd latex errors when you try to print or preview.

Do you really have so much code in ERT that this is a real problem?
Consider filing bugs at bugzilla.lyx.org.

Helge Hafting


Re: wish for reference interface

2006-08-29 Thread Helge Hafting

Helmut Hauser wrote:

Hi guys,

First of all thanks a lot for this great piece of
software!

I am not sure if this is the right place to make wish
(maybe the developer's list would have been better),
but anyway I think it would be a great improvement for
the reference cross-reference interface if one could
not only sort but could SEARCH for expressions (maybe
an iterative search - with a list of all results so
far).
  

File a wishlist bug at bugzilla.lyx.org

Helge Hafting


Re: toc-dotted leaders

2006-08-29 Thread Helge Hafting

Bob Lounsbury wrote:

Hello,

Does anyone know how to get dotted leaders on chapter entries in the
toc?  I'm using the memoir class and have been through the documentation
but it seems to me that the latex commands are not working in LyX.
  

If you know how to do this in latex, then you can
do it in lyx too. 
Under document-settings-preamble you find the

latex preamble, where you put anything that
normally goes before \begin{document}.

Latex commands can be used anywhere in the document too,
note that you have to put them in an ERT box. (Click the
toolbar button labeled ERT to get one.)
If the ERT box goes in the middle of some text, take care
to terminate the latex command (with a space or an extra {})
so the words in the text won't become part of your latex command.

Helge Hafting




Re: user interface study of lyx

2006-08-29 Thread Helge Hafting

Wolfgang Engelmann wrote:

In preparation for the class, I plan to post a separate
questionnaire to the lyx-users and lyx-devel lists. 


I welcome any comments about this.  Again, my intent is to
have this be a contribution to the lyx project.



I am currently working with a colleague on a book chapter using lyx, me on 
linux platform, he on microsoft. There are some problems on his side (e.g. 
exporting to pdf) with which I can´t help him.


I think, it would be very helpful in such and similar cases to have a linux 
livesystem on CD which contains all the necessary programs needed for writing 
documents with lyx such as tex stuff, spellchecker, vector and pixel oriented 
graphics (xfig, PyX, PStricks..), chemical formulas, bibtex related things 
such as JabRef or Pybliographer, presentations (beamer..). There is a nice 
book by Rainer Hattenhauer (2005), Linux-Livesysteme (published by Galileo 
Computing) - alas in German (perhaps translated in the meantime?) which gives 
detailed instructions and could serve as a basis. 

One could just insert this CD in the computer, start the system, work with it, 
save the produced documents on the computer, and thats it. I think this would 
be a nice project also for your students ...
  

A LyX liveCD would be nice, sure.  Be aware that linux doesn't
write very well to NTFS filesystems though - so it may be necessary
to save on FAT/FAT32 formatted usb thing if the disk filesystem is NTFS.

As for making pdf on windows - pdflatex is supposed to work
there too.

Helge Hafting


Re: HTML export

2006-08-29 Thread Pupeno
On Monday 28 August 2006 17:50, Juergen Fenn wrote:
 Pupeno [EMAIL PROTECTED] writes:
  Is there some way to generate a better HTML file out of a LyX file.
  Currently the export generates very old HTML, I need XHTML.

 I don't know what LyX exactly does nowadays because I still run
 v1.3.7, but you can convert to XHTML by exporting to LaTeX and running
 tex4ht

   http://www.cse.ohio-state.edu/~gurari/TeX4ht/mn.html

 on the LaTeX like this (adapt as you like):

   htlatex myfile.tex xhtml,0,fn-in,NoFonts,fonts

Ok, I am trying to use it, but it seems to require a lot of knowledge of LaTeX 
processing that I do not have. Do you know if there's an option to avoid 
using CSS (to put the colors of the fonts IN the text itself) ?

  Furthermore I'd like LyX-code sections to be ptt/tt/p, not
  dldt, etc.  Is that possible ?

 ? Please check your markup in LyX/LaTeX before converting.

What can I do about the markup in LyX ? Should I use something different than 
LyX-Code ?
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)


pgpdPAf368VM8.pgp
Description: PGP signature


Re: want to prevent textheight from bottom justify

2006-08-29 Thread Helge Hafting

Sue Kientz wrote:

Hi,

Is there a way to prevent the text in Book document class from bottom 
justifying the text height? What I'm seeing is, if there's a large 
block (e.g., figure) that needs to follow paragraphs or an enumerated 
list, and there's not enough space on the page, instead of leaving 
white space on the bottom of the page, it spaces out the enumerated 
list or paragraphs on that previous page, so that some text will show 
at the bottom of that page. Looks like it's bottom justifying the page 
text.

Books are supposed to be this way, because you see two pages at a time
when a book is open.  Having them end at different height tends to
look stupid, so the text is stretched.  Having lots of 
stretchable/compressable

spacing (headings, lists, paragraph breaks) makes the effects smaller.
It can look bad if you only have a little stretchable space that gets 
stretched

a lot.

There is an override, I think it is a latex command like \raggedbottom
which you put in a ERT box.

Read a latex tutorial to find out more.

Helge Hafting




Upright greek letters in normal text and math mode

2006-08-29 Thread Reinhard Mayr aka Czerwinski
Hi on the list!

I would like to have upright greek letters in both normal text and in math 
mode. Does anybody how to do this?

Thanks in advance!

Cz.
-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


How to get rid of the vertical line above footnotes?

2006-08-29 Thread Martin A. Hansen

i dont want that line immidiately below a table with footnotes (in a
minipage), and don't have my latex companion around ...

thanks


martin


Continuous numbering of list items

2006-08-29 Thread K. Elo
Hi,

is there any possibilities to prevent lyx from resetting the counter of
enumerated lists when several enumerated lists appear in different
sections? What I am looking for is the possibility to have a
continuously numerated list separated with section titles, i.e.:

a) Section a
1. List item #1
2. List item #2
3. List item #3
b) Section b
4. List item #4
5. List item #5
c) Section c
6. List item #6
7. List item #7
8. List item #8
...

Any ideas how to make this happen? I have tried to insert the following
commands:
\usepackage{remreset}
[EMAIL PROTECTED]

into the preamble, but this is not working.

Thanks in advance 6 kind regards,
Kimmo




Re: Continuous numbering of list items

2006-08-29 Thread Paul Smith

On 8/29/06, K. Elo [EMAIL PROTECTED] wrote:

is there any possibilities to prevent lyx from resetting the counter of
enumerated lists when several enumerated lists appear in different
sections? What I am looking for is the possibility to have a
continuously numerated list separated with section titles, i.e.:

a) Section a
1. List item #1
2. List item #2
3. List item #3
b) Section b
4. List item #4
5. List item #5
c) Section c
6. List item #6
7. List item #7
8. List item #8
...

Any ideas how to make this happen? I have tried to insert the following
commands:
\usepackage{remreset}
[EMAIL PROTECTED]

into the preamble, but this is not working.


Kimmo,

I have not tried it, but the section Break and Continue a Enumerate List at

http://www.people.ku.edu/~ashan/museWeb/LyxNotes.html

seems to be a solution for your problem.

Paul


Re: HTML export

2006-08-29 Thread Juergen Fenn
Pupeno [EMAIL PROTECTED] writes:

   http://www.cse.ohio-state.edu/~gurari/TeX4ht/mn.html

 Ok, I am trying to use it, but it seems to require a lot of knowledge of 
 LaTeX 
 processing that I do not have. 

LyX exports LaTeX code that should compile all right. Only if tex4ht
does not process this code correctly, you have to have a look into the
LaTeX file. Conversion is always a tricky business. Converting LaTeX
doubly so.

 Do you know if there's an option to avoid using CSS (to put the
 colors of the fonts IN the text itself) ?

I don't know of such an option (which does not mean that there is
none). But if you don't want a separate CSS file you can insert the
CSS code into the head of your HTML file.

  Furthermore I'd like LyX-code sections to be ptt/tt/p, not
  dldt, etc.  Is that possible ?

 ? Please check your markup in LyX/LaTeX before converting.

 What can I do about the markup in LyX ? Should I use something different than 
 LyX-Code ?

The only way not to get definition lists when converting to HTML is
not to input description lists in LyX. Given that the markup is
converted correctly.

For problems specific to tex4ht you should ask in comp.text.tex
because Eitan Gurari appears to follow the newsgroup.

Regards,
Jürgen.



Re: Continuous numbering of list items

2006-08-29 Thread Ed Gatzke
 is there any possibilities to prevent lyx from resetting the counter of
 enumerated lists when several enumerated lists appear in different
 sections? What I am looking for is the possibility to have a
 continuously numerated list separated with section titles, i.e.:
 
 a) Section a
 1. List item #1
 2. List item #2
 3. List item #3
 b) Section b
 4. List item #4
 5. List item #5
 c) Section c
 6. List item #6
 7. List item #7
 8. List item #8
 ...
 

If you just have a few items, you can use ERT LaTeX commands.

Put the following in ERT right after each enumeration and it will 
overwrite the current number and keep the correct formatting:   [4.]

No curly braces {}, just square brackets and the number in ERT.

Ed




Re: Continuous numbering of list items

2006-08-29 Thread K. Elo
Hi,

2006-08-29 12:10 +0100, Paul Smith:

 I have not tried it, but the section Break and Continue a Enumerate List at
 
 http://www.people.ku.edu/~ashan/museWeb/LyxNotes.html
 
 seems to be a solution for your problem.

It did. Thanks a lot. I the meantime I figured out two workarounds:
1) I exported the document in .tex, commented out all other
\begin{enumerate} and \end{enumerate} commands expect the first and the
last and run latex. Works fine.

2) I inserted the section headers in-between as parboxes, separated with
a crtl+enter after the last list item in a section and a standard line
break after the parbox. Works fine, too!

Anyway, thanks for Your quick answers.
Kind regards,
Kimmo




Re: Wish, suggestion about templates

2006-08-29 Thread Ed Gatzke

 Lyx preferences allow to modify the default templates directory.
 Problem: I use 2 templates directories (zs I guess some people)
 1 system wide (/usr/share/lyx/templates/)

The whole template thing is a problem for me.  I wish lyx had a nice way of
adding class files and templates.  I know latex has to do some magic for cls
files, but it can be a pain, especially if you have multiple latex installs (as
may be common on an XP box running lyx bundle and cygwin).  

A wizard or something to help with the overall template cls install may be nice,
something more user friendly than the help files...






Re: HTML export

2006-08-29 Thread Miki Dovrat
Hi,

Do the features view/export HTML work in lyx 1.4.2?

They don't work on my lyx 1.4.2 Windows XP with MikTex 2.5 even though 
htlatex is installed and works via command line.

In html view, I get an error saying lyx can't find the file 
c:\tmp\lyxtmpdir..\lyx_tmpbuf0\myfile.html

In html export, I see that a dvi is generated in the directory but no html.

If I take an exported latex file and use htlatex in a command line window 
everything works.

So, does anyone know what is wrong? Using a command line is fine by me, 
however a little tedious.

Thanks 





lyx and revtex4

2006-08-29 Thread Miller, Bruce
I want to use lyx to write scientific articles for physics journals. 
When I select revtex4 in the layout menu, lyx inserts non-standard commands in 
the header of the exported latex. It does not produce a standard revtex 
document. Any comments would be helpful.

---
Professor Bruce N. Miller
Department of Physics and Astronomy
Texas Christian University
TCU Box 298840
Fort Worth, TX  76129

[EMAIL PROTECTED]
817-257-7123   office
817-257-7375   dept. office
817-257-7742   fax
http://personal.tcu.edu/~bmiller





Postscript Printer Question

2006-08-29 Thread Bruce Pourciau
This is a LaTeX rather than LyX question. Concerning the quality of  
the output -- specifically for printing LaTeX and eps files, but also  
more generally -- what would be the difference between printer A and  
printer B, if A is described as having standard postscript support,  
while B, under printer fonts, says 26 scalable fonts but there's  
nothing about postscript support. We will be getting a new printer  
for the department of mathematics, and we'll need good reasons if we  
ask for the more expensive printer A.


Any help would be appreciated.

Bruce


Re: Postscript Printer Question

2006-08-29 Thread Rich Shepard

On Tue, 29 Aug 2006, Bruce Pourciau wrote:


This is a LaTeX rather than LyX question. Concerning the quality of the
output -- specifically for printing LaTeX and eps files, but also more
generally -- what would be the difference between printer A and printer B,
if A is described as having standard postscript support, while B, under
printer fonts, says 26 scalable fonts but there's nothing about
postscript support. We will be getting a new printer for the department of
mathematics, and we'll need good reasons if we ask for the more expensive
printer A.


Bruce,

  Probably no difference whatsoever. Most printers do not come with built-in
postscript engines because the licensing fee increases the printer cost and
most folks (i.e., Microserfs) couldn't care less. So, CUPS (or whatever
other printing system you're using nowadays) passes the test through
ghostscipt and sends the output to your printer.

  Fonts included with the printer do not need to be downloaded from a host,
along with the document. But, you can use whatever typefaces your
application supports and the output will be as high as the printer produces
(as long as you have it configured that way).

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: HTML export

2006-08-29 Thread TechTonics

Miki Dovrat wrote:

Hi,

Do the features view/export HTML work in lyx 1.4.2?

They don't work on my lyx 1.4.2 Windows XP with MikTex 2.5 even though 
htlatex is installed and works via command line.


In html view, I get an error saying lyx can't find the file 
c:\tmp\lyxtmpdir..\lyx_tmpbuf0\myfile.html


In html export, I see that a dvi is generated in the directory but no html.

If I take an exported latex file and use htlatex in a command line window 
everything works.


So, does anyone know what is wrong? Using a command line is fine by me, 
however a little tedious.


Thanks 



No, it doesn't work. It helps if you change your LyX temp and work 
directories found under Tools - Preferences to a path without spaces

such as C:\Lyx142\worklyx or C:\LyX142\templyx. Then the conversion
progresses longer. Maybe it will be fixed in LyX143.

Regards,
Stephen




Re: Continuous numbering of list items

2006-08-29 Thread Maria Gouskova
If you often use sequentially numbered lists that span several  
sections, you might want to check out the Covington package. It does  
just that, and you can set LyX up so that it provides the numbered  
environment as part of a document class (e.g., Article).


http://wiki.lyx.org/LyX/LinguistLyX#toc11

Maria


On Aug 29, 2006, at 8:31 AM, K. Elo wrote:


Hi,

2006-08-29 12:10 +0100, Paul Smith:

I have not tried it, but the section Break and Continue a  
Enumerate List at


http://www.people.ku.edu/~ashan/museWeb/LyxNotes.html

seems to be a solution for your problem.


It did. Thanks a lot. I the meantime I figured out two workarounds:
1) I exported the document in .tex, commented out all other
\begin{enumerate} and \end{enumerate} commands expect the first and  
the

last and run latex. Works fine.

2) I inserted the section headers in-between as parboxes, separated  
with

a crtl+enter after the last list item in a section and a standard line
break after the parbox. Works fine, too!

Anyway, thanks for Your quick answers.
Kind regards,
Kimmo






Re: Postscript Printer Question

2006-08-29 Thread Paul A. Rubin

Bruce Pourciau wrote:
This is a LaTeX rather than LyX question. Concerning the quality of the 
output -- specifically for printing LaTeX and eps files, but also more 
generally -- what would be the difference between printer A and printer 
B, if A is described as having standard postscript support, while B, 
under printer fonts, says 26 scalable fonts but there's nothing 
about postscript support. We will be getting a new printer for the 
department of mathematics, and we'll need good reasons if we ask for the 
more expensive printer A.


Any help would be appreciated.

Bruce



Printers that advertise standard Postscript support typically have a 
set of Type 1 Adobe fonts in firmware.  That allows the printer driver 
to print glyphs from those fonts on the printer without resorting to 
bitmaps.  I'm not sure how many Type 1 fonts there are all told, but I'm 
sure I've seen printers that advertised 35 or more Type 1 fonts in 
firmware.  The extent to which you get mileage out of the built-in fonts 
is obviously proportional to the likelihood that users employ those 
fonts in their documents.  I think you get a bit of a speed boost using 
fonts the printer has in firmware; whether the output quality is better 
may depend on printer resolution and some other factors, so I'm less 
sure there is an advantage there.


If printer B has 26 scalable fonts that are not Adobe fonts (and are not 
MS TrueType fonts), then my guess is that you won't get any mileage out 
of them.  I've seen printers once or twice that had a few non-Adobe 
fonts, but they were fonts I never used (and did not have installed on 
my PCs).


For either printer, if a font is encountered that is not Adobe Type 1, 
the used glyphs from that font will probably be embedded in the 
document, and I think the driver for either should be able to handle 
that.  If a font is neither embedded in the document nor recognized, I 
think the driver will use a map to substitute some font it (or the 
printer) knows, and that can produce some butt-ugly output.


For what it's worth, I turn all my LyX output into PDFs and print them 
on an HP multifunction ink-jet that does not contain any Postscript font 
support whatsoever.  I also tend to use the ae or lmodern fonts, even 
when generating PDFs (although occasionally I will use pslatex, which 
might match the embedded Type 1 fonts if I had embedded Type 1 fonts, 
which I don't).


/Paul



export to openoffice?

2006-08-29 Thread Neal Becker
I tried export to openoffice.  I have oolatex installed, but it AFAICT,
selecting 'export to openoffice' produced no output, nor any messages. 
This is lyx-1.4.2.



Re: Postscript Printer Question

2006-08-29 Thread Bruce Pourciau

Thanks, Paul and Rich.

Bruce
On Aug 29, 2006, at 1:21 PM, Paul A. Rubin wrote:


Bruce Pourciau wrote:
This is a LaTeX rather than LyX question. Concerning the quality  
of the output -- specifically for printing LaTeX and eps files,  
but also more generally -- what would be the difference between  
printer A and printer B, if A is described as having standard  
postscript support, while B, under printer fonts, says 26  
scalable fonts but there's nothing about postscript support. We  
will be getting a new printer for the department of mathematics,  
and we'll need good reasons if we ask for the more expensive  
printer A.

Any help would be appreciated.
Bruce


Printers that advertise standard Postscript support typically  
have a set of Type 1 Adobe fonts in firmware.  That allows the  
printer driver to print glyphs from those fonts on the printer  
without resorting to bitmaps.  I'm not sure how many Type 1 fonts  
there are all told, but I'm sure I've seen printers that advertised  
35 or more Type 1 fonts in firmware.  The extent to which you get  
mileage out of the built-in fonts is obviously proportional to the  
likelihood that users employ those fonts in their documents.  I  
think you get a bit of a speed boost using fonts the printer has in  
firmware; whether the output quality is better may depend on  
printer resolution and some other factors, so I'm less sure there  
is an advantage there.


If printer B has 26 scalable fonts that are not Adobe fonts (and  
are not MS TrueType fonts), then my guess is that you won't get any  
mileage out of them.  I've seen printers once or twice that had a  
few non-Adobe fonts, but they were fonts I never used (and did not  
have installed on my PCs).


For either printer, if a font is encountered that is not Adobe Type  
1, the used glyphs from that font will probably be embedded in the  
document, and I think the driver for either should be able to  
handle that.  If a font is neither embedded in the document nor  
recognized, I think the driver will use a map to substitute some  
font it (or the printer) knows, and that can produce some butt-ugly  
output.


For what it's worth, I turn all my LyX output into PDFs and print  
them on an HP multifunction ink-jet that does not contain any  
Postscript font support whatsoever.  I also tend to use the ae or  
lmodern fonts, even when generating PDFs (although occasionally I  
will use pslatex, which might match the embedded Type 1 fonts if I  
had embedded Type 1 fonts, which I don't).


/Paul




Bruce,

  Probably no difference whatsoever. Most printers do not come with  
built-in
postscript engines because the licensing fee increases the printer  
cost and
most folks (i.e., Microserfs) couldn't care less. So, CUPS (or  
whatever

other printing system you're using nowadays) passes the test through
ghostscipt and sends the output to your printer.

  Fonts included with the printer do not need to be downloaded from  
a host,

along with the document. But, you can use whatever typefaces your
application supports and the output will be as high as the printer  
produces

(as long as you have it configured that way).

Rich




Re: HTML export

2006-08-29 Thread TechTonics

Miki Dovrat wrote:

Hi,

Do the features view/export HTML work in lyx 1.4.2?

They don't work on my lyx 1.4.2 Windows XP with MikTex 2.5 even though 
htlatex is installed and works via command line.


In html view, I get an error saying lyx can't find the file 
c:\tmp\lyxtmpdir..\lyx_tmpbuf0\myfile.html


In html export, I see that a dvi is generated in the directory but no html.

If I take an exported latex file and use htlatex in a command line window 
everything works.


So, does anyone know what is wrong? Using a command line is fine by me, 
however a little tedious.


Thanks 





The basic structure of the html file is created, the problem
is that the file is named foo.htm rather than foo.html which
is the filename Lyx looks for. If you navigate to that tmp
folder and rename foo.htm to foo.html and run View-Html
again, then it will display because it finds the right filename.

The wrong filename is not the major problem. This process does
not work like running htlatex foo(.tex) from the command line
which does incorporate image files generated (.pngs default).

I don't think the generated image filenames are correct. I
think this is similar to bug #2299 
http://bugzilla.lyx.org/show_bug.cgi?id=2299


Georg wrote: I also know the cause: dvipdfm needs .bb files for  all 
graphics. LyX simply does not know that and does not copy these files

to  the temporary directory where latex and dvipdfm are run.

Changing the filename output from .htm to .html is minor.
I don't know if the fix Georg made for bug #2299 will fix
this problem although they seem related. Even on a file with
no equations like splash.lyx, the conversion to filename htm
which should be splash.html loses its formatting that is maintained
if you run htlatex from the command line, meaning if you navigate
to the tmp_buf* folder and type htlatex splash.tex, then use
View-Html from LyX, it looks pretty good, but not from how Lyx
invokes htlatex from the View command normally = bad splash.html

Regards,
Stephen



Re: export to openoffice?

2006-08-29 Thread TechTonics

Neal Becker wrote:

I tried export to openoffice.  I have oolatex installed, but it AFAICT,
selecting 'export to openoffice' produced no output, nor any messages. 
This is lyx-1.4.2.





I think it is broken, on Windows anyway.
You will have better luck with Windows or Linux
http://wiki.lyx.org/Tools/LyX2OpenOffice
I'm not sure it works on Macs yet.


Re: HTML export

2006-08-29 Thread Miki Dovrat
Thanks for the answers

Miki


TechTonics [EMAIL PROTECTED] wrote in 
message news:[EMAIL PROTECTED]
 Miki Dovrat wrote:
 Hi,

 Do the features view/export HTML work in lyx 1.4.2?

 They don't work on my lyx 1.4.2 Windows XP with MikTex 2.5 even though 
 htlatex is installed and works via command line.

 In html view, I get an error saying lyx can't find the file 
 c:\tmp\lyxtmpdir..\lyx_tmpbuf0\myfile.html

 In html export, I see that a dvi is generated in the directory but no 
 html.

 If I take an exported latex file and use htlatex in a command line window 
 everything works.

 So, does anyone know what is wrong? Using a command line is fine by me, 
 however a little tedious.

 Thanks

 The basic structure of the html file is created, the problem
 is that the file is named foo.htm rather than foo.html which
 is the filename Lyx looks for. If you navigate to that tmp
 folder and rename foo.htm to foo.html and run View-Html
 again, then it will display because it finds the right filename.

 The wrong filename is not the major problem. This process does
 not work like running htlatex foo(.tex) from the command line
 which does incorporate image files generated (.pngs default).

 I don't think the generated image filenames are correct. I
 think this is similar to bug #2299 
 http://bugzilla.lyx.org/show_bug.cgi?id=2299

 Georg wrote: I also know the cause: dvipdfm needs .bb files for  all 
 graphics. LyX simply does not know that and does not copy these files
 to  the temporary directory where latex and dvipdfm are run.

 Changing the filename output from .htm to .html is minor.
 I don't know if the fix Georg made for bug #2299 will fix
 this problem although they seem related. Even on a file with
 no equations like splash.lyx, the conversion to filename htm
 which should be splash.html loses its formatting that is maintained
 if you run htlatex from the command line, meaning if you navigate
 to the tmp_buf* folder and type htlatex splash.tex, then use
 View-Html from LyX, it looks pretty good, but not from how Lyx
 invokes htlatex from the View command normally = bad splash.html

 Regards,
 Stephen

 





chapter spacing

2006-08-29 Thread Bob Lounsbury




Hello,

Does anyone know how to modify the chapter vertical space above and
below a chapter title for the koma-script book class? I've looked
through the pdf, but I don't see any options. 

Also, is there a way to make the lists look better? I need my document
to be double spaced and that makes the lists look bad even if I try to
define each item as single spaced. See attached screen printout of the
list issues and my need for the chapter title to not have any vertical
space above it.

Thanks,
Bob


attachment: lyxlist2.jpg


noweb book child documents: don't get processed through the noweb handler

2006-08-29 Thread Paul Johnson

Hello, everybody.

If I have a book chapter in book-noweb document class, I can view it
and the R/Noweb linkage is fine--the code chunks run through R and the
documents are displayed.

If I take the same book chapter, and put it in as a child document
inside the whole book the Noweb processing is not done. he
over-arching document's setting is also book-noweb, and it is simply a
series of included lyx child documents.  The code chunks just show up
in the final document, along with the macro commands at the beginning
and end of each code chunk.

What do you think?

If you have R and are willing to set up your system according to the
instructions in the Lyx Wiki for using Rweave/Noweb, then I can give
you the files so you can see for yourself.

For system details, I have Fedora Core 5 with the newest LyX from the
Fedora Extras, 1.4.2

pj

--
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: export to openoffice?

2006-08-29 Thread Bennett Helm

On Aug 29, 2006, at 3:02 PM, TechTonics wrote:


Neal Becker wrote:
I tried export to openoffice.  I have oolatex installed, but it  
AFAICT,
selecting 'export to openoffice' produced no output, nor any  
messages. This is lyx-1.4.2.


I think it is broken, on Windows anyway.
You will have better luck with Windows or Linux
http://wiki.lyx.org/Tools/LyX2OpenOffice
I'm not sure it works on Macs yet.


The Linux version works fine on Mac (which is, after all, *nix at  
heart).


Bennett



Re: user interface study of lyx

2006-08-29 Thread Wolfgang Engelmann

> In preparation for the class, I plan to post a separate
> questionnaire to the lyx-users and lyx-devel lists. 
>
> I welcome any comments about this.  Again, my intent is to
> have this be a contribution to the lyx project.

I am currently working with a colleague on a book chapter using lyx, me on 
linux platform, he on microsoft. There are some problems on his side (e.g. 
exporting to pdf) with which I can´t help him.

I think, it would be very helpful in such and similar cases to have a linux 
livesystem on CD which contains all the necessary programs needed for writing 
documents with lyx such as tex stuff, spellchecker, vector and pixel oriented 
graphics (xfig, PyX, PStricks..), chemical formulas, bibtex related things 
such as JabRef or Pybliographer, presentations (beamer..). There is a nice 
book by Rainer Hattenhauer (2005), Linux-Livesysteme (published by Galileo 
Computing) - alas in German (perhaps translated in the meantime?) which gives 
detailed instructions and could serve as a basis. 

One could just insert this CD in the computer, start the system, work with it, 
save the produced documents on the computer, and thats it. I think this would 
be a nice project also for your students ...

Wolfgang


Re: user interface study of lyx

2006-08-29 Thread Helge Hafting

Daryl Hepting wrote:

Hello;

I am about to start teaching an undergraduate course in human
computer interaction for the fall semester (about a week away
now) and I will be asking my students to look at lyx.  I have
been using LaTeX for years and I've had a bit of experience
with lyx.  I'm interested in how well (new) users can work with
lyx.

I joined the e-mail lists last week and I am impressed by
the amount of traffic on both the user and development lists.
What do I hope to come up with at the end of the semester? I
expect that students will come up with some design alternatives
for various aspects of the lyx interface.  

Interesting!
Some things to consider about user interface design:
* The mouse is nice, but the (expert) user should be able to
  get around with the keyboard only too.  Not because the
  mouse gets lost, but the keyboard is so much faster
  when you know all the shortcuts. 
 
  In LyX, you may want to have a look at how the paragraph

  types (standard, bullet list, sectioning, and so on) can be
  set without the mouse.  This is a huge timesaver - the
  paragraph type list is just a single mouse click away.  Still,
  Typing ALT P B to get a bullet list or ALT P 3 for the third
  level of sectioning is so much faster. 


  Also, all the math can be typed as latex commands. Typing
  \frac is much faster than looking up fractions in
  the math menus.

* Small popup windows is considered bad.  A big dialog is ok,
  when there is lots of information to fill in.  But most of the
  time you spend on the small popups is spent on the "OK"
  button - and that is wasted time.  LyX have a status line
  at the bottom where it is possible to show small messages
  without requiring the user to click anything at all.
 
  Of course LyX has its share of annoying small popups, so

  this is a field where your students may make improvements.

* The worst "annoying popup" is the search & replace dialog.
  Search, and often enough the word you search for will be
  found - UNDER the stupid dialog.  And sometimes you search
  just to get to a certain place in a big document, but then
  you have to get rid of the  search popup  before  you can type.

  Now, there are occations when the search dialog is useful,
  it contains some options that sometimes are useful.  And it
  may be extended to do more complicated searches - regexps
  or searching/replacing formatted text. 


  What many want, but can't find time to code, is an alternative
  search - a simple search that use no popup, just a text entry
  field that shows up in the status area when some "search hotkey"
  is pressed.  I.e. a firefox/emacs/vi style search, instead of
  a dialog.  The existing dialog should be preserved though,
  as it have more options.

* The LyX editor and file format supports some operations and
  insets that currently cannot be entered - because the
  menus and keybindings are behind LyX capabilities.

  Adding interfaces for such things should be nice student work.




I would like these
to be contributions to the lyx project.  We are very interested
in open source software development here at my university and
if all goes well, we might even have a class in winter 2007,
that could work at implementing these alternatives -- again,
as a contribution to the project.

In preparation for the class, I plan to post a separate
questionnaire to the lyx-users and lyx-devel lists.  All
responses will be carefully reviewed.  For those who are
interested, I will also post details of the study
that the students will conduct here, using participants from
the participant pool that we have here.  Basically, we will be
recruiting people who self-report proficiency in either LaTeX
or MS Word and then ask them to format a sample document using
their preferred of those 2 tools and lyx.

Now that could be an interesting test, especially the comparison
with word.  How do you plan on doing this? 


I suggest handing them a large document that
is entirely in ascii. Then they can turn headings into real
headings, add a TOC, perhaps a small index, perhaps
some tables, figures, and lists of tables & figures,
and things like title and author.

For a formatting test you want a really large document,
because some oddities don't happen all that often.
For example, some word processors will happily
put a heading at the bottom of the page sometimes.
LyX and Latex won't do that, but you need quite a few pages
for it to happen by accident.  You can increase chances by
setting up for a small format like A5 or A6 or other custom
small paper.  I believe that the word user will have to
go through the document carefully looking for such things,
while latex simply avoids them.

And when they are done, ask them to change the margins
a bit and resubmit the PDF.  See how much time that takes . . .

Look both at the time invested, and the quality of final
results.


I welcome any comments about this.  Again, my intent is to
have this be a contribution to the lyx 

Re: Abstract Page Numbering and Separate Chapter Numbering

2006-08-29 Thread Helge Hafting

Chris Share wrote:

Hi,

I'm a PhD student and I'd like to use LyX for my thesis. I'm new to 
LyX (although I have written one research paper in LaTeX using 
TeXnicCenter). I've read the Introduction, Tutorial and part of the 
User's Guide.


I have two questions:

1. My document consists of a main file and separate files for each 
chapter. All files are "reports". I realise that in a report class an 
abstract appears without a page number. How can I force a page number 
to appear on the abstract page/s?

\thispagestyle{plain}
inside an ERT box.  The ERT box goes inside the abstract, for example
in the first line.  This trick works for the standard report class.
When I tried this, LyX reset the page counter to "1" on the first page
of the abstract.  If this isn't what you want, consider
\setcounter{page}{45} or whatever to fix it. Or perhaps
you want a different style page numbers for the abstract?



2. Each chapter title is in Chapter format however because they're 
separate, each one is labelled "Chapter 1". Although this doesn't 
affect the final document, I'd like to change it so that it matches 
the actual chapter number. How can I do this?

Three ways you may use:

The \setcounter way:
==
I wouldn't bother with it, but \setcounter{chapter}{5} will cause
the next chapter to be number 6.  I.e. use setcounter and one
less than the chapter number you want.  Logical, because
you are really setting the number of the previous chapter,
and the new chapter increase the counter value before printing.

Note that you will not see a different chapter number inside LyX,
only in the previews/printouts.

The reason I wouldn't bother with it, is mainly that this screws
up completely _if_ you add or remove a chapter, or reorder them.
you will then have to fix every \setcounter command.  Doing nothing
works for the final document after all.



Chapter headings in the main document
==
Another way of achieving what you want.  Put all the
chapter headings in the master document, and include
child documents that doesn't contain the "chapter"
environment.

When you print drafts, always print the master document
where you simply don't include more than one child document.
That way - you get headings for "empty" chapters as well as the
one document you wanted. 


The numbering is correct no matter  how you re-order stuff,
and you don't waste time running the entire thesis through
latex everytime.

Newer versions of LyX support "Document branches".  This lets
you turn parts of the document "on" and "off", instead of
removing/reinserting files in the master document.


Document branches
==
You can also use document branches to achieve time & paper
saving, without having to split into several documents.
In this case you put everything into one big document, and
put each chapter (except for the chapter heading itself perhaps)
in a document branch of its own.  You can then use
the document->settings->branches menu to turn
various parts of the document on and off.  Performance
should be fine even with a single huge document.


Helge Hafting


Re: Spacing between lines...

2006-08-29 Thread Helge Hafting

Frederick "FN" Noronha wrote:

I'm trying to set a book to 12/15 points. Is there some way I can do
this? The options I'm getting are just one-line, one-and-half, and
double-linespace. So I'd be really grateful if someone could tell me
how to get 12/15 points settings. Thanks! FN

When I needed a 10.5 pt font with 12.5 pt linespread, I used this:
\renewcommand{\normalsize}{\fontsize{10.5pt}{12.5pt}\selectfont}

Your case would be \renewcommand{\normalsize}{\fontsize{12}{15}\selectfont}
I think.  The command goes in the preamble, which you find in
document->settings.

Helge Hafting




Re: word counter: feature not usefull for me

2006-08-29 Thread Helge Hafting

Marcelo Acuña wrote:

Hello,
 Word counter count words in Notes and ERTs.
 This is not usefull for me.
 I think that command in ERT must not be counted.
 I use notes for reminders, for keep quotes in
original language for further revision of translation,
and so on.
 Again, count words in notes not make usefull
information for me.
 What think about this other Lyx´s users? 
  

I agree that skipping notes is the right thing to do.
ERT is more tricky, for it is perfectly possible
to have some words of normal printed text inside ERT.
For example, if you need to do:
\begin{myhighlight}Special words\end{myhighlight}
The "Special words" will print, and should therefore be counted.

Unfortunately, parsing latex in order to get a perfect word count
is hard, so perhaps skipping ERT is the better choice.
The counting issue above may then be avoided by having two ERT boxes
containing the commands only. Between them the "special words" will
be written as normal text. The downside of this approach is that the
two latex boxes _must_ be matched pairs.  Cut errors
may then leave you with an extra ERT box somewhere, which will cause
odd latex errors when you try to print or preview.

Do you really have so much code in ERT that this is a real problem?
Consider filing bugs at bugzilla.lyx.org.

Helge Hafting


Re: wish for reference interface

2006-08-29 Thread Helge Hafting

Helmut Hauser wrote:

Hi guys,

First of all thanks a lot for this great piece of
software!

I am not sure if this is the right place to make wish
(maybe the developer's list would have been better),
but anyway I think it would be a great improvement for
the reference cross-reference interface if one could
not only sort but could SEARCH for expressions (maybe
an iterative search - with a list of all results so
far).
  

File a wishlist bug at bugzilla.lyx.org

Helge Hafting


Re: toc-dotted leaders

2006-08-29 Thread Helge Hafting

Bob Lounsbury wrote:

Hello,

Does anyone know how to get dotted leaders on chapter entries in the
toc?  I'm using the memoir class and have been through the documentation
but it seems to me that the latex commands are not working in LyX.
  

If you know how to do this in latex, then you can
do it in lyx too. 
Under document->settings->preamble you find the

latex preamble, where you put anything that
normally goes before \begin{document}.

Latex commands can be used anywhere in the document too,
note that you have to put them in an ERT box. (Click the
toolbar button labeled ERT to get one.)
If the ERT box goes in the middle of some text, take care
to terminate the latex command (with a space or an extra {})
so the words in the text won't become part of your latex command.

Helge Hafting




Re: user interface study of lyx

2006-08-29 Thread Helge Hafting

Wolfgang Engelmann wrote:

In preparation for the class, I plan to post a separate
questionnaire to the lyx-users and lyx-devel lists. 


I welcome any comments about this.  Again, my intent is to
have this be a contribution to the lyx project.



I am currently working with a colleague on a book chapter using lyx, me on 
linux platform, he on microsoft. There are some problems on his side (e.g. 
exporting to pdf) with which I can´t help him.


I think, it would be very helpful in such and similar cases to have a linux 
livesystem on CD which contains all the necessary programs needed for writing 
documents with lyx such as tex stuff, spellchecker, vector and pixel oriented 
graphics (xfig, PyX, PStricks..), chemical formulas, bibtex related things 
such as JabRef or Pybliographer, presentations (beamer..). There is a nice 
book by Rainer Hattenhauer (2005), Linux-Livesysteme (published by Galileo 
Computing) - alas in German (perhaps translated in the meantime?) which gives 
detailed instructions and could serve as a basis. 

One could just insert this CD in the computer, start the system, work with it, 
save the produced documents on the computer, and thats it. I think this would 
be a nice project also for your students ...
  

A LyX liveCD would be nice, sure.  Be aware that linux doesn't
write very well to NTFS filesystems though - so it may be necessary
to save on FAT/FAT32 formatted usb thing if the disk filesystem is NTFS.

As for making pdf on windows - pdflatex is supposed to work
there too.

Helge Hafting


Re: HTML export

2006-08-29 Thread Pupeno
On Monday 28 August 2006 17:50, Juergen Fenn wrote:
> Pupeno <[EMAIL PROTECTED]> writes:
> > Is there some way to generate a better HTML file out of a LyX file.
> > Currently the export generates very old HTML, I need XHTML.
>
> I don't know what LyX exactly does nowadays because I still run
> v1.3.7, but you can convert to XHTML by exporting to LaTeX and running
> tex4ht
>
>   http://www.cse.ohio-state.edu/~gurari/TeX4ht/mn.html
>
> on the LaTeX like this (adapt as you like):
>
>   htlatex myfile.tex "xhtml,0,fn-in,NoFonts,fonts"

Ok, I am trying to use it, but it seems to require a lot of knowledge of LaTeX 
processing that I do not have. Do you know if there's an option to avoid 
using CSS (to put the colors of the fonts IN the text itself) ?

> > Furthermore I'd like LyX-code sections to be , not
> > , etc.  Is that possible ?
>
> ? Please check your markup in LyX/LaTeX before converting.

What can I do about the markup in LyX ? Should I use something different than 
LyX-Code ?
-- 
Pupeno <[EMAIL PROTECTED]> (http://pupeno.com)


pgpdPAf368VM8.pgp
Description: PGP signature


Re: want to prevent textheight from bottom justify

2006-08-29 Thread Helge Hafting

Sue Kientz wrote:

Hi,

Is there a way to prevent the text in Book document class from bottom 
justifying the text height? What I'm seeing is, if there's a large 
block (e.g., figure) that needs to follow paragraphs or an enumerated 
list, and there's not enough space on the page, instead of leaving 
white space on the bottom of the page, it spaces out the enumerated 
list or paragraphs on that previous page, so that some text will show 
at the bottom of that page. Looks like it's bottom justifying the page 
text.

Books are supposed to be this way, because you see two pages at a time
when a book is open.  Having them end at different height tends to
look stupid, so the text is stretched.  Having lots of 
stretchable/compressable

spacing (headings, lists, paragraph breaks) makes the effects smaller.
It can look bad if you only have a little stretchable space that gets 
stretched

a lot.

There is an override, I think it is a latex command like \raggedbottom
which you put in a ERT box.

Read a latex tutorial to find out more.

Helge Hafting




Upright greek letters in normal text and math mode

2006-08-29 Thread Reinhard Mayr aka Czerwinski
Hi on the list!

I would like to have upright greek letters in both normal text and in math 
mode. Does anybody how to do this?

Thanks in advance!

Cz.
-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


How to get rid of the vertical line above footnotes?

2006-08-29 Thread Martin A. Hansen

i dont want that line immidiately below a table with footnotes (in a
minipage), and don't have my latex companion around ...

thanks


martin


Continuous numbering of list items

2006-08-29 Thread K. Elo
Hi,

is there any possibilities to prevent lyx from resetting the counter of
enumerated lists when several enumerated lists appear in different
sections? What I am looking for is the possibility to have a
continuously numerated list separated with section titles, i.e.:

a) Section a
1. List item #1
2. List item #2
3. List item #3
b) Section b
4. List item #4
5. List item #5
c) Section c
6. List item #6
7. List item #7
8. List item #8
...

Any ideas how to make this happen? I have tried to insert the following
commands:
\usepackage{remreset}
[EMAIL PROTECTED]

into the preamble, but this is not working.

Thanks in advance 6 kind regards,
Kimmo




Re: Continuous numbering of list items

2006-08-29 Thread Paul Smith

On 8/29/06, K. Elo <[EMAIL PROTECTED]> wrote:

is there any possibilities to prevent lyx from resetting the counter of
enumerated lists when several enumerated lists appear in different
sections? What I am looking for is the possibility to have a
continuously numerated list separated with section titles, i.e.:

a) Section a
1. List item #1
2. List item #2
3. List item #3
b) Section b
4. List item #4
5. List item #5
c) Section c
6. List item #6
7. List item #7
8. List item #8
...

Any ideas how to make this happen? I have tried to insert the following
commands:
\usepackage{remreset}
[EMAIL PROTECTED]

into the preamble, but this is not working.


Kimmo,

I have not tried it, but the section "Break and Continue a Enumerate List" at

http://www.people.ku.edu/~ashan/museWeb/LyxNotes.html

seems to be a solution for your problem.

Paul


Re: HTML export

2006-08-29 Thread Juergen Fenn
Pupeno <[EMAIL PROTECTED]> writes:

>>   http://www.cse.ohio-state.edu/~gurari/TeX4ht/mn.html

> Ok, I am trying to use it, but it seems to require a lot of knowledge of 
> LaTeX 
> processing that I do not have. 

LyX exports LaTeX code that should compile all right. Only if tex4ht
does not process this code correctly, you have to have a look into the
LaTeX file. Conversion is always a tricky business. Converting LaTeX
doubly so.

> Do you know if there's an option to avoid using CSS (to put the
> colors of the fonts IN the text itself) ?

I don't know of such an option (which does not mean that there is
none). But if you don't want a separate CSS file you can insert the
CSS code into the head of your HTML file.

>> > Furthermore I'd like LyX-code sections to be , not
>> > , etc.  Is that possible ?
>>
>> ? Please check your markup in LyX/LaTeX before converting.
>
> What can I do about the markup in LyX ? Should I use something different than 
> LyX-Code ?

The only way not to get definition lists when converting to HTML is
not to input description lists in LyX. Given that the markup is
converted correctly.

For problems specific to tex4ht you should ask in comp.text.tex
because Eitan Gurari appears to follow the newsgroup.

Regards,
Jürgen.



Re: Continuous numbering of list items

2006-08-29 Thread Ed Gatzke
> is there any possibilities to prevent lyx from resetting the counter of
> enumerated lists when several enumerated lists appear in different
> sections? What I am looking for is the possibility to have a
> continuously numerated list separated with section titles, i.e.:
> 
> a) Section a
> 1. List item #1
> 2. List item #2
> 3. List item #3
> b) Section b
> 4. List item #4
> 5. List item #5
> c) Section c
> 6. List item #6
> 7. List item #7
> 8. List item #8
> ...
> 

If you just have a few items, you can use ERT LaTeX commands.

Put the following in ERT right after each enumeration and it will 
overwrite the current number and keep the correct formatting:   [4.]

No curly braces {}, just square brackets and the number in ERT.

Ed




Re: Continuous numbering of list items

2006-08-29 Thread K. Elo
Hi,

2006-08-29 12:10 +0100, Paul Smith:

> I have not tried it, but the section "Break and Continue a Enumerate List" at
> 
> http://www.people.ku.edu/~ashan/museWeb/LyxNotes.html
> 
> seems to be a solution for your problem.

It did. Thanks a lot. I the meantime I figured out two workarounds:
1) I exported the document in .tex, commented out all other
\begin{enumerate} and \end{enumerate} commands expect the first and the
last and run latex. Works fine.

2) I inserted the section headers in-between as parboxes, separated with
a crtl+enter after the last list item in a section and a standard line
break after the parbox. Works fine, too!

Anyway, thanks for Your quick answers.
Kind regards,
Kimmo




Re: Wish, suggestion about templates

2006-08-29 Thread Ed Gatzke

> Lyx preferences allow to modify the default templates directory.
> Problem: I use 2 templates directories (zs I guess some people)
> 1 system wide (/usr/share/lyx/templates/)

The whole template thing is a problem for me.  I wish lyx had a nice way of
adding class files and templates.  I know latex has to do some magic for cls
files, but it can be a pain, especially if you have multiple latex installs (as
may be common on an XP box running lyx bundle and cygwin).  

A wizard or something to help with the overall template cls install may be nice,
something more user friendly than the help files...






Re: HTML export

2006-08-29 Thread Miki Dovrat
Hi,

Do the features view/export HTML work in lyx 1.4.2?

They don't work on my lyx 1.4.2 Windows XP with MikTex 2.5 even though 
htlatex is installed and works via command line.

In html view, I get an error saying lyx can't find the file 
c:\tmp\lyxtmpdir..\lyx_tmpbuf0\myfile.html

In html export, I see that a dvi is generated in the directory but no html.

If I take an exported latex file and use htlatex in a command line window 
everything works.

So, does anyone know what is wrong? Using a command line is fine by me, 
however a little tedious.

Thanks 





lyx and revtex4

2006-08-29 Thread Miller, Bruce
I want to use lyx to write scientific articles for physics journals. 
When I select revtex4 in the layout menu, lyx inserts non-standard commands in 
the header of the exported latex. It does not produce a standard revtex 
document. Any comments would be helpful.

---
Professor Bruce N. Miller
Department of Physics and Astronomy
Texas Christian University
TCU Box 298840
Fort Worth, TX  76129

[EMAIL PROTECTED]
817-257-7123   office
817-257-7375   dept. office
817-257-7742   fax
http://personal.tcu.edu/~bmiller





Postscript Printer Question

2006-08-29 Thread Bruce Pourciau
This is a LaTeX rather than LyX question. Concerning the quality of  
the output -- specifically for printing LaTeX and eps files, but also  
more generally -- what would be the difference between printer A and  
printer B, if A is described as having "standard postscript support,"  
while B, under "printer fonts," says "26 scalable fonts" but there's  
nothing about postscript support. We will be getting a new printer  
for the department of mathematics, and we'll need good reasons if we  
ask for the more expensive printer A.


Any help would be appreciated.

Bruce


Re: Postscript Printer Question

2006-08-29 Thread Rich Shepard

On Tue, 29 Aug 2006, Bruce Pourciau wrote:


This is a LaTeX rather than LyX question. Concerning the quality of the
output -- specifically for printing LaTeX and eps files, but also more
generally -- what would be the difference between printer A and printer B,
if A is described as having "standard postscript support," while B, under
"printer fonts," says "26 scalable fonts" but there's nothing about
postscript support. We will be getting a new printer for the department of
mathematics, and we'll need good reasons if we ask for the more expensive
printer A.


Bruce,

  Probably no difference whatsoever. Most printers do not come with built-in
postscript engines because the licensing fee increases the printer cost and
most folks (i.e., Microserfs) couldn't care less. So, CUPS (or whatever
other printing system you're using nowadays) passes the test through
ghostscipt and sends the output to your printer.

  Fonts included with the printer do not need to be downloaded from a host,
along with the document. But, you can use whatever typefaces your
application supports and the output will be as high as the printer produces
(as long as you have it configured that way).

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863


Re: HTML export

2006-08-29 Thread TechTonics

Miki Dovrat wrote:

Hi,

Do the features view/export HTML work in lyx 1.4.2?

They don't work on my lyx 1.4.2 Windows XP with MikTex 2.5 even though 
htlatex is installed and works via command line.


In html view, I get an error saying lyx can't find the file 
c:\tmp\lyxtmpdir..\lyx_tmpbuf0\myfile.html


In html export, I see that a dvi is generated in the directory but no html.

If I take an exported latex file and use htlatex in a command line window 
everything works.


So, does anyone know what is wrong? Using a command line is fine by me, 
however a little tedious.


Thanks 



No, it doesn't work. It helps if you change your LyX temp and work 
directories found under Tools -> Preferences to a path without spaces

such as C:\Lyx142\worklyx or C:\LyX142\templyx. Then the conversion
progresses longer. Maybe it will be fixed in LyX143.

Regards,
Stephen




Re: Continuous numbering of list items

2006-08-29 Thread Maria Gouskova
If you often use sequentially numbered lists that span several  
sections, you might want to check out the Covington package. It does  
just that, and you can set LyX up so that it provides the numbered  
environment as part of a document class (e.g., Article).


http://wiki.lyx.org/LyX/LinguistLyX#toc11

Maria


On Aug 29, 2006, at 8:31 AM, K. Elo wrote:


Hi,

2006-08-29 12:10 +0100, Paul Smith:

I have not tried it, but the section "Break and Continue a  
Enumerate List" at


http://www.people.ku.edu/~ashan/museWeb/LyxNotes.html

seems to be a solution for your problem.


It did. Thanks a lot. I the meantime I figured out two workarounds:
1) I exported the document in .tex, commented out all other
\begin{enumerate} and \end{enumerate} commands expect the first and  
the

last and run latex. Works fine.

2) I inserted the section headers in-between as parboxes, separated  
with

a crtl+enter after the last list item in a section and a standard line
break after the parbox. Works fine, too!

Anyway, thanks for Your quick answers.
Kind regards,
Kimmo






Re: Postscript Printer Question

2006-08-29 Thread Paul A. Rubin

Bruce Pourciau wrote:
This is a LaTeX rather than LyX question. Concerning the quality of the 
output -- specifically for printing LaTeX and eps files, but also more 
generally -- what would be the difference between printer A and printer 
B, if A is described as having "standard postscript support," while B, 
under "printer fonts," says "26 scalable fonts" but there's nothing 
about postscript support. We will be getting a new printer for the 
department of mathematics, and we'll need good reasons if we ask for the 
more expensive printer A.


Any help would be appreciated.

Bruce



Printers that advertise "standard Postscript support" typically have a 
set of Type 1 Adobe fonts in firmware.  That allows the printer driver 
to print glyphs from those fonts on the printer without resorting to 
bitmaps.  I'm not sure how many Type 1 fonts there are all told, but I'm 
sure I've seen printers that advertised 35 or more Type 1 fonts in 
firmware.  The extent to which you get mileage out of the built-in fonts 
is obviously proportional to the likelihood that users employ those 
fonts in their documents.  I think you get a bit of a speed boost using 
fonts the printer has in firmware; whether the output quality is better 
may depend on printer resolution and some other factors, so I'm less 
sure there is an advantage there.


If printer B has 26 scalable fonts that are not Adobe fonts (and are not 
MS TrueType fonts), then my guess is that you won't get any mileage out 
of them.  I've seen printers once or twice that had a few non-Adobe 
fonts, but they were fonts I never used (and did not have installed on 
my PCs).


For either printer, if a font is encountered that is not Adobe Type 1, 
the used glyphs from that font will probably be embedded in the 
document, and I think the driver for either should be able to handle 
that.  If a font is neither embedded in the document nor recognized, I 
think the driver will use a map to substitute some font it (or the 
printer) knows, and that can produce some butt-ugly output.


For what it's worth, I turn all my LyX output into PDFs and print them 
on an HP multifunction ink-jet that does not contain any Postscript font 
support whatsoever.  I also tend to use the ae or lmodern fonts, even 
when generating PDFs (although occasionally I will use pslatex, which 
might match the embedded Type 1 fonts if I had embedded Type 1 fonts, 
which I don't).


/Paul



export to openoffice?

2006-08-29 Thread Neal Becker
I tried export to openoffice.  I have oolatex installed, but it AFAICT,
selecting 'export to openoffice' produced no output, nor any messages. 
This is lyx-1.4.2.



Re: Postscript Printer Question

2006-08-29 Thread Bruce Pourciau

Thanks, Paul and Rich.

Bruce
On Aug 29, 2006, at 1:21 PM, Paul A. Rubin wrote:


Bruce Pourciau wrote:
This is a LaTeX rather than LyX question. Concerning the quality  
of the output -- specifically for printing LaTeX and eps files,  
but also more generally -- what would be the difference between  
printer A and printer B, if A is described as having "standard  
postscript support," while B, under "printer fonts," says "26  
scalable fonts" but there's nothing about postscript support. We  
will be getting a new printer for the department of mathematics,  
and we'll need good reasons if we ask for the more expensive  
printer A.

Any help would be appreciated.
Bruce


Printers that advertise "standard Postscript support" typically  
have a set of Type 1 Adobe fonts in firmware.  That allows the  
printer driver to print glyphs from those fonts on the printer  
without resorting to bitmaps.  I'm not sure how many Type 1 fonts  
there are all told, but I'm sure I've seen printers that advertised  
35 or more Type 1 fonts in firmware.  The extent to which you get  
mileage out of the built-in fonts is obviously proportional to the  
likelihood that users employ those fonts in their documents.  I  
think you get a bit of a speed boost using fonts the printer has in  
firmware; whether the output quality is better may depend on  
printer resolution and some other factors, so I'm less sure there  
is an advantage there.


If printer B has 26 scalable fonts that are not Adobe fonts (and  
are not MS TrueType fonts), then my guess is that you won't get any  
mileage out of them.  I've seen printers once or twice that had a  
few non-Adobe fonts, but they were fonts I never used (and did not  
have installed on my PCs).


For either printer, if a font is encountered that is not Adobe Type  
1, the used glyphs from that font will probably be embedded in the  
document, and I think the driver for either should be able to  
handle that.  If a font is neither embedded in the document nor  
recognized, I think the driver will use a map to substitute some  
font it (or the printer) knows, and that can produce some butt-ugly  
output.


For what it's worth, I turn all my LyX output into PDFs and print  
them on an HP multifunction ink-jet that does not contain any  
Postscript font support whatsoever.  I also tend to use the ae or  
lmodern fonts, even when generating PDFs (although occasionally I  
will use pslatex, which might match the embedded Type 1 fonts if I  
had embedded Type 1 fonts, which I don't).


/Paul




Bruce,

  Probably no difference whatsoever. Most printers do not come with  
built-in
postscript engines because the licensing fee increases the printer  
cost and
most folks (i.e., Microserfs) couldn't care less. So, CUPS (or  
whatever

other printing system you're using nowadays) passes the test through
ghostscipt and sends the output to your printer.

  Fonts included with the printer do not need to be downloaded from  
a host,

along with the document. But, you can use whatever typefaces your
application supports and the output will be as high as the printer  
produces

(as long as you have it configured that way).

Rich




Re: HTML export

2006-08-29 Thread TechTonics

Miki Dovrat wrote:

Hi,

Do the features view/export HTML work in lyx 1.4.2?

They don't work on my lyx 1.4.2 Windows XP with MikTex 2.5 even though 
htlatex is installed and works via command line.


In html view, I get an error saying lyx can't find the file 
c:\tmp\lyxtmpdir..\lyx_tmpbuf0\myfile.html


In html export, I see that a dvi is generated in the directory but no html.

If I take an exported latex file and use htlatex in a command line window 
everything works.


So, does anyone know what is wrong? Using a command line is fine by me, 
however a little tedious.


Thanks 





The basic structure of the html file is created, the problem
is that the file is named foo.htm rather than foo.html which
is the filename Lyx looks for. If you navigate to that tmp
folder and rename foo.htm to foo.html and run View->Html
again, then it will display because it finds the right filename.

The wrong filename is not the major problem. This process does
not work like running htlatex foo(.tex) from the command line
which does incorporate image files generated (.pngs default).

I don't think the generated image filenames are correct. I
think this is similar to bug #2299 
http://bugzilla.lyx.org/show_bug.cgi?id=2299


Georg wrote: I also know the cause: dvipdfm needs .bb files for  all 
graphics. LyX simply does not know that and does not copy these files

to  the temporary directory where latex and dvipdfm are run.

Changing the filename output from .htm to .html is minor.
I don't know if the fix Georg made for bug #2299 will fix
this problem although they seem related. Even on a file with
no equations like splash.lyx, the conversion to filename htm
which should be splash.html loses its formatting that is maintained
if you run htlatex from the command line, meaning if you navigate
to the tmp_buf* folder and type htlatex splash.tex, then use
View->Html from LyX, it looks pretty good, but not from how Lyx
invokes htlatex from the View command normally = bad splash.html

Regards,
Stephen



Re: export to openoffice?

2006-08-29 Thread TechTonics

Neal Becker wrote:

I tried export to openoffice.  I have oolatex installed, but it AFAICT,
selecting 'export to openoffice' produced no output, nor any messages. 
This is lyx-1.4.2.





I think it is broken, on Windows anyway.
You will have better luck with Windows or Linux
http://wiki.lyx.org/Tools/LyX2OpenOffice
I'm not sure it works on Macs yet.


Re: HTML export

2006-08-29 Thread Miki Dovrat
Thanks for the answers

Miki


"TechTonics" <[EMAIL PROTECTED]> wrote in 
message news:[EMAIL PROTECTED]
> Miki Dovrat wrote:
>> Hi,
>>
>> Do the features view/export HTML work in lyx 1.4.2?
>>
>> They don't work on my lyx 1.4.2 Windows XP with MikTex 2.5 even though 
>> htlatex is installed and works via command line.
>>
>> In html view, I get an error saying lyx can't find the file 
>> c:\tmp\lyxtmpdir..\lyx_tmpbuf0\myfile.html
>>
>> In html export, I see that a dvi is generated in the directory but no 
>> html.
>>
>> If I take an exported latex file and use htlatex in a command line window 
>> everything works.
>>
>> So, does anyone know what is wrong? Using a command line is fine by me, 
>> however a little tedious.
>>
>> Thanks
>
> The basic structure of the html file is created, the problem
> is that the file is named foo.htm rather than foo.html which
> is the filename Lyx looks for. If you navigate to that tmp
> folder and rename foo.htm to foo.html and run View->Html
> again, then it will display because it finds the right filename.
>
> The wrong filename is not the major problem. This process does
> not work like running htlatex foo(.tex) from the command line
> which does incorporate image files generated (.pngs default).
>
> I don't think the generated image filenames are correct. I
> think this is similar to bug #2299 
> http://bugzilla.lyx.org/show_bug.cgi?id=2299
>
> Georg wrote: I also know the cause: dvipdfm needs .bb files for  all 
> graphics. LyX simply does not know that and does not copy these files
> to  the temporary directory where latex and dvipdfm are run.
>
> Changing the filename output from .htm to .html is minor.
> I don't know if the fix Georg made for bug #2299 will fix
> this problem although they seem related. Even on a file with
> no equations like splash.lyx, the conversion to filename htm
> which should be splash.html loses its formatting that is maintained
> if you run htlatex from the command line, meaning if you navigate
> to the tmp_buf* folder and type htlatex splash.tex, then use
> View->Html from LyX, it looks pretty good, but not from how Lyx
> invokes htlatex from the View command normally = bad splash.html
>
> Regards,
> Stephen
>
> 





chapter spacing

2006-08-29 Thread Bob Lounsbury




Hello,

Does anyone know how to modify the chapter vertical space above and
below a chapter title for the koma-script book class? I've looked
through the pdf, but I don't see any options. 

Also, is there a way to make the lists look better? I need my document
to be double spaced and that makes the lists look bad even if I try to
define each item as single spaced. See attached screen printout of the
list issues and my need for the chapter title to not have any vertical
space above it.

Thanks,
Bob


<>


noweb book child documents: don't get processed through the noweb handler

2006-08-29 Thread Paul Johnson

Hello, everybody.

If I have a book chapter in book-noweb document class, I can view it
and the R/Noweb linkage is fine--the code chunks run through R and the
documents are displayed.

If I take the same book chapter, and put it in as a child document
inside the whole book the Noweb processing is not done. he
over-arching document's setting is also book-noweb, and it is simply a
series of included lyx child documents.  The code chunks just show up
in the final document, along with the macro commands at the beginning
and end of each code chunk.

What do you think?

If you have R and are willing to set up your system according to the
instructions in the Lyx Wiki for using Rweave/Noweb, then I can give
you the files so you can see for yourself.

For system details, I have Fedora Core 5 with the newest LyX from the
Fedora Extras, 1.4.2

pj

--
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: export to openoffice?

2006-08-29 Thread Bennett Helm

On Aug 29, 2006, at 3:02 PM, TechTonics wrote:


Neal Becker wrote:
I tried export to openoffice.  I have oolatex installed, but it  
AFAICT,
selecting 'export to openoffice' produced no output, nor any  
messages. This is lyx-1.4.2.


I think it is broken, on Windows anyway.
You will have better luck with Windows or Linux
http://wiki.lyx.org/Tools/LyX2OpenOffice
I'm not sure it works on Macs yet.


The Linux version works fine on Mac (which is, after all, *nix at  
heart).


Bennett