RE: Export/View to HTML/Word/OO.Writer not working at all

2006-07-13 Thread Dean O'Connor


Much appreciate all that info.

Firstly I hope the Lyx website can add the Export->HTML (etc) to their
list of Known Bugs. Save a lot of grief. If its there, appologies I
could not see it.

Now onto the work around.

The Lyx 1.4.2 all-in-one install puts all these in the Lyx Path Prefix:
C:\Program Files\LyX14\latextools;C:\Program
Files\LyX14\python;C:\Program
Files\LyX14\shell\bin;C:\texmf\miktex\bin;C:\Program
Files\gs\gs8.54\bin;C:\Program Files\ImageMagick-6.2.8-Q16

This is my env path value:

PATH=c:\program
files\imagemagick-6.2.8-q16;C:\texmf\miktex\bin;C:\Perl\bin\;C:\WINDOWS\
system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Progra
m Files\Common Files\GTK\2.0\bin\;C:\Program Files\Microsoft SQL
Server\90\Tools\binn\;C:\projects\clarite\trunk\xercesc\Xerces-C_3_0_0_d
ev\Bu
ild\Win32\VC8\Release;C:\tools;C:\Program Files\Microsoft Visual
Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual
Studio\Common\MSD
ev98\Bin;C:\Program Files\Microsoft Visual
Studio\Common\Tools;C:\Program Files\Microsoft Visual
Studio\VC98\bin;C:\Program Files\gs\gs8.54\bi
n;C:\Program Files\LyX14\python

PATH=c:\program
files\imagemagick-6.2.8-q16;C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;
C:\WINDOWS\System32\Wbem;C:\Progra
m Files\Common Files\GTK\2.0\bin\;C:\Program Files\Microsoft SQL
Server\90\Tools\binn\;C:\projects\clarite\trunk\xercesc\Xerces-C_3_0_0_d
ev\Bu
ild\Win32\VC8\Release;C:\tools;C:\Program Files\Microsoft Visual
Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual
Studio\Common\MSD
ev98\Bin;C:\Program Files\Microsoft Visual
Studio\Common\Tools;C:\Program Files\Microsoft Visual
Studio\VC98\bin;C:\Program Files\gs\gs8.54\bi
n;C:\Program Files\ImageMagick-6.2.8-Q16;C:\Program Files\LyX14\python

The Miktex directory with the Lyx bundle is: C:\texmf\miktex\bin

If I type "convert" I get the ImageMagick one.

I also have installed the latest Miktex 2.5 beta (just now) and tried
running htlatex from there.
In a separate command window for that I put its own path at front of
PATH.
Ie. Above path prefixed with: C:\Program Files\MiKTeX 2.5\miktex\bin

In both the bundle and the beta Miktex environments (which use the same
ImageMagick and GS paths) I get the same problem.

If I run htlatex.exe .. They both say: 

C:\texmf\miktex\bin>htlatex c:\docs\newfile1.tex
htlatex: the batch script could not be found.

C:\PROGRA~1\MIKTEX~1.5\miktex\bin>htlatex c:\docs\newfile1.tex
htlatex: The Windows command script file could not be found.

If I add an empty htlatex.bat file to both directories, it stops that
error, but nothing happens. Ie. It executes that batch file.
Why ? What is it with the batch file ?
Obviously I am missing some fundamental Miktex piece of the puzzle here,
but to be honest both installs were smooth as.

Any ideas ?

Cheers
Dean.

