Re: chapter spacing

2006-08-30 Thread Juergen Spitzmueller
Bob Lounsbury wrote:
 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.

\renewcommand*{\chapterheadstartvskip}{\vspace*{+/- some value}} 
\renewcommand*{\chapterheadendvskip}{\vspace*{+/- some value}} 

 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.

http://wiki.lyx.org/FAQ/Unsorted#toc20

Jürgen


Re: user interface study of lyx

2006-08-30 Thread Sven Hoexter
On Tue, Aug 29, 2006 at 10:44:20AM +0200, Helge Hafting wrote:

 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.

At least the Knoppix DVD Image containts lyx but only the ancient 1.3.6
version. Looks like Klaus is still using parts from Debian/sarge.

Sven
-- 
If you won't forgive me the rest of my life
Let me apologize while I'm still alive
I know it's time to face all of my past mistakes
  [Less than Jake - Rest Of My Life]


Re: How to get rid of the vertical line above footnotes?

2006-08-30 Thread Helge Hafting

Martin A. Hansen wrote:

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

It is created by the command \footnoterule,
which you may redefine to do nothing.

\renewcommand{\footnoterule}{}

Perhaps there are better ways too, I don't know.

Often, you can find out by googling a bit, latex and footnote
are good search words.

Helge Hafting


Re: Upright greek letters in normal text and math mode

2006-08-30 Thread Miki Dovrat
Hi,

Maybe the Euler fonts are what you want. They are upright Greek letters.

put:
\usepackage{euler}

in your preamble, and see if you like the result.

Miki


Reinhard Mayr aka Czerwinski [EMAIL PROTECTED] 
wrote in message news:[EMAIL PROTECTED]
 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
 





Re: HTML export

2006-08-30 Thread Jean-Pierre Chretien

Date: Tue, 29 Aug 2006 11:53:06 -0700
From: TechTonics [EMAIL PROTECTED]
To: Miki Dovrat [EMAIL PROTECTED]
CC: lyx-users@lists.lyx.org
Subject: Re: HTML export

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

Same message on lyx-1.4.2 Solaris, but the file seems to be moved in
the directory of the document, where I find also all the ancillary files
created by htlatex, e.g for file /tmp/fr_exemple_lyxifie.lyx
- ls /tmp/fr_exemple_lyxifie*
/tmp/fr_exemple_lyxifie.4ct
/tmp/fr_exemple_lyxifie.4tc 
...

In addition, if fr_example_lyxifie.html does exist already, there is no 
overwrite warning,
as export is called by View and not Export.

I guessed the originaldir extra flag in Preferences-Converter-Latex(plain) to 
HTML could
had something to do with this behavior: it is added for htlatex to deal 
correctly
with eps files (fr_exemple_lyxifie has none). If I suppress it, 
the html file is opened by the viewer, but is still created in document dir
(without overwrite warning either). 

IMHO, View-HTML should view in temp file to leave all these ancillary files 
out of the way,
which is the case when I leave the extra flags field empty by removing needaux.

I understand from lyxrc.example that in this case export will fail if there are 
graphic files:
is this still the case ? It seems to work all right on a simple example here.

So the question is: are these flags still needed ? Is there someting wrong with 
them anyway ?

-- 
Jean-Pierre







Re: Upright greek letters in normal text and math mode

2006-08-30 Thread Reinhard Mayr aka Czerwinski
Ciao Miki,

thanks for your reply!

To be honest, this is not exactly what I am looking for because all letters in 
math mode now changed their (actual nice) shape and, moreover, are no longer 
italic.

The math panel offers a drop-down list for different text styles, but these DO 
NOT work for greek letters. Usually, the italic letters are fine, but for units 
(e.g. µm) always upright letters should be used. For this reason I would like 
to be able to use upright greek letters in both math mode and standard 
environment.

Can anyone help or provide a pointer?

Thanks!

Cz.

 Original-Nachricht 
Datum: Wed, 30 Aug 2006 12:13:32 +0200
Von: Miki Dovrat [EMAIL PROTECTED]
An: lyx-users@lists.lyx.org
Betreff: Re: Upright greek letters in normal text and math mode

 Hi,
 
 Maybe the Euler fonts are what you want. They are upright Greek letters.
 
 put:
 \usepackage{euler}
 
 in your preamble, and see if you like the result.
 
 Miki
 
 
 Reinhard Mayr aka Czerwinski [EMAIL PROTECTED] 
 wrote in message news:[EMAIL PROTECTED]
  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
  
 
 

-- 


Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
Feel free mit GMX DSL: http://www.gmx.net/de/go/dsl


Abbreviations ?

2006-08-30 Thread Martin A. Hansen

I noted a too wide gap after abbriviating Professor - Prof. John Doe

Apparently LateX thinks that the punctuation in the abbreviation is a full
stop and inserts whitespace accordingly - but it looks stupid.

So how does one abbriviate?


Martin


Re: Abbreviations ?

2006-08-30 Thread Christian Liesen
... well that's simple. In Lyx, choose Insert -- Special Formatting -- 
Inter-word Space after the abbreviation's full stop.


There is also a keyboard shortcut: On a Mac, it is Ctrl + alt + Cmd + 
Space. Check with your keybindings doc.


Cheers,
Christian



Martin A. Hansen wrote:

I noted a too wide gap after abbriviating Professor - Prof. John Doe

Apparently LateX thinks that the punctuation in the abbreviation is a 
full

stop and inserts whitespace accordingly - but it looks stupid.

So how does one abbriviate?


Martin





1.4.2 mathmode very slow

2006-08-30 Thread Mike Doe
Since upgrading from 1.3 I have found things to be much slower,
expecially in mathmode or tables:  documents that were fine in 1.3
can be so slow that I can out-type the line very easily.  Selection in
mathmode is also very slow, which makes getting the parts of the
equation you want really irritating.

This is a standard gentoo build.  Is this a known problem: I do not see
a lot of complaints about it on the list, but for me the slowdown since
1.3 is dramatic enough to make me consider reverting.

Mike

LyX 1.4.2 of Fri, Jul 13, 2006
Built on Aug 29 2006, 18:10:32
Configuration
  Host type:  i686-pc-linux-gnu
  Special build flags:aiksaurus pch  use-aspell use-ispell
  C   Compiler:   i686-pc-linux-gnu-gcc 
  C   Compiler LyX flags:  
  C   Compiler flags:   -O2 -march=athlon -fomit-frame-pointer 
-fno-stack-protector -fno-stack-protector-all
  C++ Compiler:   g++ (3.4.6)
  C++ Compiler LyX flags:  -fno-exceptions
  C++ Compiler flags:   -O2 -march=athlon -fomit-frame-pointer 
-fno-stack-protector -fno-stack-protector-all
  Linker flags:   
  Linker user flags:  
  Qt Frontend:
  Qt version:   3.3.6
  Packaging:  posix
  LyX binary dir: /usr/bin
  LyX files dir:  /usr/share/lyx

ldd /usr/bin/lyx
linux-gate.so.1 =  (0xe000)
libqt-mt.so.3 = /usr/qt/3/lib/libqt-mt.so.3 (0xb78c3000)
libmng.so.1 = /usr/lib/libmng.so.1 (0xb7861000)
liblcms.so.1 = /usr/lib/liblcms.so.1 (0xb7833000)
libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0xb7815000)
libpng12.so.0 = /usr/lib/libpng12.so.0 (0xb77f)
libXi.so.6 = /usr/lib/libXi.so.6 (0xb77e8000)
libXrandr.so.2 = /usr/lib/libXrandr.so.2 (0xb77e4000)
libXcursor.so.1 = /usr/lib/libXcursor.so.1 (0xb77da000)
libXfixes.so.3 = /usr/lib/libXfixes.so.3 (0xb77d5000)
libXft.so.2 = /usr/lib/libXft.so.2 (0xb77c3000)
libXrender.so.1 = /usr/lib/libXrender.so.1 (0xb77ba000)
libfontconfig.so.1 = /usr/lib/libfontconfig.so.1 (0xb778c000)
libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0xb771c000)
libexpat.so.0 = /usr/lib/libexpat.so.0 (0xb76fb000)
libXext.so.6 = /usr/lib/libXext.so.6 (0xb76ec000)
libpthread.so.0 = /lib/tls/libpthread.so.0 (0xb76da000)
libgcc_s.so.1 = /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libgcc_s.so.1 
(0xb76d1000)
libAiksaurus-1.2.so.0 = /usr/lib/libAiksaurus-1.2.so.0 (0xb76c5000)
libaspell.so.15 = /usr/lib/libaspell.so.15 (0xb7628000)
libgpm.so.1 = /lib/libgpm.so.1 (0xb7621000)
libstdc++.so.6 = /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6 
(0xb7553000)
libSM.so.6 = /usr/lib/libSM.so.6 (0xb754a000)
libICE.so.6 = /usr/lib/libICE.so.6 (0xb7533000)
libX11.so.6 = /usr/lib/libX11.so.6 (0xb743f000)
libXau.so.6 = /usr/lib/libXau.so.6 (0xb743c000)
libXdmcp.so.6 = /usr/lib/libXdmcp.so.6 (0xb7436000)
libdl.so.2 = /lib/libdl.so.2 (0xb7432000)
libz.so.1 = /lib/libz.so.1 (0xb7421000)
libm.so.6 = /lib/tls/libm.so.6 (0xb73fe000)
libc.so.6 = /lib/tls/libc.so.6 (0xb72e7000)
libpng.so.3 = /usr/lib/libpng.so.3 (0xb72bf000)
/lib/ld-linux.so.2 (0xb7fdc000)



Re: Abbreviations ?

2006-08-30 Thread Bennett Helm

On Aug 30, 2006, at 7:00 AM, Christian Liesen wrote:

... well that's simple. In Lyx, choose Insert -- Special  
Formatting -- Inter-word Space after the abbreviation's full stop.


There is also a keyboard shortcut: On a Mac, it is Ctrl + alt + Cmd  
+ Space. Check with your keybindings doc.


(On the standard Mac installation, Ctrl is ignored. The binding is  
simply Option[=alt]CmdSpace.)


Bennett


CSVtotable in LyX?

2006-08-30 Thread Kristján V. Jónsson

Hello,

Has anyone used CSVtotable (from csvtools) in LyX or some other method 
of linking data in text files to the LyX document? An example in a LyX 
doc would be appreciated.



Thanks,
kvj


Re: HTML export

2006-08-30 Thread TechTonics

Jean-Pierre Chretien wrote:

Date: Tue, 29 Aug 2006 11:53:06 -0700
From: TechTonics [EMAIL PROTECTED]
To: Miki Dovrat [EMAIL PROTECTED]
CC: lyx-users@lists.lyx.org
Subject: Re: HTML export

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


Same message on lyx-1.4.2 Solaris, but the file seems to be moved in
the directory of the document, where I find also all the ancillary files
created by htlatex, e.g for file /tmp/fr_exemple_lyxifie.lyx
- ls /tmp/fr_exemple_lyxifie*
/tmp/fr_exemple_lyxifie.4ct
/tmp/fr_exemple_lyxifie.4tc 
...


In addition, if fr_example_lyxifie.html does exist already, there is no 
overwrite warning,
as export is called by View and not Export.

I guessed the originaldir extra flag in Preferences-Converter-Latex(plain) to 
HTML could
had something to do with this behavior: it is added for htlatex to deal 
correctly
with eps files (fr_exemple_lyxifie has none). If I suppress it, 
the html file is opened by the viewer, but is still created in document dir
(without overwrite warning either). 


IMHO, View-HTML should view in temp file to leave all these ancillary files 
out of the way,
which is the case when I leave the extra flags field empty by removing needaux.

I understand from lyxrc.example that in this case export will fail if there are 
graphic files:
is this still the case ? It seems to work all right on a simple example here.

So the question is: are these flags still needed ? Is there someting wrong with 
them anyway ?



On native Windows, View - Html, creates myfile.htm and LyX gives
an error message because it it looking for myfile.html.
Formatting is lost. No images are included. (htlatex does run)
This is if your lyx temp dir is in a directory without spaces.

Cygwin doesn't run htlatex. If you run htlatex manually, it
produces myfile.htm which has to be renamed to myfile.html.
Formatting is lost but it will include/display one of many .png images.

IOW, View-Html, is close to completely broken on the Windows platform.

mot juste,
Stephen



Re: HTML export

2006-08-30 Thread Jean-Pierre Chretien

Date: Wed, 30 Aug 2006 06:32:50 -0700
From: TechTonics [EMAIL PROTECTED]
To: Jean-Pierre Chretien [EMAIL PROTECTED]
CC: lyx-users@lists.lyx.org
Subject: Re: HTML export

Jean-Pierre Chretien wrote:
[...]

On native Windows, View - Html, creates myfile.htm and LyX gives
an error message because it it looking for myfile.html.
Formatting is lost. No images are included. (htlatex does run)
This is if your lyx temp dir is in a directory without spaces.

Cygwin doesn't run htlatex. If you run htlatex manually, it
produces myfile.htm which has to be renamed to myfile.html.

?? I get myfile.html here.
I guess that htlatex called from LyX fails because it works with full pathnames,
so zzmyfile.ps is now zzC:myfile.ps. maybe there are other flaws.

Formatting is lost but it will include/display one of many .png images.

IOW, View-Html, is close to completely broken on the Windows platform.

If what I say is true (basically, the lg file cannot run), it's a htlatex
problem rather than a lyx problem. 
I use htlatex coming with proTeXt, may be it has improved since the packaging 
(nov. 2005) ?

-- 
Jean-Pierre



Paragraph spacing of an array caption+label.

2006-08-30 Thread Nicolas Ferré

Dear all,

If I write the label of an array immediately after the array and if I 
change the paragraph spacing of the caption above the array from the 
default one, a cross-reference to this array label appears in the dvi as 
the section numbering instead of the array numbering. See the minimal 
example attached.


A solution consists in setting the label in the caption paragraph.

Is this a bug or a feature ?

Nicolas

LyX 1.4.2 of Fri, Jul 13, 2006
Built on Aug 22 2006, 16:26:32
Configuration
  Host type:  i686-pc-linux-gnu
  Special build flags:pch  use-aspell use-ispell
  C   Compiler:   gcc
  C   Compiler LyX flags:
  C   Compiler flags:   -I/usr/X11R6/include -O2
  C++ Compiler:   g++ (4.0.1)
  C++ Compiler LyX flags:  -fno-exceptions
  C++ Compiler flags:   -I/usr/X11R6/include -O2
  Linker flags:
  Linker user flags:
  Qt Frontend:
  Qt version:   3.3.4
  Packaging:  posix

#LyX 1.4.2 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass article
\begin_preamble
\usepackage[version=3]{mhchem}
\usepackage{SIunits}
\end_preamble
\language french
\inputencoding auto
\fontscheme default
\graphics default
\float_placement th
\paperfontsize default
\spacing single
\papersize a4paper
\use_geometry true
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 25mm
\topmargin 25mm
\rightmargin 20mm
\bottommargin 20mm
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language french
\papercolumns 1
\papersides 2
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout Title
Titre
\end_layout

\begin_layout Section
Section 1
\end_layout

\begin_layout Subsection
Sous-section 1
\end_layout

\begin_layout Standard
Une première référence : table 
\begin_inset LatexCommand \ref{tab:Table essai}

\end_inset

.
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Caption
Table essai 1.
\end_layout

\begin_layout Standard
\begin_inset Tabular
lyxtabular version=3 rows=2 columns=2
features
column alignment=center valignment=top leftline=true width=0
column alignment=center valignment=top leftline=true rightline=true width=0
row topline=true bottomline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset
/cell
cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none
\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset
/cell
/row
row topline=true bottomline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset
/cell
cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none
\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset
/cell
/row
/lyxtabular

\end_inset


\begin_inset LatexCommand \label{tab:Table essai}

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
Une deuxième référence : table 
\begin_inset LatexCommand \ref{tab:Table essai 2}

\end_inset

.
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Caption
\paragraph_spacing double
Table essai 2.
\end_layout

\begin_layout Standard
\begin_inset Tabular
lyxtabular version=3 rows=2 columns=2
features
column alignment=center valignment=top leftline=true width=0
column alignment=center valignment=top leftline=true rightline=true width=0
row topline=true bottomline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset
/cell
cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none
\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset
/cell
/row
row topline=true bottomline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset
/cell
cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none
\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset
/cell
/row
/lyxtabular

\end_inset


\begin_inset LatexCommand \label{tab:Table essai 2}

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
Une troisième référence : table 
\begin_inset LatexCommand \ref{tab:Table essai 3}

\end_inset

.
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Caption
\paragraph_spacing double
Table essai 3.
\begin_inset LatexCommand \label{tab:Table essai 3}

\end_inset


\end_layout


Re: chapter spacing

2006-08-30 Thread Bob Lounsbury
Thanks for the help, that worked nicely for the chapter vertical space.
Now how to I modify the vertical space for the other sections? I tried
these commands with no success.

\renewcommand*{\othersectionlevelsendvskip}{\vspace*{0pt}}
\renewcommand*{\othersectionlevelsheadendvskip}{\vspace*{0pt}}

Thanks again,
Bob




On Wed, 2006-08-30 at 10:05 +0200, Juergen Spitzmueller wrote:

 Bob Lounsbury wrote:
  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.
 
 \renewcommand*{\chapterheadstartvskip}{\vspace*{+/- some value}} 
 \renewcommand*{\chapterheadendvskip}{\vspace*{+/- some value}} 
 
  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.
 
 http://wiki.lyx.org/FAQ/Unsorted#toc20
 
 Jürgen


Re: chapter spacing

2006-08-30 Thread Juergen Spitzmueller
Bob Lounsbury wrote:
 Thanks for the help, that worked nicely for the chapter vertical space.
 Now how to I modify the vertical space for the other sections?

There are no similar macros for those available. You have to redefine 
\section, \subsection etc. E.g.

[EMAIL PROTECTED]@}%
  {-3\baselineskip [EMAIL PROTECTED] -1ex [EMAIL PROTECTED] -.2ex}% -- 3 lines 
