Re: getting LyX to see spellchecker

2011-01-21 Thread Pavlo Lyubarskyy
Kenward Vaughan kay_jay at earthlink.net writes:

 
 I'm a tad befuddled over this one...  I suddenly discovered that I have
 no spellchecker, with either the system current version of LyX (1.6.7)
 or 2.0-b3 (I trade out ~/.lyx directories).  I'm running Debian/Sid.
 
 I have both ispell and aspell installed.  I've reconfigured LyX several
 times to no avail.  I cannot change anything under Preferences 
 Spellchecker... the Spellchecker engine menu is greyed out.
 
 Changing language settings to English instead of Automatic, followed by
 restarting, reconfiguring, and restarting has no effect.
 
 :((
 
 Is there something really basic here that I don't see??
 
 Kenward


Hallo!

I had the same problem after upgrade to LyX 2.0.0 Beta3. I have installed
additional packets libaspell-dev and hunspell-dev, rebuilded LyX and installed
again. Now it is working for me fine!

Paul



Re: spell cheking in lyx 2.0.0 beta3

2011-01-21 Thread Pavlo Lyubarskyy
Pavlo Lyubarskyy pavlo.lyubarskyy at ovgu.de writes:


 I'm using lyx with Ubuntu 10.04(lucid), Linux Kernel 2.6.32.28-generic, Gnome
 2.30.2.
...

Solved!!!

I have installed additional packets libaspell-dev and hunspell-dev, rebuilded
LyX and installed it again. Now it is working for me fine!





Re: PDF (pdflatex) View Missing

2011-01-21 Thread Paul Rubin
Rainer Dorsch rdorsch at web.de writes:


 although I see in a configure run here
 
 +checking for pdflatex...   yes
 
 I do not see the PDF (pdflatex) in the view or export options. 
 PDF(pdflatex) 
 is in the formats and converters defined though...
 

Does Tools  Preferences...  File Handling  Converters have an entry for LaTeX
(pdflatex) - PDF (pdflatex), and does it look correct?

/Paul




Re: getting LyX to see spellchecker

2011-01-21 Thread Kenward Vaughan
On Thu, 2011-01-20 at 23:39 +0100, Stephan Witt wrote:
 Am 20.01.2011 um 19:39 schrieb Kenward Vaughan:
 
  On Thu, 2011-01-20 at 19:33 +0100, Stephan Witt wrote:
  Am 20.01.2011 um 18:33 schrieb Kenward Vaughan:
  
  On Thu, 2011-01-20 at 18:03 +0100, Stephan Witt wrote:
  Am 20.01.2011 um 17:56 schrieb Kenward Vaughan:
  
  I'm a tad befuddled over this one...  I suddenly discovered that I have
  no spellchecker, with either the system current version of LyX (1.6.7)
  or 2.0-b3 (I trade out ~/.lyx directories).  I'm running Debian/Sid.
  
  I have both ispell and aspell installed.  I've reconfigured LyX several
  times to no avail.  I cannot change anything under Preferences 
  Spellchecker... the Spellchecker engine menu is greyed out.
  
  Changing language settings to English instead of Automatic, followed by
  restarting, reconfiguring, and restarting has no effect.
  
  :((
  
  Is there something really basic here that I don't see??
  
  Did you build LyX yourself?
  If yes, how? And did you enable the spellchecker engines?
  I found un
  
  I built the beta version myself and installed it using whatever defaults
  came with it.  If spellchecking needs to be enabled, then it seems this
  ought to be a default instead of an option.  
  
  You did not tell me, how you build it.
  Nevertheless, please check you have all needed software packages for 
  developers installed.
  In case you built it with autotools and configure you may want to check 
  the logs.
  
  
  The build ran fine after autoconfig was used.  I glanced through the
  output, and seeing nothing odd ran make and then make install.  All per
  the quick directions.  
 
 I take it you called ./configure in top directory of source tree...
 
 The relevant output here is like
 
 ...
 checking aspell.h usability... yes
 checking aspell.h presence... yes
 checking for aspell.h... yes
 checking for new_aspell_config in -laspell... yes
 checking whether to use aspell... yes
 checking for ENCHANT... yes
 checking whether to use enchant... yes
 checking hunspell/hunspell.hxx usability... no
 checking hunspell/hunspell.hxx presence... no
 checking for hunspell/hunspell.hxx... no
 checking for main in -lhunspell... no
 checking whether to use hunspell... no
 ...
 
 You can see I don't have any spell checker library code installed.
 That's why hunspell is left not available.
 
 Please post the relevant output of your configure run for comparison.


I didn't have this available since it was built in /tmp a few weeks ago.
I pulled in the Lyx code again, installed the aspell *dev  package
(which was not installed), recompiled, and now things work.  Browsing
through all the documentation pulled up the information as well that the
dev package was required.

I think I'll file this as a bug under LyX with Debian...  For average
users, I'd think this is an item expected to be there.

I just saw Paul's note as well (apparently he had the same problem).

Thank you very much for your patience and help, Stephan!


Kenward
-- 
Do not worry about your difficulties in mathematics.  I can assure you
that mine are still greater. Albert Einstein



Thoughts on Multiple Document Formats

2011-01-21 Thread Tim Wescott
Because I think like a software engineer, I'm putting documents together 
in Lyx so that I can generate them with a makefile.  This isn't (I 
hope!) just over the top attention to detail -- most of my graphs are 
generated in Scilab, and I've found that the best way to not lose the 
source for a graph is to generate it on the fly and discard the actual 
eps file when I'm done.


I recently got an email from a reader who got one of my PDF documents 
off the web, then as an experiment reformatted it for a Sony eBook 
reader.  It actually looks OK, and it has made me think (dangerous I 
know, but there you are).


Since my 'build time' model is to open a command line, go to the correct 
directory, type make, and go have some coffee, why shouldn't I set 
things up so that I end up with two sets of documents -- one for this 
big desktop universal eBook reader that I'm typing at, and another for 
little eBook readers.  Particularly if I can find one eBook format 
that'll at least be suitable for a number of readers.


But -- how do I do this?  As far as I can see, the latex and lyx command 
lines are not rich in switches to do things like insert formatting 
commands.  It appears that the best I can do is to include a file with 
page margins, then rename files as appropriate so that when the eBook 
version gets built that file name points to the eBook margins, and when 
the regular old version gets built that file name points to decent 
margins for A-size paper.


Is this the best I can do, or is there some other, better way?

--
Tim Wescott
Wescott Design Services
Voice: 503-631-7815
Cell:  503-349-8432
http://www.wescottdesign.com




Re: Thoughts on Multiple Document Formats

2011-01-21 Thread Richard Heck

On 01/21/2011 01:11 PM, Tim Wescott wrote:
Because I think like a software engineer, I'm putting documents 
together in Lyx so that I can generate them with a makefile.  This 
isn't (I hope!) just over the top attention to detail -- most of my 
graphs are generated in Scilab, and I've found that the best way to 
not lose the source for a graph is to generate it on the fly and 
discard the actual eps file when I'm done.


I recently got an email from a reader who got one of my PDF documents 
off the web, then as an experiment reformatted it for a Sony eBook 
reader.  It actually looks OK, and it has made me think (dangerous I 
know, but there you are).


Since my 'build time' model is to open a command line, go to the 
correct directory, type make, and go have some coffee, why shouldn't 
I set things up so that I end up with two sets of documents -- one for 
this big desktop universal eBook reader that I'm typing at, and 
another for little eBook readers.  Particularly if I can find one 
eBook format that'll at least be suitable for a number of readers.


But -- how do I do this?  As far as I can see, the latex and lyx 
command lines are not rich in switches to do things like insert 
formatting commands.  It appears that the best I can do is to include 
a file with page margins, then rename files as appropriate so that 
when the eBook version gets built that file name points to the eBook 
margins, and when the regular old version gets built that file name 
points to decent margins for A-size paper.


Is this the best I can do, or is there some other, better way?

If most of the options are relatively global, you could do this. Create 
separate master documents for the two versions. These will set 
document options but then do nothing but include the common document.


Richard




Re: Thoughts on Multiple Document Formats

2011-01-21 Thread lyx-devel
Hi Tim,

I haven't looked into, but you might see what tools are available for
creating ePub files. LyX can export to XHTML already, and ePub is merely a
subset of XHTML.

It seems that getting an XHTML file is the easy step. You could either use
eLyXer, or the native XHTML export.  Both appear to create very nice
output. From there, you would only need to find a tool to convert the
XHTML to ePub. One option might be Calibre, which is a free eBook library
tool.

After the ePub file has been created.  You could go after it with a
dedicated editor, such as Sigil.

I'm willing to bet that you could probably automate the entire process
without too much effort. It might be possible to even create a script that
does it all for you. Calibre has a command line processor, even though I
haven't played with it much.

If interested, you can find more about the different:

Calibre -  http://calibre-ebook.com/user_manual/conversion.html
Sigil - https://code.google.com/p/sigil/

This page also has some good info, though it's a bit dated.
http://www.jedisaber.com/eBooks/Readers.asp

Let me know how your experiments go. I'm also in the process of trying to
figure out how to convert my own book to ePub for digital distribution and
would love to bounce ideas back and forth.

Cheers,

Rob



Help with DVI output

2011-01-21 Thread Tim Peti
Hi everybody,

I'm a somewhat new LyX user and have run into the following problem: Two of
my floating figures/tables don't show up where they are supposed to be in
the DVI output but a couple of paragraphs later/earlier. If tried placing
somewhere else in the document but the misplacement still happens.

Also, how do I install the caption package for LyX 1.6.8 ?

Thanks you for your suggestions,

Best regards,

Tim


Re: Help with DVI output

2011-01-21 Thread Richard Heck

On 01/21/2011 01:29 PM, Tim Peti wrote:

Hi everybody,

I'm a somewhat new LyX user and have run into the following problem: 
Two of my floating figures/tables don't show up where they are 
supposed to be in the DVI output but a couple of paragraphs 
later/earlier. If tried placing somewhere else in the document but the 
misplacement still happens.


This is normal. It is why the figures and tables are called floats: 
They float to where LaTeX thinks it is best to put them. If you really 
want them to go right where you put them---this is usually not a good 
idea, though, because it can lead to very bad page breaks---then get 
inside the float, hit EditFloat Settings, and then deselect Default 
Placement and choose Here definitely. You could also try Here if 
possible, which will make LaTeX put it there unless that's bad.



Also, how do I install the caption package for LyX 1.6.8 ?

This is a LaTeX issue. Install it however you normally install LaTeX 
packages. If you don't know how to do that, then: What OS are you using?


Richard



Re: how to update aux file in LyX?

2011-01-21 Thread Gwen Barnes
On Thu, Jan 20, 2011 at 11:20 PM, Jürgen Spitzmüller sp...@lyx.org wrote:

 Gwen Barnes wrote:
  I wrote a module to use revnum.sty in LyX.  It works fine within LyX, but
  the output to pdf is incorrect. I tested it by exporting a tex file.  If
 I
  run pdflatex on it once, I get the output LyX gives me.  When I run
  pdflatex twice on the tex file, I get the correct output.  So it seems
  that I (revnum.sty) need LyX to run pdflatex an additionaI time to update
  the aux file properly before outputting the pdf.  How I can I do this?

 Could you post the LaTeX log? Maybe the package outputs the rerun message
 in
 a specific way that is not yet recognized by LyX.

 Jürgen


I've pasted it below.  Thanks for taking a look.

-Gwen


This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) (format=pdflatex
2008.12.28)  21 JAN 2011 11:15
entering extended mode
 %-line parsing enabled.
**BartCVfull.tex
(./BartCVfull.tex
LaTeX2e 2005/12/01
Babel v3.8l and hyphenation patterns for english, usenglishmax, dumylang,
noh
yphenation, german-x-2008-06-18, ngerman-x-2008-06-18, ancientgreek, ibycus,
ar
abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish,
dutc
h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman,
mono
greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian,
la
tin, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, polish,
portuguese, r
omanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish,
turki
sh, ukenglish, ukrainian, uppersorbian, welsh, loaded.

(/usr/local/texlive/2008/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2008/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/mathptmx.sty
Package: mathptmx 2005/04/12 PSNFSS-v9.2a Times w/ Math, improved (SPQR,
WaS)
LaTeX Font Info:Redeclaring symbol font `operators' on input line 28.
LaTeX Font Info:Overwriting symbol font `operators' in version `normal'
(Font)  OT1/cmr/m/n -- OT1/ztmcm/m/n on input line 28.
LaTeX Font Info:Overwriting symbol font `operators' in version `bold'
(Font)  OT1/cmr/bx/n -- OT1/ztmcm/m/n on input line 28.
LaTeX Font Info:Redeclaring symbol font `letters' on input line 29.
LaTeX Font Info:Overwriting symbol font `letters' in version `normal'
(Font)  OML/cmm/m/it -- OML/ztmcm/m/it on input line 29.
LaTeX Font Info:Overwriting symbol font `letters' in version `bold'
(Font)  OML/cmm/b/it -- OML/ztmcm/m/it on input line 29.
LaTeX Font Info:Redeclaring symbol font `symbols' on input line 30.
LaTeX Font Info:Overwriting symbol font `symbols' in version `normal'
(Font)  OMS/cmsy/m/n -- OMS/ztmcm/m/n on input line 30.
LaTeX Font Info:Overwriting symbol font `symbols' in version `bold'
(Font)  OMS/cmsy/b/n -- OMS/ztmcm/m/n on input line 30.
LaTeX Font Info:Redeclaring symbol font `largesymbols' on input line 31.
LaTeX Font Info:Overwriting symbol font `largesymbols' in version
`normal'
(Font)  OMX/cmex/m/n -- OMX/ztmcm/m/n on input line 31.
LaTeX Font Info:Overwriting symbol font `largesymbols' in version `bold'
(Font)  OMX/cmex/m/n -- OMX/ztmcm/m/n on input line 31.
\symbold=\mathgroup4
\symitalic=\mathgroup5
LaTeX Font Info:Redeclaring math alphabet \mathbf on input line 34.
LaTeX Font Info:Overwriting math alphabet `\mathbf' in version `normal'
(Font)  OT1/cmr/bx/n -- OT1/ptm/bx/n on input line 34.
LaTeX Font Info:Overwriting math alphabet `\mathbf' in version `bold'
(Font)  OT1/cmr/bx/n -- OT1/ptm/bx/n on input line 34.
LaTeX Font Info:Redeclaring math alphabet \mathit on input line 35.
LaTeX Font Info:Overwriting math alphabet `\mathit' in version `normal'
(Font)  OT1/cmr/m/it -- OT1/ptm/m/it on input line 35.
LaTeX Font Info:Overwriting math alphabet `\mathit' in version `bold'
(Font)  OT1/cmr/bx/it -- OT1/ptm/m/it on input line 35.
LaTeX Info: Redefining \hbar on input line 50.
) (/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/helvet.sty
Package: helvet 2005/04/12 PSNFSS-v9.2a (WaS)
(/usr/local/texlive/2008/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)) (/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/courier.sty
Package: courier 2005/04/12 PSNFSS-v9.2a (WaS)
) (/usr/local/texlive/2008/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

Re: Can't create a pdf when the document contains a pdf in a mounted drive

2011-01-21 Thread Clara Anton Fernandez
Thanks Paul,

The error is: 
LaTeX Warning: File `1_media_H_biobau.pdf' not found on input line 54.

! Package pdftex.def Error: File `1_media_H_biobau.pdf' not found.

See the pdftex.def package documentation for explanation.
Type  H return  for immediate help.
 ...  
  
l.54 \includegraphics{1_media_H_biobau.pdf}
   
Using draft setting for this image.
Try typing  return  to proceed.
If that doesn't work, type  X return  to quit.

--

I also tried experiments 1 and 2 without luck. 
I only have problems with the files in the mounted windows share, if the files 
are in my external hard-drive everything works smoothly.
I gave up on this problem months ago, but it would be awesome if I can find a 
fix or a workaround.

Clara



Re: getting LyX to see spellchecker

2011-01-21 Thread Stephan Witt
Am 21.01.2011 um 17:25 schrieb Kenward Vaughan:

 On Thu, 2011-01-20 at 23:39 +0100, Stephan Witt wrote:
 Am 20.01.2011 um 19:39 schrieb Kenward Vaughan:
 
 On Thu, 2011-01-20 at 19:33 +0100, Stephan Witt wrote:
 Am 20.01.2011 um 18:33 schrieb Kenward Vaughan:
 
 On Thu, 2011-01-20 at 18:03 +0100, Stephan Witt wrote:
 Am 20.01.2011 um 17:56 schrieb Kenward Vaughan:
 
 I'm a tad befuddled over this one...  I suddenly discovered that I have
 no spellchecker, with either the system current version of LyX (1.6.7)
 or 2.0-b3 (I trade out ~/.lyx directories).  I'm running Debian/Sid.
 
 I have both ispell and aspell installed.  I've reconfigured LyX several
 times to no avail.  I cannot change anything under Preferences 
 Spellchecker... the Spellchecker engine menu is greyed out.
 
 Changing language settings to English instead of Automatic, followed by
 restarting, reconfiguring, and restarting has no effect.
 
 :((
 
 I built the beta version myself and installed it using whatever defaults
 came with it.  If spellchecking needs to be enabled, then it seems this
 ought to be a default instead of an option.  

One thing to note:
 
The default is to build LyX with the same preferences directory as LyX 1.6!
Perhaps you had the problems with 1.6 because of reading and writing LyX 1.6
the same files as LyX 2.0 - when starting LyX from terminal you may add
-dbg lyxrc
as command line arguments to verify that.

You have to add e.g. --with-version-suffix=-2.0 to make LyX 2.0 using
a parallel $HOME/.lyx-2.0 directory for it's settings.

 I think I'll file this as a bug under LyX with Debian...  For average
 users, I'd think this is an item expected to be there.
 
 I just saw Paul's note as well (apparently he had the same problem).
 
 Thank you very much for your patience and help, Stephan!

You're welcome.

Stephan

Re: Lyx as a simulation lab book (clickable hyperlinks also)

2011-01-21 Thread Pavel Sanda
Chris Lingwood wrote:
 The second feature I felt it needed was the ability to execute hyperlinks to
 open the linked file.

i'm not sure i understand what are you trying to do here, but if its possibility
to get context menu for a hyperlink which launches viewer for  file:// or 
http://
web address i can provide not complicated patch for lyx.

it was part of lyx months back, but then we get nervous thats its security
issue and reverted it.
pavel


Lyx2 + latex-tufte -- recurring error on rendering to DVI

2011-01-21 Thread Michael Gilbert
Hi —

I am a newcomer to this list. Please forgive me in advance for missteps. This 
looks like a really great community and I look forward to learning fast. 

I'm running Lyx2.0b3 on Mac OSX 10.6.6. I have the latest installation from Mac 
TeX and (using TeX Live Utility) did an update of all packages. I started 
several documents using the plain article class, using the following 
environments: Standard, Title, Abstract, Section, Itemize, Paragraph, and Float 
(Figure). Each has some images and a few local styles (just using the LyX 
interface). Now I want to start making the document more attractive and I want 
to see what I can do with the latex-tufte class. I switched the class and then 
the errors started as soon as I try to view the DVI. Basically, I get several 
repetitions of this pattern in the LaTeX Errors window:

! Argument of \MakeTextLowercase has an extra }.
! Paragraph ended before \MakeTextLowercase was complete.
! You can't use `math shift character $' after \the.
! Argument of \@skipmath has an extra }.
! Paragraph ended before \@skipmath was complete.

All five of those lead to a highlight of the same portion of text in the 
document. Looking at the source for that portion (and the surrounding source), 
I don't see any evidence of the errors listed. In fact, I don't see any of the 
commands (is that the right word?) listed. I am modestly skilled at some 
scripting languages, but a TeX newbie, so I don't really know where to dig. I 
can add that, when I look at View Complete Log, there is actually a larger 
pattern. (The overview LaTeX Errors window seems to leave some out.) Listing 
only the error lines themselves (I assume those are the ones with exclamation 
points), this is the complete pattern (after which it moves to another place in 
the document and does the whole thing again):

! Argument of \MakeTextLowercase has an extra }.
! Paragraph ended before \MakeTextLowercase was complete.
! You can't use `math shift character $' after \the.
! Argument of \@skipmath has an extra }.
! Paragraph ended before \@skipmath was complete.
! Undefined control sequence.
! Use of \SOUL@n doesn't match its definition.
! Use of \protect doesn't match its definition.
! Package soul Error: Reconstruction failed.
! Undefined control sequence.
! Missing number, treated as zero.
! Illegal unit of measure (pt inserted).
! Extra }, or forgotten \endgroup.

In addition to looking at the source, I have cut back on the document so that 
it only produces one of these, and then, eventually, none. Character by 
character, I found some arbitrary place where it started to do this. To my 
naive eyes, there is nothing magical about that point. I am happy to try other 
troubleshooting techniques.

Suggestions?

TIA, to say the least

— Michael

Nonprofit Online News
http://news.gilbert.org




Re: Thoughts on Multiple Document Formats

2011-01-21 Thread Tim Wescott

On 01/21/2011 10:52 AM, lyx-de...@oak-tree.us wrote:

Hi Tim,

I haven't looked into, but you might see what tools are available for
creating ePub files. LyX can export to XHTML already, and ePub is merely a
subset of XHTML.

It seems that getting an XHTML file is the easy step. You could either use
eLyXer, or the native XHTML export.  Both appear to create very nice
output. From there, you would only need to find a tool to convert the
XHTML to ePub. One option might be Calibre, which is a free eBook library
tool.

After the ePub file has been created.  You could go after it with a
dedicated editor, such as Sigil.

I'm willing to bet that you could probably automate the entire process
without too much effort. It might be possible to even create a script that
does it all for you. Calibre has a command line processor, even though I
haven't played with it much.

If interested, you can find more about the different:

Calibre -  http://calibre-ebook.com/user_manual/conversion.html
Sigil - https://code.google.com/p/sigil/

This page also has some good info, though it's a bit dated.
http://www.jedisaber.com/eBooks/Readers.asp

Let me know how your experiments go. I'm also in the process of trying to
figure out how to convert my own book to ePub for digital distribution and
would love to bounce ideas back and forth.

I started digging into eBook formats and got discouraged -- it looks 
like I can address some narrow segment of the eBook market with any 
given format, but would need to have numerous ones to address any large 
swath.


So for now, I think I'll move on to other things, and keep an eye on 
what formats are (or will be) most promising.


--
Tim Wescott
Wescott Design Services
Voice: 503-631-7815
Cell:  503-349-8432
http://www.wescottdesign.com




Re: getting LyX to see spellchecker

2011-01-21 Thread Kenward Vaughan
On Fri, 2011-01-21 at 22:01 +0100, Stephan Witt wrote:
 ...

  I built the beta version myself and installed it using whatever defaults
  came with it.  If spellchecking needs to be enabled, then it seems this
  ought to be a default instead of an option.  
 
 One thing to note:
  
 The default is to build LyX with the same preferences directory as LyX 1.6!
 Perhaps you had the problems with 1.6 because of reading and writing LyX 1.6
 the same files as LyX 2.0 - when starting LyX from terminal you may add
 -dbg lyxrc
 as command line arguments to verify that.

I had changed out the .lyx directory for each program, and even deleted
the thing to see if that made any difference.  It didn't, so I **think**
it's the app itself.


 You have to add e.g. --with-version-suffix=-2.0 to make LyX 2.0 using
 a parallel $HOME/.lyx-2.0 directory for it's settings.

Cool.  I'll recompile and do exactly that.  Makes life easier...

Ciao!


Kenward
-- 
Small is the number of them that see with their own eyes and feel with
their own hearts... Albert Einstein




Re: Thoughts on Multiple Document Formats

2011-01-21 Thread Michael Joyner
On Fri, Jan 21, 2011 at 1:52 PM, lyx-de...@oak-tree.us wrote:

 Hi Tim,

 I haven't looked into, but you might see what tools are available for
 creating ePub files. LyX can export to XHTML already, and ePub is merely a
 subset of XHTML.

 It seems that getting an XHTML file is the easy step. You could either use
 eLyXer, or the native XHTML export.  Both appear to create very nice
 output. From there, you would only need to find a tool to convert the
 XHTML to ePub. One option might be Calibre, which is a free eBook library
 tool.



 After the ePub file has been created.  You could go after it with a
 dedicated editor, such as Sigil.

 I have tried this route only to encounter absolute misery. :(
After importing into Calibre, the supposed ePub fails validation, if you
fail validation, no publication...
-- 
---

   - Learn to speak Cherokee: http://www.cherokeelessons.com/
   - Cherokee Language Help BBS/Chat:
   http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6
   - Cherokee Lessons PDF made with: http://www.lyx.org/


Re: Thoughts on Multiple Document Formats

2011-01-21 Thread Alan Tyree
On 1/22/11, Michael Joyner mjoy...@vbservices.net wrote:
 On Fri, Jan 21, 2011 at 1:52 PM, lyx-de...@oak-tree.us wrote:

 Hi Tim,

 I haven't looked into, but you might see what tools are available for
 creating ePub files. LyX can export to XHTML already, and ePub is merely a
 subset of XHTML.

 It seems that getting an XHTML file is the easy step. You could either use
 eLyXer, or the native XHTML export.  Both appear to create very nice
 output. From there, you would only need to find a tool to convert the
 XHTML to ePub. One option might be Calibre, which is a free eBook library
 tool.



 After the ePub file has been created.  You could go after it with a
 dedicated editor, such as Sigil.

 I have tried this route only to encounter absolute misery. :(
 After importing into Calibre, the supposed ePub fails validation, if you
 fail validation, no publication...
 --

Run the xhtml through tidy. I have found that Sigil then produces valid ePub.

Alan

 ---

- Learn to speak Cherokee: http://www.cherokeelessons.com/
- Cherokee Language Help BBS/Chat:
http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6
- Cherokee Lessons PDF made with: http://www.lyx.org/



-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206


Re: getting LyX to see spellchecker

2011-01-21 Thread Pavlo Lyubarskyy
Kenward Vaughan kay_jay at earthlink.net writes:

 
 I'm a tad befuddled over this one...  I suddenly discovered that I have
 no spellchecker, with either the system current version of LyX (1.6.7)
 or 2.0-b3 (I trade out ~/.lyx directories).  I'm running Debian/Sid.
 
 I have both ispell and aspell installed.  I've reconfigured LyX several
 times to no avail.  I cannot change anything under Preferences 
 Spellchecker... the Spellchecker engine menu is greyed out.
 
 Changing language settings to English instead of Automatic, followed by
 restarting, reconfiguring, and restarting has no effect.
 
 :((
 
 Is there something really basic here that I don't see??
 
 Kenward


Hallo!

I had the same problem after upgrade to LyX 2.0.0 Beta3. I have installed
additional packets libaspell-dev and hunspell-dev, rebuilded LyX and installed
again. Now it is working for me fine!

Paul



Re: spell cheking in lyx 2.0.0 beta3

2011-01-21 Thread Pavlo Lyubarskyy
Pavlo Lyubarskyy pavlo.lyubarskyy at ovgu.de writes:


 I'm using lyx with Ubuntu 10.04(lucid), Linux Kernel 2.6.32.28-generic, Gnome
 2.30.2.
...

Solved!!!

I have installed additional packets libaspell-dev and hunspell-dev, rebuilded
LyX and installed it again. Now it is working for me fine!





Re: PDF (pdflatex) View Missing

2011-01-21 Thread Paul Rubin
Rainer Dorsch rdorsch at web.de writes:


 although I see in a configure run here
 
 +checking for pdflatex...   yes
 
 I do not see the PDF (pdflatex) in the view or export options. 
 PDF(pdflatex) 
 is in the formats and converters defined though...
 

Does Tools  Preferences...  File Handling  Converters have an entry for LaTeX
(pdflatex) - PDF (pdflatex), and does it look correct?

/Paul




Re: getting LyX to see spellchecker

2011-01-21 Thread Kenward Vaughan
On Thu, 2011-01-20 at 23:39 +0100, Stephan Witt wrote:
 Am 20.01.2011 um 19:39 schrieb Kenward Vaughan:
 
  On Thu, 2011-01-20 at 19:33 +0100, Stephan Witt wrote:
  Am 20.01.2011 um 18:33 schrieb Kenward Vaughan:
  
  On Thu, 2011-01-20 at 18:03 +0100, Stephan Witt wrote:
  Am 20.01.2011 um 17:56 schrieb Kenward Vaughan:
  
  I'm a tad befuddled over this one...  I suddenly discovered that I have
  no spellchecker, with either the system current version of LyX (1.6.7)
  or 2.0-b3 (I trade out ~/.lyx directories).  I'm running Debian/Sid.
  
  I have both ispell and aspell installed.  I've reconfigured LyX several
  times to no avail.  I cannot change anything under Preferences 
  Spellchecker... the Spellchecker engine menu is greyed out.
  
  Changing language settings to English instead of Automatic, followed by
  restarting, reconfiguring, and restarting has no effect.
  
  :((
  
  Is there something really basic here that I don't see??
  
  Did you build LyX yourself?
  If yes, how? And did you enable the spellchecker engines?
  I found un
  
  I built the beta version myself and installed it using whatever defaults
  came with it.  If spellchecking needs to be enabled, then it seems this
  ought to be a default instead of an option.  
  
  You did not tell me, how you build it.
  Nevertheless, please check you have all needed software packages for 
  developers installed.
  In case you built it with autotools and configure you may want to check 
  the logs.
  
  
  The build ran fine after autoconfig was used.  I glanced through the
  output, and seeing nothing odd ran make and then make install.  All per
  the quick directions.  
 
 I take it you called ./configure in top directory of source tree...
 
 The relevant output here is like
 
 ...
 checking aspell.h usability... yes
 checking aspell.h presence... yes
 checking for aspell.h... yes
 checking for new_aspell_config in -laspell... yes
 checking whether to use aspell... yes
 checking for ENCHANT... yes
 checking whether to use enchant... yes
 checking hunspell/hunspell.hxx usability... no
 checking hunspell/hunspell.hxx presence... no
 checking for hunspell/hunspell.hxx... no
 checking for main in -lhunspell... no
 checking whether to use hunspell... no
 ...
 
 You can see I don't have any spell checker library code installed.
 That's why hunspell is left not available.
 
 Please post the relevant output of your configure run for comparison.


I didn't have this available since it was built in /tmp a few weeks ago.
I pulled in the Lyx code again, installed the aspell *dev  package
(which was not installed), recompiled, and now things work.  Browsing
through all the documentation pulled up the information as well that the
dev package was required.

I think I'll file this as a bug under LyX with Debian...  For average
users, I'd think this is an item expected to be there.

I just saw Paul's note as well (apparently he had the same problem).

Thank you very much for your patience and help, Stephan!


Kenward
-- 
Do not worry about your difficulties in mathematics.  I can assure you
that mine are still greater. Albert Einstein



Thoughts on Multiple Document Formats

2011-01-21 Thread Tim Wescott
Because I think like a software engineer, I'm putting documents together 
in Lyx so that I can generate them with a makefile.  This isn't (I 
hope!) just over the top attention to detail -- most of my graphs are 
generated in Scilab, and I've found that the best way to not lose the 
source for a graph is to generate it on the fly and discard the actual 
eps file when I'm done.


I recently got an email from a reader who got one of my PDF documents 
off the web, then as an experiment reformatted it for a Sony eBook 
reader.  It actually looks OK, and it has made me think (dangerous I 
know, but there you are).


Since my 'build time' model is to open a command line, go to the correct 
directory, type make, and go have some coffee, why shouldn't I set 
things up so that I end up with two sets of documents -- one for this 
big desktop universal eBook reader that I'm typing at, and another for 
little eBook readers.  Particularly if I can find one eBook format 
that'll at least be suitable for a number of readers.


But -- how do I do this?  As far as I can see, the latex and lyx command 
lines are not rich in switches to do things like insert formatting 
commands.  It appears that the best I can do is to include a file with 
page margins, then rename files as appropriate so that when the eBook 
version gets built that file name points to the eBook margins, and when 
the regular old version gets built that file name points to decent 
margins for A-size paper.


Is this the best I can do, or is there some other, better way?

--
Tim Wescott
Wescott Design Services
Voice: 503-631-7815
Cell:  503-349-8432
http://www.wescottdesign.com




Re: Thoughts on Multiple Document Formats

2011-01-21 Thread Richard Heck

On 01/21/2011 01:11 PM, Tim Wescott wrote:
Because I think like a software engineer, I'm putting documents 
together in Lyx so that I can generate them with a makefile.  This 
isn't (I hope!) just over the top attention to detail -- most of my 
graphs are generated in Scilab, and I've found that the best way to 
not lose the source for a graph is to generate it on the fly and 
discard the actual eps file when I'm done.


I recently got an email from a reader who got one of my PDF documents 
off the web, then as an experiment reformatted it for a Sony eBook 
reader.  It actually looks OK, and it has made me think (dangerous I 
know, but there you are).


Since my 'build time' model is to open a command line, go to the 
correct directory, type make, and go have some coffee, why shouldn't 
I set things up so that I end up with two sets of documents -- one for 
this big desktop universal eBook reader that I'm typing at, and 
another for little eBook readers.  Particularly if I can find one 
eBook format that'll at least be suitable for a number of readers.


But -- how do I do this?  As far as I can see, the latex and lyx 
command lines are not rich in switches to do things like insert 
formatting commands.  It appears that the best I can do is to include 
a file with page margins, then rename files as appropriate so that 
when the eBook version gets built that file name points to the eBook 
margins, and when the regular old version gets built that file name 
points to decent margins for A-size paper.


Is this the best I can do, or is there some other, better way?

If most of the options are relatively global, you could do this. Create 
separate master documents for the two versions. These will set 
document options but then do nothing but include the common document.


Richard




Re: Thoughts on Multiple Document Formats

2011-01-21 Thread lyx-devel
Hi Tim,

I haven't looked into, but you might see what tools are available for
creating ePub files. LyX can export to XHTML already, and ePub is merely a
subset of XHTML.

It seems that getting an XHTML file is the easy step. You could either use
eLyXer, or the native XHTML export.  Both appear to create very nice
output. From there, you would only need to find a tool to convert the
XHTML to ePub. One option might be Calibre, which is a free eBook library
tool.

After the ePub file has been created.  You could go after it with a
dedicated editor, such as Sigil.

I'm willing to bet that you could probably automate the entire process
without too much effort. It might be possible to even create a script that
does it all for you. Calibre has a command line processor, even though I
haven't played with it much.

If interested, you can find more about the different:

Calibre -  http://calibre-ebook.com/user_manual/conversion.html
Sigil - https://code.google.com/p/sigil/

This page also has some good info, though it's a bit dated.
http://www.jedisaber.com/eBooks/Readers.asp

Let me know how your experiments go. I'm also in the process of trying to
figure out how to convert my own book to ePub for digital distribution and
would love to bounce ideas back and forth.

Cheers,

Rob



Help with DVI output

2011-01-21 Thread Tim Peti
Hi everybody,

I'm a somewhat new LyX user and have run into the following problem: Two of
my floating figures/tables don't show up where they are supposed to be in
the DVI output but a couple of paragraphs later/earlier. If tried placing
somewhere else in the document but the misplacement still happens.

Also, how do I install the caption package for LyX 1.6.8 ?

Thanks you for your suggestions,

Best regards,

Tim


Re: Help with DVI output

2011-01-21 Thread Richard Heck

On 01/21/2011 01:29 PM, Tim Peti wrote:

Hi everybody,

I'm a somewhat new LyX user and have run into the following problem: 
Two of my floating figures/tables don't show up where they are 
supposed to be in the DVI output but a couple of paragraphs 
later/earlier. If tried placing somewhere else in the document but the 
misplacement still happens.


This is normal. It is why the figures and tables are called floats: 
They float to where LaTeX thinks it is best to put them. If you really 
want them to go right where you put them---this is usually not a good 
idea, though, because it can lead to very bad page breaks---then get 
inside the float, hit EditFloat Settings, and then deselect Default 
Placement and choose Here definitely. You could also try Here if 
possible, which will make LaTeX put it there unless that's bad.



Also, how do I install the caption package for LyX 1.6.8 ?

This is a LaTeX issue. Install it however you normally install LaTeX 
packages. If you don't know how to do that, then: What OS are you using?


Richard



Re: how to update aux file in LyX?

2011-01-21 Thread Gwen Barnes
On Thu, Jan 20, 2011 at 11:20 PM, Jürgen Spitzmüller sp...@lyx.org wrote:

 Gwen Barnes wrote:
  I wrote a module to use revnum.sty in LyX.  It works fine within LyX, but
  the output to pdf is incorrect. I tested it by exporting a tex file.  If
 I
  run pdflatex on it once, I get the output LyX gives me.  When I run
  pdflatex twice on the tex file, I get the correct output.  So it seems
  that I (revnum.sty) need LyX to run pdflatex an additionaI time to update
  the aux file properly before outputting the pdf.  How I can I do this?

 Could you post the LaTeX log? Maybe the package outputs the rerun message
 in
 a specific way that is not yet recognized by LyX.

 Jürgen


I've pasted it below.  Thanks for taking a look.

-Gwen


This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) (format=pdflatex
2008.12.28)  21 JAN 2011 11:15
entering extended mode
 %-line parsing enabled.
**BartCVfull.tex
(./BartCVfull.tex
LaTeX2e 2005/12/01
Babel v3.8l and hyphenation patterns for english, usenglishmax, dumylang,
noh
yphenation, german-x-2008-06-18, ngerman-x-2008-06-18, ancientgreek, ibycus,
ar
abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish,
dutc
h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman,
mono
greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian,
la
tin, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, polish,
portuguese, r
omanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish,
turki
sh, ukenglish, ukrainian, uppersorbian, welsh, loaded.

(/usr/local/texlive/2008/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2008/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/mathptmx.sty
Package: mathptmx 2005/04/12 PSNFSS-v9.2a Times w/ Math, improved (SPQR,
WaS)
LaTeX Font Info:Redeclaring symbol font `operators' on input line 28.
LaTeX Font Info:Overwriting symbol font `operators' in version `normal'
(Font)  OT1/cmr/m/n -- OT1/ztmcm/m/n on input line 28.
LaTeX Font Info:Overwriting symbol font `operators' in version `bold'
(Font)  OT1/cmr/bx/n -- OT1/ztmcm/m/n on input line 28.
LaTeX Font Info:Redeclaring symbol font `letters' on input line 29.
LaTeX Font Info:Overwriting symbol font `letters' in version `normal'
(Font)  OML/cmm/m/it -- OML/ztmcm/m/it on input line 29.
LaTeX Font Info:Overwriting symbol font `letters' in version `bold'
(Font)  OML/cmm/b/it -- OML/ztmcm/m/it on input line 29.
LaTeX Font Info:Redeclaring symbol font `symbols' on input line 30.
LaTeX Font Info:Overwriting symbol font `symbols' in version `normal'
(Font)  OMS/cmsy/m/n -- OMS/ztmcm/m/n on input line 30.
LaTeX Font Info:Overwriting symbol font `symbols' in version `bold'
(Font)  OMS/cmsy/b/n -- OMS/ztmcm/m/n on input line 30.
LaTeX Font Info:Redeclaring symbol font `largesymbols' on input line 31.
LaTeX Font Info:Overwriting symbol font `largesymbols' in version
`normal'
(Font)  OMX/cmex/m/n -- OMX/ztmcm/m/n on input line 31.
LaTeX Font Info:Overwriting symbol font `largesymbols' in version `bold'
(Font)  OMX/cmex/m/n -- OMX/ztmcm/m/n on input line 31.
\symbold=\mathgroup4
\symitalic=\mathgroup5
LaTeX Font Info:Redeclaring math alphabet \mathbf on input line 34.
LaTeX Font Info:Overwriting math alphabet `\mathbf' in version `normal'
(Font)  OT1/cmr/bx/n -- OT1/ptm/bx/n on input line 34.
LaTeX Font Info:Overwriting math alphabet `\mathbf' in version `bold'
(Font)  OT1/cmr/bx/n -- OT1/ptm/bx/n on input line 34.
LaTeX Font Info:Redeclaring math alphabet \mathit on input line 35.
LaTeX Font Info:Overwriting math alphabet `\mathit' in version `normal'
(Font)  OT1/cmr/m/it -- OT1/ptm/m/it on input line 35.
LaTeX Font Info:Overwriting math alphabet `\mathit' in version `bold'
(Font)  OT1/cmr/bx/it -- OT1/ptm/m/it on input line 35.
LaTeX Info: Redefining \hbar on input line 50.
) (/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/helvet.sty
Package: helvet 2005/04/12 PSNFSS-v9.2a (WaS)
(/usr/local/texlive/2008/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)) (/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/courier.sty
Package: courier 2005/04/12 PSNFSS-v9.2a (WaS)
) (/usr/local/texlive/2008/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

Re: Can't create a pdf when the document contains a pdf in a mounted drive

2011-01-21 Thread Clara Anton Fernandez
Thanks Paul,

The error is: 
LaTeX Warning: File `1_media_H_biobau.pdf' not found on input line 54.

! Package pdftex.def Error: File `1_media_H_biobau.pdf' not found.

See the pdftex.def package documentation for explanation.
Type  H return  for immediate help.
 ...  
  
l.54 \includegraphics{1_media_H_biobau.pdf}
   
Using draft setting for this image.
Try typing  return  to proceed.
If that doesn't work, type  X return  to quit.

--

I also tried experiments 1 and 2 without luck. 
I only have problems with the files in the mounted windows share, if the files 
are in my external hard-drive everything works smoothly.
I gave up on this problem months ago, but it would be awesome if I can find a 
fix or a workaround.

Clara



Re: getting LyX to see spellchecker

2011-01-21 Thread Stephan Witt
Am 21.01.2011 um 17:25 schrieb Kenward Vaughan:

 On Thu, 2011-01-20 at 23:39 +0100, Stephan Witt wrote:
 Am 20.01.2011 um 19:39 schrieb Kenward Vaughan:
 
 On Thu, 2011-01-20 at 19:33 +0100, Stephan Witt wrote:
 Am 20.01.2011 um 18:33 schrieb Kenward Vaughan:
 
 On Thu, 2011-01-20 at 18:03 +0100, Stephan Witt wrote:
 Am 20.01.2011 um 17:56 schrieb Kenward Vaughan:
 
 I'm a tad befuddled over this one...  I suddenly discovered that I have
 no spellchecker, with either the system current version of LyX (1.6.7)
 or 2.0-b3 (I trade out ~/.lyx directories).  I'm running Debian/Sid.
 
 I have both ispell and aspell installed.  I've reconfigured LyX several
 times to no avail.  I cannot change anything under Preferences 
 Spellchecker... the Spellchecker engine menu is greyed out.
 
 Changing language settings to English instead of Automatic, followed by
 restarting, reconfiguring, and restarting has no effect.
 
 :((
 
 I built the beta version myself and installed it using whatever defaults
 came with it.  If spellchecking needs to be enabled, then it seems this
 ought to be a default instead of an option.  

One thing to note:
 
The default is to build LyX with the same preferences directory as LyX 1.6!
Perhaps you had the problems with 1.6 because of reading and writing LyX 1.6
the same files as LyX 2.0 - when starting LyX from terminal you may add
-dbg lyxrc
as command line arguments to verify that.

You have to add e.g. --with-version-suffix=-2.0 to make LyX 2.0 using
a parallel $HOME/.lyx-2.0 directory for it's settings.

 I think I'll file this as a bug under LyX with Debian...  For average
 users, I'd think this is an item expected to be there.
 
 I just saw Paul's note as well (apparently he had the same problem).
 
 Thank you very much for your patience and help, Stephan!

You're welcome.

Stephan

Re: Lyx as a simulation lab book (clickable hyperlinks also)

2011-01-21 Thread Pavel Sanda
Chris Lingwood wrote:
 The second feature I felt it needed was the ability to execute hyperlinks to
 open the linked file.

i'm not sure i understand what are you trying to do here, but if its possibility
to get context menu for a hyperlink which launches viewer for  file:// or 
http://
web address i can provide not complicated patch for lyx.

it was part of lyx months back, but then we get nervous thats its security
issue and reverted it.
pavel


Lyx2 + latex-tufte -- recurring error on rendering to DVI

2011-01-21 Thread Michael Gilbert
Hi —

I am a newcomer to this list. Please forgive me in advance for missteps. This 
looks like a really great community and I look forward to learning fast. 

I'm running Lyx2.0b3 on Mac OSX 10.6.6. I have the latest installation from Mac 
TeX and (using TeX Live Utility) did an update of all packages. I started 
several documents using the plain article class, using the following 
environments: Standard, Title, Abstract, Section, Itemize, Paragraph, and Float 
(Figure). Each has some images and a few local styles (just using the LyX 
interface). Now I want to start making the document more attractive and I want 
to see what I can do with the latex-tufte class. I switched the class and then 
the errors started as soon as I try to view the DVI. Basically, I get several 
repetitions of this pattern in the LaTeX Errors window:

! Argument of \MakeTextLowercase has an extra }.
! Paragraph ended before \MakeTextLowercase was complete.
! You can't use `math shift character $' after \the.
! Argument of \@skipmath has an extra }.
! Paragraph ended before \@skipmath was complete.

All five of those lead to a highlight of the same portion of text in the 
document. Looking at the source for that portion (and the surrounding source), 
I don't see any evidence of the errors listed. In fact, I don't see any of the 
commands (is that the right word?) listed. I am modestly skilled at some 
scripting languages, but a TeX newbie, so I don't really know where to dig. I 
can add that, when I look at View Complete Log, there is actually a larger 
pattern. (The overview LaTeX Errors window seems to leave some out.) Listing 
only the error lines themselves (I assume those are the ones with exclamation 
points), this is the complete pattern (after which it moves to another place in 
the document and does the whole thing again):

! Argument of \MakeTextLowercase has an extra }.
! Paragraph ended before \MakeTextLowercase was complete.
! You can't use `math shift character $' after \the.
! Argument of \@skipmath has an extra }.
! Paragraph ended before \@skipmath was complete.
! Undefined control sequence.
! Use of \SOUL@n doesn't match its definition.
! Use of \protect doesn't match its definition.
! Package soul Error: Reconstruction failed.
! Undefined control sequence.
! Missing number, treated as zero.
! Illegal unit of measure (pt inserted).
! Extra }, or forgotten \endgroup.

In addition to looking at the source, I have cut back on the document so that 
it only produces one of these, and then, eventually, none. Character by 
character, I found some arbitrary place where it started to do this. To my 
naive eyes, there is nothing magical about that point. I am happy to try other 
troubleshooting techniques.

Suggestions?

TIA, to say the least

— Michael

Nonprofit Online News
http://news.gilbert.org




Re: Thoughts on Multiple Document Formats

2011-01-21 Thread Tim Wescott

On 01/21/2011 10:52 AM, lyx-de...@oak-tree.us wrote:

Hi Tim,

I haven't looked into, but you might see what tools are available for
creating ePub files. LyX can export to XHTML already, and ePub is merely a
subset of XHTML.

It seems that getting an XHTML file is the easy step. You could either use
eLyXer, or the native XHTML export.  Both appear to create very nice
output. From there, you would only need to find a tool to convert the
XHTML to ePub. One option might be Calibre, which is a free eBook library
tool.

After the ePub file has been created.  You could go after it with a
dedicated editor, such as Sigil.

I'm willing to bet that you could probably automate the entire process
without too much effort. It might be possible to even create a script that
does it all for you. Calibre has a command line processor, even though I
haven't played with it much.

If interested, you can find more about the different:

Calibre -  http://calibre-ebook.com/user_manual/conversion.html
Sigil - https://code.google.com/p/sigil/

This page also has some good info, though it's a bit dated.
http://www.jedisaber.com/eBooks/Readers.asp

Let me know how your experiments go. I'm also in the process of trying to
figure out how to convert my own book to ePub for digital distribution and
would love to bounce ideas back and forth.

I started digging into eBook formats and got discouraged -- it looks 
like I can address some narrow segment of the eBook market with any 
given format, but would need to have numerous ones to address any large 
swath.


So for now, I think I'll move on to other things, and keep an eye on 
what formats are (or will be) most promising.


--
Tim Wescott
Wescott Design Services
Voice: 503-631-7815
Cell:  503-349-8432
http://www.wescottdesign.com




Re: getting LyX to see spellchecker

2011-01-21 Thread Kenward Vaughan
On Fri, 2011-01-21 at 22:01 +0100, Stephan Witt wrote:
 ...

  I built the beta version myself and installed it using whatever defaults
  came with it.  If spellchecking needs to be enabled, then it seems this
  ought to be a default instead of an option.  
 
 One thing to note:
  
 The default is to build LyX with the same preferences directory as LyX 1.6!
 Perhaps you had the problems with 1.6 because of reading and writing LyX 1.6
 the same files as LyX 2.0 - when starting LyX from terminal you may add
 -dbg lyxrc
 as command line arguments to verify that.

I had changed out the .lyx directory for each program, and even deleted
the thing to see if that made any difference.  It didn't, so I **think**
it's the app itself.


 You have to add e.g. --with-version-suffix=-2.0 to make LyX 2.0 using
 a parallel $HOME/.lyx-2.0 directory for it's settings.

Cool.  I'll recompile and do exactly that.  Makes life easier...

Ciao!


Kenward
-- 
Small is the number of them that see with their own eyes and feel with
their own hearts... Albert Einstein




Re: Thoughts on Multiple Document Formats

2011-01-21 Thread Michael Joyner
On Fri, Jan 21, 2011 at 1:52 PM, lyx-de...@oak-tree.us wrote:

 Hi Tim,

 I haven't looked into, but you might see what tools are available for
 creating ePub files. LyX can export to XHTML already, and ePub is merely a
 subset of XHTML.

 It seems that getting an XHTML file is the easy step. You could either use
 eLyXer, or the native XHTML export.  Both appear to create very nice
 output. From there, you would only need to find a tool to convert the
 XHTML to ePub. One option might be Calibre, which is a free eBook library
 tool.



 After the ePub file has been created.  You could go after it with a
 dedicated editor, such as Sigil.

 I have tried this route only to encounter absolute misery. :(
After importing into Calibre, the supposed ePub fails validation, if you
fail validation, no publication...
-- 
---

   - Learn to speak Cherokee: http://www.cherokeelessons.com/
   - Cherokee Language Help BBS/Chat:
   http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6
   - Cherokee Lessons PDF made with: http://www.lyx.org/


Re: Thoughts on Multiple Document Formats

2011-01-21 Thread Alan Tyree
On 1/22/11, Michael Joyner mjoy...@vbservices.net wrote:
 On Fri, Jan 21, 2011 at 1:52 PM, lyx-de...@oak-tree.us wrote:

 Hi Tim,

 I haven't looked into, but you might see what tools are available for
 creating ePub files. LyX can export to XHTML already, and ePub is merely a
 subset of XHTML.

 It seems that getting an XHTML file is the easy step. You could either use
 eLyXer, or the native XHTML export.  Both appear to create very nice
 output. From there, you would only need to find a tool to convert the
 XHTML to ePub. One option might be Calibre, which is a free eBook library
 tool.



 After the ePub file has been created.  You could go after it with a
 dedicated editor, such as Sigil.

 I have tried this route only to encounter absolute misery. :(
 After importing into Calibre, the supposed ePub fails validation, if you
 fail validation, no publication...
 --

Run the xhtml through tidy. I have found that Sigil then produces valid ePub.

Alan

 ---

- Learn to speak Cherokee: http://www.cherokeelessons.com/
- Cherokee Language Help BBS/Chat:
http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6
- Cherokee Lessons PDF made with: http://www.lyx.org/



-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206


Re: getting LyX to see spellchecker

2011-01-21 Thread Pavlo Lyubarskyy
Kenward Vaughan  earthlink.net> writes:

> 
> I'm a tad befuddled over this one...  I suddenly discovered that I have
> no spellchecker, with either the system current version of LyX (1.6.7)
> or 2.0-b3 (I trade out ~/.lyx directories).  I'm running Debian/Sid.
> 
> I have both ispell and aspell installed.  I've reconfigured LyX several
> times to no avail.  I cannot change anything under Preferences >
> Spellchecker... the Spellchecker engine menu is greyed out.
> 
> Changing language settings to English instead of Automatic, followed by
> restarting, reconfiguring, and restarting has no effect.
> 
> :((
> 
> Is there something really basic here that I don't see??
> 
> Kenward


Hallo!

I had the same problem after upgrade to LyX 2.0.0 Beta3. I have installed
additional packets libaspell-dev and hunspell-dev, rebuilded LyX and installed
again. Now it is working for me fine!

Paul



Re: spell cheking in lyx 2.0.0 beta3

2011-01-21 Thread Pavlo Lyubarskyy
Pavlo Lyubarskyy  ovgu.de> writes:


> I'm using lyx with Ubuntu 10.04(lucid), Linux Kernel 2.6.32.28-generic, Gnome
> 2.30.2.
...

Solved!!!

I have installed additional packets libaspell-dev and hunspell-dev, rebuilded
LyX and installed it again. Now it is working for me fine!





Re: PDF (pdflatex) View Missing

2011-01-21 Thread Paul Rubin
Rainer Dorsch  web.de> writes:


> although I see in a configure run here
> 
> +checking for "pdflatex"...   yes
> 
> I do not see the "PDF (pdflatex)" in the view or export options. 
> PDF(pdflatex) 
> is in the formats and converters defined though...
> 

Does Tools > Preferences... > File Handling > Converters have an entry for LaTeX
(pdflatex) -> PDF (pdflatex), and does it look correct?

/Paul




Re: getting LyX to see spellchecker

2011-01-21 Thread Kenward Vaughan
On Thu, 2011-01-20 at 23:39 +0100, Stephan Witt wrote:
> Am 20.01.2011 um 19:39 schrieb Kenward Vaughan:
> 
> > On Thu, 2011-01-20 at 19:33 +0100, Stephan Witt wrote:
> >> Am 20.01.2011 um 18:33 schrieb Kenward Vaughan:
> >> 
> >>> On Thu, 2011-01-20 at 18:03 +0100, Stephan Witt wrote:
>  Am 20.01.2011 um 17:56 schrieb Kenward Vaughan:
>  
> > I'm a tad befuddled over this one...  I suddenly discovered that I have
> > no spellchecker, with either the system current version of LyX (1.6.7)
> > or 2.0-b3 (I trade out ~/.lyx directories).  I'm running Debian/Sid.
> > 
> > I have both ispell and aspell installed.  I've reconfigured LyX several
> > times to no avail.  I cannot change anything under Preferences >
> > Spellchecker... the Spellchecker engine menu is greyed out.
> > 
> > Changing language settings to English instead of Automatic, followed by
> > restarting, reconfiguring, and restarting has no effect.
> > 
> > :((
> > 
> > Is there something really basic here that I don't see??
>  
>  Did you build LyX yourself?
>  If yes, how? And did you enable the spellchecker engines?
> >>> I found un
> >>> 
> >>> I built the beta version myself and installed it using whatever defaults
> >>> came with it.  If spellchecking needs to be enabled, then it seems this
> >>> ought to be a default instead of an option.  
> >> 
> >> You did not tell me, how you build it.
> >> Nevertheless, please check you have all needed software packages for 
> >> developers installed.
> >> In case you built it with autotools and configure you may want to check 
> >> the logs.
> > 
> > 
> > The build ran fine after autoconfig was used.  I glanced through the
> > output, and seeing nothing odd ran make and then make install.  All per
> > the quick directions.  
> 
> I take it you called ./configure in top directory of source tree...
> 
> The relevant output here is like
> 
> ...
> checking aspell.h usability... yes
> checking aspell.h presence... yes
> checking for aspell.h... yes
> checking for new_aspell_config in -laspell... yes
> checking whether to use aspell... yes
> checking for ENCHANT... yes
> checking whether to use enchant... yes
> checking hunspell/hunspell.hxx usability... no
> checking hunspell/hunspell.hxx presence... no
> checking for hunspell/hunspell.hxx... no
> checking for main in -lhunspell... no
> checking whether to use hunspell... no
> ...
> 
> You can see I don't have any spell checker library code installed.
> That's why hunspell is left not available.
> 
> Please post the relevant output of your configure run for comparison.


I didn't have this available since it was built in /tmp a few weeks ago.
I pulled in the Lyx code again, installed the aspell *dev  package
(which was not installed), recompiled, and now things work.  Browsing
through all the documentation pulled up the information as well that the
dev package was required.

I think I'll file this as a bug under LyX with Debian...  For average
users, I'd think this is an item expected to be there.

I just saw Paul's note as well (apparently he had the same problem).

Thank you very much for your patience and help, Stephan!


Kenward
-- 
Do not worry about your difficulties in mathematics.  I can assure you
that mine are still greater. Albert Einstein



Thoughts on Multiple Document Formats

2011-01-21 Thread Tim Wescott
Because I think like a software engineer, I'm putting documents together 
in Lyx so that I can generate them with a makefile.  This isn't (I 
hope!) just over the top attention to detail -- most of my graphs are 
generated in Scilab, and I've found that the best way to not lose the 
source for a graph is to generate it on the fly and discard the actual 
eps file when I'm done.


I recently got an email from a reader who got one of my PDF documents 
off the web, then as an experiment reformatted it for a Sony eBook 
reader.  It actually looks OK, and it has made me think (dangerous I 
know, but there you are).


Since my 'build time' model is to open a command line, go to the correct 
directory, type "make", and go have some coffee, why shouldn't I set 
things up so that I end up with two sets of documents -- one for this 
big desktop "universal eBook reader" that I'm typing at, and another for 
little eBook readers.  Particularly if I can find one eBook format 
that'll at least be suitable for a number of readers.


But -- how do I do this?  As far as I can see, the latex and lyx command 
lines are not rich in switches to do things like insert formatting 
commands.  It appears that the best I can do is to include a file with 
page margins, then rename files as appropriate so that when the "eBook 
version" gets built that file name points to the eBook margins, and when 
the "regular old" version gets built that file name points to decent 
margins for A-size paper.


Is this the best I can do, or is there some other, better way?

--
Tim Wescott
Wescott Design Services
Voice: 503-631-7815
Cell:  503-349-8432
http://www.wescottdesign.com




Re: Thoughts on Multiple Document Formats

2011-01-21 Thread Richard Heck

On 01/21/2011 01:11 PM, Tim Wescott wrote:
Because I think like a software engineer, I'm putting documents 
together in Lyx so that I can generate them with a makefile.  This 
isn't (I hope!) just over the top attention to detail -- most of my 
graphs are generated in Scilab, and I've found that the best way to 
not lose the source for a graph is to generate it on the fly and 
discard the actual eps file when I'm done.


I recently got an email from a reader who got one of my PDF documents 
off the web, then as an experiment reformatted it for a Sony eBook 
reader.  It actually looks OK, and it has made me think (dangerous I 
know, but there you are).


Since my 'build time' model is to open a command line, go to the 
correct directory, type "make", and go have some coffee, why shouldn't 
I set things up so that I end up with two sets of documents -- one for 
this big desktop "universal eBook reader" that I'm typing at, and 
another for little eBook readers.  Particularly if I can find one 
eBook format that'll at least be suitable for a number of readers.


But -- how do I do this?  As far as I can see, the latex and lyx 
command lines are not rich in switches to do things like insert 
formatting commands.  It appears that the best I can do is to include 
a file with page margins, then rename files as appropriate so that 
when the "eBook version" gets built that file name points to the eBook 
margins, and when the "regular old" version gets built that file name 
points to decent margins for A-size paper.


Is this the best I can do, or is there some other, better way?

If most of the options are relatively global, you could do this. Create 
separate "master" documents for the two versions. These will set 
document options but then do nothing but include the common document.


Richard




Re: Thoughts on Multiple Document Formats

2011-01-21 Thread lyx-devel
Hi Tim,

I haven't looked into, but you might see what tools are available for
creating ePub files. LyX can export to XHTML already, and ePub is merely a
subset of XHTML.

It seems that getting an XHTML file is the easy step. You could either use
eLyXer, or the native XHTML export.  Both appear to create very nice
output. From there, you would only need to find a tool to convert the
XHTML to ePub. One option might be Calibre, which is a free eBook library
tool.

After the ePub file has been created.  You could go after it with a
dedicated editor, such as Sigil.

I'm willing to bet that you could probably automate the entire process
without too much effort. It might be possible to even create a script that
does it all for you. Calibre has a command line processor, even though I
haven't played with it much.

If interested, you can find more about the different:

Calibre -  http://calibre-ebook.com/user_manual/conversion.html
Sigil - https://code.google.com/p/sigil/

This page also has some good info, though it's a bit dated.
http://www.jedisaber.com/eBooks/Readers.asp

Let me know how your experiments go. I'm also in the process of trying to
figure out how to convert my own book to ePub for digital distribution and
would love to bounce ideas back and forth.

Cheers,

Rob



Help with DVI output

2011-01-21 Thread Tim Peti
Hi everybody,

I'm a somewhat new LyX user and have run into the following problem: Two of
my floating figures/tables don't show up where they are supposed to be in
the DVI output but a couple of paragraphs later/earlier. If tried placing
somewhere else in the document but the misplacement still happens.

Also, how do I install the caption package for LyX 1.6.8 ?

Thanks you for your suggestions,

Best regards,

Tim


Re: Help with DVI output

2011-01-21 Thread Richard Heck

On 01/21/2011 01:29 PM, Tim Peti wrote:

Hi everybody,

I'm a somewhat new LyX user and have run into the following problem: 
Two of my floating figures/tables don't show up where they are 
supposed to be in the DVI output but a couple of paragraphs 
later/earlier. If tried placing somewhere else in the document but the 
misplacement still happens.


This is normal. It is why the figures and tables are called "floats": 
They "float" to where LaTeX thinks it is best to put them. If you really 
want them to go right where you put them---this is usually not a good 
idea, though, because it can lead to very bad page breaks---then get 
inside the float, hit Edit>Float Settings, and then deselect "Default 
Placement" and choose "Here definitely". You could also try "Here if 
possible", which will make LaTeX put it there unless that's bad.



Also, how do I install the caption package for LyX 1.6.8 ?

This is a LaTeX issue. Install it however you normally install LaTeX 
packages. If you don't know how to do that, then: What OS are you using?


Richard



Re: how to update aux file in LyX?

2011-01-21 Thread Gwen Barnes
On Thu, Jan 20, 2011 at 11:20 PM, Jürgen Spitzmüller  wrote:

> Gwen Barnes wrote:
> > I wrote a module to use revnum.sty in LyX.  It works fine within LyX, but
> > the output to pdf is incorrect. I tested it by exporting a tex file.  If
> I
> > run pdflatex on it once, I get the output LyX gives me.  When I run
> > pdflatex twice on the tex file, I get the correct output.  So it seems
> > that I (revnum.sty) need LyX to run pdflatex an additionaI time to update
> > the aux file properly before outputting the pdf.  How I can I do this?
>
> Could you post the LaTeX log? Maybe the package outputs the "rerun" message
> in
> a specific way that is not yet recognized by LyX.
>
> Jürgen
>

I've pasted it below.  Thanks for taking a look.

-Gwen


This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) (format=pdflatex
2008.12.28)  21 JAN 2011 11:15
entering extended mode
 %&-line parsing enabled.
**BartCVfull.tex
(./BartCVfull.tex
LaTeX2e <2005/12/01>
Babel  and hyphenation patterns for english, usenglishmax, dumylang,
noh
yphenation, german-x-2008-06-18, ngerman-x-2008-06-18, ancientgreek, ibycus,
ar
abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish,
dutc
h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman,
mono
greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian,
la
tin, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, polish,
portuguese, r
omanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish,
turki
sh, ukenglish, ukrainian, uppersorbian, welsh, loaded.

(/usr/local/texlive/2008/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2008/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/mathptmx.sty
Package: mathptmx 2005/04/12 PSNFSS-v9.2a Times w/ Math, improved (SPQR,
WaS)
LaTeX Font Info:Redeclaring symbol font `operators' on input line 28.
LaTeX Font Info:Overwriting symbol font `operators' in version `normal'
(Font)  OT1/cmr/m/n --> OT1/ztmcm/m/n on input line 28.
LaTeX Font Info:Overwriting symbol font `operators' in version `bold'
(Font)  OT1/cmr/bx/n --> OT1/ztmcm/m/n on input line 28.
LaTeX Font Info:Redeclaring symbol font `letters' on input line 29.
LaTeX Font Info:Overwriting symbol font `letters' in version `normal'
(Font)  OML/cmm/m/it --> OML/ztmcm/m/it on input line 29.
LaTeX Font Info:Overwriting symbol font `letters' in version `bold'
(Font)  OML/cmm/b/it --> OML/ztmcm/m/it on input line 29.
LaTeX Font Info:Redeclaring symbol font `symbols' on input line 30.
LaTeX Font Info:Overwriting symbol font `symbols' in version `normal'
(Font)  OMS/cmsy/m/n --> OMS/ztmcm/m/n on input line 30.
LaTeX Font Info:Overwriting symbol font `symbols' in version `bold'
(Font)  OMS/cmsy/b/n --> OMS/ztmcm/m/n on input line 30.
LaTeX Font Info:Redeclaring symbol font `largesymbols' on input line 31.
LaTeX Font Info:Overwriting symbol font `largesymbols' in version
`normal'
(Font)  OMX/cmex/m/n --> OMX/ztmcm/m/n on input line 31.
LaTeX Font Info:Overwriting symbol font `largesymbols' in version `bold'
(Font)  OMX/cmex/m/n --> OMX/ztmcm/m/n on input line 31.
\symbold=\mathgroup4
\symitalic=\mathgroup5
LaTeX Font Info:Redeclaring math alphabet \mathbf on input line 34.
LaTeX Font Info:Overwriting math alphabet `\mathbf' in version `normal'
(Font)  OT1/cmr/bx/n --> OT1/ptm/bx/n on input line 34.
LaTeX Font Info:Overwriting math alphabet `\mathbf' in version `bold'
(Font)  OT1/cmr/bx/n --> OT1/ptm/bx/n on input line 34.
LaTeX Font Info:Redeclaring math alphabet \mathit on input line 35.
LaTeX Font Info:Overwriting math alphabet `\mathit' in version `normal'
(Font)  OT1/cmr/m/it --> OT1/ptm/m/it on input line 35.
LaTeX Font Info:Overwriting math alphabet `\mathit' in version `bold'
(Font)  OT1/cmr/bx/it --> OT1/ptm/m/it on input line 35.
LaTeX Info: Redefining \hbar on input line 50.
) (/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/helvet.sty
Package: helvet 2005/04/12 PSNFSS-v9.2a (WaS)
(/usr/local/texlive/2008/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)) (/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/courier.sty
Package: courier 2005/04/12 PSNFSS-v9.2a (WaS)
) (/usr/local/texlive/2008/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 

Re: Can't create a pdf when the document contains a pdf in a mounted drive

2011-01-21 Thread Clara Anton Fernandez
Thanks Paul,

The error is: 
LaTeX Warning: File `1_media_H_biobau.pdf' not found on input line 54.

! Package pdftex.def Error: File `1_media_H_biobau.pdf' not found.

See the pdftex.def package documentation for explanation.
Type  H   for immediate help.
 ...  
  
l.54 \includegraphics{1_media_H_biobau.pdf}
   
Using draft setting for this image.
Try typingto proceed.
If that doesn't work, type  X   to quit.

--

I also tried experiments 1 and 2 without luck. 
I only have problems with the files in the mounted windows share, if the files 
are in my external hard-drive everything works smoothly.
I gave up on this problem months ago, but it would be awesome if I can find a 
fix or a workaround.

Clara



Re: getting LyX to see spellchecker

2011-01-21 Thread Stephan Witt
Am 21.01.2011 um 17:25 schrieb Kenward Vaughan:

> On Thu, 2011-01-20 at 23:39 +0100, Stephan Witt wrote:
>> Am 20.01.2011 um 19:39 schrieb Kenward Vaughan:
>> 
>>> On Thu, 2011-01-20 at 19:33 +0100, Stephan Witt wrote:
 Am 20.01.2011 um 18:33 schrieb Kenward Vaughan:
 
> On Thu, 2011-01-20 at 18:03 +0100, Stephan Witt wrote:
>> Am 20.01.2011 um 17:56 schrieb Kenward Vaughan:
>> 
>>> I'm a tad befuddled over this one...  I suddenly discovered that I have
>>> no spellchecker, with either the system current version of LyX (1.6.7)
>>> or 2.0-b3 (I trade out ~/.lyx directories).  I'm running Debian/Sid.
>>> 
>>> I have both ispell and aspell installed.  I've reconfigured LyX several
>>> times to no avail.  I cannot change anything under Preferences >
>>> Spellchecker... the Spellchecker engine menu is greyed out.
>>> 
>>> Changing language settings to English instead of Automatic, followed by
>>> restarting, reconfiguring, and restarting has no effect.
>>> 
>>> :((
>>> 
> I built the beta version myself and installed it using whatever defaults
> came with it.  If spellchecking needs to be enabled, then it seems this
> ought to be a default instead of an option.  

One thing to note:
 
The default is to build LyX with the same preferences directory as LyX 1.6!
Perhaps you had the problems with 1.6 because of reading and writing LyX 1.6
the same files as LyX 2.0 - when starting LyX from terminal you may add
-dbg lyxrc
as command line arguments to verify that.

You have to add e.g. --with-version-suffix=-2.0 to make LyX 2.0 using
a parallel $HOME/.lyx-2.0 directory for it's settings.

> I think I'll file this as a bug under LyX with Debian...  For average
> users, I'd think this is an item expected to be there.
> 
> I just saw Paul's note as well (apparently he had the same problem).
> 
> Thank you very much for your patience and help, Stephan!

You're welcome.

Stephan

Re: Lyx as a simulation lab book (clickable hyperlinks also)

2011-01-21 Thread Pavel Sanda
Chris Lingwood wrote:
> The second feature I felt it needed was the ability to execute hyperlinks to
> open the linked file.

i'm not sure i understand what are you trying to do here, but if its possibility
to get context menu for a hyperlink which launches viewer for  file:// or 
http://
web address i can provide not complicated patch for lyx.

it was part of lyx months back, but then we get nervous thats its security
issue and reverted it.
pavel


Lyx2 + latex-tufte -- recurring error on rendering to DVI

2011-01-21 Thread Michael Gilbert
Hi —

I am a newcomer to this list. Please forgive me in advance for missteps. This 
looks like a really great community and I look forward to learning fast. 

I'm running Lyx2.0b3 on Mac OSX 10.6.6. I have the latest installation from Mac 
TeX and (using TeX Live Utility) did an update of all packages. I started 
several documents using the plain article class, using the following 
environments: Standard, Title, Abstract, Section, Itemize, Paragraph, and Float 
(Figure). Each has some images and a few local styles (just using the LyX 
interface). Now I want to start making the document more attractive and I want 
to see what I can do with the latex-tufte class. I switched the class and then 
the errors started as soon as I try to view the DVI. Basically, I get several 
repetitions of this pattern in the LaTeX Errors window:

! Argument of \MakeTextLowercase has an extra }.
! Paragraph ended before \MakeTextLowercase was complete.
! You can't use `math shift character $' after \the.
! Argument of \@skipmath has an extra }.
! Paragraph ended before \@skipmath was complete.

All five of those lead to a highlight of the same portion of text in the 
document. Looking at the source for that portion (and the surrounding source), 
I don't see any evidence of the errors listed. In fact, I don't see any of the 
commands (is that the right word?) listed. I am modestly skilled at some 
scripting languages, but a TeX newbie, so I don't really know where to dig. I 
can add that, when I look at View Complete Log, there is actually a larger 
pattern. (The overview LaTeX Errors window seems to leave some out.) Listing 
only the error lines themselves (I assume those are the ones with exclamation 
points), this is the complete pattern (after which it moves to another place in 
the document and does the whole thing again):

! Argument of \MakeTextLowercase has an extra }.
! Paragraph ended before \MakeTextLowercase was complete.
! You can't use `math shift character $' after \the.
! Argument of \@skipmath has an extra }.
! Paragraph ended before \@skipmath was complete.
! Undefined control sequence.
! Use of \SOUL@n doesn't match its definition.
! Use of \protect doesn't match its definition.
! Package soul Error: Reconstruction failed.
! Undefined control sequence.
! Missing number, treated as zero.
! Illegal unit of measure (pt inserted).
! Extra }, or forgotten \endgroup.

In addition to looking at the source, I have cut back on the document so that 
it only produces one of these, and then, eventually, none. Character by 
character, I found some arbitrary place where it started to do this. To my 
naive eyes, there is nothing magical about that point. I am happy to try other 
troubleshooting techniques.

Suggestions?

TIA, to say the least

— Michael

Nonprofit Online News
http://news.gilbert.org




Re: Thoughts on Multiple Document Formats

2011-01-21 Thread Tim Wescott

On 01/21/2011 10:52 AM, lyx-de...@oak-tree.us wrote:

Hi Tim,

I haven't looked into, but you might see what tools are available for
creating ePub files. LyX can export to XHTML already, and ePub is merely a
subset of XHTML.

It seems that getting an XHTML file is the easy step. You could either use
eLyXer, or the native XHTML export.  Both appear to create very nice
output. From there, you would only need to find a tool to convert the
XHTML to ePub. One option might be Calibre, which is a free eBook library
tool.

After the ePub file has been created.  You could go after it with a
dedicated editor, such as Sigil.

I'm willing to bet that you could probably automate the entire process
without too much effort. It might be possible to even create a script that
does it all for you. Calibre has a command line processor, even though I
haven't played with it much.

If interested, you can find more about the different:

Calibre -  http://calibre-ebook.com/user_manual/conversion.html
Sigil - https://code.google.com/p/sigil/

This page also has some good info, though it's a bit dated.
http://www.jedisaber.com/eBooks/Readers.asp

Let me know how your experiments go. I'm also in the process of trying to
figure out how to convert my own book to ePub for digital distribution and
would love to bounce ideas back and forth.

I started digging into eBook formats and got discouraged -- it looks 
like I can address some narrow segment of the eBook market with any 
given format, but would need to have numerous ones to address any large 
swath.


So for now, I think I'll move on to other things, and keep an eye on 
what formats are (or will be) most promising.


--
Tim Wescott
Wescott Design Services
Voice: 503-631-7815
Cell:  503-349-8432
http://www.wescottdesign.com




Re: getting LyX to see spellchecker

2011-01-21 Thread Kenward Vaughan
On Fri, 2011-01-21 at 22:01 +0100, Stephan Witt wrote:
> ...

> > I built the beta version myself and installed it using whatever defaults
> > came with it.  If spellchecking needs to be enabled, then it seems this
> > ought to be a default instead of an option.  
> 
> One thing to note:
>  
> The default is to build LyX with the same preferences directory as LyX 1.6!
> Perhaps you had the problems with 1.6 because of reading and writing LyX 1.6
> the same files as LyX 2.0 - when starting LyX from terminal you may add
> -dbg lyxrc
> as command line arguments to verify that.

I had changed out the .lyx directory for each program, and even deleted
the thing to see if that made any difference.  It didn't, so I **think**
it's the app itself.


> You have to add e.g. --with-version-suffix=-2.0 to make LyX 2.0 using
> a parallel $HOME/.lyx-2.0 directory for it's settings.

Cool.  I'll recompile and do exactly that.  Makes life easier...

Ciao!


Kenward
-- 
Small is the number of them that see with their own eyes and feel with
their own hearts... Albert Einstein




Re: Thoughts on Multiple Document Formats

2011-01-21 Thread Michael Joyner
On Fri, Jan 21, 2011 at 1:52 PM,  wrote:

> Hi Tim,
>
> I haven't looked into, but you might see what tools are available for
> creating ePub files. LyX can export to XHTML already, and ePub is merely a
> subset of XHTML.
>
> It seems that getting an XHTML file is the easy step. You could either use
> eLyXer, or the native XHTML export.  Both appear to create very nice
> output. From there, you would only need to find a tool to convert the
> XHTML to ePub. One option might be Calibre, which is a free eBook library
> tool.
>
>

> After the ePub file has been created.  You could go after it with a
> dedicated editor, such as Sigil.
>
> I have tried this route only to encounter absolute misery. :(
After importing into Calibre, the supposed ePub fails validation, if you
fail validation, no publication...
-- 
---

   - Learn to speak Cherokee: http://www.cherokeelessons.com/
   - Cherokee Language Help BBS/Chat:
   http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6
   - Cherokee Lessons PDF made with: http://www.lyx.org/


Re: Thoughts on Multiple Document Formats

2011-01-21 Thread Alan Tyree
On 1/22/11, Michael Joyner  wrote:
> On Fri, Jan 21, 2011 at 1:52 PM,  wrote:
>
>> Hi Tim,
>>
>> I haven't looked into, but you might see what tools are available for
>> creating ePub files. LyX can export to XHTML already, and ePub is merely a
>> subset of XHTML.
>>
>> It seems that getting an XHTML file is the easy step. You could either use
>> eLyXer, or the native XHTML export.  Both appear to create very nice
>> output. From there, you would only need to find a tool to convert the
>> XHTML to ePub. One option might be Calibre, which is a free eBook library
>> tool.
>>
>>
>
>> After the ePub file has been created.  You could go after it with a
>> dedicated editor, such as Sigil.
>>
>> I have tried this route only to encounter absolute misery. :(
> After importing into Calibre, the supposed ePub fails validation, if you
> fail validation, no publication...
> --

Run the xhtml through tidy. I have found that Sigil then produces valid ePub.

Alan

> ---
>
>- Learn to speak Cherokee: http://www.cherokeelessons.com/
>- Cherokee Language Help BBS/Chat:
>http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6
>- Cherokee Lessons PDF made with: http://www.lyx.org/
>


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206