-Original Message-
From: Steve Harris [mailto:[EMAIL PROTECTED] 
Sent: Friday, 14 July 2006 4:09 PM
To: Dean O'Connor
Subject: Re: Export/View to HTML/Word/OO.Writer not working at all

Dean O'Connor wrote:

> 
> Now this thread talks about same problem and someone gives a 
> workaround, but that work around doesn't seem to work.
> 
> http://www.mail-archive.com/lyx-users@lists.lyx.org/msg48496.html
> 
> If I type that dos command I get this error: "htlatex: the batch 
> script could not be found."
> I have tried adding C:\texmf\miktex\bin to my PATH.
> 

You don't have Imagemagick and/or Ghostscript in your Windows Path or
they are not installed. Imagemagick uses convert.exe and I think
Ghostscript uses gswin32c.exe. GSview is gsview32.exe which may be
optional but very useful... Or you have conflicts from other installed
programs that use different versions of these same filenamed commands.
Move the others to the end of your Path.
You can find duplicates with the Windows Search tool.

The export to html is broken in LyX. But not the export to .tex.
Run htlatex on the exported .tex file. Running htlatex from the command
line is not broken, not a bug; if it doesn't work the problem is how
your system is set up.

Regards,
Stephen



Re: Start LyX 1.3.7 and 1.4.2 with custom user directory using single click on a Mac?

2006-07-13 Thread Steve Harris

Gerard A. Ateshian wrote:

Hi,

I am trying to run both LyX 1.4.2 (just compiled it) and 1.3.7 on my Mac 
(Powerbook G4, OS X 10.4.7).  I would like to be able to start either 
version by simply clicking on the corresponding icon on my desktop.  
However, when I do that, LyX always sets the user directory to 
~/Library/Application Support/LyX, even if my .login shell has set 
LYX_USERDIR_13x to something else, like ~/Library/Application 
Support/LyX-1.3.  The same thing happens with LyX 1.4.2 and 
LYX_USERDIR_14x.


The only way I can get LyX to start with the desired user directory is 
by opening a terminal shell and running LyX as a shell command (either 
with -userdir or by defining the environmental variables).  Is there a 
simple way around this problem, where I can start either version with 
its correct user directory using a single click?


(I have found a workaround using the Automator utility in Mac OS X, 
which creates a 'workflow' application that runs a shell script.  The 
problem is that during the entire time that LyX is running, there is an 
annoying 'Workflow  Running' message with a rotating scroll appearing on 
the menu bar).


Any help would be appreciated.

Gerard Ateshian





I use Windows with 4 versions of LyX installed, and used
a different icon for each version, appropriately renamed.
Each one is linked to its own lyx.exe and preferences folder.
I would be very surprised if there is another way to do it.

Regards,
Stephen


Re: Export/View to HTML/Word/OO.Writer not working at all

2006-07-13 Thread Steve Harris

Dean O'Connor wrote:

I have freshly installed the lastest Lyx 1.4.2 r1, using the net
installer.

I can creates docs and view DVI without problems. Looks great.

But if I try to Export (or View) to HTML I get an "error occurred whilst
running htlatex" errors.

Firstly error is that htlatex still has problems with paths with spaces
in it, so in Lyx opts I have to change Temp (and prob Working) directory
from the Windows defaults to something like c:\docs and c:\tmp

When that is fixed I get the show stopper error where it shows a temp
file name (cut off screen tho).

Previously in 1.4.1, this would complete hang htlatex (for me) and I'd
have to kill the htlatex.exe process to recover.

For Exporting to Word I get a similar error, but this shows just the
file name (original without full path, not a tmp file) followed by args.

Exporting to OO.Writer there is no error, but no output either.

Exporting to PDF is fine.

Now this thread talks about same problem and someone gives a workaround,
but that work around doesn't seem to work.

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg48496.html

If I type that dos command I get this error: "htlatex: the batch script
could not be found."
I have tried adding C:\texmf\miktex\bin to my PATH.

Also this guy has a similar dos command that also gives me same error.
http://www.goland.org/lyx/#x1-90008

If it really is a known bug, can someone (a dev?) possibly give some
explanation and possible a work around that works.
I have looked in the dev mail achive a bit, see some sorta related hits,
but nothing concrete.
A workaround/fix that allows me to still use the File -> Export would be
nce :)

Cheers
Dean.



I wrote one of those messages, Steogeb is Stephen with my fingers
on the wrong keys. The export from LyX to html doesn't work. But
htlatex from the command line *always* works to produce html.

htlatex uses ImageMagick and Ghostscript and I didn't see you
mention having them installed and in your Windows path. My path:

c:\imagemagick;C:\ghostgum\gsview;C:\gs\gsv8.51\bin;C:\perl;C:\Python24;
C:\aspell;C:\aspell\bin;C:\texmf\miktex\bin;C:\Msys\1.0\bin; {C:\lyx\~}
I also have those in LyX->Tools->Preferences->Paths->Path_prefix:

I don't think you need Perl anymore, Aspell is optional, and
Msys/Python might not be used in this case. Make sure you have
these programs installed and in your Path because other LyX
activities may invoke them, especially Imagemagick and Ghostscript.

Another problem is if you have convert.exe or Ghostscript in
the Path from other programs ahead of the ones you need. Cygwin
is a prime example, if you have it, put it at the end of Path.
I don't know where your installer puts these helper apps because
I have them already installed and it doesn't install anything.
But, I think python and the shell/Msys are in the LyX directory.
Which means you need to check on GS* and Imagemagick.

