Re: Word won't open simplest LyXHTML file

2013-01-17 Thread Alex Fernandez
Hi Jerry,

I am the primary author of eLyXer.

On Thu, Jan 17, 2013 at 4:49 AM, Jerry lancebo...@qwest.net wrote:

 Thanks for that tip. I checked it out. It's just a Python thing so it
 works fine on OS X, and LyX picked it up as advertised.


Yes, I can confirm that OS X is fully supported.


 The output on my simple test case does look nice in a browser, but I get
 the same error opening with Word as I first described: The XML file bla
 bla bla cannot be opened... etc. I thought maybe my copy of Word was
 broken but it reads other HTML files fine--I'm guessing they don't have the
 XML stuff in them, however.


Word does not like XHTML very much; you need to export to HTML 4, using the
--html option.
  http://elyxer.nongnu.org/userguide.html#sub:HTML-Code
If you are doing the conversion inside LyX, instead of on the command line,
you have to add the --html in the conversion interface.


 I checked the HTML file that eLyXer made with the W3C page and got: The
 uploaded document - was successfully checked as XHTML 1.0 Transitional.


Yes, eLyXer outputs pure XHTML.


 Also--eLyXer does not appear to use MathML so I don't think there is any
 hope of getting editable math into Word using this method. (But I haven't
 read all of the eLyXer docs.)


eLyXer has several options for Math output:
  http://elyxer.nongnu.org/userguide.html#sub:Math
Sadly, none of them is MathML, since at the time eLyXer was conceived it
was not very widely supported, and I have not found the time to add it.

Hope this helps,

Alex Fernández.


Re: Hindi typing in ubuntu 12.10

2013-01-17 Thread Hridayesh Gupta
Changing font worked and I am able to view proper font in generated pdf
when compiling with XeTeX.
There is small issue with display of font on LyX. In LyX font appears to be
broken. Is there any option to use same font to display in LyX window,
which I used to compile the file?

Thank you so much!

Regards
Hridayesh


On Thu, Jan 17, 2013 at 1:05 PM, Liviu Andronic landronim...@gmail.comwrote:

 On Thu, Jan 17, 2013 at 3:54 AM, Hridayesh Gupta
 hridayeshi...@gmail.com wrote:
   I have installed all the packages as suggested and updated LyX to latest
  version 2.0.5 using ppa. I also need to change to LuaTeX/XeTeX font in
  Document - Settings - Font - checked Use XeTeX/LuaTeX font. After
 that I
  am able to successfully compile the file without any errors, however In
 the
  pdf the spots with hindi language just shows up blank. tried with chinese
  and russian language as well but same thing.
 
 I assume that the default font doesn't contain the necessary chars.
 Try to select something like DejaVu or some other font that you know
 it contains the needed chars.

 Liviu


  I am able to see those languages correctly in LyX, firefox, text editor
 but
  not in pdf generated.
  Do I need to include any font anywhere in settings?
 
 
 
  On Thu, Jan 17, 2013 at 1:26 AM, Scott Kostyshak skost...@lyx.org
 wrote:
 
  On Wed, Jan 16, 2013 at 7:53 AM, Liviu Andronic landronim...@gmail.com
 
  wrote:
   On Wed, Jan 16, 2013 at 12:18 PM, Hridayesh Gupta
   hridayeshi...@gmail.com wrote:
   I have selected system fonts as you told. Still getting error when
   compiling
   using LuaTeX. I got following errors
   1. Package fontenc error: package file eu2enc.def not found
   2. encoding scheme eu2 unknown.
   3. file xunicode.sty not found
  
   You have some missing packages. Go to packages.ubuntu.com and 'Search
   the contents of packages'. If you search for 'eu2enc.def', you will
   get [1]. This will indicate the Debian packages that you are still
   missing, in this case 'texlive-xetex', that you can install via
   Synaptic. Do the same for 'xunicode.sty', etc.
   [1]
  
 http://packages.ubuntu.com/search?searchon=contentskeywords=eu2enc.defmode=exactfilenamesuite=quantalarch=any
  
   Liviu
 
  In addition to Liviu's suggestion, annother useful program to install
  is apt-file:
  $ apt-file find eu2enc.def
  texlive-luatex:
  /usr/share/texmf-texlive/tex/lualatex/luainputenc/eu2enc.def
  $ apt-file find xunicode.sty
  texlive-xetex:
 /usr/share/texmf-texlive/tex/xelatex/xunicode/xunicode.sty
 
  Also, since you're on Ubuntu, consider the LyX PPA if you want a newer
  version of LyX:
  http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3
 
  Scott
 
 



 --
 Do you know how to read?
 http://www.alienetworks.com/srtest.cfm
 http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
 Do you know how to write?
 http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail



Re: Hindi typing in ubuntu 12.10

2013-01-17 Thread Liviu Andronic
On Thu, Jan 17, 2013 at 11:01 AM, Hridayesh Gupta
hridayeshi...@gmail.com wrote:
 Changing font worked and I am able to view proper font in generated pdf when
 compiling with XeTeX.
 There is small issue with display of font on LyX. In LyX font appears to be

 broken. Is there any option to use same font to display in LyX window, which
 I used to compile the file?

Tools  Prefs  LookFeel  Fonts.

Liviu


 Thank you so much!

 Regards
 Hridayesh


 On Thu, Jan 17, 2013 at 1:05 PM, Liviu Andronic landronim...@gmail.com
 wrote:

 On Thu, Jan 17, 2013 at 3:54 AM, Hridayesh Gupta
 hridayeshi...@gmail.com wrote:
   I have installed all the packages as suggested and updated LyX to
  latest
  version 2.0.5 using ppa. I also need to change to LuaTeX/XeTeX font in
  Document - Settings - Font - checked Use XeTeX/LuaTeX font. After
  that I
  am able to successfully compile the file without any errors, however In
  the
  pdf the spots with hindi language just shows up blank. tried with
  chinese
  and russian language as well but same thing.
 
 I assume that the default font doesn't contain the necessary chars.
 Try to select something like DejaVu or some other font that you know
 it contains the needed chars.

 Liviu


  I am able to see those languages correctly in LyX, firefox, text editor
  but
  not in pdf generated.
  Do I need to include any font anywhere in settings?
 
 
 
  On Thu, Jan 17, 2013 at 1:26 AM, Scott Kostyshak skost...@lyx.org
  wrote:
 
  On Wed, Jan 16, 2013 at 7:53 AM, Liviu Andronic
  landronim...@gmail.com
  wrote:
   On Wed, Jan 16, 2013 at 12:18 PM, Hridayesh Gupta
   hridayeshi...@gmail.com wrote:
   I have selected system fonts as you told. Still getting error when
   compiling
   using LuaTeX. I got following errors
   1. Package fontenc error: package file eu2enc.def not found
   2. encoding scheme eu2 unknown.
   3. file xunicode.sty not found
  
   You have some missing packages. Go to packages.ubuntu.com and 'Search
   the contents of packages'. If you search for 'eu2enc.def', you will
   get [1]. This will indicate the Debian packages that you are still
   missing, in this case 'texlive-xetex', that you can install via
   Synaptic. Do the same for 'xunicode.sty', etc.
   [1]
  
   http://packages.ubuntu.com/search?searchon=contentskeywords=eu2enc.defmode=exactfilenamesuite=quantalarch=any
  
   Liviu
 
  In addition to Liviu's suggestion, annother useful program to install
  is apt-file:
  $ apt-file find eu2enc.def
  texlive-luatex:
  /usr/share/texmf-texlive/tex/lualatex/luainputenc/eu2enc.def
  $ apt-file find xunicode.sty
  texlive-xetex:
  /usr/share/texmf-texlive/tex/xelatex/xunicode/xunicode.sty
 
  Also, since you're on Ubuntu, consider the LyX PPA if you want a newer
  version of LyX:
  http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3
 
  Scott
 
 



 --
 Do you know how to read?
 http://www.alienetworks.com/srtest.cfm
 http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
 Do you know how to write?
 http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail





-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Including Documents

2013-01-17 Thread Les Denham
On Thu, 17 Jan 2013 16:12:40 +1100
Doug Laidlaw laidl...@hotkey.net.au wrote:

 (Re-posted: original seems to have got lost in transit.)
 
 I am writing a Family History with the koma-book style. I have a
 master document which is little more than a container for the
 chapters.  Each chapter is a separate Lyx file, a child of the master.
 
 My problem is, that when I print the complete book, each chapter has
 its own 
 empty Contents page, and a concluding identifier page.  How can I
 suppress these, and not have them allowed for in the page numbering?
 It must have been asked many times before.
 
 Doug.
 
 

Doug,

This should not happen. I do the same thing you are doing all the time
with koma book and never have that problem. I can probably see what the
problem is if you post a sample chapter on the list (or send it to me
offline if you prefer). It's possible the problem is with the master
document, but most likely it is with each chapter document.

The chapter files should contain just the contents of the chapter. The
chapter headings should be in the master document.

Les


Text in certain colours

2013-01-17 Thread Rainer M Krug
Hi

I have line graphs generated in R, where each line is in a different colour 
(the colours are
generated in R by using rainbow(8)).

Due to space problems in the graph, I can not put the legend into the grapgh 
itself, but want to
put it into the caption. Therefore I would like to reproduce the colours in 
LaTeX. I know how to
set the text colour via LyX to one of the pre-defined colours, but hjow can I 
set them to these
specific colours?

In addition, I would like to have the colours as filled squares in the text - 
any suggestions?

Thanks,

Rainer

--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug


Re: Text in certain colours

2013-01-17 Thread Alex Vergara Gil

Hi

I have line graphs generated in R, where each line is in a different 
colour (the colours are

generated in R by using rainbow(8)).

Due to space problems in the graph, I can not put the legend into the 
grapgh itself, but want to
put it into the caption. Therefore I would like to reproduce the colours 
in LaTeX. I know how to
set the text colour via LyX to one of the pre-defined colours, but hjow 
can I set them to these

specific colours?

In addition, I would like to have the colours as filled squares in the 
text - any suggestions?





Oh you mean by adding
\textcolor{yourcolor}{$\blacksquare$yourcaption}
in an ERT

Regards

Alex 



Re: Text in certain colours

2013-01-17 Thread Rainer M Krug
On 17/01/13 17:18, Alex Vergara Gil wrote:
 Hi
 
 I have line graphs generated in R, where each line is in a different colour 
 (the colours are 
 generated in R by using rainbow(8)).
 
 Due to space problems in the graph, I can not put the legend into the grapgh 
 itself, but want
 to put it into the caption. Therefore I would like to reproduce the colours 
 in LaTeX. I know
 how to set the text colour via LyX to one of the pre-defined colours, but 
 hjow can I set them
 to these specific colours?
 
 In addition, I would like to have the colours as filled squares in the text 
 - any
 suggestions?
 
 
 
 Oh you mean by adding \textcolor{yourcolor}{$\blacksquare$yourcaption} in an 
 ERT

Perfect - thanks.

Now I just have to figure out how to translate the colour codes in R into LaTeX 
readable. The
eight colours in R are:

#FFFF #FFBF00FF #80FF00FF #00FF40FF #00FF #0040
#8000 #FF00BFFF

Thanks,

Rainer

 
 Regards
 
 Alex
 



Re: lilypond

2013-01-17 Thread Julien Rioux

On 16/01/2013 7:50 AM, bb wrote:

I imported a lilypond file with include-external file-filename.ly. I
checked that file in advance to make sure it will be compiled correctly
with lilypond. If I try a pdf preview in Lyx, I get an error and the
head of the protocol is:


This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
(format=pdflatex 2012.7.20) 16 JAN 2013 13:41

entering extended mode

%-line parsing enabled.

**lilypondTest.tex