of space before
  {2\baselineskip [EMAIL PROTECTED] -- 2 line of space after
  {\setlength{\parfillskip}{\z@ [EMAIL PROTECTED] 1fil}%
[EMAIL PROTECTED]

Have a look at scrbook.cls for the original definitions.

Jürgen


Re: Upright greek letters in normal text and math mode

2006-08-30 Thread Paul A. Rubin

Reinhard Mayr aka Czerwinski wrote:

Ciao Miki,

thanks for your reply!

To be honest, this is not exactly what I am looking for because all letters in 
math mode now changed their (actual nice) shape and, moreover, are no longer 
italic.

The math panel offers a drop-down list for different text styles, but these DO 
NOT work for greek letters. Usually, the italic letters are fine, but for units 
(e.g. µm) always upright letters should be used. For this reason I would like 
to be able to use upright greek letters in both math mode and standard 
environment.

Can anyone help or provide a pointer?



There are TX fonts and PX fonts (which I think extend Times and Palatino 
respectively) that include some upright Greek letters, such as \muup for 
upright mu.  I don't have them, and I can't find TX on CTAN (but can 
find PX), so I'm not sure if these will do what you want.


/Paul



Re: Upright greek letters in normal text and math mode

2006-08-30 Thread Georg Baum
Am Mittwoch, 30. August 2006 12:00 schrieb Reinhard Mayr aka Czerwinski:

 The math panel offers a drop-down list for different text styles, but 
these DO NOT work for greek letters. Usually, the italic letters are fine, 
but for units (e.g. µm) always upright letters should be used. For this 
reason I would like to be able to use upright greek letters in both math 
mode and standard environment.

For units you want to use the SIunits package (not yet supported natively 
by LyX, but it works fine with ERT).

IIRC there are also some packages for upright greek letters. They may be 
listed on www.texnik.de.


Georg



Re: HTML export

2006-08-30 Thread TechTonics

Jean-Pierre Chretien wrote:

Date: Wed, 30 Aug 2006 06:32:50 -0700
From: TechTonics [EMAIL PROTECTED]
To: Jean-Pierre Chretien [EMAIL PROTECTED]
CC: lyx-users@lists.lyx.org
Subject: Re: HTML export

Jean-Pierre Chretien wrote:

[...]

On native Windows, View - Html, creates myfile.htm and LyX gives
an error message because it it looking for myfile.html.
Formatting is lost. No images are included. (htlatex does run)
This is if your lyx temp dir is in a directory without spaces.

Cygwin doesn't run htlatex. If you run htlatex manually, it
produces myfile.htm which has to be renamed to myfile.html.


?? I get myfile.html here.
I guess that htlatex called from LyX fails because it works with full pathnames,
so zzmyfile.ps is now zzC:myfile.ps. maybe there are other flaws.


Formatting is lost but it will include/display one of many .png images.

IOW, View-Html, is close to completely broken on the Windows platform.


If what I say is true (basically, the lg file cannot run), it's a htlatex
problem rather than a lyx problem. 
I use htlatex coming with proTeXt, may be it has improved since the packaging (nov. 2005) ?




Well, under Miktex2.4 or Miktex2.5(just released) htlatex
works correctly from the command line. I think the htlatex
package was updated in 2006. The files are larger and also
correctly named myfile.html when done from the command line.
This is the same experience that Miki Dovrat reported. The
footnote for splash.lyx is created in another html file is the
only problem I notice from file creation from the command line.

Using View-Html with LyX, the output file is misnamed, htm,
the .lg file is much smaller and the .htm is also small in
comparison and unformatted.

Usually, running a tool from the command line and seeing
if it works properly is how to tell if it is the the tool
or LyX. For instance one tests Aspell with Aspell -c badwords.txt
and if it works from the command line but not from LyX, it is
LyX, or Lyx's configuration where the problem resides. Nor does
Cygwin produce the right output from LyX and Cygwin is fully
as capable as Linux in other areas, as far as I know.

Regards,
Stephen


Trouble again with instant preview...

2006-08-30 Thread Rudi Gaelzer
I installed lyx 1.3.7 for the x86_64 architecture  with the rpm packages:
lyx-1.3.7-5.fc3.2.x86_64.rpm
lyx-qt-1.3.7-5.fc3.2.x86_64.rpm

Again, instant preview seems not to be working... 
I got a debug file with lyx -dbg mathed,action 2 lyx_bug.txt, which I'm 
sending along.  The only information I could get from it was:
latex failed to compile 0lyxpreview.tex

Can anyone help me out on this one?  I'm sorry to be bothering you guys again 
with this, but this bug keeps on pestering me...
-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


lyx_bug.txt.bz2
Description: BZip2 compressed data


Re: word counter: feature not usefull for me

2006-08-30 Thread Marcelo Acuña
   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.

Ok.

 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.

I not think in this. Is very complex.
 
 Unfortunately, parsing latex in order to get a
 perfect word count
 is hard, so perhaps skipping ERT is the better
 choice.

This work in most of cases.

 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
 

 Marc, said that this is in bugzilla.
I posted this question because, when I put problem
with notes and word counter in bugzilla, I received a
mail from Lyx team saying that this behaviour is
rigth.

 Thanks Helge, Marc
Marcelo







__
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas



Re: HTML export

2006-08-30 Thread Enrico Forestieri
TechTonics [EMAIL PROTECTED] writes:

 Usually, running a tool from the command line and seeing
 if it works properly is how to tell if it is the the tool
 or LyX. For instance one tests Aspell with Aspell -c badwords.txt
 and if it works from the command line but not from LyX, it is
 LyX, or Lyx's configuration where the problem resides. Nor does
 Cygwin produce the right output from LyX and Cygwin is fully
 as capable as Linux in other areas, as far as I know.

This is because the htlatex you are using is a native application expecting
native style paths. Try adding the line
export LYX_WINPATHS=yes
to the file /etc/lyxprofile and you will see that View-Html works (doesn't
work) on Cygwin exactly as it does for a native LyX.

-- 
Enrico



Re: HTML export

2006-08-30 Thread TechTonics

Enrico Forestieri wrote:

TechTonics [EMAIL PROTECTED] writes:


Usually, running a tool from the command line and seeing
if it works properly is how to tell if it is the the tool
or LyX. For instance one tests Aspell with Aspell -c badwords.txt
and if it works from the command line but not from LyX, it is
LyX, or Lyx's configuration where the problem resides. Nor does
Cygwin produce the right output from LyX and Cygwin is fully
as capable as Linux in other areas, as far as I know.


This is because the htlatex you are using is a native application expecting
native style paths. Try adding the line
export LYX_WINPATHS=yes
to the file /etc/lyxprofile and you will see that View-Html works (doesn't
work) on Cygwin exactly as it does for a native LyX.



Hello Enrico,

I'm pleased to hear from you. Indeed, adding export LYX_WINPATHS=yes
produces nearly the same failure on CygLyX as native WinLyX.

The output file is truncated from myfile.html to myfile.htm which
generated an error message because the viewer is looking for myfile.html

CygLyx does not generate the .pngs for equations that htlatex generates
from the command line. It does get some Greek letters correct. But the
exponent (superscript?) is on the same level as the other letters. Also
what I referred to as 'unformatted' appears upon closer inspection to be
the end-of-line is not respected at it is when htlatex from the command
line is executed in Dos, which does produce myfile.html.

My machine was attacked by a trojan. I had to create another identity.
Cygwin doesn't work for the new identity. Windows cannot access the
specified devive, path or file. You may not have the appropriate
permissions to access the item.

So I completey shared the Cygwin directory and subdirectories and
also C:\home. I ran a couple of commands which created .bashrc
.inputrc and .bash_profile for Tech, the new identity. It will
not work and I have to change users to my original identity (the
trojan finally gave up the ghost). But it is a hassle to have
to switch users to use Cygwin which does work on the original
identity. Your new Cygwin Lyx1.4.2 was very easy to update.
I couldn't find simple instruction to make Tech an admin.
I may not have installed Cygwin for all users, I don't remember.

I'm surprised Html view works for you for Cygwin because I
think (thought) it was LyX not the Cygwin or Win configuration.

As a side note. I spoke to Lalu who got his Phd. in computer
technology. He said the Texas Instruments 89 calculator had
a design 20 years ahead (symbolic) of the TI86 design.

Best regards,
Stephen


Index entries: only the first instane appears.

2006-08-30 Thread mail.k
I've marked some words or phrases in my text as index entries and 
added the index at the end of the document. But if an indexed term 
appears, say, on pages 3, 26, and 154, the index will list only the 
first instance, i.e., page 3.



I'm using 1.4.2-1, Miktex 2.5, Memoir.


Any advice is appreciated!



Re: HTML export

2006-08-30 Thread TechTonics

Jean-Pierre Chretien wrote:

Date: Wed, 30 Aug 2006 06:32:50 -0700
From: TechTonics [EMAIL PROTECTED]
To: Jean-Pierre Chretien [EMAIL PROTECTED]
CC: lyx-users@lists.lyx.org
Subject: Re: HTML export

Jean-Pierre Chretien wrote:

[...]

On native Windows, View - Html, creates myfile.htm and LyX gives
an error message because it it looking for myfile.html.
Formatting is lost. No images are included. (htlatex does run)
This is if your lyx temp dir is in a directory without spaces.

Cygwin doesn't run htlatex. If you run htlatex manually, it
produces myfile.htm which has to be renamed to myfile.html.


?? I get myfile.html here.
I guess that htlatex called from LyX fails because it works with full pathnames,
so zzmyfile.ps is now zzC:myfile.ps. maybe there are other flaws.


Formatting is lost but it will include/display one of many .png images.

IOW, View-Html, is close to completely broken on the Windows platform.


If what I say is true (basically, the lg file cannot run), it's a htlatex
problem rather than a lyx problem. 
I use htlatex coming with proTeXt, may be it has improved since the packaging (nov. 2005) ?




One thing I tried is removing: originaldir,needaux under
Additional flags for the htlatex converter.

That fixed the problem of the html file appearing unformatted/no EOL,
and I no longer got that error message about the filename not ending
with .html (because it was created as .htm).

But still none of the .pngs are created for inclusion (the equations)
into the html output file. htlatex from the command line produces
quite a few .pngs representing the equations for the output .html.

Regards,
Stephen


Re: chapter spacing

2006-08-30 Thread Juergen Spitzmueller
Bob Lounsbury wrote:
 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.

\renewcommand*{\chapterheadstartvskip}{\vspace*{+/- some value}} 
\renewcommand*{\chapterheadendvskip}{\vspace*{+/- some value}} 

 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.

http://wiki.lyx.org/FAQ/Unsorted#toc20

Jürgen


Re: user interface study of lyx

2006-08-30 Thread Sven Hoexter
On Tue, Aug 29, 2006 at 10:44:20AM +0200, Helge Hafting wrote:

 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.

At least the Knoppix DVD Image containts lyx but only the ancient 1.3.6
version. Looks like Klaus is still using parts from Debian/sarge.

Sven
-- 
If you won't forgive me the rest of my life
Let me apologize while I'm still alive
I know it's time to face all of my past mistakes
  [Less than Jake - Rest Of My Life]


Re: How to get rid of the vertical line above footnotes?

2006-08-30 Thread Helge Hafting

Martin A. Hansen wrote:

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

It is created by the command \footnoterule,
which you may redefine to do nothing.

\renewcommand{\footnoterule}{}

Perhaps there are better ways too, I don't know.

Often, you can find out by googling a bit, latex and footnote
are good search words.

Helge Hafting


Re: Upright greek letters in normal text and math mode

2006-08-30 Thread Miki Dovrat
Hi,

Maybe the Euler fonts are what you want. They are upright Greek letters.

put:
\usepackage{euler}

in your preamble, and see if you like the result.

Miki


Reinhard Mayr aka Czerwinski [EMAIL PROTECTED] 
wrote in message news:[EMAIL PROTECTED]
 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
 





Re: HTML export

2006-08-30 Thread Jean-Pierre Chretien

Date: Tue, 29 Aug 2006 11:53:06 -0700
From: TechTonics [EMAIL PROTECTED]
To: Miki Dovrat [EMAIL PROTECTED]
CC: lyx-users@lists.lyx.org
Subject: Re: HTML export

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

Same message on lyx-1.4.2 Solaris, but the file seems to be moved in
the directory of the document, where I find also all the ancillary files
created by htlatex, e.g for file /tmp/fr_exemple_lyxifie.lyx
- ls /tmp/fr_exemple_lyxifie*
/tmp/fr_exemple_lyxifie.4ct
/tmp/fr_exemple_lyxifie.4tc 
...

In addition, if fr_example_lyxifie.html does exist already, there is no 
overwrite warning,
as export is called by View and not Export.

I guessed the originaldir extra flag in Preferences-Converter-Latex(plain) to 
HTML could
had something to do with this behavior: it is added for htlatex to deal 
correctly
with eps files (fr_exemple_lyxifie has none). If I suppress it, 
the html file is opened by the viewer, but is still created in document dir
(without overwrite warning either). 

IMHO, View-HTML should view in temp file to leave all these ancillary files 
out of the way,
which is the case when I leave the extra flags field empty by removing needaux.

I understand from lyxrc.example that in this case export will fail if there are 
graphic files:
is this still the case ? It seems to work all right on a simple example here.

So the question is: are these flags still needed ? Is there someting wrong with 
them anyway ?

-- 
Jean-Pierre







Re: Upright greek letters in normal text and math mode

2006-08-30 Thread Reinhard Mayr aka Czerwinski
Ciao Miki,

thanks for your reply!

To be honest, this is not exactly what I am looking for because all letters in 
math mode now changed their (actual nice) shape and, moreover, are no longer 
italic.

The math panel offers a drop-down list for different text styles, but these DO 
NOT work for greek letters. Usually, the italic letters are fine, but for units 
(e.g. µm) always upright letters should be used. For this reason I would like 
to be able to use upright greek letters in both math mode and standard 
environment.

Can anyone help or provide a pointer?

Thanks!

Cz.

 Original-Nachricht 
Datum: Wed, 30 Aug 2006 12:13:32 +0200
Von: Miki Dovrat [EMAIL PROTECTED]
An: lyx-users@lists.lyx.org
Betreff: Re: Upright greek letters in normal text and math mode

 Hi,
 
 Maybe the Euler fonts are what you want. They are upright Greek letters.
 
 put:
 \usepackage{euler}
 
 in your preamble, and see if you like the result.
 
 Miki
 
 
 Reinhard Mayr aka Czerwinski [EMAIL PROTECTED] 
 wrote in message news:[EMAIL PROTECTED]
  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
  
 
 

-- 


Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
Feel free mit GMX DSL: http://www.gmx.net/de/go/dsl


Abbreviations ?

2006-08-30 Thread Martin A. Hansen

I noted a too wide gap after abbriviating Professor - Prof. John Doe

Apparently LateX thinks that the punctuation in the abbreviation is a full
stop and inserts whitespace accordingly - but it looks stupid.

So how does one abbriviate?


Martin


Re: Abbreviations ?

2006-08-30 Thread Christian Liesen
... well that's simple. In Lyx, choose Insert -- Special Formatting -- 
Inter-word Space after the abbreviation's full stop.


There is also a keyboard shortcut: On a Mac, it is Ctrl + alt + Cmd + 
Space. Check with your keybindings doc.


Cheers,
Christian



Martin A. Hansen wrote:

I noted a too wide gap after abbriviating Professor - Prof. John Doe

Apparently LateX thinks that the punctuation in the abbreviation is a 
full

stop and inserts whitespace accordingly - but it looks stupid.

So how does one abbriviate?


Martin





1.4.2 mathmode very slow

2006-08-30 Thread Mike Doe
Since upgrading from 1.3 I have found things to be much slower,
expecially in mathmode or tables:  documents that were fine in 1.3
can be so slow that I can out-type the line very easily.  Selection in
mathmode is also very slow, which makes getting the parts of the
equation you want really irritating.

This is a standard gentoo build.  Is this a known problem: I do not see
a lot of complaints about it on the list, but for me the slowdown since
1.3 is dramatic enough to make me consider reverting.

Mike

LyX 1.4.2 of Fri, Jul 13, 2006
Built on Aug 29 2006, 18:10:32
Configuration
  Host type:  i686-pc-linux-gnu
  Special build flags:aiksaurus pch  use-aspell use-ispell
  C   Compiler:   i686-pc-linux-gnu-gcc 
  C   Compiler LyX flags:  
  C   Compiler flags:   -O2 -march=athlon -fomit-frame-pointer 
-fno-stack-protector -fno-stack-protector-all
  C++ Compiler:   g++ (3.4.6)
  C++ Compiler LyX flags:  -fno-exceptions
  C++ Compiler flags:   -O2 -march=athlon -fomit-frame-pointer 
-fno-stack-protector -fno-stack-protector-all
  Linker flags:   
  Linker user flags:  
  Qt Frontend:
  Qt version:   3.3.6
  Packaging:  posix
  LyX binary dir: /usr/bin
  LyX files dir:  /usr/share/lyx

ldd /usr/bin/lyx
linux-gate.so.1 =  (0xe000)
libqt-mt.so.3 = /usr/qt/3/lib/libqt-mt.so.3 (0xb78c3000)
libmng.so.1 = /usr/lib/libmng.so.1 (0xb7861000)
liblcms.so.1 = /usr/lib/liblcms.so.1 (0xb7833000)
libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0xb7815000)
libpng12.so.0 = /usr/lib/libpng12.so.0 (0xb77f)
libXi.so.6 = /usr/lib/libXi.so.6 (0xb77e8000)
libXrandr.so.2 = /usr/lib/libXrandr.so.2 (0xb77e4000)
libXcursor.so.1 = /usr/lib/libXcursor.so.1 (0xb77da000)
libXfixes.so.3 = /usr/lib/libXfixes.so.3 (0xb77d5000)
libXft.so.2 = /usr/lib/libXft.so.2 (0xb77c3000)
libXrender.so.1 = /usr/lib/libXrender.so.1 (0xb77ba000)
libfontconfig.so.1 = /usr/lib/libfontconfig.so.1 (0xb778c000)
libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0xb771c000)
libexpat.so.0 = /usr/lib/libexpat.so.0 (0xb76fb000)
libXext.so.6 = /usr/lib/libXext.so.6 (0xb76ec000)
libpthread.so.0 = /lib/tls/libpthread.so.0 (0xb76da000)
libgcc_s.so.1 = /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libgcc_s.so.1 
(0xb76d1000)
libAiksaurus-1.2.so.0 = /usr/lib/libAiksaurus-1.2.so.0 (0xb76c5000)
libaspell.so.15 = /usr/lib/libaspell.so.15 (0xb7628000)
libgpm.so.1 = /lib/libgpm.so.1 (0xb7621000)
libstdc++.so.6 = /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6 
(0xb7553000)
libSM.so.6 = /usr/lib/libSM.so.6 (0xb754a000)
libICE.so.6 = /usr/lib/libICE.so.6 (0xb7533000)
libX11.so.6 = /usr/lib/libX11.so.6 (0xb743f000)
libXau.so.6 = /usr/lib/libXau.so.6 (0xb743c000)
libXdmcp.so.6 = /usr/lib/libXdmcp.so.6 (0xb7436000)
libdl.so.2 = /lib/libdl.so.2 (0xb7432000)
libz.so.1 = /lib/libz.so.1 (0xb7421000)
libm.so.6 = /lib/tls/libm.so.6 (0xb73fe000)
libc.so.6 = /lib/tls/libc.so.6 (0xb72e7000)
libpng.so.3 = /usr/lib/libpng.so.3 (0xb72bf000)
/lib/ld-linux.so.2 (0xb7fdc000)