This is not working because of your environment _not a bug_.
Also oolatex is htlatex dressed up with command line options:

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

"Different variants of the htlatex command may be invoked by
introducing the commands as arguments to a driver named mk4ht.
When provided without arguments, the driver lists the commands
it recognizes.

mk4ht mzlatex filename "html,3" (htlatex filename "html,3,xhtml,mozilla" 
" -cmozhtf")


mk4ht oolatex filename 	(htlatex filename "xhtml,ooffice" "ooffice/! 
-coo") ...


OpenOffice and MS Word

A translation for an OpenOffice format can be requested by the
‘\oolatex’ command. The command is a variant of htlatex in which
the first list of options holds the entries ‘xhtml,ooffice’, the
second list holds the entry ‘-cmozhtf’ preceded by a space, and
the third list contains ‘-coo’ (htlatex filename "xhtml,ooffice"
"ooffice/! -cmozhtf" "-coo" "-cvalidate"). The output of a command
‘oolatex filename’ is a zipped file named with a ‘.sxw’ extension."

I have used "htlatex foo.tex" producing foo.html and imported
it into Word with excellent results. If you searched for this
I've provided urls which prove it amongst those posts. one was
Gumm's website and the other demoarticle.html.

Importing the html into OpenOffice and exporting to Word
was nearly just as good as directly importing into Word.
I haven't compared it to the oolatex->.sxw->Word method.

Ares got this to work also. But he wasn't pleased with the
default .png output that displays equations in the doc.
So he used "htaltex foo.tex "html,jpg" which are larger
files. For some systems, the default .pngs works very well.

--

Stephen
"Once you eliminate the impossible, whatever remains, no matter
how improbable, must be the truth." SH: Sherlock Holmes (Doyle)


Start LyX 1.3.7 and 1.4.2 with custom user directory using single click on a Mac?

2006-07-13 Thread Gerard A. Ateshian

Hi,

I am trying to run both LyX 1.4.2 (just compiled it) and 1.3.7 on my  
Mac (Powerbook G4, OS X 10.4.7).  I would like to be able to start  
either version by simply clicking on the corresponding icon on my  
desktop.  However, when I do that, LyX always sets the user directory  
to ~/Library/Application Support/LyX, even if my .login shell has set  
LYX_USERDIR_13x to something else, like ~/Library/Application Support/ 
LyX-1.3.  The same thing happens with LyX 1.4.2 and LYX_USERDIR_14x.


The only way I can get LyX to start with the desired user directory  
is by opening a terminal shell and running LyX as a shell command  
(either with -userdir or by defining the environmental variables).   
Is there a simple way around this problem, where I can start either  
version with its correct user directory using a single click?


(I have found a workaround using the Automator utility in Mac OS X,  
which creates a 'workflow' application that runs a shell script.  The  
problem is that during the entire time that LyX is running, there is  
an annoying 'Workflow  Running' message with a rotating scroll  
appearing on the menu bar).


Any help would be appreciated.

Gerard Ateshian



Re: Export/View to HTML/Word/OO.Writer not working at all

2006-07-13 Thread Bo Peng

I have not tried htlatex on windows. When I tried ooffice format,
windows told me that "zip.exe not found" so the final step could not
be completed. I would suggest that you export to latex and try these
conversion tools in a command window. In this way, you will see what
has gone wrong with the conversion.

It is not exactly lyx' fault that these external conversion scripts do
not work well under windows.

Cheers,
Bo


Export/View to HTML/Word/OO.Writer not working at all

2006-07-13 Thread Dean O'Connor

I have freshly installed the lastest Lyx 1.4.2 r1, using the net
installer.

I can creates docs and view DVI without problems. Looks great.

But if I try to Export (or View) to HTML I get an "error occurred whilst
running htlatex" errors.

Firstly error is that htlatex still has problems with paths with spaces
in it, so in Lyx opts I have to change Temp (and prob Working) directory
from the Windows defaults to something like c:\docs and c:\tmp

When that is fixed I get the show stopper error where it shows a temp
file name (cut off screen tho).

Previously in 1.4.1, this would complete hang htlatex (for me) and I'd
have to kill the htlatex.exe process to recover.

For Exporting to Word I get a similar error, but this shows just the
file name (original without full path, not a tmp file) followed by args.

Exporting to OO.Writer there is no error, but no output either.

Exporting to PDF is fine.

Now this thread talks about same problem and someone gives a workaround,
but that work around doesn't seem to work.

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg48496.html

If I type that dos command I get this error: "htlatex: the batch script
could not be found."
I have tried adding C:\texmf\miktex\bin to my PATH.

Also this guy has a similar dos command that also gives me same error.
http://www.goland.org/lyx/#x1-90008

If it really is a known bug, can someone (a dev?) possibly give some
explanation and possible a work around that works.
I have looked in the dev mail achive a bit, see some sorta related hits,
but nothing concrete.
A workaround/fix that allows me to still use the File -> Export would be
nce :)