(./lilypondTest.tex

LaTeX2e 2009/09/24

Babel v3.8l and hyphenation patterns for english, usenglishmax,
dumylang, noh

yphenation, loaded.


What is wrong? Any help please?


Regards bllochl




Hi,

Can you post an example file demonstrating your problem? Maybe also 
provide the full log from Document  LaTeX Log, and specify which error 
you get?


Cheers,
Julien


Re: Lyx integration of lilypond, Windows 7

2013-01-17 Thread Julien Rioux

On 15/01/2013 8:49 PM, Uwe Stöhr wrote:

Am 03.01.2013 13:13, schrieb Julien Rioux:


I have a weird problem...
I have install last version of lilypond and lyx, and try to compile
the lilypond
exemple in the LyX exemple folder.


One of the 2 current limitations of the LyX for Windows installer is the
missing support for LilyPond.
Implementing this is the current item on my ToDo list.



LyX will detect lilypond if you set the PATH in LyX and reconfigure, 
although automatic detection at install time would of course be nice. 
Let us know which installer this is, and I'll give it a try.



Note also that the last time I tried to get LilyPond to work with LyX I
encountered a bug in LilyPond that only affects paths on Windows. Maybe
your problem is related. I'll try this as soon as I ind the time.

regards Uwe



I think those bugs have been fixed. I have had good reports from windows 
users using lilypond version 2.16.2.


Cheers,
Julien


Re: No pdflatex view in 2.0.5.1 under XP with Texlive

2013-01-17 Thread EK

  
  
Here is what I tried, following Uwe's response:

  I removed all Lyx installations from the XP machine
  I downloaded the Windows bundle installer
  I installed Lyx and JabRef with that installer
  I tested it-- got the very same error (!pdfTeX error:
pdflatex.exe (file
c:/texlive/2012/texmf-var/fonts/map/pdftex/up) 
when I tried to view a pdf output by clicking on the ViewPdf
icon (pdflatex)
  Tried other formats-- luapdf failed, but others (xetex, pdf
via dvi or PS) all worked.

So I am exactly where I was initially. I rarely use the XP
  machine these days, but when I need it, I usually need Lyx to
  function on it, which it did until this latest version.
Any idea what is going on?

Ehud





On 01/15/2013 08:45 PM, Uwe Sthr
  wrote:

Am
  09.01.2013 19:00, schrieb EK:
  
  
  I have installed Lyx 2.05.1 on a Windows
XP machine (I still have one of those),

with TexLive.

Everything works fine, but when I click the VIEW icon (to get a
pdf) I get an

error about pdflatex and/or pdftex.exe.

If I select View PDF (lua or Xetex) or DVI from the menu
everything works just

fine-- just the most useful pdflatex fails (naturally..;-).

I have compared the file converters and paths to a previous (Lyx
2.04)

installation that works perfectly, and I do not see a
difference.

Can anyone shed light on this mystery?

  
  
  There was a bug in the installer that the LaTeX distribution was
  not correctly or even not recognized on Windows 7 and 8 in the
  64bit versions. If that is your OS, please reinstall LyX using the
  fixed installer:
  
http://sourceforge.net/projects/lyxwininstaller/files/LyXWinInstaller/2.0.5.1/LyX-2051-Installer-2.exe/download
  
  (will be soon on ftp.lyx.org too)
  
  
  Can you please report back if the installer found the correct path
  to TeXLive? if not, what version of TeXLive are you using? Note
  that the installer can only support TeXLive 2012 and no older
  versions because of technical limitations in the old versions.
  
  If you have a older TeXLive, please try to update it before you
  reinstall LyX. If this is not possible, please reinstall LyX
  anyway and then go to the LyX preferences and adapt the paths so
  that the path list contains the folder of TeXLive where the
  latex.exe is located.
  
  
  If the problem persists anyway for you, can you please tell me
  your program versions (Windows, TeXLive) and provide a _minimal_
  LyX file you are using.
  
  
  thanks and regards
  
  Uwe
  


-- 
  
  Ehud Kaplan, Ph.D.
  Jules and Doris Stein Research to Prevent Blindness
  Professor
  Director, The laboratory of Visual  Computational
  Neuroscience
  Director, Center for Excellence in Computational 
  Systems Neuroscience
  Friedman Brain Institute
  Departments of Neuroscience, Ophthalmology, Structural 
  Chemical Biology,
  The Ichan school of medicine at Mount Sinai
  One Gustave Levy Place, 
  NY, NY, 10029 

  



Re: No pdflatex view in 2.0.5.1 under XP with Texlive

2013-01-17 Thread ehud.kap...@gmail.com
I finally got around the problem (did not solve it!) by assigning the 
default pdf output format to pdf(xetex) in the 
preferences/fileHandling/fileformats dialog.
So I now have a functioning Lyx system on XP, although it functions 
differently from the way it used to.

Ehud

On 1/17/2013 3:14 PM, EK wrote:

Here is what I tried, following Uwe's response:

 1. I removed all Lyx installations from the XP machine
 2. I downloaded the Windows bundle installer
 3. I installed Lyx and JabRef with that installer
 4. I tested it-- got the very same error (!pdfTeX error: pdflatex.exe
(file c:/texlive/2012/texmf-var/fonts/map/pdftex/up)
when I tried to view a pdf output by clicking on the ViewPdf icon
(pdflatex)
 5. Tried other formats-- luapdf failed, but others (xetex, pdf via
dvi or PS) all worked.

So I am exactly where I was initially. I rarely use the XP machine 
these days, but when I need it, I usually need Lyx to function on it, 
which it did until this latest version.


Any idea what is going on?

Ehud



On 01/15/2013 08:45 PM, Uwe Stöhr wrote:

Am 09.01.2013 19:00, schrieb EK:

I have installed Lyx 2.05.1 on a Windows XP machine (I still have 
one of those),

with TexLive.
Everything works fine, but when I click the VIEW icon (to get a pdf) 
I get an

error about pdflatex and/or pdftex.exe.
If I select View PDF (lua or Xetex) or DVI from the menu everything 
works just

fine-- just the most useful pdflatex fails (naturally..;-).
I have compared the file converters and paths to a previous (Lyx 2.04)
installation that works perfectly, and I do not see a difference.
Can anyone shed light on this mystery?


There was a bug in the installer that the LaTeX distribution was not 
correctly or even not recognized on Windows 7 and 8 in the 64bit 
versions. If that is your OS, please reinstall LyX using the fixed 
installer:
http://sourceforge.net/projects/lyxwininstaller/files/LyXWinInstaller/2.0.5.1/LyX-2051-Installer-2.exe/download 


(will be soon on ftp.lyx.org too)

Can you please report back if the installer found the correct path to 
TeXLive? if not, what version of TeXLive are you using? Note that the 
installer can only support TeXLive 2012 and no older versions because 
of technical limitations in the old versions.
If you have a older TeXLive, please try to update it before you 
reinstall LyX. If this is not possible, please reinstall LyX anyway 
and then go to the LyX preferences and adapt the paths so that the 
path list contains the folder of TeXLive where the latex.exe is located.


If the problem persists anyway for you, can you please tell me your 
program versions (Windows, TeXLive) and provide a _minimal_ LyX file 
you are using.


thanks and regards
Uwe


--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual  Computational Neuroscience
*Director*, Center for Excellence in Computational  Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural  Chemical Biology,
The Ichan school of medicine at Mount Sinai
One Gustave Levy Place,
NY, NY, 10029


--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual  Computational Neuroscience
*Director*, Center for Excellence in Computational  Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural  Chemical Biology,
The Ichan School of Medicine at Mount Sinai
One Gustave Levy Place,
NY, NY, 10029


Re: mathrm

2013-01-17 Thread Guenter Milde
On 2013-01-16, Wolfgang Engelmann wrote:
 Am Mittwoch, 16. Januar 2013, 00:11:05 schrieb Paul A. Rubin:
 It's some sort of font issue. I replicated the problem with your
 document here, then changed the Roman font from Palatino to Times Roman
 and got the expected output. I suspect the mathpazo package may not
 contain the needed glyph.

Mathpazo includes (part of) fixmath.sty by the same author. This means that
selecting a math alphabet affects both Greek and Latin letters.

In contrast, with CM or Latin Modern, the default LaTeX behaviour is kept:
Greek letters behave like non-letter symbols and do not change inside a
\math... alphabet:

In the following minimal example:

\documentclass{article}
% \usepackage{lmodern}
% \usepackage{mathpazo}

\usepackage[garamond]{mathdesign}
\usepackage{isomath}

\begin{document}

$VIC \Gamma vic \gamma \varepsilon$

$\mathrm{VIC \Gamma vic \gamma \varepsilon}$

$\mathbold{VIC \Gamma \varepsilon}$

\end{document}

the Greek letters inside \mathrm{...} are still italic with 
\usepackage{lmodern} and garbage characters with mathpazo.

The only package that supports upright Greek characters via
\mathrm{\alpha ... \Omega} is mathdesign in combination with isomath.
For details see the isomath documentation.

Günter





Re: Spell checker has no dictionaries

2013-01-17 Thread Stephan Witt
Am 17.01.2013 um 20:07 schrieb Junchao Zhang junchao.zh...@gmail.com:

 Dear all,
   I installed hunspell, then I installed Lyx.

Dear Junchao,

hunspell and LyX are two independent programs. LyX has builtin hunspell support 
or not.

 When I configured Lyx, I could see Lyx found hunspell.

I understand this as: you can see hunspell as available spell checker in 
preferences, right?

   I set 
 export DICPATH=/home/jczhang/usr/share/dict/
 export DICTIONARY=en_US
   in my bashrc
 
   If I invoke hunspell -D, it will give
 AVAILABLE DICTIONARIES (path is not mandatory for -d option):
 /home/jczhang/usr/share/dict//en_US
 /home/jczhang/usr/share/dict//en_AU
 /home/jczhang/usr/share/dict//en_CA
 ...
 LOADED DICTIONARY:
 /home/jczhang/usr/share/dict//en_US.aff
 /home/jczhang/usr/share/dict//en_US.dic
 Hunspell 1.3.2
 
   I choose the spellchecker engine in Lyx as hunspell.  
   However, when I do spellcheck in Lyx, it just pops a window Spell checker 
 has no dictionaries, and no other clues.

LyX does not find the dictionaries in your home directory. 
You have to point it there in LyX path's preferences.
Try to enter /home/jczhang/usr/share/dict and see if it helps.

Regards,
Stephan

Re: Spell checker has no dictionaries

2013-01-17 Thread Junchao Zhang
Hi, Stephan,
   I find I just need to put dictionary files under $(HOME)/.lyx/dicts/
  That is, the dictionaries need to be found by LyX, not just hunspell.

  Thanks
--Junchao Zhang
On Thu, Jan 17, 2013 at 5:07 PM, Stephan Witt st.w...@gmx.net wrote:

 Am 17.01.2013 um 20:07 schrieb Junchao Zhang junchao.zh...@gmail.com:

  Dear all,
I installed hunspell, then I installed Lyx.

 Dear Junchao,

 hunspell and LyX are two independent programs. LyX has builtin hunspell
 support or not.

  When I configured Lyx, I could see Lyx found hunspell.

 I understand this as: you can see hunspell as available spell checker in
 preferences, right?

I set
  export DICPATH=/home/jczhang/usr/share/dict/
  export DICTIONARY=en_US
in my bashrc
 
If I invoke hunspell -D, it will give
  AVAILABLE DICTIONARIES (path is not mandatory for -d option):
  /home/jczhang/usr/share/dict//en_US
  /home/jczhang/usr/share/dict//en_AU
  /home/jczhang/usr/share/dict//en_CA
  ...
  LOADED DICTIONARY:
  /home/jczhang/usr/share/dict//en_US.aff
  /home/jczhang/usr/share/dict//en_US.dic
  Hunspell 1.3.2
 
I choose the spellchecker engine in Lyx as hunspell.
However, when I do spellcheck in Lyx, it just pops a window Spell
 checker has no dictionaries, and no other clues.

 LyX does not find the dictionaries in your home directory.
 You have to point it there in LyX path's preferences.
 Try to enter /home/jczhang/usr/share/dict and see if it helps.

 Regards,
 Stephan




-- 
Junchao Zhang


Re: Spell checker has no dictionaries

2013-01-17 Thread Stephan Witt
Am 18.01.2013 um 00:20 schrieb Junchao Zhang junchao.zh...@gmail.com:

 Hi, Stephan,
I find I just need to put dictionary files under $(HOME)/.lyx/dicts/

Hi Junchao,

yes, that's your user directory. LyX is looking for dictionaries in:
1) preference specified directory
2) user directory + dicts
3) lyx binary directory + dicts
4) /usr/share/myspell/dicts