Re: Abbreviations ?

2006-08-30 Thread Bennett Helm

On Aug 30, 2006, at 7:00 AM, Christian Liesen wrote:

... well that's simple. In Lyx, choose Insert -- Special  
Formatting -- Inter-word Space after the abbreviation's full stop.


There is also a keyboard shortcut: On a Mac, it is Ctrl + alt + Cmd  
+ Space. Check with your keybindings doc.


(On the standard Mac installation, Ctrl is ignored. The binding is  
simply Option[=alt]CmdSpace.)


Bennett


CSVtotable in LyX?

2006-08-30 Thread Kristján V. Jónsson

Hello,

Has anyone used CSVtotable (from csvtools) in LyX or some other method 
of linking data in text files to the LyX document? An example in a LyX 
doc would be appreciated.



Thanks,
kvj


Re: HTML export

2006-08-30 Thread TechTonics

Jean-Pierre Chretien wrote:

Date: Tue, 29 Aug 2006 11:53:06 -0700
From: TechTonics [EMAIL PROTECTED]
To: Miki Dovrat [EMAIL PROTECTED]
CC: lyx-users@lists.lyx.org
Subject: Re: HTML export

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


Same message on lyx-1.4.2 Solaris, but the file seems to be moved in
the directory of the document, where I find also all the ancillary files
created by htlatex, e.g for file /tmp/fr_exemple_lyxifie.lyx
- ls /tmp/fr_exemple_lyxifie*
/tmp/fr_exemple_lyxifie.4ct
/tmp/fr_exemple_lyxifie.4tc 
...


In addition, if fr_example_lyxifie.html does exist already, there is no 
overwrite warning,
as export is called by View and not Export.

I guessed the originaldir extra flag in Preferences-Converter-Latex(plain) to 
HTML could
had something to do with this behavior: it is added for htlatex to deal 
correctly
with eps files (fr_exemple_lyxifie has none). If I suppress it, 
the html file is opened by the viewer, but is still created in document dir
(without overwrite warning either). 


IMHO, View-HTML should view in temp file to leave all these ancillary files 
out of the way,
which is the case when I leave the extra flags field empty by removing needaux.

I understand from lyxrc.example that in this case export will fail if there are 
graphic files:
is this still the case ? It seems to work all right on a simple example here.

So the question is: are these flags still needed ? Is there someting wrong with 
them anyway ?



On native Windows, View - Html, creates myfile.htm and LyX gives
an error message because it it looking for myfile.html.
Formatting is lost. No images are included. (htlatex does run)
This is if your lyx temp dir is in a directory without spaces.

Cygwin doesn't run htlatex. If you run htlatex manually, it
produces myfile.htm which has to be renamed to myfile.html.
Formatting is lost but it will include/display one of many .png images.

IOW, View-Html, is close to completely broken on the Windows platform.

mot juste,
Stephen



Re: HTML export

2006-08-30 Thread Jean-Pierre Chretien

Date: Wed, 30 Aug 2006 06:32:50 -0700
From: TechTonics [EMAIL PROTECTED]
To: Jean-Pierre Chretien [EMAIL PROTECTED]
CC: lyx-users@lists.lyx.org
Subject: Re: HTML export

Jean-Pierre Chretien wrote:
[...]

On native Windows, View - Html, creates myfile.htm and LyX gives
an error message because it it looking for myfile.html.
Formatting is lost. No images are included. (htlatex does run)
This is if your lyx temp dir is in a directory without spaces.

Cygwin doesn't run htlatex. If you run htlatex manually, it
produces myfile.htm which has to be renamed to myfile.html.

?? I get myfile.html here.
I guess that htlatex called from LyX fails because it works with full pathnames,
so zzmyfile.ps is now zzC:myfile.ps. maybe there are other flaws.

Formatting is lost but it will include/display one of many .png images.

IOW, View-Html, is close to completely broken on the Windows platform.

If what I say is true (basically, the lg file cannot run), it's a htlatex
problem rather than a lyx problem. 
I use htlatex coming with proTeXt, may be it has improved since the packaging 
(nov. 2005) ?

-- 
Jean-Pierre



Paragraph spacing of an array caption+label.

2006-08-30 Thread Nicolas Ferré

Dear all,

If I write the label of an array immediately after the array and if I 
change the paragraph spacing of the caption above the array from the 
default one, a cross-reference to this array label appears in the dvi as 
the section numbering instead of the array numbering. See the minimal 
example attached.


A solution consists in setting the label in the caption paragraph.

Is this a bug or a feature ?

Nicolas

LyX 1.4.2 of Fri, Jul 13, 2006
Built on Aug 22 2006, 16:26:32
Configuration
  Host type:  i686-pc-linux-gnu
  Special build flags:pch  use-aspell use-ispell
  C   Compiler:   gcc
  C   Compiler LyX flags:
  C   Compiler flags:   -I/usr/X11R6/include -O2
  C++ Compiler:   g++ (4.0.1)
  C++ Compiler LyX flags:  -fno-exceptions
  C++ Compiler flags:   -I/usr/X11R6/include -O2
  Linker flags:
  Linker user flags:
  Qt Frontend:
  Qt version:   3.3.4
  Packaging:  posix

#LyX 1.4.2 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass article
\begin_preamble
\usepackage[version=3]{mhchem}
\usepackage{SIunits}
\end_preamble
\language french
\inputencoding auto
\fontscheme default
\graphics default
\float_placement th
\paperfontsize default
\spacing single
\papersize a4paper
\use_geometry true
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 25mm
\topmargin 25mm
\rightmargin 20mm
\bottommargin 20mm
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language french
\papercolumns 1
\papersides 2
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout Title
Titre
\end_layout

\begin_layout Section
Section 1
\end_layout

\begin_layout Subsection
Sous-section 1
\end_layout

\begin_layout Standard
Une première référence : table 
\begin_inset LatexCommand \ref{tab:Table essai}

\end_inset

.
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Caption
Table essai 1.
\end_layout

\begin_layout Standard
\begin_inset Tabular
lyxtabular version=3 rows=2 columns=2
features
column alignment=center valignment=top leftline=true width=0
column alignment=center valignment=top leftline=true rightline=true width=0
row topline=true bottomline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset
/cell
cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none
\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset
/cell
/row
row topline=true bottomline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset
/cell
cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none
\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset
/cell
/row
/lyxtabular

\end_inset


\begin_inset LatexCommand \label{tab:Table essai}

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
Une deuxième référence : table 
\begin_inset LatexCommand \ref{tab:Table essai 2}

\end_inset

.
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Caption
\paragraph_spacing double
Table essai 2.
\end_layout

\begin_layout Standard
\begin_inset Tabular
lyxtabular version=3 rows=2 columns=2
features
column alignment=center valignment=top leftline=true width=0
column alignment=center valignment=top leftline=true rightline=true width=0
row topline=true bottomline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset
/cell
cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none
\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset
/cell
/row
row topline=true bottomline=true
cell alignment=center valignment=top topline=true leftline=true usebox=none
\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset
/cell
cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none
\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset
/cell
/row
/lyxtabular

\end_inset


\begin_inset LatexCommand \label{tab:Table essai 2}

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
Une troisième référence : table 
\begin_inset LatexCommand \ref{tab:Table essai 3}

\end_inset

.
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Caption
\paragraph_spacing double
Table essai 3.
\begin_inset LatexCommand \label{tab:Table essai 3}

\end_inset


\end_layout


Re: chapter spacing

2006-08-30 Thread Bob Lounsbury
Thanks for the help, that worked nicely for the chapter vertical space.
Now how to I modify the vertical space for the other sections? I tried
these commands with no success.

\renewcommand*{\othersectionlevelsendvskip}{\vspace*{0pt}}
\renewcommand*{\othersectionlevelsheadendvskip}{\vspace*{0pt}}

Thanks again,
Bob




On Wed, 2006-08-30 at 10:05 +0200, Juergen Spitzmueller wrote:

 Bob Lounsbury wrote:
  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.
 
 \renewcommand*{\chapterheadstartvskip}{\vspace*{+/- some value}} 
 \renewcommand*{\chapterheadendvskip}{\vspace*{+/- some value}} 
 
  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.
 
 http://wiki.lyx.org/FAQ/Unsorted#toc20
 
 Jürgen


Re: chapter spacing

2006-08-30 Thread Juergen Spitzmueller
Bob Lounsbury wrote:
 Thanks for the help, that worked nicely for the chapter vertical space.
 Now how to I modify the vertical space for the other sections?

There are no similar macros for those available. You have to redefine 
\section, \subsection etc. E.g.

[EMAIL PROTECTED]@}%
  {-3\baselineskip [EMAIL PROTECTED] -1ex [EMAIL PROTECTED] -.2ex}% -- 3 lines 
of space before
  {2\baselineskip [EMAIL PROTECTED] -- 2 line of space after
  {\setlength{\parfillskip}{\z@ [EMAIL PROTECTED] 1fil}%
[EMAIL PROTECTED]

Have a look at scrbook.cls for the original definitions.

Jürgen


Re: Upright greek letters in normal text and math mode

2006-08-30 Thread Paul A. Rubin

Reinhard Mayr aka Czerwinski wrote:

Ciao Miki,

thanks for your reply!

To be honest, this is not exactly what I am looking for because all letters in 
math mode now changed their (actual nice) shape and, moreover, are no longer 
italic.

The math panel offers a drop-down list for different text styles, but these DO 
NOT work for greek letters. Usually, the italic letters are fine, but for units 
(e.g. µm) always upright letters should be used. For this reason I would like 
to be able to use upright greek letters in both math mode and standard 
environment.

Can anyone help or provide a pointer?



There are TX fonts and PX fonts (which I think extend Times and Palatino 
respectively) that include some upright Greek letters, such as \muup for 
upright mu.  I don't have them, and I can't find TX on CTAN (but can 
find PX), so I'm not sure if these will do what you want.


/Paul



Re: Upright greek letters in normal text and math mode

2006-08-30 Thread Georg Baum
Am Mittwoch, 30. August 2006 12:00 schrieb Reinhard Mayr aka Czerwinski:

 The math panel offers a drop-down list for different text styles, but 
these DO NOT work for greek letters. Usually, the italic letters are fine, 
but for units (e.g. µm) always upright letters should be used. For this 
reason I would like to be able to use upright greek letters in both math 
mode and standard environment.

For units you want to use the SIunits package (not yet supported natively 
by LyX, but it works fine with ERT).

IIRC there are also some packages for upright greek letters. They may be 
listed on www.texnik.de.


Georg



Re: HTML export

2006-08-30 Thread TechTonics

Jean-Pierre Chretien wrote:

Date: Wed, 30 Aug 2006 06:32:50 -0700
From: TechTonics [EMAIL PROTECTED]
To: Jean-Pierre Chretien [EMAIL PROTECTED]
CC: lyx-users@lists.lyx.org
Subject: Re: HTML export

Jean-Pierre Chretien wrote:

[...]

On native Windows, View - Html, creates myfile.htm and LyX gives
an error message because it it looking for myfile.html.
Formatting is lost. No images are included. (htlatex does run)
This is if your lyx temp dir is in a directory without spaces.

Cygwin doesn't run htlatex. If you run htlatex manually, it
produces myfile.htm which has to be renamed to myfile.html.


?? I get myfile.html here.
I guess that htlatex called from LyX fails because it works with full pathnames,
so zzmyfile.ps is now zzC:myfile.ps. maybe there are other flaws.


Formatting is lost but it will include/display one of many .png images.

IOW, View-Html, is close to completely broken on the Windows platform.


If what I say is true (basically, the lg file cannot run), it's a htlatex
problem rather than a lyx problem. 
I use htlatex coming with proTeXt, may be it has improved since the packaging (nov. 2005) ?




Well, under Miktex2.4 or Miktex2.5(just released) htlatex
works correctly from the command line. I think the htlatex
package was updated in 2006. The files are larger and also
correctly named myfile.html when done from the command line.
This is the same experience that Miki Dovrat reported. The
footnote for splash.lyx is created in another html file is the
only problem I notice from file creation from the command line.

Using View-Html with LyX, the output file is misnamed, htm,
the .lg file is much smaller and the .htm is also small in
comparison and unformatted.

Usually, running a tool from the command line and seeing
if it works properly is how to tell if it is the the tool
or LyX. For instance one tests Aspell with Aspell -c badwords.txt
and if it works from the command line but not from LyX, it is
LyX, or Lyx's configuration where the problem resides. Nor does
Cygwin produce the right output from LyX and Cygwin is fully
as capable as Linux in other areas, as far as I know.

Regards,
Stephen


Trouble again with instant preview...

2006-08-30 Thread Rudi Gaelzer
I installed lyx 1.3.7 for the x86_64 architecture  with the rpm packages:
lyx-1.3.7-5.fc3.2.x86_64.rpm
lyx-qt-1.3.7-5.fc3.2.x86_64.rpm

Again, instant preview seems not to be working... 
I got a debug file with lyx -dbg mathed,action 2 lyx_bug.txt, which I'm 
sending along.  The only information I could get from it was:
latex failed to compile 0lyxpreview.tex

Can anyone help me out on this one?  I'm sorry to be bothering you guys again 
with this, but this bug keeps on pestering me...
-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


lyx_bug.txt.bz2
Description: BZip2 compressed data


Re: word counter: feature not usefull for me

2006-08-30 Thread Marcelo Acuña
   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.

Ok.

 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.

I not think in this. Is very complex.
 
 Unfortunately, parsing latex in order to get a
 perfect word count
 is hard, so perhaps skipping ERT is the better
 choice.

This work in most of cases.

 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
 

 Marc, said that this is in bugzilla.
I posted this question because, when I put problem
with notes and word counter in bugzilla, I received a
mail from Lyx team saying that this behaviour is
rigth.

 Thanks Helge, Marc
Marcelo







__
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas



Re: HTML export

2006-08-30 Thread Enrico Forestieri
TechTonics [EMAIL PROTECTED] writes:

 Usually, running a tool from the command line and seeing
 if it works properly is how to tell if it is the the tool
 or LyX. For instance one tests Aspell with Aspell -c badwords.txt
 and if it works from the command line but not from LyX, it is
 LyX, or Lyx's configuration where the problem resides. Nor does
 Cygwin produce the right output from LyX and Cygwin is fully
 as capable as Linux in other areas, as far as I know.

This is because the htlatex you are using is a native application expecting
native style paths. Try adding the line
export LYX_WINPATHS=yes
to the file /etc/lyxprofile and you will see that View-Html works (doesn't
work) on Cygwin exactly as it does for a native LyX.

-- 
Enrico



Re: HTML export

2006-08-30 Thread TechTonics

Enrico Forestieri wrote:

TechTonics [EMAIL PROTECTED] writes:


Usually, running a tool from the command line and seeing
if it works properly is how to tell if it is the the tool
or LyX. For instance one tests Aspell with Aspell -c badwords.txt
and if it works from the command line but not from LyX, it is
LyX, or Lyx's configuration where the problem resides. Nor does
Cygwin produce the right output from LyX and Cygwin is fully
as capable as Linux in other areas, as far as I know.


This is because the htlatex you are using is a native application expecting
native style paths. Try adding the line
export LYX_WINPATHS=yes
to the file /etc/lyxprofile and you will see that View-Html works (doesn't
work) on Cygwin exactly as it does for a native LyX.



Hello Enrico,

I'm pleased to hear from you. Indeed, adding export LYX_WINPATHS=yes
produces nearly the same failure on CygLyX as native WinLyX.

The output file is truncated from myfile.html to myfile.htm which
generated an error message because the viewer is looking for myfile.html

CygLyx does not generate the .pngs for equations that htlatex generates
from the command line. It does get some Greek letters correct. But the
exponent (superscript?) is on the same level as the other letters. Also
what I referred to as 'unformatted' appears upon closer inspection to be
the end-of-line is not respected at it is when htlatex from the command
line is executed in Dos, which does produce myfile.html.

My machine was attacked by a trojan. I had to create another identity.
Cygwin doesn't work for the new identity. Windows cannot access the
specified devive, path or file. You may not have the appropriate
permissions to access the item.

So I completey shared the Cygwin directory and subdirectories and
also C:\home. I ran a couple of commands which created .bashrc
.inputrc and .bash_profile for Tech, the new identity. It will
not work and I have to change users to my original identity (the
trojan finally gave up the ghost). But it is a hassle to have
to switch users to use Cygwin which does work on the original
identity. Your new Cygwin Lyx1.4.2 was very easy to update.
I couldn't find simple instruction to make Tech an admin.
I may not have installed Cygwin for all users, I don't remember.

I'm surprised Html view works for you for Cygwin because I
think (thought) it was LyX not the Cygwin or Win configuration.

As a side note. I spoke to Lalu who got his Phd. in computer
technology. He said the Texas Instruments 89 calculator had
a design 20 years ahead (symbolic) of the TI86 design.

Best regards,
Stephen


Index entries: only the first instane appears.

2006-08-30 Thread mail.k
I've marked some words or phrases in my text as index entries and 
added the index at the end of the document. But if an indexed term 
appears, say, on pages 3, 26, and 154, the index will list only the 
first instance, i.e., page 3.



I'm using 1.4.2-1, Miktex 2.5, Memoir.


Any advice is appreciated!



Re: HTML export

2006-08-30 Thread TechTonics

Jean-Pierre Chretien wrote:

Date: Wed, 30 Aug 2006 06:32:50 -0700
From: TechTonics [EMAIL PROTECTED]
To: Jean-Pierre Chretien [EMAIL PROTECTED]
CC: lyx-users@lists.lyx.org
Subject: Re: HTML export

Jean-Pierre Chretien wrote:

[...]

On native Windows, View - Html, creates myfile.htm and LyX gives
an error message because it it looking for myfile.html.
Formatting is lost. No images are included. (htlatex does run)
This is if your lyx temp dir is in a directory without spaces.

Cygwin doesn't run htlatex. If you run htlatex manually, it
produces myfile.htm which has to be renamed to myfile.html.


?? I get myfile.html here.
I guess that htlatex called from LyX fails because it works with full pathnames,
so zzmyfile.ps is now zzC:myfile.ps. maybe there are other flaws.


Formatting is lost but it will include/display one of many .png images.

IOW, View-Html, is close to completely broken on the Windows platform.


If what I say is true (basically, the lg file cannot run), it's a htlatex
problem rather than a lyx problem. 
I use htlatex coming with proTeXt, may be it has improved since the packaging (nov. 2005) ?




One thing I tried is removing: originaldir,needaux under
Additional flags for the htlatex converter.

That fixed the problem of the html file appearing unformatted/no EOL,
and I no longer got that error message about the filename not ending
with .html (because it was created as .htm).

But still none of the .pngs are created for inclusion (the equations)
into the html output file. htlatex from the command line produces
quite a few .pngs representing the equations for the output .html.

Regards,
Stephen


Re: chapter spacing

2006-08-30 Thread Juergen Spitzmueller
Bob Lounsbury wrote:
> 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.

\renewcommand*{\chapterheadstartvskip}{\vspace*{<+/- some value>}} 
\renewcommand*{\chapterheadendvskip}{\vspace*{<+/- some value>}} 

> 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.

http://wiki.lyx.org/FAQ/Unsorted#toc20

Jürgen


Re: user interface study of lyx

2006-08-30 Thread Sven Hoexter
On Tue, Aug 29, 2006 at 10:44:20AM +0200, Helge Hafting wrote:

> 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.

At least the Knoppix DVD Image containts lyx but only the ancient 1.3.6
version. Looks like Klaus is still using parts from Debian/sarge.

Sven
-- 
If you won't forgive me the rest of my life
Let me apologize while I'm still alive
I know it's time to face all of my past mistakes
  [Less than Jake - Rest Of My Life]


Re: How to get rid of the vertical line above footnotes?

2006-08-30 Thread Helge Hafting

Martin A. Hansen wrote:

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

It is created by the command \footnoterule,
which you may redefine to do nothing.

\renewcommand{\footnoterule}{}

Perhaps there are better ways too, I don't know.

Often, you can find out by googling a bit, "latex" and "footnote"
are good search words.

Helge Hafting


Re: Upright greek letters in normal text and math mode

2006-08-30 Thread Miki Dovrat
Hi,

Maybe the Euler fonts are what you want. They are upright Greek letters.

put:
\usepackage{euler}

in your preamble, and see if you like the result.

Miki


"Reinhard Mayr aka Czerwinski" <[EMAIL PROTECTED]> 
wrote in message news:[EMAIL PROTECTED]
> 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
> 





Re: HTML export

2006-08-30 Thread Jean-Pierre Chretien

>>Date: Tue, 29 Aug 2006 11:53:06 -0700
>>From: TechTonics <[EMAIL PROTECTED]>
>>To: Miki Dovrat <[EMAIL PROTECTED]>
>>CC: lyx-users@lists.lyx.org
>>Subject: Re: HTML export
>>
>>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

Same message on lyx-1.4.2 Solaris, but the file seems to be moved in
the directory of the document, where I find also all the ancillary files
created by htlatex, e.g for file /tmp/fr_exemple_lyxifie.lyx
-> ls /tmp/fr_exemple_lyxifie*
/tmp/fr_exemple_lyxifie.4ct
/tmp/fr_exemple_lyxifie.4tc 
...

In addition, if fr_example_lyxifie.html does exist already, there is no 
overwrite warning,
as export is called by View and not Export.

I guessed the originaldir extra flag in Preferences->Converter->Latex(plain) to 
HTML could
had something to do with this behavior: it is added for htlatex to deal 
correctly
with eps files (fr_exemple_lyxifie has none). If I suppress it, 
the html file is opened by the viewer, but is still created in document dir
(without overwrite warning either). 

IMHO, View->HTML should view in temp file to leave all these ancillary files 
out of the way,
which is the case when I leave the extra flags field empty by removing needaux.

I understand from lyxrc.example that in this case export will fail if there are 
graphic files:
is this still the case ? It seems to work all right on a simple example here.

So the question is: are these flags still needed ? Is there someting wrong with 
them anyway ?

-- 
Jean-Pierre







Re: Upright greek letters in normal text and math mode

2006-08-30 Thread Reinhard Mayr aka Czerwinski
Ciao Miki,

thanks for your reply!

To be honest, this is not exactly what I am looking for because all letters in 
math mode now changed their (actual nice) shape and, moreover, are no longer 
italic.

The math panel offers a drop-down list for different text styles, but these DO 
NOT work for greek letters. Usually, the italic letters are fine, but for units 
(e.g. µm) always upright letters should be used. For this reason I would like 
to be able to use upright greek letters in both math mode and standard 
environment.

Can anyone help or provide a pointer?

Thanks!

Cz.

 Original-Nachricht 
Datum: Wed, 30 Aug 2006 12:13:32 +0200
Von: "Miki Dovrat" <[EMAIL PROTECTED]>
An: lyx-users@lists.lyx.org
Betreff: Re: Upright greek letters in normal text and math mode

> Hi,
> 
> Maybe the Euler fonts are what you want. They are upright Greek letters.
> 
> put:
> \usepackage{euler}
> 
> in your preamble, and see if you like the result.
> 
> Miki
> 
> 
> "Reinhard Mayr aka Czerwinski" <[EMAIL PROTECTED]> 
> wrote in message news:[EMAIL PROTECTED]
> > 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
> > 
> 
> 

-- 


Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
"Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl


Abbreviations ?

2006-08-30 Thread Martin A. Hansen

I noted a too wide gap after abbriviating Professor -> Prof. John Doe

Apparently LateX thinks that the punctuation in the abbreviation is a full
stop and inserts whitespace accordingly - but it looks stupid.

So how does one abbriviate?


Martin


Re: Abbreviations ?

2006-08-30 Thread Christian Liesen
... well that's simple. In Lyx, choose Insert --> Special Formatting --> 
Inter-word Space after the abbreviation's full stop.


There is also a keyboard shortcut: On a Mac, it is Ctrl + alt + Cmd + 
Space. Check with your keybindings doc.


Cheers,
Christian



Martin A. Hansen wrote:

I noted a too wide gap after abbriviating Professor -> Prof. John Doe

Apparently LateX thinks that the punctuation in the abbreviation is a 
full

stop and inserts whitespace accordingly - but it looks stupid.

So how does one abbriviate?


Martin





1.4.2 mathmode very slow

2006-08-30 Thread Mike Doe
Since upgrading from 1.3 I have found things to be much slower,
expecially in mathmode or tables:  documents that were fine in 1.3
can be so slow that I can out-type the line very easily.  Selection in
mathmode is also very slow, which makes getting the parts of the
equation you want really irritating.

This is a standard gentoo build.  Is this a known problem: I do not see
a lot of complaints about it on the list, but for me the slowdown since
1.3 is dramatic enough to make me consider reverting.

Mike

LyX 1.4.2 of Fri, Jul 13, 2006
Built on Aug 29 2006, 18:10:32
Configuration
  Host type:  i686-pc-linux-gnu
  Special build flags:aiksaurus pch  use-aspell use-ispell
  C   Compiler:   i686-pc-linux-gnu-gcc 
  C   Compiler LyX flags:  
  C   Compiler flags:   -O2 -march=athlon -fomit-frame-pointer 
-fno-stack-protector -fno-stack-protector-all
  C++ Compiler:   g++ (3.4.6)
  C++ Compiler LyX flags:  -fno-exceptions
  C++ Compiler flags:   -O2 -march=athlon -fomit-frame-pointer 
-fno-stack-protector -fno-stack-protector-all
  Linker flags:   
  Linker user flags:  
  Qt Frontend:
  Qt version:   3.3.6
  Packaging:  posix
  LyX binary dir: /usr/bin
  LyX files dir:  /usr/share/lyx

ldd /usr/bin/lyx
linux-gate.so.1 =>  (0xe000)
libqt-mt.so.3 => /usr/qt/3/lib/libqt-mt.so.3 (0xb78c3000)
libmng.so.1 => /usr/lib/libmng.so.1 (0xb7861000)
liblcms.so.1 => /usr/lib/liblcms.so.1 (0xb7833000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7815000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb77f)
libXi.so.6 => /usr/lib/libXi.so.6 (0xb77e8000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb77e4000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb77da000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb77d5000)
libXft.so.2 => /usr/lib/libXft.so.2 (0xb77c3000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb77ba000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb778c000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb771c000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0xb76fb000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb76ec000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb76da000)
libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libgcc_s.so.1 
(0xb76d1000)
libAiksaurus-1.2.so.0 => /usr/lib/libAiksaurus-1.2.so.0 (0xb76c5000)
libaspell.so.15 => /usr/lib/libaspell.so.15 (0xb7628000)
libgpm.so.1 => /lib/libgpm.so.1 (0xb7621000)
libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6 
(0xb7553000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb754a000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb7533000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb743f000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb743c000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7436000)
libdl.so.2 => /lib/libdl.so.2 (0xb7432000)
libz.so.1 => /lib/libz.so.1 (0xb7421000)
libm.so.6 => /lib/tls/libm.so.6 (0xb73fe000)
libc.so.6 => /lib/tls/libc.so.6 (0xb72e7000)
libpng.so.3 => /usr/lib/libpng.so.3 (0xb72bf000)
/lib/ld-linux.so.2 (0xb7fdc000)



Re: Abbreviations ?

2006-08-30 Thread Bennett Helm

On Aug 30, 2006, at 7:00 AM, Christian Liesen wrote:

... well that's simple. In Lyx, choose Insert --> Special  
Formatting --> Inter-word Space after the abbreviation's full stop.


There is also a keyboard shortcut: On a Mac, it is Ctrl + alt + Cmd  
+ Space. Check with your keybindings doc.


(On the standard Mac installation,  is ignored. The binding is  
simply Space.)


Bennett


CSVtotable in LyX?

2006-08-30 Thread Kristján V. Jónsson

Hello,

Has anyone used CSVtotable (from csvtools) in LyX or some other method 
of linking data in text files to the LyX document? An example in a LyX 
doc would be appreciated.



Thanks,
kvj


Re: HTML export

2006-08-30 Thread TechTonics

Jean-Pierre Chretien wrote:

Date: Tue, 29 Aug 2006 11:53:06 -0700
From: TechTonics <[EMAIL PROTECTED]>
To: Miki Dovrat <[EMAIL PROTECTED]>
CC: lyx-users@lists.lyx.org
Subject: Re: HTML export

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


Same message on lyx-1.4.2 Solaris, but the file seems to be moved in
the directory of the document, where I find also all the ancillary files
created by htlatex, e.g for file /tmp/fr_exemple_lyxifie.lyx
-> ls /tmp/fr_exemple_lyxifie*
/tmp/fr_exemple_lyxifie.4ct
/tmp/fr_exemple_lyxifie.4tc 
...


In addition, if fr_example_lyxifie.html does exist already, there is no 
overwrite warning,
as export is called by View and not Export.

I guessed the originaldir extra flag in Preferences->Converter->Latex(plain) to 
HTML could
had something to do with this behavior: it is added for htlatex to deal 
correctly
with eps files (fr_exemple_lyxifie has none). If I suppress it, 
the html file is opened by the viewer, but is still created in document dir
(without overwrite warning either). 


IMHO, View->HTML should view in temp file to leave all these ancillary files 
out of the way,
which is the case when I leave the extra flags field empty by removing needaux.

I understand from lyxrc.example that in this case export will fail if there are 
graphic files:
is this still the case ? It seems to work all right on a simple example here.

So the question is: are these flags still needed ? Is there someting wrong with 
them anyway ?



On native Windows, View -> Html, creates myfile.htm and LyX gives
an error message because it it looking for myfile.html.
Formatting is lost. No images are included. (htlatex does run)
This is if your lyx temp dir is in a directory without spaces.

Cygwin doesn't run htlatex. If you run htlatex manually, it
produces myfile.htm which has to be renamed to myfile.html.
Formatting is lost but it will include/display one of many .png images.

IOW, View->Html, is close to completely broken on the Windows platform.

mot juste,
Stephen



Re: HTML export

2006-08-30 Thread Jean-Pierre Chretien

>>Date: Wed, 30 Aug 2006 06:32:50 -0700
>>From: TechTonics <[EMAIL PROTECTED]>
>>To: Jean-Pierre Chretien <[EMAIL PROTECTED]>
>>CC: lyx-users@lists.lyx.org
>>Subject: Re: HTML export
>>
>>Jean-Pierre Chretien wrote:
[...]
>>
>>On native Windows, View -> Html, creates myfile.htm and LyX gives
>>an error message because it it looking for myfile.html.
>>Formatting is lost. No images are included. (htlatex does run)
>>This is if your lyx temp dir is in a directory without spaces.
>>
>>Cygwin doesn't run htlatex. If you run htlatex manually, it
>>produces myfile.htm which has to be renamed to myfile.html.

?? I get myfile.html here.
I guess that htlatex called from LyX fails because it works with full pathnames,
so zzmyfile.ps is now zzC:myfile.ps. maybe there are other flaws.

>>Formatting is lost but it will include/display one of many .png images.
>>
>>IOW, View->Html, is close to completely broken on the Windows platform.

If what I say is true (basically, the lg file cannot run), it's a htlatex
problem rather than a lyx problem. 
I use htlatex coming with proTeXt, may be it has improved since the packaging 
(nov. 2005) ?

-- 
Jean-Pierre



Paragraph spacing of an array caption+label.

2006-08-30 Thread Nicolas Ferré

Dear all,

If I write the label of an array immediately after the array and if I 
change the paragraph spacing of the caption above the array from the 
default one, a cross-reference to this array label appears in the dvi as 
the section numbering instead of the array numbering. See the minimal 
example attached.


A solution consists in setting the label in the caption paragraph.

Is this a bug or a feature ?

Nicolas

LyX 1.4.2 of Fri, Jul 13, 2006
Built on Aug 22 2006, 16:26:32
Configuration
  Host type:  i686-pc-linux-gnu
  Special build flags:pch  use-aspell use-ispell
  C   Compiler:   gcc
  C   Compiler LyX flags:
  C   Compiler flags:   -I/usr/X11R6/include -O2
  C++ Compiler:   g++ (4.0.1)
  C++ Compiler LyX flags:  -fno-exceptions
  C++ Compiler flags:   -I/usr/X11R6/include -O2
  Linker flags:
  Linker user flags:
  Qt Frontend:
  Qt version:   3.3.4
  Packaging:  posix

#LyX 1.4.2 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass article
\begin_preamble
\usepackage[version=3]{mhchem}
\usepackage{SIunits}
\end_preamble
\language french
\inputencoding auto
\fontscheme default
\graphics default
\float_placement th
\paperfontsize default
\spacing single
\papersize a4paper
\use_geometry true
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 25mm
\topmargin 25mm
\rightmargin 20mm
\bottommargin 20mm
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language french
\papercolumns 1
\papersides 2
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout Title
Titre
\end_layout

\begin_layout Section
Section 1
\end_layout

\begin_layout Subsection
Sous-section 1
\end_layout

\begin_layout Standard
Une première référence : table 
\begin_inset LatexCommand \ref{tab:Table essai}

\end_inset

.
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Caption
Table essai 1.
\end_layout

\begin_layout Standard
\begin_inset Tabular






\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset


\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset




\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset


\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset




\end_inset


\begin_inset LatexCommand \label{tab:Table essai}

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
Une deuxième référence : table 
\begin_inset LatexCommand \ref{tab:Table essai 2}

\end_inset

.
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Caption
\paragraph_spacing double
Table essai 2.
\end_layout

\begin_layout Standard
\begin_inset Tabular






\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset


\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset




\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset


\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset




\end_inset


\begin_inset LatexCommand \label{tab:Table essai 2}

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
Une troisième référence : table 
\begin_inset LatexCommand \ref{tab:Table essai 3}

\end_inset

.
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Caption
\paragraph_spacing double
Table essai 3.
\begin_inset LatexCommand \label{tab:Table essai 3}

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Tabular






\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset


\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset




\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset


\begin_inset Text

\begin_layout Standard
Bla
\end_layout

\end_inset




\end_inset


\end_layout

\end_inset


\end_layout

\end_body
\end_document


Re: chapter spacing

2006-08-30 Thread Bob Lounsbury
Thanks for the help, that worked nicely for the chapter vertical space.
Now how to I modify the vertical space for the other sections? I tried
these commands with no success.

\renewcommand*{\othersectionlevelsendvskip}{\vspace*{0pt}}
\renewcommand*{\othersectionlevelsheadendvskip}{\vspace*{0pt}}

Thanks again,
Bob




On Wed, 2006-08-30 at 10:05 +0200, Juergen Spitzmueller wrote:

> Bob Lounsbury wrote:
> > 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.
> 
> \renewcommand*{\chapterheadstartvskip}{\vspace*{<+/- some value>}} 
> \renewcommand*{\chapterheadendvskip}{\vspace*{<+/- some value>}} 
> 
> > 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.
> 
> http://wiki.lyx.org/FAQ/Unsorted#toc20
> 
> Jürgen


Re: chapter spacing

2006-08-30 Thread Juergen Spitzmueller
Bob Lounsbury wrote:
> Thanks for the help, that worked nicely for the chapter vertical space.
> Now how to I modify the vertical space for the other sections?

There are no similar macros for those available. You have to redefine 
\section, \subsection etc. E.g.

[EMAIL PROTECTED]@}%
  {-3\baselineskip [EMAIL PROTECTED] -1ex [EMAIL PROTECTED] -.2ex}% <-- 3 lines 
of space before
  {2\baselineskip [EMAIL PROTECTED] <-- 2 line of space after
  {\setlength{\parfillskip}{\z@ [EMAIL PROTECTED] 1fil}%
[EMAIL PROTECTED]

Have a look at scrbook.cls for the original definitions.

Jürgen


Re: Upright greek letters in normal text and math mode

2006-08-30 Thread Paul A. Rubin

Reinhard Mayr aka Czerwinski wrote:

Ciao Miki,

thanks for your reply!

To be honest, this is not exactly what I am looking for because all letters in 
math mode now changed their (actual nice) shape and, moreover, are no longer 
italic.

The math panel offers a drop-down list for different text styles, but these DO 
NOT work for greek letters. Usually, the italic letters are fine, but for units 
(e.g. µm) always upright letters should be used. For this reason I would like 
to be able to use upright greek letters in both math mode and standard 
environment.

Can anyone help or provide a pointer?



There are TX fonts and PX fonts (which I think extend Times and Palatino 
respectively) that include some upright Greek letters, such as \muup for 
upright mu.  I don't have them, and I can't find TX on CTAN (but can 
find PX), so I'm not sure if these will do what you want.


/Paul



Re: Upright greek letters in normal text and math mode

2006-08-30 Thread Georg Baum
Am Mittwoch, 30. August 2006 12:00 schrieb Reinhard Mayr aka Czerwinski:

> The math panel offers a drop-down list for different text styles, but 
these DO NOT work for greek letters. Usually, the italic letters are fine, 
but for units (e.g. µm) always upright letters should be used. For this 
reason I would like to be able to use upright greek letters in both math 
mode and standard environment.

For units you want to use the SIunits package (not yet supported natively 
by LyX, but it works fine with ERT).

IIRC there are also some packages for upright greek letters. They may be 
listed on www.texnik.de.


Georg



Re: HTML export

2006-08-30 Thread TechTonics

Jean-Pierre Chretien wrote:

Date: Wed, 30 Aug 2006 06:32:50 -0700
From: TechTonics <[EMAIL PROTECTED]>
To: Jean-Pierre Chretien <[EMAIL PROTECTED]>
CC: lyx-users@lists.lyx.org
Subject: Re: HTML export

Jean-Pierre Chretien wrote:

[...]

On native Windows, View -> Html, creates myfile.htm and LyX gives
an error message because it it looking for myfile.html.
Formatting is lost. No images are included. (htlatex does run)
This is if your lyx temp dir is in a directory without spaces.

Cygwin doesn't run htlatex. If you run htlatex manually, it
produces myfile.htm which has to be renamed to myfile.html.


?? I get myfile.html here.
I guess that htlatex called from LyX fails because it works with full pathnames,
so zzmyfile.ps is now zzC:myfile.ps. maybe there are other flaws.


Formatting is lost but it will include/display one of many .png images.

IOW, View->Html, is close to completely broken on the Windows platform.


If what I say is true (basically, the lg file cannot run), it's a htlatex
problem rather than a lyx problem. 
I use htlatex coming with proTeXt, may be it has improved since the packaging (nov. 2005) ?




Well, under Miktex2.4 or Miktex2.5(just released) htlatex
works correctly from the command line. I think the htlatex
package was updated in 2006. The files are larger and also
correctly named myfile.html when done from the command line.
This is the same experience that Miki Dovrat reported. The
footnote for splash.lyx is created in another html file is the
only problem I notice from file creation from the command line.

Using View->Html with LyX, the output file is misnamed, htm,
the .lg file is much smaller and the .htm is also small in
comparison and unformatted.

Usually, running a tool from the command line and seeing
if it works properly is how to tell if it is the the tool
or LyX. For instance one tests Aspell with Aspell -c badwords.txt
and if it works from the command line but not from LyX, it is
LyX, or Lyx's configuration where the problem resides. Nor does
Cygwin produce the right output from LyX and Cygwin is fully
as capable as Linux in other areas, as far as I know.

Regards,
Stephen


Trouble again with instant preview...

2006-08-30 Thread Rudi Gaelzer
I installed lyx 1.3.7 for the x86_64 architecture  with the rpm packages:
lyx-1.3.7-5.fc3.2.x86_64.rpm
lyx-qt-1.3.7-5.fc3.2.x86_64.rpm

Again, instant preview seems not to be working... 
I got a debug file with "lyx -dbg mathed,action 2> lyx_bug.txt", which I'm 
sending along.  The only information I could get from it was:
"latex failed to compile 0lyxpreview.tex"

Can anyone help me out on this one?  I'm sorry to be bothering you guys again 
with this, but this bug keeps on pestering me...
-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


lyx_bug.txt.bz2
Description: BZip2 compressed data


Re: word counter: feature not usefull for me

2006-08-30 Thread Marcelo Acuña
> >  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.

Ok.

> 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.

I not think in this. Is very complex.
> 
> Unfortunately, parsing latex in order to get a
> perfect word count
> is hard, so perhaps skipping ERT is the better
> choice.

This work in most of cases.

> 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
> 

 Marc, said that this is in bugzilla.
I posted this question because, when I put problem
with notes and word counter in bugzilla, I received a
mail from Lyx team saying that this behaviour is
rigth.

 Thanks Helge, Marc
Marcelo







__
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas



Re: HTML export

2006-08-30 Thread Enrico Forestieri
TechTonics <[EMAIL PROTECTED]> writes:

> Usually, running a tool from the command line and seeing
> if it works properly is how to tell if it is the the tool
> or LyX. For instance one tests Aspell with Aspell -c badwords.txt
> and if it works from the command line but not from LyX, it is
> LyX, or Lyx's configuration where the problem resides. Nor does
> Cygwin produce the right output from LyX and Cygwin is fully
> as capable as Linux in other areas, as far as I know.

This is because the htlatex you are using is a native application expecting
native style paths. Try adding the line
export LYX_WINPATHS=yes
to the file /etc/lyxprofile and you will see that View->Html works (doesn't
work) on Cygwin exactly as it does for a native LyX.

-- 
Enrico



Re: HTML export

2006-08-30 Thread TechTonics

Enrico Forestieri wrote:

TechTonics <[EMAIL PROTECTED]> writes:


Usually, running a tool from the command line and seeing
if it works properly is how to tell if it is the the tool
or LyX. For instance one tests Aspell with Aspell -c badwords.txt
and if it works from the command line but not from LyX, it is
LyX, or Lyx's configuration where the problem resides. Nor does
Cygwin produce the right output from LyX and Cygwin is fully
as capable as Linux in other areas, as far as I know.


This is because the htlatex you are using is a native application expecting
native style paths. Try adding the line
export LYX_WINPATHS=yes
to the file /etc/lyxprofile and you will see that View->Html works (doesn't
work) on Cygwin exactly as it does for a native LyX.



Hello Enrico,

I'm pleased to hear from you. Indeed, adding "export LYX_WINPATHS=yes"
produces nearly the same failure on CygLyX as native WinLyX.

The output file is truncated from myfile.html to myfile.htm which
generated an error message because the viewer is looking for myfile.html

CygLyx does not generate the .pngs for equations that htlatex generates
from the command line. It does get some Greek letters correct. But the
exponent (superscript?) is on the same level as the other letters. Also
what I referred to as 'unformatted' appears upon closer inspection to be
the end-of-line is not respected at it is when htlatex from the command
line is executed in Dos, which does produce myfile.html.

My machine was attacked by a trojan. I had to create another identity.
Cygwin doesn't work for the new identity. "Windows cannot access the
specified devive, path or file. You may not have the appropriate
permissions to access the item."

So I completey shared the Cygwin directory and subdirectories and
also C:\home. I ran a couple of commands which created .bashrc
.inputrc and .bash_profile for Tech, the new identity. It will
not work and I have to change users to my original identity (the
trojan finally gave up the ghost). But it is a hassle to have
to switch users to use Cygwin which does work on the original
identity. Your new Cygwin Lyx1.4.2 was very easy to update.
I couldn't find simple instruction to make "Tech" an admin.
I may not have installed Cygwin for all users, I don't remember.

I'm surprised Html view works for you for Cygwin because I
think (thought) it was LyX not the Cygwin or Win configuration.

As a side note. I spoke to Lalu who got his Phd. in computer
technology. He said the Texas Instruments 89 calculator had
a design 20 years ahead (symbolic) of the TI86 design.

Best regards,
Stephen


Index entries: only the first instane appears.

2006-08-30 Thread mail.k
I've marked some words or phrases in my text as "index entries" and 
added the index at the end of the document. But if an indexed term 
appears, say, on pages 3, 26, and 154, the index will list only the 
first instance, i.e., page 3.



I'm using 1.4.2-1, Miktex 2.5, Memoir.


Any advice is appreciated!



Re: HTML export

2006-08-30 Thread TechTonics

Jean-Pierre Chretien wrote:

Date: Wed, 30 Aug 2006 06:32:50 -0700
From: TechTonics <[EMAIL PROTECTED]>
To: Jean-Pierre Chretien <[EMAIL PROTECTED]>
CC: lyx-users@lists.lyx.org
Subject: Re: HTML export

Jean-Pierre Chretien wrote:

[...]

On native Windows, View -> Html, creates myfile.htm and LyX gives
an error message because it it looking for myfile.html.
Formatting is lost. No images are included. (htlatex does run)
This is if your lyx temp dir is in a directory without spaces.

Cygwin doesn't run htlatex. If you run htlatex manually, it
produces myfile.htm which has to be renamed to myfile.html.


?? I get myfile.html here.
I guess that htlatex called from LyX fails because it works with full pathnames,
so zzmyfile.ps is now zzC:myfile.ps. maybe there are other flaws.


Formatting is lost but it will include/display one of many .png images.

IOW, View->Html, is close to completely broken on the Windows platform.


If what I say is true (basically, the lg file cannot run), it's a htlatex
problem rather than a lyx problem. 
I use htlatex coming with proTeXt, may be it has improved since the packaging (nov. 2005) ?




One thing I tried is removing: originaldir,needaux under
Additional flags for the htlatex converter.

That fixed the problem of the html file appearing unformatted/no EOL,
and I no longer got that error message about the filename not ending
with .html (because it was created as .htm).

But still none of the .pngs are created for inclusion (the equations)
into the html output file. htlatex from the command line produces
quite a few .pngs representing the equations for the output .html.

Regards,
Stephen