Cheers
Dean.


Re: ANNOUNCE: LyX 1.4.2 is released

2006-07-13 Thread Jean-Pierre Chretien

Hello LyXers,

lyx -x reconfigure
takes 10s instead of 45 with 1.4.1 on Sun/Solaris... really great !

However, I noticed  a few minor things while installing:
 - the prefernce file is not created any more in the home dir.
 lyxrc.default refers to a custom lyxrc file, but it seems that the name
 is still preferences;
 - in the configure log, the hyphenation seems to be taken from texmf-dist
 language.dat (here it has been modified,  so it is in texmf-var);
 - LaTeXConfig.lyx tells me that my LaTeX version is dated 2003/12/01,
 I guess TeXlive 2005 is more recent;
 - I had to run lyx -x reconfigure twice for my local layout to be effective
 (I mean I get "yes" in the log, but lyx doesn't load the layout the first 
time).
 
Thanks to the developers for this new release.

-- 
Jean-Pierre

 
 





Re: ANNOUNCE: LyX 1.4.2 is released

2006-07-13 Thread Paul A. Rubin

Rich Shepard wrote:

On Thu, 13 Jul 2006, mail.k wrote:


Is the list a gentlemen's club? ...


  Usually. AFAIK, all the developers are male, and I cannot recall 
flames or

other obnoxious behaviors on this mail list.

Rich



Ah, but this is the *user* list, where (a) not all users are male and 
(b) not all male users are gentlemen (at least according to feedback 
from several of my acquaintances).


/Paul




Re: beamer.layout on Windows

2006-07-13 Thread Paul A. Rubin

Myriam Abramson wrote:

Hi!

I've installed LyX with the windows installer without problem and the
beamer presentation class appears in the menu. It seems however that
beamer.layout cannot be found. It can be found in the texmf
directories. How can I tell LyX where to find it? Where is the
.lyx/layouts directory on Windows? 


TIA,


   myriam




The user layout directory is C:\Documents and Settings\id>\Application Data\LyX1.4.x\layouts\ (at least as of 1.4.1, haven't 
installed 1.4.2 yet).  The system layout directory is root>\Resources\layouts.  I prefer to use the user one, so that 
reinstallation doesn't make the file go away.


/Paul



Re: Instant-Preview not working - How to troublecheck

2006-07-13 Thread Paul A. Rubin

Jan Peters wrote:

Hi, i have a problem with instant preview: it simply claims that the
latex compilation failed, see below --- despite that I could compile
it manually. Does anybody know how to fix this?

Thanks,
-Jan

lyx document header finished

   python 
'/Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py'

png '/tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex' 216 00
faf0e6
   Interpretted as:

   python
   
/Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py

   png
   /tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex
   216
   00
   faf0e6

void BufferView::Pimpl::update(Update::flags)[fitcursor = 1,
forceupdate = 0, singlepar = 0]  buffer: 0x15264520
ViewMetricsInfo BufferView::Pimpl::metrics(bool) y1: 0 y2: 731 pit1: 0
pit2: 2 npit: 62 singlepar: 0
void BufferView::Pimpl::updateScrollbar() Updating scrollbar: height:
62 curr par: 0 default height 37
verbose dispatch msg (file-open
/Volumes/Boudin_HomeDir/Publications/Journals/JMLR/2006/JLMR2006.lyx)
latex failed to compile 0lyxpreview.tex
PreviewLoader::finishedInProgress(1): processing failed for python
'/Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py'
png '/tmp/lyx_tmpdir445111RZoo/lyx_tmpbuf0/0lyxpreview.tex' 216 00
faf0e6



When you say could compile it manually, does "it" refer to the original 
document or specifically the math inset (0lyxpreview.tex)?  Are the 
paths in the last message above (to lyxpreview2bitmap.py and to 
0lyxpreview.tex) valid?  And, importantly, is Python installed?  (If you 
open a command prompt in the directory where lyxpreview2bitmap.py lives 
and execute lyxpreview2bitmap.py, do you get a usage message?)


/Paul



Re: ANNOUNCE: LyX 1.4.2 is released

2006-07-13 Thread Rich Shepard

On Thu, 13 Jul 2006, mail.k wrote:


Is the list a gentlemen's club? ...


  Usually. AFAIK, all the developers are male, and I cannot recall flames or
other obnoxious behaviors on this mail list.

Rich

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


Re: ANNOUNCE: LyX 1.4.2 is released

2006-07-13 Thread Steve Harris

mail.k wrote:

Is the list a gentlemen's club? ...


Rich Shepard wrote:



Gentlemen:

   Is there something I can read to learn how this differs from the
   current





Yes sir, except for the occasional madam Im adam.

ftp://ftp.lyx.org/pub/lyx/bin/1.4.2/
These contain Joost's new files for Windows users.

The 1.4.2svn release worked quite well, I thought.

Regards,
Sirrah


Re: Adding an abstract section into a book class

2006-07-13 Thread Richard Heck
Isaac Pante wrote:
> I want to insert an abstract of my work in my document. Is there a way
> to use the "abstract" environment into a document created with the
> class "book"?
No: The abstract environment does not exist in the book class. (It does
exist in amsbook.) Of course, you can define such an environment
yourself, of just use some other environment (say, quote) at the
appropriate point.

Richard




Re: ANNOUNCE: LyX 1.4.2 is released

2006-07-13 Thread Steve Harris

Rich Shepard wrote:

On Thu, 13 Jul 2006, Steve Harris wrote:

I think that since pdflatex doesn't use the .eps format this might 
mean an

automatic conversion of any (mixed) eps files to pdflatex compatible
formats. Maybe I'm wrong but I thought this was done manually.


  I don't know, Steve. I used only .eps figures in my book and produced the
PDF output with pdflatex.

  This is quite interesting; I'm learning a lot.

Rich



Well, I think I've read this more than one place.

http://mintaka.sdsu.edu/GF/bibliog/latex/LaTeXtoPDF.html



dvipdfm method

If you don't need PostScript output, you can save a step by going 
directly from DVI to PDF format by using dvipdfm:


  latexdvipdfm
text.tex ---> text.dvi ---> text.pdf

Once again, the figures must be Encapsulated PS. So you have compact, 
scalable graphics — with one less step.


--

Pdflatex method

The pdflatex program produces a PDF file directly from the LaTeX source:

 pdflatex
text.tex > text.pdf

That looks pretty painless; but there's a catch. While the previous 
methods employ EPS exclusively as the graphics format, pdflatex won't 
accept EPS directly at all: you have to convert all the graphics to 
JPEG, PNG, or PDF (!) before compiling.


That isn't as bad as it sounds, because EPS can be “wrapped” with PDF 
headers to become PDF and still have scalable, vector graphics. And JPEG 
is a compact format for photographs, while PNG is a very compact way to 
store images with sharp outlines without introducing compression 
artifacts."


Regards,
Stephen


Re: ANNOUNCE: LyX 1.4.2 is released

2006-07-13 Thread mail.k

Is the list a gentlemen's club? ...


Rich Shepard wrote:



Gentlemen:

   Is there something I can read to learn how this differs from the
   current




Re: ANNOUNCE: LyX 1.4.2 is released

2006-07-13 Thread Rich Shepard

On Thu, 13 Jul 2006, Georg Baum wrote:


Normally you want the first. You might want the latter if you need to do
manual tweaks to the .tex file, or if you need to give your document to
somebody who does not have LyX and needs the .tex file. Or you might use
special packages that require more runs of pdflatex and/or auxiliary
programs e.g. to produce a special index.


Georg,

  Thanks very much for the insight.

  When I submitted my book to Springer-Verlag, I ran both pdflatex and
latex on the lyx file. That provided them with all the files they wanted;
that is, _everything_. Made a rather large tarball, too.

Rich

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


Re: ANNOUNCE: LyX 1.4.2 is released

2006-07-13 Thread Georg Baum
Rich Shepard wrote:

>A-ha! That makes sense. When might I want to use the latter (a two-step
> process) rather than the former (a one-step process)?

Normally you want the first. You might want the latter if you need to do
manual tweaks to the .tex file, or if you need to give your document to
somebody who does not have LyX and needs the .tex file. Or you might use
special packages that require more runs of pdflatex and/or auxiliary
programs e.g. to produce a special index.


Georg



Re: Export to PDF (pdflatex)

2006-07-13 Thread Michael Boehler

Thanks to all who assist me. For the next person with the same prob:

I finally had to delete the whole section in the eps file

featurebegin{
.
.   here is the evil setpagedevice command ; )
.
}featurecleanup


insert the graphic into lyx and instead of pdflatex I use now ps2pdf for the
export. Works perfectly.

Michael


On 7/13/06, Michael Boehler <[EMAIL PROTECTED]> wrote:


Hi list,

I am using lyx 1.3.7 (17.Jan 2006) on WinXP.

I have to insert some graphics into a document of book type. The graphics
come from Visio 2003.

Firstly, I tried to export them as png files, but they are rather
inaccurate, so I tried to convert them as eps files.

I tried the method with olelatex as described in

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

The resulting eps file looks fine, I can view it with the GSview of
ghostgum. I can also import them in lyx and even let it show in lyx.

But when I export the whole document with pdflatex or postscript, only
these graphics are not shown. There is just blank space...

As I have to hand in this paper tomorrow, I would really, really
appreciate if someone could give me a hint, how to export the document
_with_ the graphics.

TIA,
Michael



Re: ANNOUNCE: LyX 1.4.2 is released

2006-07-13 Thread Rich Shepard

On Thu, 13 Jul 2006, Steve Harris wrote:


I think that since pdflatex doesn't use the .eps format this might mean an
automatic conversion of any (mixed) eps files to pdflatex compatible
formats. Maybe I'm wrong but I thought this was done manually.


  I don't know, Steve. I used only .eps figures in my book and produced the
PDF output with pdflatex.

  This is quite interesting; I'm learning a lot.

Rich

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


Re: ANNOUNCE: LyX 1.4.2 is released

2006-07-13 Thread Micha Feigin
On Thu, 13 Jul 2006 06:03:17 -0700 (PDT)
Rich Shepard <[EMAIL PROTECTED]> wrote:

> On Thu, 13 Jul 2006, Jean-Marc Lasgouttes wrote:
> 
> > - A "LaTeX (pdflatex)" output format has been added. This new output
> >  format produces .tex files that are suitable for pdflatex, including
> >  figure conversion to png, pdf or jpeg instead of eps.
> 
> Gentlemen:
> 
>Is there something I can read to learn how this differs from the current
> pdflatex? That's what I get when I press ctrl-h, and what I choose for most
> documents (except PSTricks). I'm curious about the differences.
> 

I haven't tried this yet, but my guess is from the description that it produces
tex file to be handled by pdflatex and not pdf files created using pdflatex.
pdflatex among other things has problems with some of the image formats.

> Thanks,
> 
> Rich
> 


Re: ANNOUNCE: LyX 1.4.2 is released

2006-07-13 Thread Rich Shepard

On Thu, 13 Jul 2006, Georg Baum wrote:


ctrl-h must be a custom shortcut. I guess you mean


Georg,

  Must be, but I've used it so long it's just part of LyX.


What is the difference between "PDF (pdflatex)" and "LaTeX (pdflatex)"?

The answer is simple: "PDF (pdflatex)" produces a .pdf file (with the help
of pdflatex). "LaTeX (pdflatex)" produces a .tex file that is a suitable
input for pdflatex.


  A-ha! That makes sense. When might I want to use the latter (a two-step
process) rather than the former (a one-step process)?

Much appreciated,

Rich

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


Re: ANNOUNCE: LyX 1.4.2 is released

2006-07-13 Thread Steve Harris

Rich Shepard wrote:

On Thu, 13 Jul 2006, Jean-Marc Lasgouttes wrote:


- A "LaTeX (pdflatex)" output format has been added. This new output
 format produces .tex files that are suitable for pdflatex, including
 figure conversion to png, pdf or jpeg instead of eps.


Gentlemen:

  Is there something I can read to learn how this differs from the current
pdflatex? That's what I get when I press ctrl-h, and what I choose for most
documents (except PSTricks). I'm curious about the differences.

Thanks,

Rich



I think that since pdflatex doesn't use the .eps
format this might mean an automatic conversion of
any (mixed) eps files to pdflatex compatible formats.
Maybe I'm wrong but I thought this was done manually.


Re: ANNOUNCE: LyX 1.4.2 is released

2006-07-13 Thread Georg Baum
Rich Shepard wrote:

> On Thu, 13 Jul 2006, Jean-Marc Lasgouttes wrote:
> 
>> - A "LaTeX (pdflatex)" output format has been added. This new output
>>  format produces .tex files that are suitable for pdflatex, including
>>  figure conversion to png, pdf or jpeg instead of eps.
> 
> Gentlemen:
> 
>Is there something I can read to learn how this differs from the
>current
> pdflatex? That's what I get when I press ctrl-h, and what I choose for
> most documents (except PSTricks). I'm curious about the differences.

ctrl-h must be a custom shortcut. I guess you mean

What is the difference between "PDF (pdflatex)" and "LaTeX (pdflatex)"?

The answer is simple: "PDF (pdflatex)" produces a .pdf file (with the help
of pdflatex). "LaTeX (pdflatex)" produces a .tex file that is a suitable
input for pdflatex.


Georg



Re: ANNOUNCE: LyX 1.4.2 is released

2006-07-13 Thread Rich Shepard

On Thu, 13 Jul 2006, Jean-Marc Lasgouttes wrote:


- A "LaTeX (pdflatex)" output format has been added. This new output
 format produces .tex files that are suitable for pdflatex, including
 figure conversion to png, pdf or jpeg instead of eps.


Gentlemen:

  Is there something I can read to learn how this differs from the current
pdflatex? That's what I get when I press ctrl-h, and what I choose for most
documents (except PSTricks). I'm curious about the differences.

Thanks,

Rich

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


Re: Export to PDF (pdflatex)

2006-07-13 Thread Jean-Pierre Chretien

>>Date: Thu, 13 Jul 2006 14:18:18 +0200
>>From: "Michael Boehler" <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Export to PDF (pdflatex)
>>
>>Hi list,
>>
>>I am using lyx 1.3.7 (17.Jan 2006) on WinXP.
>>
>>I have to insert some graphics into a document of book type. The graphics
>>come from Visio 2003.
>>
>>Firstly, I tried to export them as png files, but they are rather
>>inaccurate, so I tried to convert them as eps files.
>>
>>I tried the method with olelatex as described in
>>
>>http://wiki.lyx.org/Windows/WinGraphics
>>
>>The resulting eps file looks fine, I can view it with the GSview of
>>ghostgum. I can also import them in lyx and even let it show in lyx.
>>
>>But when I export the whole document with pdflatex or postscript, only these
>>graphics are not shown. There is just blank space...

There may exist remaining construct which are forbiden in eps but allowed by 
the viewers
(there must be a menu item im ghostgum to check the eps sanity AFAIR).

Rolanf Bless' ps2eps script (which works on epses as well) mey help you to 
filter
out these constructs.

The problem may just come from a setpagedevice or a showpage remaining command.
You might check if these lines are present in your epses, and kill them by
hand on one file to be sure.

HTH

-- 
Jean-Pierre




Adding an abstract section into a book class

2006-07-13 Thread Isaac Pante

Hello everybody!

I want to insert an abstract of my work in my document. Is there a  
way to use the "abstract" environment into a document created with  
the class "book"?


Thanks for your help!

Isaac Pante






Export to PDF (pdflatex)

2006-07-13 Thread Michael Boehler

Hi list,

I am using lyx 1.3.7 (17.Jan 2006) on WinXP.

I have to insert some graphics into a document of book type. The graphics
come from Visio 2003.

Firstly, I tried to export them as png files, but they are rather
inaccurate, so I tried to convert them as eps files.

I tried the method with olelatex as described in

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

The resulting eps file looks fine, I can view it with the GSview of
ghostgum. I can also import them in lyx and even let it show in lyx.

But when I export the whole document with pdflatex or postscript, only these
graphics are not shown. There is just blank space...

As I have to hand in this paper tomorrow, I would really, really appreciate
if someone could give me a hint, how to export the document _with_ the
graphics.

TIA,
Michael


ANNOUNCE: LyX 1.4.2 is released

2006-07-13 Thread Jean-Marc Lasgouttes

Public release of LyX version 1.4.2
===

We are pleased to announce the release of LyX 1.4.2. This is a bug fix
release that improves performance, stability and native OS support.
Notable new features include:

- LyX now automatically uses file viewers and editors set at OS level
  [Windows and Mac OS X only].

- The windows installer has been completely rewritten.

- A new function buffer-toggle-compression (and corresponding entry in
  the Document menu) has been added to change whether the file will be
  compressed on disk or not.

- A "LaTeX (pdflatex)" output format has been added. This new output
  format produces .tex files that are suitable for pdflatex, including
  figure conversion to png, pdf or jpeg instead of eps.

See the file RELEASE-NOTES for some known problems in this release.

In case you are wondering what LyX is, here is what
http://www.lyx.org/ has to say on the subject:

   LyX is a document processor that encourages an approach to writing
   based on the structure of your documents, not their appearance. It
   is released under a Free Software / Open Source license.

   LyX is for people that write and want their writing to look great,
   right out of the box. No more endless tinkering with formatting
   details, 'finger painting' font attributes or futzing around with page
   boundaries. You just write. In the background, Prof. Knuth's legendary
   TeX typesetting engine makes you look good.

   On screen, LyX looks like any word processor; its printed output -- or
   richly cross-referenced PDF, just as readily produced -- looks like
   nothing else. Gone are the days of industrially bland .docs, all
   looking similarly not-quite-right, yet coming out unpredictably
   different on different printer drivers. Gone are the crashes 'eating'
   your dissertation the evening before going to press.

   LyX is stable and fully featured. It is a multi-platform, fully
   internationalized application running natively on Unix/Linux, the
   Macintosh and modern Windows platforms. 

You can download LyX 1.4.2 here (the .bz2 are compressed with bzip2,
which yields smaller files):

ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.4.2.tar.gz
ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.4.2.tar.bz2
ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.4.2.tar.gz
ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.4.2.tar.bz2

and it should propagate shortly to the following mirrors (which will also host
the .bz2 versions):

http://lyx.mirror.fr/stable/lyx-1.4.2.tar.gz
ftp://ftp.sdsc.edu/pub/other/lyx/stable/lyx-1.4.2.tar.gz
ftp://ftp.lip6.fr/pub/lyx/stable/lyx-1.4.2.tar.gz
ftp://gd.tuwien.ac.at/publishing/tex/lyx/stable/lyx-1.4.2.tar.gz
ftp://ftp.ntua.gr/pub/X11/LyX/stable/lyx-1.4.2.tar.gz

Prebuilt binaries (rpms for linux distributions, Mac OS X and Windows
installers) should soon be available at
ftp://ftp.lyx.org/pub/lyx/bin/1.4.2/

If you already have the LyX 1.4.1 sources, you may want to apply one
of the following patches instead
ftp://ftp.lyx.org/pub/lyx/stable/patch-1.4.2.gz
ftp://ftp.lyx.org/pub/lyx/stable/patch-1.4.2.bz2

Note that this patch will not produce valid LyX/Mac sources, since
some binary files have been added for this release.

If you find what you think is a bug in LyX 1.4.2, you may either
e-mail the LyX developers' mailing list (lyx-devellists.lyx.org), or 
open
a bug report at http://bugzilla.lyx.org

If you're having trouble using the new version of LyX, or have a question,
first check out http://www.lyx.org/help/. If you can't find the answer there,
e-mail the LyX users' list (lyx-userslists.lyx.org).

Enjoy!

The LyX team.

What's new in version 1.4.2?
 

** Updates

- LyX now automatically uses file viewers and editors set at OS level
  [Windows and Mac OS X only] (bug 2017).

- Add a new function buffer-toggle-compression (and corresponding entry
  in the Document menu) to change whether the file will be compressed
  on disk or not.

- Update the German, Hungarian, Italian (bug 2650), Polish, Slovak,
  Spanish and Turkish localizations of the interface.

- Update translations of documentation for German (all) and Hungarian
  (Introduction, splash document, new tutorial examples).

- Add support for Austrian (new spelling) as a document language.

- Add the "LaTeX (pdflatex)" output format. This new output format produces
  .tex files that are suitable for pdflatex, including figure conversion
  to png, pdf or jpeg instead of eps.

- Add biographynophoto style to IEEEtran.layout; add a new text class for
  International Journal of Modern Physics C (and update support for
  IJMP D).

- Add buttons for \overset and \underset to the math panel (bug 2533).

- Add support for the dvipdfmx converter.

- Add tgif->ppm and tgif->png converters for preview of tgif figures.

- Add native support for \intop and \ointop. (Display only; not in
  the math panel ye