You don't have to set the DICTIONARY environment.
LyX tries to find the appropriate dictionary matching the language of the text 
inside your document.
That's e.g. en_US if your document language is set to English(US) and/or you 
have the language of some text set to it.

Regards,
Stephan

   That is, the dictionaries need to be found by LyX, not just hunspell.
   
   Thanks
 --Junchao Zhang
 On Thu, Jan 17, 2013 at 5:07 PM, Stephan Witt st.w...@gmx.net wrote:
 Am 17.01.2013 um 20:07 schrieb Junchao Zhang junchao.zh...@gmail.com:
 
  Dear all,
I installed hunspell, then I installed Lyx.
 
 Dear Junchao,
 
 hunspell and LyX are two independent programs. LyX has builtin hunspell 
 support or not.
 
  When I configured Lyx, I could see Lyx found hunspell.
 
 I understand this as: you can see hunspell as available spell checker in 
 preferences, right?
 
I set
  export DICPATH=/home/jczhang/usr/share/dict/
  export DICTIONARY=en_US
in my bashrc
 
If I invoke hunspell -D, it will give
  AVAILABLE DICTIONARIES (path is not mandatory for -d option):
  /home/jczhang/usr/share/dict//en_US
  /home/jczhang/usr/share/dict//en_AU
  /home/jczhang/usr/share/dict//en_CA
  ...
  LOADED DICTIONARY:
  /home/jczhang/usr/share/dict//en_US.aff
  /home/jczhang/usr/share/dict//en_US.dic
  Hunspell 1.3.2
 
I choose the spellchecker engine in Lyx as hunspell.
However, when I do spellcheck in Lyx, it just pops a window Spell 
  checker has no dictionaries, and no other clues.
 
 LyX does not find the dictionaries in your home directory.
 You have to point it there in LyX path's preferences.
 Try to enter /home/jczhang/usr/share/dict and see if it helps.
 
 Regards,
 Stephan
 
 
 
 -- 
 Junchao Zhang



Re: Word won't open simplest LyXHTML file

2013-01-17 Thread Jerry

On Jan 17, 2013, at 2:30 AM, Alex Fernandez wrote:

 Hi Jerry,
 
 I am the primary author of eLyXer.
 
 On Thu, Jan 17, 2013 at 4:49 AM, Jerry lancebo...@qwest.net wrote:
 Thanks for that tip. I checked it out. It's just a Python thing so it works 
 fine on OS X, and LyX picked it up as advertised.
 
 Yes, I can confirm that OS X is fully supported.
  
 The output on my simple test case does look nice in a browser, but I get the 
 same error opening with Word as I first described: The XML file bla bla bla 
 cannot be opened... etc. I thought maybe my copy of Word was broken but it 
 reads other HTML files fine--I'm guessing they don't have the XML stuff in 
 them, however.
 
 Word does not like XHTML very much; you need to export to HTML 4, using the 
 --html option.
   http://elyxer.nongnu.org/userguide.html#sub:HTML-Code
 If you are doing the conversion inside LyX, instead of on the command line, 
 you have to add the --html in the conversion interface.
  
 I checked the HTML file that eLyXer made with the W3C page and got: The 
 uploaded document - was successfully checked as XHTML 1.0 Transitional.
 
 Yes, eLyXer outputs pure XHTML.
  
 Also--eLyXer does not appear to use MathML so I don't think there is any hope 
 of getting editable math into Word using this method. (But I haven't read all 
 of the eLyXer docs.)
 
 eLyXer has several options for Math output:
   http://elyxer.nongnu.org/userguide.html#sub:Math
 Sadly, none of them is MathML, since at the time eLyXer was conceived it was 
 not very widely supported, and I have not found the time to add it.
 
 Hope this helps,
 
 Alex Fernández.
 
Hi, Alex,

Thanks for the comments and for the great tool. It does what it claims to to, 
convert LyX to HTML, with lots of math options. The default conversion looks 
great in a browser.

I tried your --html suggestion and indeed Word opens it, and displays it much 
as a browser does. Unfortunately, the HTML limitations are apparent; this is 
probably as good as a HTML-only conversion can get.

In my slow-witted way, I'm starting to understand why Word will not open the 
various XML formats that I'm throwing at it. (I also played with TeXht today 
(and the Mac GUI over it, SimpleTeXht. This method also makes XML in some 
variations, and .odt.) So Word isn't broken—it's just not made to recognize 
this particular kind of XML. (I want to use the word schema but don't really 
know what I'm talking about.) So What is missing, as has been stated in 
previous threads, is a converter from the XML that we're seeing to .docx, it 
seems.

Jerry

Re: Word won't open simplest LyXHTML file

2013-01-17 Thread Liviu Andronic
Hello,
Rob has some work on word2lyx conversion (using .docx). [1] I remember
he was mulling a round-trip conversion, but I guess he never got to
implementing it.
[1] http://www.oak-tree.us/2012/03/07/word2lyx01-2/


Regards,
 Liviu


On Fri, Jan 18, 2013 at 5:17 AM, Jerry lancebo...@qwest.net wrote:

 On Jan 17, 2013, at 2:30 AM, Alex Fernandez wrote:

 Hi Jerry,

 I am the primary author of eLyXer.

 On Thu, Jan 17, 2013 at 4:49 AM, Jerry lancebo...@qwest.net wrote:

 Thanks for that tip. I checked it out. It's just a Python thing so it
 works fine on OS X, and LyX picked it up as advertised.


 Yes, I can confirm that OS X is fully supported.


 The output on my simple test case does look nice in a browser, but I get
 the same error opening with Word as I first described: The XML file bla bla
 bla cannot be opened... etc. I thought maybe my copy of Word was broken but
 it reads other HTML files fine--I'm guessing they don't have the XML stuff
 in them, however.


 Word does not like XHTML very much; you need to export to HTML 4, using the
 --html option.
   http://elyxer.nongnu.org/userguide.html#sub:HTML-Code
 If you are doing the conversion inside LyX, instead of on the command line,
 you have to add the --html in the conversion interface.


 I checked the HTML file that eLyXer made with the W3C page and got: The
 uploaded document - was successfully checked as XHTML 1.0 Transitional.


 Yes, eLyXer outputs pure XHTML.


 Also--eLyXer does not appear to use MathML so I don't think there is any
 hope of getting editable math into Word using this method. (But I haven't
 read all of the eLyXer docs.)


 eLyXer has several options for Math output:
   http://elyxer.nongnu.org/userguide.html#sub:Math
 Sadly, none of them is MathML, since at the time eLyXer was conceived it was
 not very widely supported, and I have not found the time to add it.

 Hope this helps,

 Alex Fernández.

 Hi, Alex,

 Thanks for the comments and for the great tool. It does what it claims to
 to, convert LyX to HTML, with lots of math options. The default conversion
 looks great in a browser.

 I tried your --html suggestion and indeed Word opens it, and displays it
 much as a browser does. Unfortunately, the HTML limitations are apparent;
 this is probably as good as a HTML-only conversion can get.

 In my slow-witted way, I'm starting to understand why Word will not open the
 various XML formats that I'm throwing at it. (I also played with TeXht today
 (and the Mac GUI over it, SimpleTeXht. This method also makes XML in some
 variations, and .odt.) So Word isn't broken—it's just not made to recognize
 this particular kind of XML. (I want to use the word schema but don't
 really know what I'm talking about.) So What is missing, as has been stated
 in previous threads, is a converter from the XML that we're seeing to .docx,
 it seems.

 Jerry



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Word won't open simplest LyXHTML file

2013-01-17 Thread Alex Fernandez
Hi Jerry,

I am the primary author of eLyXer.

On Thu, Jan 17, 2013 at 4:49 AM, Jerry lancebo...@qwest.net wrote:

 Thanks for that tip. I checked it out. It's just a Python thing so it
 works fine on OS X, and LyX picked it up as advertised.


Yes, I can confirm that OS X is fully supported.


 The output on my simple test case does look nice in a browser, but I get
 the same error opening with Word as I first described: The XML file bla
 bla bla cannot be opened... etc. I thought maybe my copy of Word was
 broken but it reads other HTML files fine--I'm guessing they don't have the
 XML stuff in them, however.


Word does not like XHTML very much; you need to export to HTML 4, using the
--html option.
  http://elyxer.nongnu.org/userguide.html#sub:HTML-Code
If you are doing the conversion inside LyX, instead of on the command line,
you have to add the --html in the conversion interface.


 I checked the HTML file that eLyXer made with the W3C page and got: The
 uploaded document - was successfully checked as XHTML 1.0 Transitional.


Yes, eLyXer outputs pure XHTML.


 Also--eLyXer does not appear to use MathML so I don't think there is any
 hope of getting editable math into Word using this method. (But I haven't
 read all of the eLyXer docs.)


eLyXer has several options for Math output:
  http://elyxer.nongnu.org/userguide.html#sub:Math
Sadly, none of them is MathML, since at the time eLyXer was conceived it
was not very widely supported, and I have not found the time to add it.

Hope this helps,

Alex Fernández.


Re: Hindi typing in ubuntu 12.10

2013-01-17 Thread Hridayesh Gupta
Changing font worked and I am able to view proper font in generated pdf
when compiling with XeTeX.
There is small issue with display of font on LyX. In LyX font appears to be
broken. Is there any option to use same font to display in LyX window,
which I used to compile the file?

Thank you so much!

Regards
Hridayesh


On Thu, Jan 17, 2013 at 1:05 PM, Liviu Andronic landronim...@gmail.comwrote:

 On Thu, Jan 17, 2013 at 3:54 AM, Hridayesh Gupta
 hridayeshi...@gmail.com wrote:
   I have installed all the packages as suggested and updated LyX to latest
  version 2.0.5 using ppa. I also need to change to LuaTeX/XeTeX font in
  Document - Settings - Font - checked Use XeTeX/LuaTeX font. After
 that I
  am able to successfully compile the file without any errors, however In
 the
  pdf the spots with hindi language just shows up blank. tried with chinese
  and russian language as well but same thing.
 
 I assume that the default font doesn't contain the necessary chars.
 Try to select something like DejaVu or some other font that you know
 it contains the needed chars.

 Liviu


  I am able to see those languages correctly in LyX, firefox, text editor
 but
  not in pdf generated.
  Do I need to include any font anywhere in settings?
 
 
 
  On Thu, Jan 17, 2013 at 1:26 AM, Scott Kostyshak skost...@lyx.org
 wrote:
 
  On Wed, Jan 16, 2013 at 7:53 AM, Liviu Andronic landronim...@gmail.com
 
  wrote:
   On Wed, Jan 16, 2013 at 12:18 PM, Hridayesh Gupta
   hridayeshi...@gmail.com wrote:
   I have selected system fonts as you told. Still getting error when
   compiling
   using LuaTeX. I got following errors
   1. Package fontenc error: package file eu2enc.def not found
   2. encoding scheme eu2 unknown.
   3. file xunicode.sty not found
  
   You have some missing packages. Go to packages.ubuntu.com and 'Search
   the contents of packages'. If you search for 'eu2enc.def', you will
   get [1]. This will indicate the Debian packages that you are still
   missing, in this case 'texlive-xetex', that you can install via
   Synaptic. Do the same for 'xunicode.sty', etc.
   [1]
  
 http://packages.ubuntu.com/search?searchon=contentskeywords=eu2enc.defmode=exactfilenamesuite=quantalarch=any
  
   Liviu
 
  In addition to Liviu's suggestion, annother useful program to install
  is apt-file:
  $ apt-file find eu2enc.def
  texlive-luatex:
  /usr/share/texmf-texlive/tex/lualatex/luainputenc/eu2enc.def
  $ apt-file find xunicode.sty
  texlive-xetex:
 /usr/share/texmf-texlive/tex/xelatex/xunicode/xunicode.sty
 
  Also, since you're on Ubuntu, consider the LyX PPA if you want a newer
  version of LyX:
  http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3
 
  Scott
 
 



 --
 Do you know how to read?
 http://www.alienetworks.com/srtest.cfm
 http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
 Do you know how to write?
 http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail



Re: Hindi typing in ubuntu 12.10

2013-01-17 Thread Liviu Andronic
On Thu, Jan 17, 2013 at 11:01 AM, Hridayesh Gupta
hridayeshi...@gmail.com wrote:
 Changing font worked and I am able to view proper font in generated pdf when
 compiling with XeTeX.
 There is small issue with display of font on LyX. In LyX font appears to be

 broken. Is there any option to use same font to display in LyX window, which
 I used to compile the file?

Tools  Prefs  LookFeel  Fonts.

Liviu


 Thank you so much!

 Regards
 Hridayesh


 On Thu, Jan 17, 2013 at 1:05 PM, Liviu Andronic landronim...@gmail.com
 wrote:

 On Thu, Jan 17, 2013 at 3:54 AM, Hridayesh Gupta
 hridayeshi...@gmail.com wrote:
   I have installed all the packages as suggested and updated LyX to
  latest
  version 2.0.5 using ppa. I also need to change to LuaTeX/XeTeX font in
  Document - Settings - Font - checked Use XeTeX/LuaTeX font. After
  that I
  am able to successfully compile the file without any errors, however In
  the
  pdf the spots with hindi language just shows up blank. tried with
  chinese
  and russian language as well but same thing.
 
 I assume that the default font doesn't contain the necessary chars.
 Try to select something like DejaVu or some other font that you know
 it contains the needed chars.

 Liviu


  I am able to see those languages correctly in LyX, firefox, text editor
  but
  not in pdf generated.
  Do I need to include any font anywhere in settings?
 
 
 
  On Thu, Jan 17, 2013 at 1:26 AM, Scott Kostyshak skost...@lyx.org
  wrote:
 
  On Wed, Jan 16, 2013 at 7:53 AM, Liviu Andronic
  landronim...@gmail.com
  wrote:
   On Wed, Jan 16, 2013 at 12:18 PM, Hridayesh Gupta
   hridayeshi...@gmail.com wrote:
   I have selected system fonts as you told. Still getting error when
   compiling
   using LuaTeX. I got following errors
   1. Package fontenc error: package file eu2enc.def not found
   2. encoding scheme eu2 unknown.
   3. file xunicode.sty not found
  
   You have some missing packages. Go to packages.ubuntu.com and 'Search
   the contents of packages'. If you search for 'eu2enc.def', you will
   get [1]. This will indicate the Debian packages that you are still
   missing, in this case 'texlive-xetex', that you can install via
   Synaptic. Do the same for 'xunicode.sty', etc.
   [1]
  
   http://packages.ubuntu.com/search?searchon=contentskeywords=eu2enc.defmode=exactfilenamesuite=quantalarch=any
  
   Liviu
 
  In addition to Liviu's suggestion, annother useful program to install
  is apt-file:
  $ apt-file find eu2enc.def
  texlive-luatex:
  /usr/share/texmf-texlive/tex/lualatex/luainputenc/eu2enc.def
  $ apt-file find xunicode.sty
  texlive-xetex:
  /usr/share/texmf-texlive/tex/xelatex/xunicode/xunicode.sty
 
  Also, since you're on Ubuntu, consider the LyX PPA if you want a newer
  version of LyX:
  http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3
 
  Scott
 
 



 --
 Do you know how to read?
 http://www.alienetworks.com/srtest.cfm
 http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
 Do you know how to write?
 http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail





-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Including Documents

2013-01-17 Thread Les Denham
On Thu, 17 Jan 2013 16:12:40 +1100
Doug Laidlaw laidl...@hotkey.net.au wrote:

 (Re-posted: original seems to have got lost in transit.)
 
 I am writing a Family History with the koma-book style. I have a
 master document which is little more than a container for the
 chapters.  Each chapter is a separate Lyx file, a child of the master.
 
 My problem is, that when I print the complete book, each chapter has
 its own 
 empty Contents page, and a concluding identifier page.  How can I
 suppress these, and not have them allowed for in the page numbering?
 It must have been asked many times before.
 
 Doug.
 
 

Doug,

This should not happen. I do the same thing you are doing all the time
with koma book and never have that problem. I can probably see what the
problem is if you post a sample chapter on the list (or send it to me
offline if you prefer). It's possible the problem is with the master
document, but most likely it is with each chapter document.

The chapter files should contain just the contents of the chapter. The
chapter headings should be in the master document.

Les


Text in certain colours

2013-01-17 Thread Rainer M Krug
Hi

I have line graphs generated in R, where each line is in a different colour 
(the colours are
generated in R by using rainbow(8)).

Due to space problems in the graph, I can not put the legend into the grapgh 
itself, but want to
put it into the caption. Therefore I would like to reproduce the colours in 
LaTeX. I know how to
set the text colour via LyX to one of the pre-defined colours, but hjow can I 
set them to these
specific colours?

In addition, I would like to have the colours as filled squares in the text - 
any suggestions?

Thanks,

Rainer

--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug


Re: Text in certain colours

2013-01-17 Thread Alex Vergara Gil

Hi

I have line graphs generated in R, where each line is in a different 
colour (the colours are

generated in R by using rainbow(8)).

Due to space problems in the graph, I can not put the legend into the 
grapgh itself, but want to
put it into the caption. Therefore I would like to reproduce the colours 
in LaTeX. I know how to
set the text colour via LyX to one of the pre-defined colours, but hjow 
can I set them to these

specific colours?

In addition, I would like to have the colours as filled squares in the 
text - any suggestions?





Oh you mean by adding
\textcolor{yourcolor}{$\blacksquare$yourcaption}
in an ERT

Regards

Alex 



Re: Text in certain colours

2013-01-17 Thread Rainer M Krug
On 17/01/13 17:18, Alex Vergara Gil wrote:
 Hi
 
 I have line graphs generated in R, where each line is in a different colour 
 (the colours are 
 generated in R by using rainbow(8)).
 
 Due to space problems in the graph, I can not put the legend into the grapgh 
 itself, but want
 to put it into the caption. Therefore I would like to reproduce the colours 
 in LaTeX. I know
 how to set the text colour via LyX to one of the pre-defined colours, but 
 hjow can I set them
 to these specific colours?
 
 In addition, I would like to have the colours as filled squares in the text 
 - any
 suggestions?
 
 
 
 Oh you mean by adding \textcolor{yourcolor}{$\blacksquare$yourcaption} in an 
 ERT

Perfect - thanks.

Now I just have to figure out how to translate the colour codes in R into LaTeX 
readable. The
eight colours in R are:

#FFFF #FFBF00FF #80FF00FF #00FF40FF #00FF #0040
#8000 #FF00BFFF

Thanks,

Rainer

 
 Regards
 
 Alex
 



Re: lilypond

2013-01-17 Thread Julien Rioux

On 16/01/2013 7:50 AM, bb wrote:

I imported a lilypond file with include-external file-filename.ly. I
checked that file in advance to make sure it will be compiled correctly
with lilypond. If I try a pdf preview in Lyx, I get an error and the
head of the protocol is:


This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
(format=pdflatex 2012.7.20) 16 JAN 2013 13:41

entering extended mode

%-line parsing enabled.

**lilypondTest.tex

(./lilypondTest.tex

LaTeX2e 2009/09/24

Babel v3.8l and hyphenation patterns for english, usenglishmax,
dumylang, noh

yphenation, loaded.


What is wrong? Any help please?


Regards bllochl




Hi,

Can you post an example file demonstrating your problem? Maybe also 
provide the full log from Document  LaTeX Log, and specify which error 
you get?


Cheers,
Julien


Re: Lyx integration of lilypond, Windows 7

2013-01-17 Thread Julien Rioux

On 15/01/2013 8:49 PM, Uwe Stöhr wrote:

Am 03.01.2013 13:13, schrieb Julien Rioux:


I have a weird problem...
I have install last version of lilypond and lyx, and try to compile
the lilypond
exemple in the LyX exemple folder.


One of the 2 current limitations of the LyX for Windows installer is the
missing support for LilyPond.
Implementing this is the current item on my ToDo list.



LyX will detect lilypond if you set the PATH in LyX and reconfigure, 
although automatic detection at install time would of course be nice. 
Let us know which installer this is, and I'll give it a try.



Note also that the last time I tried to get LilyPond to work with LyX I
encountered a bug in LilyPond that only affects paths on Windows. Maybe
your problem is related. I'll try this as soon as I ind the time.

regards Uwe



I think those bugs have been fixed. I have had good reports from windows 
users using lilypond version 2.16.2.


Cheers,
Julien


Re: No pdflatex view in 2.0.5.1 under XP with Texlive

2013-01-17 Thread EK

  
  
Here is what I tried, following Uwe's response:

  I removed all Lyx installations from the XP machine
  I downloaded the Windows bundle installer
  I installed Lyx and JabRef with that installer
  I tested it-- got the very same error (!pdfTeX error:
pdflatex.exe (file
c:/texlive/2012/texmf-var/fonts/map/pdftex/up) 
when I tried to view a pdf output by clicking on the ViewPdf
icon (pdflatex)
  Tried other formats-- luapdf failed, but others (xetex, pdf
via dvi or PS) all worked.

So I am exactly where I was initially. I rarely use the XP
  machine these days, but when I need it, I usually need Lyx to
  function on it, which it did until this latest version.
Any idea what is going on?

Ehud





On 01/15/2013 08:45 PM, Uwe Sthr
  wrote:

Am
  09.01.2013 19:00, schrieb EK:
  
  
  I have installed Lyx 2.05.1 on a Windows
XP machine (I still have one of those),

with TexLive.

Everything works fine, but when I click the VIEW icon (to get a
pdf) I get an

error about pdflatex and/or pdftex.exe.

If I select View PDF (lua or Xetex) or DVI from the menu
everything works just

fine-- just the most useful pdflatex fails (naturally..;-).

I have compared the file converters and paths to a previous (Lyx
2.04)

installation that works perfectly, and I do not see a
difference.

Can anyone shed light on this mystery?

  
  
  There was a bug in the installer that the LaTeX distribution was
  not correctly or even not recognized on Windows 7 and 8 in the
  64bit versions. If that is your OS, please reinstall LyX using the
  fixed installer:
  
http://sourceforge.net/projects/lyxwininstaller/files/LyXWinInstaller/2.0.5.1/LyX-2051-Installer-2.exe/download
  
  (will be soon on ftp.lyx.org too)
  
  
  Can you please report back if the installer found the correct path
  to TeXLive? if not, what version of TeXLive are you using? Note
  that the installer can only support TeXLive 2012 and no older
  versions because of technical limitations in the old versions.
  
  If you have a older TeXLive, please try to update it before you
  reinstall LyX. If this is not possible, please reinstall LyX
  anyway and then go to the LyX preferences and adapt the paths so
  that the path list contains the folder of TeXLive where the
  latex.exe is located.
  
  
  If the problem persists anyway for you, can you please tell me
  your program versions (Windows, TeXLive) and provide a _minimal_
  LyX file you are using.
  
  
  thanks and regards
  
  Uwe
  


-- 
  
  Ehud Kaplan, Ph.D.
  Jules and Doris Stein Research to Prevent Blindness
  Professor
  Director, The laboratory of Visual  Computational
  Neuroscience
  Director, Center for Excellence in Computational 
  Systems Neuroscience
  Friedman Brain Institute
  Departments of Neuroscience, Ophthalmology, Structural 
  Chemical Biology,
  The Ichan school of medicine at Mount Sinai
  One Gustave Levy Place, 
  NY, NY, 10029 

  



Re: No pdflatex view in 2.0.5.1 under XP with Texlive

2013-01-17 Thread ehud.kap...@gmail.com
I finally got around the problem (did not solve it!) by assigning the 
default pdf output format to pdf(xetex) in the 
preferences/fileHandling/fileformats dialog.
So I now have a functioning Lyx system on XP, although it functions 
differently from the way it used to.

Ehud

On 1/17/2013 3:14 PM, EK wrote:

Here is what I tried, following Uwe's response:

 1. I removed all Lyx installations from the XP machine
 2. I downloaded the Windows bundle installer
 3. I installed Lyx and JabRef with that installer
 4. I tested it-- got the very same error (!pdfTeX error: pdflatex.exe
(file c:/texlive/2012/texmf-var/fonts/map/pdftex/up)
when I tried to view a pdf output by clicking on the ViewPdf icon
(pdflatex)
 5. Tried other formats-- luapdf failed, but others (xetex, pdf via
dvi or PS) all worked.

So I am exactly where I was initially. I rarely use the XP machine 
these days, but when I need it, I usually need Lyx to function on it, 
which it did until this latest version.


Any idea what is going on?

Ehud



On 01/15/2013 08:45 PM, Uwe Stöhr wrote:

Am 09.01.2013 19:00, schrieb EK:

I have installed Lyx 2.05.1 on a Windows XP machine (I still have 
one of those),

with TexLive.
Everything works fine, but when I click the VIEW icon (to get a pdf) 
I get an

error about pdflatex and/or pdftex.exe.
If I select View PDF (lua or Xetex) or DVI from the menu everything 
works just

fine-- just the most useful pdflatex fails (naturally..;-).
I have compared the file converters and paths to a previous (Lyx 2.04)
installation that works perfectly, and I do not see a difference.
Can anyone shed light on this mystery?


There was a bug in the installer that the LaTeX distribution was not 
correctly or even not recognized on Windows 7 and 8 in the 64bit 
versions. If that is your OS, please reinstall LyX using the fixed 
installer:
http://sourceforge.net/projects/lyxwininstaller/files/LyXWinInstaller/2.0.5.1/LyX-2051-Installer-2.exe/download 


(will be soon on ftp.lyx.org too)

Can you please report back if the installer found the correct path to 
TeXLive? if not, what version of TeXLive are you using? Note that the 
installer can only support TeXLive 2012 and no older versions because 
of technical limitations in the old versions.
If you have a older TeXLive, please try to update it before you 
reinstall LyX. If this is not possible, please reinstall LyX anyway 
and then go to the LyX preferences and adapt the paths so that the 
path list contains the folder of TeXLive where the latex.exe is located.


If the problem persists anyway for you, can you please tell me your 
program versions (Windows, TeXLive) and provide a _minimal_ LyX file 
you are using.


thanks and regards
Uwe


--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual  Computational Neuroscience
*Director*, Center for Excellence in Computational  Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural  Chemical Biology,
The Ichan school of medicine at Mount Sinai
One Gustave Levy Place,
NY, NY, 10029


--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual  Computational Neuroscience
*Director*, Center for Excellence in Computational  Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural  Chemical Biology,
The Ichan School of Medicine at Mount Sinai
One Gustave Levy Place,
NY, NY, 10029


Re: mathrm

2013-01-17 Thread Guenter Milde
On 2013-01-16, Wolfgang Engelmann wrote:
 Am Mittwoch, 16. Januar 2013, 00:11:05 schrieb Paul A. Rubin:
 It's some sort of font issue. I replicated the problem with your
 document here, then changed the Roman font from Palatino to Times Roman
 and got the expected output. I suspect the mathpazo package may not
 contain the needed glyph.

Mathpazo includes (part of) fixmath.sty by the same author. This means that
selecting a math alphabet affects both Greek and Latin letters.

In contrast, with CM or Latin Modern, the default LaTeX behaviour is kept:
Greek letters behave like non-letter symbols and do not change inside a
\math... alphabet:

In the following minimal example:

\documentclass{article}
% \usepackage{lmodern}
% \usepackage{mathpazo}

\usepackage[garamond]{mathdesign}
\usepackage{isomath}

\begin{document}

$VIC \Gamma vic \gamma \varepsilon$

$\mathrm{VIC \Gamma vic \gamma \varepsilon}$

$\mathbold{VIC \Gamma \varepsilon}$

\end{document}

the Greek letters inside \mathrm{...} are still italic with 
\usepackage{lmodern} and garbage characters with mathpazo.

The only package that supports upright Greek characters via
\mathrm{\alpha ... \Omega} is mathdesign in combination with isomath.
For details see the isomath documentation.

Günter





Re: Spell checker has no dictionaries

2013-01-17 Thread Stephan Witt
Am 17.01.2013 um 20:07 schrieb Junchao Zhang junchao.zh...@gmail.com:

 Dear all,
   I installed hunspell, then I installed Lyx.

Dear Junchao,

hunspell and LyX are two independent programs. LyX has builtin hunspell support 
or not.

 When I configured Lyx, I could see Lyx found hunspell.

I understand this as: you can see hunspell as available spell checker in 
preferences, right?

   I set 
 export DICPATH=/home/jczhang/usr/share/dict/
 export DICTIONARY=en_US
   in my bashrc
 
   If I invoke hunspell -D, it will give
 AVAILABLE DICTIONARIES (path is not mandatory for -d option):
 /home/jczhang/usr/share/dict//en_US
 /home/jczhang/usr/share/dict//en_AU
 /home/jczhang/usr/share/dict//en_CA
 ...
 LOADED DICTIONARY:
 /home/jczhang/usr/share/dict//en_US.aff
 /home/jczhang/usr/share/dict//en_US.dic
 Hunspell 1.3.2
 
   I choose the spellchecker engine in Lyx as hunspell.  
   However, when I do spellcheck in Lyx, it just pops a window Spell checker 
 has no dictionaries, and no other clues.

LyX does not find the dictionaries in your home directory. 
You have to point it there in LyX path's preferences.
Try to enter /home/jczhang/usr/share/dict and see if it helps.

Regards,
Stephan

Re: Spell checker has no dictionaries

2013-01-17 Thread Junchao Zhang
Hi, Stephan,
   I find I just need to put dictionary files under $(HOME)/.lyx/dicts/
  That is, the dictionaries need to be found by LyX, not just hunspell.

  Thanks
--Junchao Zhang
On Thu, Jan 17, 2013 at 5:07 PM, Stephan Witt st.w...@gmx.net wrote:

 Am 17.01.2013 um 20:07 schrieb Junchao Zhang junchao.zh...@gmail.com:

  Dear all,
I installed hunspell, then I installed Lyx.

 Dear Junchao,

 hunspell and LyX are two independent programs. LyX has builtin hunspell
 support or not.

  When I configured Lyx, I could see Lyx found hunspell.

 I understand this as: you can see hunspell as available spell checker in
 preferences, right?

I set
  export DICPATH=/home/jczhang/usr/share/dict/
  export DICTIONARY=en_US
in my bashrc
 
If I invoke hunspell -D, it will give
  AVAILABLE DICTIONARIES (path is not mandatory for -d option):
  /home/jczhang/usr/share/dict//en_US
  /home/jczhang/usr/share/dict//en_AU
  /home/jczhang/usr/share/dict//en_CA
  ...
  LOADED DICTIONARY:
  /home/jczhang/usr/share/dict//en_US.aff
  /home/jczhang/usr/share/dict//en_US.dic
  Hunspell 1.3.2
 
I choose the spellchecker engine in Lyx as hunspell.
However, when I do spellcheck in Lyx, it just pops a window Spell
 checker has no dictionaries, and no other clues.

 LyX does not find the dictionaries in your home directory.
 You have to point it there in LyX path's preferences.
 Try to enter /home/jczhang/usr/share/dict and see if it helps.

 Regards,
 Stephan




-- 
Junchao Zhang


Re: Spell checker has no dictionaries

2013-01-17 Thread Stephan Witt
Am 18.01.2013 um 00:20 schrieb Junchao Zhang junchao.zh...@gmail.com:

 Hi, Stephan,
I find I just need to put dictionary files under $(HOME)/.lyx/dicts/

Hi Junchao,

yes, that's your user directory. LyX is looking for dictionaries in:
1) preference specified directory
2) user directory + dicts
3) lyx binary directory + dicts
4) /usr/share/myspell/dicts

You don't have to set the DICTIONARY environment.
LyX tries to find the appropriate dictionary matching the language of the text 
inside your document.
That's e.g. en_US if your document language is set to English(US) and/or you 
have the language of some text set to it.

Regards,
Stephan

   That is, the dictionaries need to be found by LyX, not just hunspell.
   
   Thanks
 --Junchao Zhang
 On Thu, Jan 17, 2013 at 5:07 PM, Stephan Witt st.w...@gmx.net wrote:
 Am 17.01.2013 um 20:07 schrieb Junchao Zhang junchao.zh...@gmail.com:
 
  Dear all,
I installed hunspell, then I installed Lyx.
 
 Dear Junchao,
 
 hunspell and LyX are two independent programs. LyX has builtin hunspell 
 support or not.
 
  When I configured Lyx, I could see Lyx found hunspell.
 
 I understand this as: you can see hunspell as available spell checker in 
 preferences, right?
 
I set
  export DICPATH=/home/jczhang/usr/share/dict/
  export DICTIONARY=en_US
in my bashrc
 
If I invoke hunspell -D, it will give
  AVAILABLE DICTIONARIES (path is not mandatory for -d option):
  /home/jczhang/usr/share/dict//en_US
  /home/jczhang/usr/share/dict//en_AU
  /home/jczhang/usr/share/dict//en_CA
  ...
  LOADED DICTIONARY:
  /home/jczhang/usr/share/dict//en_US.aff
  /home/jczhang/usr/share/dict//en_US.dic
  Hunspell 1.3.2
 
I choose the spellchecker engine in Lyx as hunspell.
However, when I do spellcheck in Lyx, it just pops a window Spell 
  checker has no dictionaries, and no other clues.
 
 LyX does not find the dictionaries in your home directory.
 You have to point it there in LyX path's preferences.
 Try to enter /home/jczhang/usr/share/dict and see if it helps.
 
 Regards,
 Stephan
 
 
 
 -- 
 Junchao Zhang



Re: Word won't open simplest LyXHTML file

2013-01-17 Thread Jerry

On Jan 17, 2013, at 2:30 AM, Alex Fernandez wrote:

 Hi Jerry,
 
 I am the primary author of eLyXer.
 
 On Thu, Jan 17, 2013 at 4:49 AM, Jerry lancebo...@qwest.net wrote:
 Thanks for that tip. I checked it out. It's just a Python thing so it works 
 fine on OS X, and LyX picked it up as advertised.
 
 Yes, I can confirm that OS X is fully supported.
  
 The output on my simple test case does look nice in a browser, but I get the 
 same error opening with Word as I first described: The XML file bla bla bla 
 cannot be opened... etc. I thought maybe my copy of Word was broken but it 
 reads other HTML files fine--I'm guessing they don't have the XML stuff in 
 them, however.
 
 Word does not like XHTML very much; you need to export to HTML 4, using the 
 --html option.
   http://elyxer.nongnu.org/userguide.html#sub:HTML-Code
 If you are doing the conversion inside LyX, instead of on the command line, 
 you have to add the --html in the conversion interface.
  
 I checked the HTML file that eLyXer made with the W3C page and got: The 
 uploaded document - was successfully checked as XHTML 1.0 Transitional.
 
 Yes, eLyXer outputs pure XHTML.
  
 Also--eLyXer does not appear to use MathML so I don't think there is any hope 
 of getting editable math into Word using this method. (But I haven't read all 
 of the eLyXer docs.)
 
 eLyXer has several options for Math output:
   http://elyxer.nongnu.org/userguide.html#sub:Math
 Sadly, none of them is MathML, since at the time eLyXer was conceived it was 
 not very widely supported, and I have not found the time to add it.
 
 Hope this helps,
 
 Alex Fernández.
 
Hi, Alex,

Thanks for the comments and for the great tool. It does what it claims to to, 
convert LyX to HTML, with lots of math options. The default conversion looks 
great in a browser.

I tried your --html suggestion and indeed Word opens it, and displays it much 
as a browser does. Unfortunately, the HTML limitations are apparent; this is 
probably as good as a HTML-only conversion can get.

In my slow-witted way, I'm starting to understand why Word will not open the 
various XML formats that I'm throwing at it. (I also played with TeXht today 
(and the Mac GUI over it, SimpleTeXht. This method also makes XML in some 
variations, and .odt.) So Word isn't broken—it's just not made to recognize 
this particular kind of XML. (I want to use the word schema but don't really 
know what I'm talking about.) So What is missing, as has been stated in 
previous threads, is a converter from the XML that we're seeing to .docx, it 
seems.

Jerry

Re: Word won't open simplest LyXHTML file

2013-01-17 Thread Liviu Andronic
Hello,
Rob has some work on word2lyx conversion (using .docx). [1] I remember
he was mulling a round-trip conversion, but I guess he never got to
implementing it.
[1] http://www.oak-tree.us/2012/03/07/word2lyx01-2/


Regards,
 Liviu


On Fri, Jan 18, 2013 at 5:17 AM, Jerry lancebo...@qwest.net wrote:

 On Jan 17, 2013, at 2:30 AM, Alex Fernandez wrote:

 Hi Jerry,

 I am the primary author of eLyXer.

 On Thu, Jan 17, 2013 at 4:49 AM, Jerry lancebo...@qwest.net wrote:

 Thanks for that tip. I checked it out. It's just a Python thing so it
 works fine on OS X, and LyX picked it up as advertised.


 Yes, I can confirm that OS X is fully supported.


 The output on my simple test case does look nice in a browser, but I get
 the same error opening with Word as I first described: The XML file bla bla
 bla cannot be opened... etc. I thought maybe my copy of Word was broken but
 it reads other HTML files fine--I'm guessing they don't have the XML stuff
 in them, however.


 Word does not like XHTML very much; you need to export to HTML 4, using the
 --html option.
   http://elyxer.nongnu.org/userguide.html#sub:HTML-Code
 If you are doing the conversion inside LyX, instead of on the command line,
 you have to add the --html in the conversion interface.


 I checked the HTML file that eLyXer made with the W3C page and got: The
 uploaded document - was successfully checked as XHTML 1.0 Transitional.


 Yes, eLyXer outputs pure XHTML.


 Also--eLyXer does not appear to use MathML so I don't think there is any
 hope of getting editable math into Word using this method. (But I haven't
 read all of the eLyXer docs.)


 eLyXer has several options for Math output:
   http://elyxer.nongnu.org/userguide.html#sub:Math
 Sadly, none of them is MathML, since at the time eLyXer was conceived it was
 not very widely supported, and I have not found the time to add it.

 Hope this helps,

 Alex Fernández.

 Hi, Alex,

 Thanks for the comments and for the great tool. It does what it claims to
 to, convert LyX to HTML, with lots of math options. The default conversion
 looks great in a browser.

 I tried your --html suggestion and indeed Word opens it, and displays it
 much as a browser does. Unfortunately, the HTML limitations are apparent;
 this is probably as good as a HTML-only conversion can get.

 In my slow-witted way, I'm starting to understand why Word will not open the
 various XML formats that I'm throwing at it. (I also played with TeXht today
 (and the Mac GUI over it, SimpleTeXht. This method also makes XML in some
 variations, and .odt.) So Word isn't broken—it's just not made to recognize
 this particular kind of XML. (I want to use the word schema but don't
 really know what I'm talking about.) So What is missing, as has been stated
 in previous threads, is a converter from the XML that we're seeing to .docx,
 it seems.

 Jerry



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Word won't open simplest LyXHTML file

2013-01-17 Thread Alex Fernandez
Hi Jerry,

I am the primary author of eLyXer.

On Thu, Jan 17, 2013 at 4:49 AM, Jerry  wrote:

> Thanks for that tip. I checked it out. It's just a Python thing so it
> works fine on OS X, and LyX picked it up as advertised.
>

Yes, I can confirm that OS X is fully supported.


> The output on my simple test case does look nice in a browser, but I get
> the same error opening with Word as I first described: "The XML file bla
> bla bla cannot be opened..." etc. I thought maybe my copy of Word was
> broken but it reads other HTML files fine--I'm guessing they don't have the
> XML stuff in them, however.
>

Word does not like XHTML very much; you need to export to HTML 4, using the
--html option.
  http://elyxer.nongnu.org/userguide.html#sub:HTML-Code
If you are doing the conversion inside LyX, instead of on the command line,
you have to add the --html in the conversion interface.


> I checked the HTML file that eLyXer made with the W3C page and got: "The
> uploaded document "-" was successfully checked as XHTML 1.0 Transitional."
>

Yes, eLyXer outputs pure XHTML.


> Also--eLyXer does not appear to use MathML so I don't think there is any
> hope of getting editable math into Word using this method. (But I haven't
> read all of the eLyXer docs.)
>

eLyXer has several options for Math output:
  http://elyxer.nongnu.org/userguide.html#sub:Math
Sadly, none of them is MathML, since at the time eLyXer was conceived it
was not very widely supported, and I have not found the time to add it.

Hope this helps,

Alex Fernández.


Re: Hindi typing in ubuntu 12.10

2013-01-17 Thread Hridayesh Gupta
Changing font worked and I am able to view proper font in generated pdf
when compiling with XeTeX.
There is small issue with display of font on LyX. In LyX font appears to be
broken. Is there any option to use same font to display in LyX window,
which I used to compile the file?

Thank you so much!

Regards
Hridayesh


On Thu, Jan 17, 2013 at 1:05 PM, Liviu Andronic wrote:

> On Thu, Jan 17, 2013 at 3:54 AM, Hridayesh Gupta
>  wrote:
> >  I have installed all the packages as suggested and updated LyX to latest
> > version 2.0.5 using ppa. I also need to change to LuaTeX/XeTeX font in
> > Document -> Settings -> Font -> checked Use XeTeX/LuaTeX font. After
> that I
> > am able to successfully compile the file without any errors, however In
> the
> > pdf the spots with hindi language just shows up blank. tried with chinese
> > and russian language as well but same thing.
> >
> I assume that the default font doesn't contain the necessary chars.
> Try to select something like DejaVu or some other font that you know
> it contains the needed chars.
>
> Liviu
>
>
> > I am able to see those languages correctly in LyX, firefox, text editor
> but
> > not in pdf generated.
> > Do I need to include any font anywhere in settings?
> >
> >
> >
> > On Thu, Jan 17, 2013 at 1:26 AM, Scott Kostyshak 
> wrote:
> >>
> >> On Wed, Jan 16, 2013 at 7:53 AM, Liviu Andronic  >
> >> wrote:
> >> > On Wed, Jan 16, 2013 at 12:18 PM, Hridayesh Gupta
> >> >  wrote:
> >> >> I have selected system fonts as you told. Still getting error when
> >> >> compiling
> >> >> using LuaTeX. I got following errors
> >> >> 1. Package fontenc error: package file eu2enc.def not found
> >> >> 2. encoding scheme eu2 unknown.
> >> >> 3. file xunicode.sty not found
> >> >>
> >> > You have some missing packages. Go to packages.ubuntu.com and 'Search
> >> > the contents of packages'. If you search for 'eu2enc.def', you will
> >> > get [1]. This will indicate the Debian packages that you are still
> >> > missing, in this case 'texlive-xetex', that you can install via
> >> > Synaptic. Do the same for 'xunicode.sty', etc.
> >> > [1]
> >> >
> http://packages.ubuntu.com/search?searchon=contents=eu2enc.def=exactfilename=quantal=any
> >> >
> >> > Liviu
> >>
> >> In addition to Liviu's suggestion, annother useful program to install
> >> is apt-file:
> >> $ apt-file find eu2enc.def
> >> texlive-luatex:
> >> /usr/share/texmf-texlive/tex/lualatex/luainputenc/eu2enc.def
> >> $ apt-file find xunicode.sty
> >> texlive-xetex:
> /usr/share/texmf-texlive/tex/xelatex/xunicode/xunicode.sty
> >>
> >> Also, since you're on Ubuntu, consider the LyX PPA if you want a newer
> >> version of LyX:
> >> http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3
> >>
> >> Scott
> >
> >
>
>
>
> --
> Do you know how to read?
> http://www.alienetworks.com/srtest.cfm
> http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
> Do you know how to write?
> http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
>


Re: Hindi typing in ubuntu 12.10

2013-01-17 Thread Liviu Andronic
On Thu, Jan 17, 2013 at 11:01 AM, Hridayesh Gupta
 wrote:
> Changing font worked and I am able to view proper font in generated pdf when
> compiling with XeTeX.
> There is small issue with display of font on LyX. In LyX font appears to be

> broken. Is there any option to use same font to display in LyX window, which
> I used to compile the file?
>
Tools > Prefs > Look > Fonts.

Liviu


> Thank you so much!
>
> Regards
> Hridayesh
>
>
> On Thu, Jan 17, 2013 at 1:05 PM, Liviu Andronic 
> wrote:
>>
>> On Thu, Jan 17, 2013 at 3:54 AM, Hridayesh Gupta
>>  wrote:
>> >  I have installed all the packages as suggested and updated LyX to
>> > latest
>> > version 2.0.5 using ppa. I also need to change to LuaTeX/XeTeX font in
>> > Document -> Settings -> Font -> checked Use XeTeX/LuaTeX font. After
>> > that I
>> > am able to successfully compile the file without any errors, however In
>> > the
>> > pdf the spots with hindi language just shows up blank. tried with
>> > chinese
>> > and russian language as well but same thing.
>> >
>> I assume that the default font doesn't contain the necessary chars.
>> Try to select something like DejaVu or some other font that you know
>> it contains the needed chars.
>>
>> Liviu
>>
>>
>> > I am able to see those languages correctly in LyX, firefox, text editor
>> > but
>> > not in pdf generated.
>> > Do I need to include any font anywhere in settings?
>> >
>> >
>> >
>> > On Thu, Jan 17, 2013 at 1:26 AM, Scott Kostyshak 
>> > wrote:
>> >>
>> >> On Wed, Jan 16, 2013 at 7:53 AM, Liviu Andronic
>> >> 
>> >> wrote:
>> >> > On Wed, Jan 16, 2013 at 12:18 PM, Hridayesh Gupta
>> >> >  wrote:
>> >> >> I have selected system fonts as you told. Still getting error when
>> >> >> compiling
>> >> >> using LuaTeX. I got following errors
>> >> >> 1. Package fontenc error: package file eu2enc.def not found
>> >> >> 2. encoding scheme eu2 unknown.
>> >> >> 3. file xunicode.sty not found
>> >> >>
>> >> > You have some missing packages. Go to packages.ubuntu.com and 'Search
>> >> > the contents of packages'. If you search for 'eu2enc.def', you will
>> >> > get [1]. This will indicate the Debian packages that you are still
>> >> > missing, in this case 'texlive-xetex', that you can install via
>> >> > Synaptic. Do the same for 'xunicode.sty', etc.
>> >> > [1]
>> >> >
>> >> > http://packages.ubuntu.com/search?searchon=contents=eu2enc.def=exactfilename=quantal=any
>> >> >
>> >> > Liviu
>> >>
>> >> In addition to Liviu's suggestion, annother useful program to install
>> >> is apt-file:
>> >> $ apt-file find eu2enc.def
>> >> texlive-luatex:
>> >> /usr/share/texmf-texlive/tex/lualatex/luainputenc/eu2enc.def
>> >> $ apt-file find xunicode.sty
>> >> texlive-xetex:
>> >> /usr/share/texmf-texlive/tex/xelatex/xunicode/xunicode.sty
>> >>
>> >> Also, since you're on Ubuntu, consider the LyX PPA if you want a newer
>> >> version of LyX:
>> >> http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3
>> >>
>> >> Scott
>> >
>> >
>>
>>
>>
>> --
>> Do you know how to read?
>> http://www.alienetworks.com/srtest.cfm
>> http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
>> Do you know how to write?
>> http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
>
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Including Documents

2013-01-17 Thread Les Denham
On Thu, 17 Jan 2013 16:12:40 +1100
Doug Laidlaw  wrote:

> (Re-posted: original seems to have got lost in transit.)
> 
> I am writing a Family History with the koma-book style. I have a
> master document which is little more than a container for the
> chapters.  Each chapter is a separate Lyx file, a child of the master.
> 
> My problem is, that when I print the complete book, each chapter has
> its own 
> empty Contents page, and a concluding identifier page.  How can I
> suppress these, and not have them allowed for in the page numbering?
> It must have been asked many times before.
> 
> Doug.
> 
> 

Doug,

This should not happen. I do the same thing you are doing all the time
with koma book and never have that problem. I can probably see what the
problem is if you post a sample chapter on the list (or send it to me
offline if you prefer). It's possible the problem is with the master
document, but most likely it is with each chapter document.

The chapter files should contain just the contents of the chapter. The
chapter headings should be in the master document.

Les


Text in certain colours

2013-01-17 Thread Rainer M Krug
Hi

I have line graphs generated in R, where each line is in a different colour 
(the colours are
generated in R by using rainbow(8)).

Due to space problems in the graph, I can not put the legend into the grapgh 
itself, but want to
put it into the caption. Therefore I would like to reproduce the colours in 
LaTeX. I know how to
set the text colour via LyX to one of the pre-defined colours, but hjow can I 
set them to these
specific colours?

In addition, I would like to have the colours as filled squares in the text - 
any suggestions?

Thanks,

Rainer

--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug


Re: Text in certain colours

2013-01-17 Thread Alex Vergara Gil

Hi

I have line graphs generated in R, where each line is in a different 
colour (the colours are

generated in R by using rainbow(8)).

Due to space problems in the graph, I can not put the legend into the 
grapgh itself, but want to
put it into the caption. Therefore I would like to reproduce the colours 
in LaTeX. I know how to
set the text colour via LyX to one of the pre-defined colours, but hjow 
can I set them to these

specific colours?

In addition, I would like to have the colours as filled squares in the 
text - any suggestions?





Oh you mean by adding
\textcolor{yourcolor}{$\blacksquare$yourcaption}
in an ERT

Regards

Alex 



Re: Text in certain colours

2013-01-17 Thread Rainer M Krug
On 17/01/13 17:18, Alex Vergara Gil wrote:
>> Hi
>> 
>> I have line graphs generated in R, where each line is in a different colour 
>> (the colours are 
>> generated in R by using rainbow(8)).
>> 
>> Due to space problems in the graph, I can not put the legend into the grapgh 
>> itself, but want
>> to put it into the caption. Therefore I would like to reproduce the colours 
>> in LaTeX. I know
>> how to set the text colour via LyX to one of the pre-defined colours, but 
>> hjow can I set them
>> to these specific colours?
>> 
>> In addition, I would like to have the colours as filled squares in the text 
>> - any
>> suggestions?
>> 
> 
> 
> Oh you mean by adding \textcolor{yourcolor}{$\blacksquare$yourcaption} in an 
> ERT

Perfect - thanks.

Now I just have to figure out how to translate the colour codes in R into LaTeX 
readable. The
eight colours in R are:

"#FFFF" "#FFBF00FF" "#80FF00FF" "#00FF40FF" "#00FF" "#0040"
"#8000" "#FF00BFFF"

Thanks,

Rainer

> 
> Regards
> 
> Alex
> 



Re: lilypond

2013-01-17 Thread Julien Rioux

On 16/01/2013 7:50 AM, bb wrote:

I imported a lilypond file with include-external file-filename.ly. I
checked that file in advance to make sure it will be compiled correctly
with lilypond. If I try a pdf preview in Lyx, I get an error and the
head of the protocol is:


This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
(format=pdflatex 2012.7.20) 16 JAN 2013 13:41

entering extended mode

%&-line parsing enabled.

**lilypondTest.tex

(./lilypondTest.tex

LaTeX2e <2009/09/24>

Babel  and hyphenation patterns for english, usenglishmax,
dumylang, noh

yphenation, loaded.


What is wrong? Any help please?


Regards bllochl




Hi,

Can you post an example file demonstrating your problem? Maybe also 
provide the full log from Document > LaTeX Log, and specify which error 
you get?


Cheers,
Julien


Re: Lyx integration of lilypond, Windows 7

2013-01-17 Thread Julien Rioux

On 15/01/2013 8:49 PM, Uwe Stöhr wrote:

Am 03.01.2013 13:13, schrieb Julien Rioux:


I have a weird problem...
I have install last version of lilypond and lyx, and try to compile
the lilypond
exemple in the LyX exemple folder.


One of the 2 current limitations of the LyX for Windows installer is the
missing support for LilyPond.
Implementing this is the current item on my ToDo list.



LyX will detect lilypond if you set the PATH in LyX and reconfigure, 
although automatic detection at install time would of course be nice. 
Let us know which installer this is, and I'll give it a try.



Note also that the last time I tried to get LilyPond to work with LyX I
encountered a bug in LilyPond that only affects paths on Windows. Maybe
your problem is related. I'll try this as soon as I ind the time.

regards Uwe



I think those bugs have been fixed. I have had good reports from windows 
users using lilypond version 2.16.2.


Cheers,
Julien


Re: No pdflatex view in 2.0.5.1 under XP with Texlive

2013-01-17 Thread EK

  
  
Here is what I tried, following Uwe's response:

  I removed all Lyx installations from the XP machine
  I downloaded the Windows bundle installer
  I installed Lyx and JabRef with that installer
  I tested it-- got the very same error (!pdfTeX error:
pdflatex.exe (file
c:/texlive/2012/texmf-var/fonts/map/pdftex/up) 
when I tried to view a pdf output by clicking on the ViewPdf
icon (pdflatex)
  Tried other formats-- luapdf failed, but others (xetex, pdf
via dvi or PS) all worked.

So I am exactly where I was initially. I rarely use the XP
  machine these days, but when I need it, I usually need Lyx to
  function on it, which it did until this latest version.
Any idea what is going on?

Ehud





On 01/15/2013 08:45 PM, Uwe Stöhr
  wrote:

Am
  09.01.2013 19:00, schrieb EK:
  
  
  I have installed Lyx 2.05.1 on a Windows
XP machine (I still have one of those),

with TexLive.

Everything works fine, but when I click the VIEW icon (to get a
pdf) I get an

error about pdflatex and/or pdftex.exe.

If I select View PDF (lua or Xetex) or DVI from the menu
everything works just

fine-- just the most useful pdflatex fails (naturally..;-).

I have compared the file converters and paths to a previous (Lyx
2.04)

installation that works perfectly, and I do not see a
difference.

Can anyone shed light on this mystery?

  
  
  There was a bug in the installer that the LaTeX distribution was
  not correctly or even not recognized on Windows 7 and 8 in the
  64bit versions. If that is your OS, please reinstall LyX using the
  fixed installer:
  
http://sourceforge.net/projects/lyxwininstaller/files/LyXWinInstaller/2.0.5.1/LyX-2051-Installer-2.exe/download
  
  (will be soon on ftp.lyx.org too)
  
  
  Can you please report back if the installer found the correct path
  to TeXLive? if not, what version of TeXLive are you using? Note
  that the installer can only support TeXLive 2012 and no older
  versions because of technical limitations in the old versions.
  
  If you have a older TeXLive, please try to update it before you
  reinstall LyX. If this is not possible, please reinstall LyX
  anyway and then go to the LyX preferences and adapt the paths so
  that the path list contains the folder of TeXLive where the
  latex.exe is located.
  
  
  If the problem persists anyway for you, can you please tell me
  your program versions (Windows, TeXLive) and provide a _minimal_
  LyX file you are using.
  
  
  thanks and regards
  
  Uwe
  


-- 
  
  Ehud Kaplan, Ph.D.
  Jules and Doris Stein Research to Prevent Blindness
  Professor
  Director, The laboratory of Visual & Computational
  Neuroscience
  Director, Center for Excellence in Computational &
  Systems Neuroscience
  Friedman Brain Institute
  Departments of Neuroscience, Ophthalmology, Structural &
  Chemical Biology,
  The Ichan school of medicine at Mount Sinai
  One Gustave Levy Place, 
  NY, NY, 10029 

  



Re: No pdflatex view in 2.0.5.1 under XP with Texlive

2013-01-17 Thread ehud.kap...@gmail.com
I finally got around the problem (did not solve it!) by assigning the 
default pdf output format to pdf(xetex) in the 
preferences/fileHandling/fileformats dialog.
So I now have a functioning Lyx system on XP, although it functions 
differently from the way it used to.

Ehud

On 1/17/2013 3:14 PM, EK wrote:

Here is what I tried, following Uwe's response:

 1. I removed all Lyx installations from the XP machine
 2. I downloaded the Windows bundle installer
 3. I installed Lyx and JabRef with that installer
 4. I tested it-- got the very same error (!pdfTeX error: pdflatex.exe
(file c:/texlive/2012/texmf-var/fonts/map/pdftex/up)
when I tried to view a pdf output by clicking on the ViewPdf icon
(pdflatex)
 5. Tried other formats-- luapdf failed, but others (xetex, pdf via
dvi or PS) all worked.

So I am exactly where I was initially. I rarely use the XP machine 
these days, but when I need it, I usually need Lyx to function on it, 
which it did until this latest version.


Any idea what is going on?

Ehud



On 01/15/2013 08:45 PM, Uwe Stöhr wrote:

Am 09.01.2013 19:00, schrieb EK:

I have installed Lyx 2.05.1 on a Windows XP machine (I still have 
one of those),

with TexLive.
Everything works fine, but when I click the VIEW icon (to get a pdf) 
I get an

error about pdflatex and/or pdftex.exe.
If I select View PDF (lua or Xetex) or DVI from the menu everything 
works just

fine-- just the most useful pdflatex fails (naturally..;-).
I have compared the file converters and paths to a previous (Lyx 2.04)
installation that works perfectly, and I do not see a difference.
Can anyone shed light on this mystery?


There was a bug in the installer that the LaTeX distribution was not 
correctly or even not recognized on Windows 7 and 8 in the 64bit 
versions. If that is your OS, please reinstall LyX using the fixed 
installer:
http://sourceforge.net/projects/lyxwininstaller/files/LyXWinInstaller/2.0.5.1/LyX-2051-Installer-2.exe/download 


(will be soon on ftp.lyx.org too)

Can you please report back if the installer found the correct path to 
TeXLive? if not, what version of TeXLive are you using? Note that the 
installer can only support TeXLive 2012 and no older versions because 
of technical limitations in the old versions.
If you have a older TeXLive, please try to update it before you 
reinstall LyX. If this is not possible, please reinstall LyX anyway 
and then go to the LyX preferences and adapt the paths so that the 
path list contains the folder of TeXLive where the latex.exe is located.


If the problem persists anyway for you, can you please tell me your 
program versions (Windows, TeXLive) and provide a _minimal_ LyX file 
you are using.


thanks and regards
Uwe


--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual & Computational Neuroscience
*Director*, Center for Excellence in Computational & Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology,
The Ichan school of medicine at Mount Sinai
One Gustave Levy Place,
NY, NY, 10029


--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual & Computational Neuroscience
*Director*, Center for Excellence in Computational & Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology,
The Ichan School of Medicine at Mount Sinai
One Gustave Levy Place,
NY, NY, 10029


Re: mathrm

2013-01-17 Thread Guenter Milde
On 2013-01-16, Wolfgang Engelmann wrote:
> Am Mittwoch, 16. Januar 2013, 00:11:05 schrieb Paul A. Rubin:
>> It's some sort of font issue. I replicated the problem with your
>> document here, then changed the Roman font from Palatino to Times Roman
>> and got the expected output. I suspect the mathpazo package may not
>> contain the needed glyph.

Mathpazo includes (part of) fixmath.sty by the same author. This means that
selecting a math alphabet affects both Greek and Latin letters.

In contrast, with CM or Latin Modern, the default LaTeX behaviour is kept:
Greek letters behave like non-letter symbols and do not change inside a
\math... alphabet:

In the following minimal example:

\documentclass{article}
% \usepackage{lmodern}
% \usepackage{mathpazo}

\usepackage[garamond]{mathdesign}
\usepackage{isomath}

\begin{document}

$VIC \Gamma vic \gamma \varepsilon$

$\mathrm{VIC \Gamma vic \gamma \varepsilon}$

$\mathbold{VIC \Gamma \varepsilon}$

\end{document}

the Greek letters inside \mathrm{...} are still italic with 
\usepackage{lmodern} and garbage characters with mathpazo.

The only package that supports upright Greek characters via
\mathrm{\alpha ... \Omega} is mathdesign in combination with isomath.
For details see the isomath documentation.

Günter





Re: Spell checker has no dictionaries

2013-01-17 Thread Stephan Witt
Am 17.01.2013 um 20:07 schrieb Junchao Zhang :

> Dear all,
>   I installed hunspell, then I installed Lyx.

Dear Junchao,

hunspell and LyX are two independent programs. LyX has builtin hunspell support 
or not.

> When I configured Lyx, I could see Lyx found hunspell.

I understand this as: you can see hunspell as available spell checker in 
preferences, right?

>   I set 
> export DICPATH=/home/jczhang/usr/share/dict/
> export DICTIONARY=en_US
>   in my bashrc
> 
>   If I invoke hunspell -D, it will give
> AVAILABLE DICTIONARIES (path is not mandatory for -d option):
> /home/jczhang/usr/share/dict//en_US
> /home/jczhang/usr/share/dict//en_AU
> /home/jczhang/usr/share/dict//en_CA
> ...
> LOADED DICTIONARY:
> /home/jczhang/usr/share/dict//en_US.aff
> /home/jczhang/usr/share/dict//en_US.dic
> Hunspell 1.3.2
> 
>   I choose the spellchecker engine in Lyx as hunspell.  
>   However, when I do spellcheck in Lyx, it just pops a window "Spell checker 
> has no dictionaries", and no other clues.

LyX does not find the dictionaries in your home directory. 
You have to point it there in LyX path's preferences.
Try to enter /home/jczhang/usr/share/dict and see if it helps.

Regards,
Stephan

Re: Spell checker has no dictionaries

2013-01-17 Thread Junchao Zhang
Hi, Stephan,
   I find I just need to put dictionary files under $(HOME)/.lyx/dicts/
  That is, the dictionaries need to be found by LyX, not just hunspell.

  Thanks
--Junchao Zhang
On Thu, Jan 17, 2013 at 5:07 PM, Stephan Witt  wrote:

> Am 17.01.2013 um 20:07 schrieb Junchao Zhang :
>
> > Dear all,
> >   I installed hunspell, then I installed Lyx.
>
> Dear Junchao,
>
> hunspell and LyX are two independent programs. LyX has builtin hunspell
> support or not.
>
> > When I configured Lyx, I could see Lyx found hunspell.
>
> I understand this as: you can see hunspell as available spell checker in
> preferences, right?
>
> >   I set
> > export DICPATH=/home/jczhang/usr/share/dict/
> > export DICTIONARY=en_US
> >   in my bashrc
> >
> >   If I invoke hunspell -D, it will give
> > AVAILABLE DICTIONARIES (path is not mandatory for -d option):
> > /home/jczhang/usr/share/dict//en_US
> > /home/jczhang/usr/share/dict//en_AU
> > /home/jczhang/usr/share/dict//en_CA
> > ...
> > LOADED DICTIONARY:
> > /home/jczhang/usr/share/dict//en_US.aff
> > /home/jczhang/usr/share/dict//en_US.dic
> > Hunspell 1.3.2
> >
> >   I choose the spellchecker engine in Lyx as hunspell.
> >   However, when I do spellcheck in Lyx, it just pops a window "Spell
> checker has no dictionaries", and no other clues.
>
> LyX does not find the dictionaries in your home directory.
> You have to point it there in LyX path's preferences.
> Try to enter /home/jczhang/usr/share/dict and see if it helps.
>
> Regards,
> Stephan




-- 
Junchao Zhang


Re: Spell checker has no dictionaries

2013-01-17 Thread Stephan Witt
Am 18.01.2013 um 00:20 schrieb Junchao Zhang :

> Hi, Stephan,
>I find I just need to put dictionary files under $(HOME)/.lyx/dicts/

Hi Junchao,

yes, that's your user directory. LyX is looking for dictionaries in:
1) preference specified directory
2) user directory + dicts
3) lyx binary directory + dicts
4) /usr/share/myspell/dicts

You don't have to set the DICTIONARY environment.
LyX tries to find the appropriate dictionary matching the language of the text 
inside your document.
That's e.g. en_US if your document language is set to English(US) and/or you 
have the language of some text set to it.

Regards,
Stephan

>   That is, the dictionaries need to be found by LyX, not just hunspell.
>   
>   Thanks
> --Junchao Zhang
> On Thu, Jan 17, 2013 at 5:07 PM, Stephan Witt  wrote:
> Am 17.01.2013 um 20:07 schrieb Junchao Zhang :
> 
> > Dear all,
> >   I installed hunspell, then I installed Lyx.
> 
> Dear Junchao,
> 
> hunspell and LyX are two independent programs. LyX has builtin hunspell 
> support or not.
> 
> > When I configured Lyx, I could see Lyx found hunspell.
> 
> I understand this as: you can see hunspell as available spell checker in 
> preferences, right?
> 
> >   I set
> > export DICPATH=/home/jczhang/usr/share/dict/
> > export DICTIONARY=en_US
> >   in my bashrc
> >
> >   If I invoke hunspell -D, it will give
> > AVAILABLE DICTIONARIES (path is not mandatory for -d option):
> > /home/jczhang/usr/share/dict//en_US
> > /home/jczhang/usr/share/dict//en_AU
> > /home/jczhang/usr/share/dict//en_CA
> > ...
> > LOADED DICTIONARY:
> > /home/jczhang/usr/share/dict//en_US.aff
> > /home/jczhang/usr/share/dict//en_US.dic
> > Hunspell 1.3.2
> >
> >   I choose the spellchecker engine in Lyx as hunspell.
> >   However, when I do spellcheck in Lyx, it just pops a window "Spell 
> > checker has no dictionaries", and no other clues.
> 
> LyX does not find the dictionaries in your home directory.
> You have to point it there in LyX path's preferences.
> Try to enter /home/jczhang/usr/share/dict and see if it helps.
> 
> Regards,
> Stephan
> 
> 
> 
> -- 
> Junchao Zhang



Re: Word won't open simplest LyXHTML file

2013-01-17 Thread Jerry

On Jan 17, 2013, at 2:30 AM, Alex Fernandez wrote:

> Hi Jerry,
> 
> I am the primary author of eLyXer.
> 
> On Thu, Jan 17, 2013 at 4:49 AM, Jerry  wrote:
> Thanks for that tip. I checked it out. It's just a Python thing so it works 
> fine on OS X, and LyX picked it up as advertised.
> 
> Yes, I can confirm that OS X is fully supported.
>  
> The output on my simple test case does look nice in a browser, but I get the 
> same error opening with Word as I first described: "The XML file bla bla bla 
> cannot be opened..." etc. I thought maybe my copy of Word was broken but it 
> reads other HTML files fine--I'm guessing they don't have the XML stuff in 
> them, however.
> 
> Word does not like XHTML very much; you need to export to HTML 4, using the 
> --html option.
>   http://elyxer.nongnu.org/userguide.html#sub:HTML-Code
> If you are doing the conversion inside LyX, instead of on the command line, 
> you have to add the --html in the conversion interface.
>  
> I checked the HTML file that eLyXer made with the W3C page and got: "The 
> uploaded document "-" was successfully checked as XHTML 1.0 Transitional."
> 
> Yes, eLyXer outputs pure XHTML.
>  
> Also--eLyXer does not appear to use MathML so I don't think there is any hope 
> of getting editable math into Word using this method. (But I haven't read all 
> of the eLyXer docs.)
> 
> eLyXer has several options for Math output:
>   http://elyxer.nongnu.org/userguide.html#sub:Math
> Sadly, none of them is MathML, since at the time eLyXer was conceived it was 
> not very widely supported, and I have not found the time to add it.
> 
> Hope this helps,
> 
> Alex Fernández.
> 
Hi, Alex,

Thanks for the comments and for the great tool. It does what it claims to to, 
convert LyX to HTML, with lots of math options. The default conversion looks 
great in a browser.

I tried your --html suggestion and indeed Word opens it, and displays it much 
as a browser does. Unfortunately, the HTML limitations are apparent; this is 
probably as good as a HTML-only conversion can get.

In my slow-witted way, I'm starting to understand why Word will not open the 
various XML formats that I'm throwing at it. (I also played with TeXht today 
(and the Mac GUI over it, SimpleTeXht. This method also makes XML in some 
variations, and .odt.) So Word isn't broken—it's just not made to recognize 
this particular kind of XML. (I want to use the word "schema" but don't really 
know what I'm talking about.) So What is missing, as has been stated in 
previous threads, is a converter from the XML that we're seeing to .docx, it 
seems.

Jerry

Re: Word won't open simplest LyXHTML file

2013-01-17 Thread Liviu Andronic
Hello,
Rob has some work on word2lyx conversion (using .docx). [1] I remember
he was mulling a round-trip conversion, but I guess he never got to
implementing it.
[1] http://www.oak-tree.us/2012/03/07/word2lyx01-2/


Regards,
 Liviu


On Fri, Jan 18, 2013 at 5:17 AM, Jerry  wrote:
>
> On Jan 17, 2013, at 2:30 AM, Alex Fernandez wrote:
>
> Hi Jerry,
>
> I am the primary author of eLyXer.
>
> On Thu, Jan 17, 2013 at 4:49 AM, Jerry  wrote:
>>
>> Thanks for that tip. I checked it out. It's just a Python thing so it
>> works fine on OS X, and LyX picked it up as advertised.
>
>
> Yes, I can confirm that OS X is fully supported.
>
>>
>> The output on my simple test case does look nice in a browser, but I get
>> the same error opening with Word as I first described: "The XML file bla bla
>> bla cannot be opened..." etc. I thought maybe my copy of Word was broken but
>> it reads other HTML files fine--I'm guessing they don't have the XML stuff
>> in them, however.
>
>
> Word does not like XHTML very much; you need to export to HTML 4, using the
> --html option.
>   http://elyxer.nongnu.org/userguide.html#sub:HTML-Code
> If you are doing the conversion inside LyX, instead of on the command line,
> you have to add the --html in the conversion interface.
>
>>
>> I checked the HTML file that eLyXer made with the W3C page and got: "The
>> uploaded document "-" was successfully checked as XHTML 1.0 Transitional."
>
>
> Yes, eLyXer outputs pure XHTML.
>
>>
>> Also--eLyXer does not appear to use MathML so I don't think there is any
>> hope of getting editable math into Word using this method. (But I haven't
>> read all of the eLyXer docs.)
>
>
> eLyXer has several options for Math output:
>   http://elyxer.nongnu.org/userguide.html#sub:Math
> Sadly, none of them is MathML, since at the time eLyXer was conceived it was
> not very widely supported, and I have not found the time to add it.
>
> Hope this helps,
>
> Alex Fernández.
>
> Hi, Alex,
>
> Thanks for the comments and for the great tool. It does what it claims to
> to, convert LyX to HTML, with lots of math options. The default conversion
> looks great in a browser.
>
> I tried your --html suggestion and indeed Word opens it, and displays it
> much as a browser does. Unfortunately, the HTML limitations are apparent;
> this is probably as good as a HTML-only conversion can get.
>
> In my slow-witted way, I'm starting to understand why Word will not open the
> various XML formats that I'm throwing at it. (I also played with TeXht today
> (and the Mac GUI over it, SimpleTeXht. This method also makes XML in some
> variations, and .odt.) So Word isn't broken—it's just not made to recognize
> this particular kind of XML. (I want to use the word "schema" but don't
> really know what I'm talking about.) So What is missing, as has been stated
> in previous threads, is a converter from the XML that we're seeing to .docx,
> it seems.
>
> Jerry



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail