Re: blank images in preview (Lyx 1.3.7, MacOSX 10.4.4)

2006-01-24 Thread Stephen Harris


- Original Message - 
From: Marc D. [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Monday, January 23, 2006 4:58 PM
Subject: blank images in preview (Lyx 1.3.7, MacOSX 10.4.4)



The problem is that although I can see the included images
in the LyX screen, I cannot see the images when I select
View -- PDF (pdflatex). I can't even get Preview to show
anything if I pick the other two options (dvidpdm and 'ps to pdf').
With pdflatex, the PDF comes up, the text is there, but the images
are not. The space they should occupy is just blank.
I get the same behaviour with TeXshop after I convert my LyX to
laTeX, so I'm guessing I have something misconfigured somewhere,
but WHAT???




I use Windows but you should have a similar file, sample.tex, which
is located in ~/texmf/doc/dvipdfm. I use this file to test images since
it has .eps and .jpg file formats. pdflatex and dvipdfm don't always
display the same behavior. For example, dvipdfm will convert the
sample.lyx file into viewable .pdf, but pdflatex (6 errors) will not.

1.3.4 is fairly old and maybe some older version of a file was
used in your tetex version-- has tetex been upgraded? If so, a
file version for rendering your .lyx files may have been changed.

Anyway, I'll present what I think is the simples to fix idea. The
viewer may have changed, if you have made changes to your
system. Edit-Preferences-File formats

My best guess for an immediate solution, is to download
Acrobat Reader 7.0 and make it the default viewer (acrord~) for
the three .pdf file formats. Earlier version Readers caused some
Linux problems, so this is the best, quick idea I can think of.

Different topics which may have some relevance.
---
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg78867.html
I suspect that this may have something to do with file paths with spaces.

2. DirtyDVI  DVI and PDF (pdflatex) and intext eps figures display
correctly with yap and Acrord32 but PDF reports Cannot convert file
Error while executing 

dvips -t a4 -o file.ps tmpfile.out  
PDF (dvipdfm)   Cannot convert file Error while executing 

dvipdfm -p a4 tmpfile.out 
Postscript  Cannot convert file Error while executing
dvips -t a4 -o file.ps tmpfile.out  
all these work on the same Lyx file under Lyxwin 135.
-

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg83472.html
In teTeX 1.0 you obtain the same error but with 1.4 replaced by 1.2.
This means that when you include an eps file in LyX and do View-PDF 
(pdflatex) it succeeds with teTeX 2.0 but fails with teTeX 1.0 if ps2pdf13

is used.
--

http://www.cs.ubc.ca/~van/GI2005/giformat.htm
If you are generating DVI (i.e. you are using the [dvips] option) then
latex will search for EPS files rather than PNG, JPEG and PDF files for
images. Even in this case it is best to leave off the suffix when you
include images, so you don't have to change your source other than the
option on the \usepackage{graphics} line in the preamble.


Regards,
Stephen







Re: blank images in preview (Lyx 1.3.7, MacOSX 10.4.4)

2006-01-24 Thread Stephen Harris


- Original Message - 
From: Bennett Helm [EMAIL PROTECTED]

To: Marc D. [EMAIL PROTECTED]; LyX Users' Forum lyx-users@lists.lyx.org
Sent: Monday, January 23, 2006 8:03 PM
Subject: Re: blank images in preview (Lyx 1.3.7, MacOSX 10.4.4)



On Jan 23, 2006, at 7:58 PM, Marc D. wrote:


The problem is that although I can see the included images
in the LyX screen, I cannot see the images when I select
View -- PDF (pdflatex). I can't even get Preview to show
anything if I pick the other two options (dvidpdm and 'ps to pdf').
With pdflatex, the PDF comes up, the text is there, but the images
are not. The space they should occupy is just blank.
I get the same behaviour with TeXshop after I convert my LyX to
laTeX, so I'm guessing I have something misconfigured somewhere,
but WHAT???


This is a known problem. See http://bugzilla.lyx.org/show_bug.cgi? 
id=2127. I've done some more investigating and reported the results 
there. Please add to the bug report any comments you might have that 
differ from what is already reported.


The workaround for me is to use View - PDF (ps to pdf) rather than 
 View - PDF (pdflatex) or View - dvipdfm. Or you could export to  latex, 
and run latex (or pdflatex) manually from the terminal.


Bennett




I used the TexLive2005 cd to test the Windows version found
in /Win32. I think the error I experienced and the fix may be
related to the bug filed on this issue, 2127.

--


SH wrote: I use sample.tex (c:\texmf\doc\dvipdfm\sample.tex) to
test functionality, as this file is intended for that purpose.
Win32 (xemtex variant) fails to display the .eps graphics included
in sample.tex.

---

Dan Luecking replied:

The (dvipdfm problem) never hit me because I always convert eps
to pdf manually, using tools that produce PDF version 1.3 or less.

The eps to pdf conversion does fail out of the box, but that seems to
be because dvipdfm can't take PDF higher than version 1.3. One needs
to change the config file so that the eps to pdf conversion process
(the line beginning with D) produces version 1.3 or lower. I use
 D epstopdf --outfile=%o --nocompress %i
in config and edit epstopdf.pl (which produces 1.4 by default on my
system). Instead of editing epstopdf.pl, one could
 set GS_OPTIONS=-dCompatibilityLevel=1.2
on the command line or use a gs command in config that sets the level:
 D gswin32c.exe -q -sPAPERSIZE=letter -sDEVICE=pdfwrite
-dCompatibilityLevel=1.2 -dUseFlateCompression=true -dNOPAUSE
-sOutputFile=%o %i -c quit
(all on one line). Problems can occur out of the box because the
out-of-the-box config file has incorrect quoting for windows. The
config-win provided (copy it to config) uses epstopdf. Using dvipdfm's
-vv option quickly showed me where the problem lied (in the pdf
version produced by epstopdf).

I remove quoting around the file names (%o and %i) in config's D
option, and never use filenames or paths with spaces in them.
--

SH: I am not sure this diagnosis totally agrees with this post:
-

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg83472.html
In teTeX 1.0 you obtain the same error but with 1.4 replaced by 1.2.
This means that when you include an eps file in LyX and do View-PDF
(pdflatex) it succeeds with teTeX 2.0 but fails with teTeX 1.0 if ps2pdf13
is used.
--

http://web.mit.edu/ghostscript/www/Ps2pdf.htm
ps2pdf12 will always produce PDF 1.2 output (Acrobat 3-and-later 
compatible).
ps2pdf13 will always produce PDF 1.3 output (Acrobat 4-and-later 
compatible).
ps2pdf14 will always produce PDF 1.4 output (Acrobat 5-and-later 
compatible).
ps2pdf per se currently produces PDF 1.2 output (Acrobat 3-and-later 
compatible).

However, this may change in the future. If you care about the compatibility
level of the output, use ps2pdf12, ps2pdf13, or ps2pdf14, or use the
-dCompatibilityLevel=1.x switch in the command line.
-

SH: This was the reason (even if wrong_ why I suggested he upgrade
his versionof Acrobat Reader to 7.0 and use it for file formats in LyX.

Regards,
Stephen









Re: find equation labels in a lyx document

2006-01-24 Thread Jean-Marc Lasgouttes
 David == David Halpern [EMAIL PROTECTED] writes:

David Andre, Thanks, but I was hoping that lyx was an editor with
David this relatively simple capability. 

You are right, this would be helpful, and I guess not so difficult to
implement. Feel free to create a bug about it on bugzilla.

JMarc




right-click vs. double-click

2006-01-24 Thread Nusret BALCI
Hi,
I want to change the following lyx behaviour:
When I right click within a math inset, the math panel
shows up. Although I use the math panel from time to
time, I prefer a context menu with copy, save, etc.
when i right click, and math pane when I double-click.

My question is: (for windows, qt frontend)
what file and part of code is responsible for this
behavior? I'll try to change this for my own copy. I
would appreciate if someone could help me just
pointing to the relevant part of the code.

Regards,
Nusret

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: word-wrap and itemize

2006-01-24 Thread Jeremy C. Reed
On Tue, 24 Jan 2006, Roy Schestowitz wrote:

 There was recently a thread about justification and hyphenation, but
 particularly about tendency of margins to be dishonoured at times [1].
 There were various solutions proposed. Insertion of a linebreak is, as you
 already know, undesirable. This may break as the output type (or
 compiliation process) changes.

Thanks for the link. I had read those threads, but no answer there.

An example of my problem is the words (with the punctuation):
(LAN_INET)
and 
(LAN_DMZ)

I don't want to hyphenate them. I don't want to manually add a \newline 
before them. I just want the latex magic to automatically move it to the 
next line and justify the line as needed.

This also happens in regular Standard text too, where I have (TTL), 
(MSS), MIB-like variables like net.inet.ip.porthilast and 
net.inet.ip.portrange.hifirst, filenames (with backslashes) like 
/etc/authpf/authpf.allow, and words that start with a dollar sign (like 
$foo). These are all same font.

I have many, many lines like this. And adding a \newline or forcing 
hyphenation causes maintenance problems (as you mention) since I am 
updating content and later may change paper size.

 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: word-wrap and itemize

2006-01-24 Thread Todd Denniston

Jeremy C. Reed wrote:

On Tue, 24 Jan 2006, Roy Schestowitz wrote:



There was recently a thread about justification and hyphenation, but
particularly about tendency of margins to be dishonoured at times [1].
There were various solutions proposed. Insertion of a linebreak is, as you
already know, undesirable. This may break as the output type (or
compiliation process) changes.



Thanks for the link. I had read those threads, but no answer there.

An example of my problem is the words (with the punctuation):
(LAN_INET)
and 
(LAN_DMZ)


I don't want to hyphenate them. I don't want to manually add a \newline 
before them. I just want the latex magic to automatically move it to the 
next line and justify the line as needed.


This also happens in regular Standard text too, where I have (TTL), 
(MSS), MIB-like variables like net.inet.ip.porthilast and 
net.inet.ip.portrange.hifirst, filenames (with backslashes) like 
/etc/authpf/authpf.allow, and words that start with a dollar sign (like 
$foo). These are all same font.


I have many, many lines like this. And adding a \newline or forcing 
hyphenation causes maintenance problems (as you mention) since I am 
updating content and later may change paper size.




Would building up a lexikon.tex of words/abbreviations you use be more 
trouble than you are looking for? Juergen suggested[1] that it could be done 
to keep some words from being broken up or to have them broken correctly, And 
G. Milde suggested[2] that \sloppy might reduce hyphenation for small words.
Paul A. Rubin suggested[3] setting \tolerance and \emergencystretch to deal 
with them.


And of course there is the ever helpful TeXnik site's[4] advice.


[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg33952.html
[2] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg33966.html
[3] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg33794.html
[4] http://tug.org/TeXnik/mainFAQ.cgi?file=language/hyphen

Good luck.


Re: word-wrap and itemize

2006-01-24 Thread Johan Ingvast

Jeremy C. Reed wrote:
I don't want to hyphenate them. I don't want to manually add a \newline 
before them. I just want the latex magic to automatically move it to the 
next line and justify the line as needed.


This also happens in regular Standard text too, where I have (TTL), 
(MSS), MIB-like variables like net.inet.ip.porthilast and 
net.inet.ip.portrange.hifirst, filenames (with backslashes) like 
/etc/authpf/authpf.allow, and words that start with a dollar sign (like 
$foo). These are all same font.


I have many, many lines like this. And adding a \newline or forcing 
hyphenation causes maintenance problems (as you mention) since I am 
updating content and later may change paper size.

I think your problems will go away if you turn to left justification.
\raggedright{} in ERT somewhere in the beginning of the document or in the 
preamble.
Since you have so many long words that can't be hypenated, you can not expect 
latex to manage to make the text justified.


/johan


lyx 1.4.0 pre 3 not open my file

2006-01-24 Thread Marcelo Acuÿfffff1a
Hello,
  I make an upgrade from 1.3.6 to 1.3.7 and this work ok.
  No problem.
  Then make an upgrade to 1.4.0 pre3 and found a problem.
  This new version open correctly several files from 1.3.6 and
  1.3.7 but my main work, a long book, is not open. Appears
  an error mesage like: lyx2lyx can´t convert this file.
  How I can solved this?
  Thanks
  Marcelo
   


-
 1GB gratis, Antivirus y Antispam
 Correo Yahoo!, el mejor correo web del mundo
 Abrí tu cuenta aquí

Re: word-wrap and itemize

2006-01-24 Thread Jeremy C. Reed
Thank you Todd and Johan for the further ideas.

I think in my case, I don't want hyphenation, but I want latex to 
automatically wrap the word going into the margin to the next line AND 
justify the line to make up for the moved word.

I have been reading about \tolerance and \emergencystretch but can't seem 
to find good explanations. I tried \tolerance with from 50 to 250 but 
didn't see differences yet. I also don't know if the \emergencystretch is 
used on a case-by-case basis or for preamble.

Here is another example sentence:

  This assigns packets belonging to SSH login connections to the 
  ssh_login queue and packets belonging to SCP and SFTP connections to the
  ssh_bulk queue.

On my 6 inch wide page, the ssh_login goes out into the right margin. So 
I manually put in a \linefeed before it. Now my resulting output has a 
blank area after ... to the (which I do not want) and the ssh_login in 
on the next line (which I do want).

I want to continue using justification. I want latex to know that the line 
is too long and simply wrap the word that it didn't hyphenate and then 
attempt to right justify the line that lost the word.

Will \tolerance or \emergencystretch work with that?

And what is the difference between
\emergencystretch=2em
and
\setlength{\emergencystretch}{2em}
?

 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: word-wrap and itemize

2006-01-24 Thread Jeremy C. Reed
On Tue, 24 Jan 2006, Jeremy C. Reed wrote:

 I want to continue using justification. I want latex to know that the line 
 is too long and simply wrap the word that it didn't hyphenate and then 
 attempt to right justify the line that lost the word.

I tried over ten different \tolerance settings and I found that 
\tolerance=545 ended up working like I want.

 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: word-wrap and itemize

2006-01-24 Thread Martin Geisler
Jeremy C. Reed [EMAIL PROTECTED] writes:

 An example of my problem is the words (with the punctuation):
 (LAN_INET) and (LAN_DMZ)

 I don't want to hyphenate them. I don't want to manually add a
 \newline before them. I just want the latex magic to automatically
 move it to the next line and justify the line as needed.

But unlike many other systems, (La)TeX evaluates the quality of its
output.  Penalties are given when lines have to be streached too much,
and when reaching a specific badness TeX will simply refuse to
typeset the line.

 This also happens in regular Standard text too, where I have
 (TTL), (MSS), MIB-like variables like net.inet.ip.porthilast and
 net.inet.ip.portrange.hifirst, filenames (with backslashes) like
 /etc/authpf/authpf.allow, and words that start with a dollar sign
 (like $foo). These are all same font.

Try using the url package -- it is designed to break long stuff like
URLs at good places, such as after a slash.  It works nicely for file-
and variablenames (of the form $foo_bar_baz) too.

-- 
Martin Geisler GnuPG Key: 0x7E45DD38

PHP Exif Library  |  PHP Weather |  PHP Shell
http://pel.sf.net/|  http://phpweather.net/  |  http://mgeisler.net/
Read/write Exif data  |  Show current weather|  A shell in a browser


pgpmgsW2OZxHS.pgp
Description: PGP signature


cursor size

2006-01-24 Thread Rafael Perez Pascual
I am using lyx on  Debian Linux, the cursor is a one pixel line 
very dificut to see, is it possible to have a larger cursor?

Thanks

Rafael Perez



Re: lyx 1.4.0 pre 3 not open my file

2006-01-24 Thread Jose' Matos
On Tuesday 24 January 2006 21:46, Marcelo Acuÿf1a wrote:
 Hello,
   I make an upgrade from 1.3.6 to 1.3.7 and this work ok.
   No problem.
   Then make an upgrade to 1.4.0 pre3 and found a problem.
   This new version open correctly several files from 1.3.6 and
   1.3.7 but my main work, a long book, is not open. Appears
   an error mesage like: lyx2lyx can´t convert this file.
   How I can solved this?

  If you run lyx2lyx directly from the command line what is the error?

  I seem to remember some bugfixes after pre3, if not it is a new bug.

   Thanks
   Marcelo

-- 
José Abílio


Re: Shortcut for Typewriter

2006-01-24 Thread Christoph Nelles
Thanx for the help. In the emacs file i found the correct action 
string for typewriter and now my button works. I am sure i will get the 
shortcut key working, too. Thanks for the inspiration to look into the 
bindings file.


Christoph Nelles

Rich Shepard schrieb:





On Tue, 24 Jan 2006, Christoph Nelles wrote:

Has anybody a solution for adding a button to the button bar or adding 
a key short cut?



Christoph,

  I don't do buttons, but if you look in ~/.lyx/bind/ you'll find a 
couple of
files that define shortcut keys. In my case, ctrl-v is used to page down 
one
screen, so I defined shift-ctrl-v to paste. I also redefined ctrl-b for 
bold

and ctrl-i for italic. Works for me. Create something that works for you.

Rich



Re: Mac Install Problems

2006-01-24 Thread Ian Stevenson

Dear Bennett,

Many thanks for the reply. From my reading of the outputs below the 
install looks OK what do you make of it? Any further suggestions?  
Thanks for your help!


Did you run the LyX installer script from the installer volume? That 
should tell you if you have a teTeX installation.


Yes


(To be sure, you can go to the Terminal and enter which pdflatex, 
and it should give you a path to that file's location.)


Ian-Stevensons-Computer:~ ianstevenson$ which pdflatex
/usr/local/teTeX/bin/powerpc-apple-darwin-current/pdflatex




The LyX User's folder is now located at ~/Library/Application 
Support/LyX. Running the installer script should move your old folder 
from ~/.lyx to this new location.


This folder is present.



What happens if you run (from the Terminal) 
/Applications/LyX.app/Contents/Resources/lyx/configure


Ian-Stevensons-Computer:~ ianstevenson$ 
/Applications/LyX.app/Contents/Resources/lyx/configure

checking for a LaTeX2e program... (latex latex2e)
+checking for latex... yes
checking for the pdflatex program... (pdflatex)
+checking for pdflatex... yes
checking for a LaTeX - LyX converter... (reLyX)
+checking for reLyX... no
checking for a Noweb - LyX converter... (noweb2lyx)
+checking for noweb2lyx... no
checking for a Noweb - LaTeX converter... (noweave)
+checking for noweave... no
checking for an HTML - LaTeX converter... (html2latex)
+checking for html2latex... no
checking for an MS Word - LaTeX converter... (wvCleanLatex word2x)
+checking for wvCleanLatex... no
+checking for word2x... no
checking for a LaTeX - MS Word converter... (htlatex)
+checking for htlatex... yes
checking for Image converter... (convert)
+checking for convert... yes
checking for a Postscript previewer... (gsview32 gv ghostview 
kghostview)

+checking for gsview32... no
+checking for gv... no
+checking for ghostview... no
+checking for kghostview... no
checking for a PDF previewer... (acrobat acrord32 gsview32 acroread gv 
ghostview xpdf kpdf kghostview)

+checking for acrobat... no
+checking for acrord32... no
+checking for gsview32... no
+checking for acroread... no
+checking for gv... no
+checking for ghostview... no
+checking for xpdf... no
+checking for kpdf... no
+checking for kghostview... no
checking for a DVI previewer... (xdvi windvi yap kdvi)
+checking for xdvi... yes
checking for an HTML previewer... (mozilla file://$$p$$i netscape)
+checking for mozilla... no
+checking for netscape... no
checking for a PS to PDF converter... (ps2pdf13 $$i)
+checking for ps2pdf13... yes
checking for a DVI to PS converter... (dvips)
+checking for dvips... yes
checking for a DVI to PDF converter... (dvipdfm)
+checking for dvipdfm... yes
checking for a *roff formatter... (groff -t -Tlatin1 $$FName nroff)
+checking for groff... yes
checking for ChkTeX... (chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38)
+checking for chktex... no
checking for a spellchecker... (ispell)
+checking for ispell... no
checking for Octave... (octave)
+checking for octave... no
checking for Maple... (maple)
+checking for maple... no
checking for a fax program... (kdeprintfax ksendfax)
+checking for kdeprintfax... no
+checking for ksendfax... no
checking for SGML-tools 1.x (LinuxDoc)... (sgml2lyx)
+checking for sgml2lyx... no
checking for SGML-tools 2.x (DocBook) or db2x scripts... (sgmltools 
db2dvi)

+checking for sgmltools... no
+checking for db2dvi... no
checking for a spool command... (lp lpr)
+checking for lp... yes
checking for a LaTeX - HTML converter... (htlatex tth latex2html hevea)
+checking for htlatex... yes
checking LaTeX configuration... auto
+Inspecting your LaTeX configuration.
+checking for LaTeX version... 2003/12/01
+checking for default encoding (this may take a long time)
+  checking for ec fonts... yes
+  checking for ec support in LaTeX format... yes
+checking for document class IEEEtran [IEEEtran]... no
+checking for document class aa [aa]... no
+checking for document class aapaper [aa]... no
+checking for document class aastex [aastex]... no
+checking for document class agums [aguplus,agums.sty]... no
+checking for document class amsart-plain [amsart]... yes
+checking for document class amsart-seq [amsart]... yes
+checking for document class amsart [amsart]... yes
+checking for document class amsbook [amsbook]... yes
+checking for document class apa [apa,apacite.sty]... no
+checking for document class article [article]... yes
+checking for document class book [book]... yes
+checking for document class broadway [broadway]... yes
+checking for document class chess [article,lyxskak.sty]... yes
+checking for document class cl2emult [cl2emult]... no
+checking for document class cv [cv]... yes
+checking for document class dinbrief [dinbrief]... yes
+checking for docbook  class docbook-book...  no
+checking for docbook  class docbook-chapter...  no
+checking for docbook  class docbook-section...  no
+checking for docbook  class docbook...  no
+checking for document class dtk [dtk]... no
+checking for document class egs 

Style/Grammar Checker (v0.3d) for LyX availiable.

2006-01-24 Thread John McCabe-Dansted
I have put up a new version (v0.3d) of a Perl script that provides Grammar
Checking support within LyX's GUI. This version now formats the errors
to make them easier to read.

If you are interested in automatically checking your documents for
various errors, see:
http://wiki.lyx.org/pmwiki.php/Tools/LyX-GrammarChecker

If you have any troubles getting it to work, or have any other
comments, please email me.

It seems be quite simple to use under Linux and MacOSX. I haven't
tested it under Windows but it should just work if you are using
Cygwin. I'd be interested to know if it actually does works with
Cygwin.

--
John C. McCabe-Dansted
Masters Student


lyx-1.4.0pre3 compile

2006-01-24 Thread B.J. Muirhead
Hi
I have compiled (using frontend and the suffix option, so no
problems there) and installed lyx-1.4.opre3 on an up to date ubuntu
system (using checkinstall in place of make install) but it didn't find
the aiksaurus library. 
does anyone know if  
--with -extra-lib=dir to aiksaurus
   will fix this?

I just don't want to uninstall re-configure, etc, unless this will work.

For the developers: I do like the new interface, etc., and am really
looking forward to the final release.  :-)
thanks
Bruce
-- 
B.J. Muirhead [EMAIL PROTECTED]



Lyx, BibTex HTML

2006-01-24 Thread Yaron Y. Goland
I suspect I'm pushing my luck but I'm trying to use Lyx and BibTex to  
generate HTML files. Using the built in HTML generator didn't work  
out. My citation references show up as [?] and no bibliography is  
generated (even though everything works fine with export to PDF). Any  
hints on how I can get HTML generation to do the right thing in  
regards to BibTex?


Thanks,

Yaron


Re: blank images in preview (Lyx 1.3.7, MacOSX 10.4.4)

2006-01-24 Thread Stephen Harris


- Original Message - 
From: Marc D. [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Monday, January 23, 2006 4:58 PM
Subject: blank images in preview (Lyx 1.3.7, MacOSX 10.4.4)



The problem is that although I can see the included images
in the LyX screen, I cannot see the images when I select
View -- PDF (pdflatex). I can't even get Preview to show
anything if I pick the other two options (dvidpdm and 'ps to pdf').
With pdflatex, the PDF comes up, the text is there, but the images
are not. The space they should occupy is just blank.
I get the same behaviour with TeXshop after I convert my LyX to
laTeX, so I'm guessing I have something misconfigured somewhere,
but WHAT???




I use Windows but you should have a similar file, sample.tex, which
is located in ~/texmf/doc/dvipdfm. I use this file to test images since
it has .eps and .jpg file formats. pdflatex and dvipdfm don't always
display the same behavior. For example, dvipdfm will convert the
sample.lyx file into viewable .pdf, but pdflatex (6 errors) will not.

1.3.4 is fairly old and maybe some older version of a file was
used in your tetex version-- has tetex been upgraded? If so, a
file version for rendering your .lyx files may have been changed.

Anyway, I'll present what I think is the simples to fix idea. The
viewer may have changed, if you have made changes to your
system. Edit-Preferences-File formats

My best guess for an immediate solution, is to download
Acrobat Reader 7.0 and make it the default viewer (acrord~) for
the three .pdf file formats. Earlier version Readers caused some
Linux problems, so this is the best, quick idea I can think of.

Different topics which may have some relevance.
---
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg78867.html
I suspect that this may have something to do with file paths with spaces.

2. DirtyDVI  DVI and PDF (pdflatex) and intext eps figures display
correctly with yap and Acrord32 but PDF reports Cannot convert file
Error while executing 

dvips -t a4 -o file.ps tmpfile.out  
PDF (dvipdfm)   Cannot convert file Error while executing 

dvipdfm -p a4 tmpfile.out 
Postscript  Cannot convert file Error while executing
dvips -t a4 -o file.ps tmpfile.out  
all these work on the same Lyx file under Lyxwin 135.
-

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg83472.html
In teTeX 1.0 you obtain the same error but with 1.4 replaced by 1.2.
This means that when you include an eps file in LyX and do View-PDF 
(pdflatex) it succeeds with teTeX 2.0 but fails with teTeX 1.0 if ps2pdf13

is used.
--

http://www.cs.ubc.ca/~van/GI2005/giformat.htm
If you are generating DVI (i.e. you are using the [dvips] option) then
latex will search for EPS files rather than PNG, JPEG and PDF files for
images. Even in this case it is best to leave off the suffix when you
include images, so you don't have to change your source other than the
option on the \usepackage{graphics} line in the preamble.


Regards,
Stephen







Re: blank images in preview (Lyx 1.3.7, MacOSX 10.4.4)

2006-01-24 Thread Stephen Harris


- Original Message - 
From: Bennett Helm [EMAIL PROTECTED]

To: Marc D. [EMAIL PROTECTED]; LyX Users' Forum lyx-users@lists.lyx.org
Sent: Monday, January 23, 2006 8:03 PM
Subject: Re: blank images in preview (Lyx 1.3.7, MacOSX 10.4.4)



On Jan 23, 2006, at 7:58 PM, Marc D. wrote:


The problem is that although I can see the included images
in the LyX screen, I cannot see the images when I select
View -- PDF (pdflatex). I can't even get Preview to show
anything if I pick the other two options (dvidpdm and 'ps to pdf').
With pdflatex, the PDF comes up, the text is there, but the images
are not. The space they should occupy is just blank.
I get the same behaviour with TeXshop after I convert my LyX to
laTeX, so I'm guessing I have something misconfigured somewhere,
but WHAT???


This is a known problem. See http://bugzilla.lyx.org/show_bug.cgi? 
id=2127. I've done some more investigating and reported the results 
there. Please add to the bug report any comments you might have that 
differ from what is already reported.


The workaround for me is to use View - PDF (ps to pdf) rather than 
 View - PDF (pdflatex) or View - dvipdfm. Or you could export to  latex, 
and run latex (or pdflatex) manually from the terminal.


Bennett




I used the TexLive2005 cd to test the Windows version found
in /Win32. I think the error I experienced and the fix may be
related to the bug filed on this issue, 2127.

--


SH wrote: I use sample.tex (c:\texmf\doc\dvipdfm\sample.tex) to
test functionality, as this file is intended for that purpose.
Win32 (xemtex variant) fails to display the .eps graphics included
in sample.tex.

---

Dan Luecking replied:

The (dvipdfm problem) never hit me because I always convert eps
to pdf manually, using tools that produce PDF version 1.3 or less.

The eps to pdf conversion does fail out of the box, but that seems to
be because dvipdfm can't take PDF higher than version 1.3. One needs
to change the config file so that the eps to pdf conversion process
(the line beginning with D) produces version 1.3 or lower. I use
 D epstopdf --outfile=%o --nocompress %i
in config and edit epstopdf.pl (which produces 1.4 by default on my
system). Instead of editing epstopdf.pl, one could
 set GS_OPTIONS=-dCompatibilityLevel=1.2
on the command line or use a gs command in config that sets the level:
 D gswin32c.exe -q -sPAPERSIZE=letter -sDEVICE=pdfwrite
-dCompatibilityLevel=1.2 -dUseFlateCompression=true -dNOPAUSE
-sOutputFile=%o %i -c quit
(all on one line). Problems can occur out of the box because the
out-of-the-box config file has incorrect quoting for windows. The
config-win provided (copy it to config) uses epstopdf. Using dvipdfm's
-vv option quickly showed me where the problem lied (in the pdf
version produced by epstopdf).

I remove quoting around the file names (%o and %i) in config's D
option, and never use filenames or paths with spaces in them.
--

SH: I am not sure this diagnosis totally agrees with this post:
-

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg83472.html
In teTeX 1.0 you obtain the same error but with 1.4 replaced by 1.2.
This means that when you include an eps file in LyX and do View-PDF
(pdflatex) it succeeds with teTeX 2.0 but fails with teTeX 1.0 if ps2pdf13
is used.
--

http://web.mit.edu/ghostscript/www/Ps2pdf.htm
ps2pdf12 will always produce PDF 1.2 output (Acrobat 3-and-later 
compatible).
ps2pdf13 will always produce PDF 1.3 output (Acrobat 4-and-later 
compatible).
ps2pdf14 will always produce PDF 1.4 output (Acrobat 5-and-later 
compatible).
ps2pdf per se currently produces PDF 1.2 output (Acrobat 3-and-later 
compatible).

However, this may change in the future. If you care about the compatibility
level of the output, use ps2pdf12, ps2pdf13, or ps2pdf14, or use the
-dCompatibilityLevel=1.x switch in the command line.
-

SH: This was the reason (even if wrong_ why I suggested he upgrade
his versionof Acrobat Reader to 7.0 and use it for file formats in LyX.

Regards,
Stephen









Re: find equation labels in a lyx document

2006-01-24 Thread Jean-Marc Lasgouttes
 David == David Halpern [EMAIL PROTECTED] writes:

David Andre, Thanks, but I was hoping that lyx was an editor with
David this relatively simple capability. 

You are right, this would be helpful, and I guess not so difficult to
implement. Feel free to create a bug about it on bugzilla.

JMarc




right-click vs. double-click

2006-01-24 Thread Nusret BALCI
Hi,
I want to change the following lyx behaviour:
When I right click within a math inset, the math panel
shows up. Although I use the math panel from time to
time, I prefer a context menu with copy, save, etc.
when i right click, and math pane when I double-click.

My question is: (for windows, qt frontend)
what file and part of code is responsible for this
behavior? I'll try to change this for my own copy. I
would appreciate if someone could help me just
pointing to the relevant part of the code.

Regards,
Nusret

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: word-wrap and itemize

2006-01-24 Thread Jeremy C. Reed
On Tue, 24 Jan 2006, Roy Schestowitz wrote:

 There was recently a thread about justification and hyphenation, but
 particularly about tendency of margins to be dishonoured at times [1].
 There were various solutions proposed. Insertion of a linebreak is, as you
 already know, undesirable. This may break as the output type (or
 compiliation process) changes.

Thanks for the link. I had read those threads, but no answer there.

An example of my problem is the words (with the punctuation):
(LAN_INET)
and 
(LAN_DMZ)

I don't want to hyphenate them. I don't want to manually add a \newline 
before them. I just want the latex magic to automatically move it to the 
next line and justify the line as needed.

This also happens in regular Standard text too, where I have (TTL), 
(MSS), MIB-like variables like net.inet.ip.porthilast and 
net.inet.ip.portrange.hifirst, filenames (with backslashes) like 
/etc/authpf/authpf.allow, and words that start with a dollar sign (like 
$foo). These are all same font.

I have many, many lines like this. And adding a \newline or forcing 
hyphenation causes maintenance problems (as you mention) since I am 
updating content and later may change paper size.

 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: word-wrap and itemize

2006-01-24 Thread Todd Denniston

Jeremy C. Reed wrote:

On Tue, 24 Jan 2006, Roy Schestowitz wrote:



There was recently a thread about justification and hyphenation, but
particularly about tendency of margins to be dishonoured at times [1].
There were various solutions proposed. Insertion of a linebreak is, as you
already know, undesirable. This may break as the output type (or
compiliation process) changes.



Thanks for the link. I had read those threads, but no answer there.

An example of my problem is the words (with the punctuation):
(LAN_INET)
and 
(LAN_DMZ)


I don't want to hyphenate them. I don't want to manually add a \newline 
before them. I just want the latex magic to automatically move it to the 
next line and justify the line as needed.


This also happens in regular Standard text too, where I have (TTL), 
(MSS), MIB-like variables like net.inet.ip.porthilast and 
net.inet.ip.portrange.hifirst, filenames (with backslashes) like 
/etc/authpf/authpf.allow, and words that start with a dollar sign (like 
$foo). These are all same font.


I have many, many lines like this. And adding a \newline or forcing 
hyphenation causes maintenance problems (as you mention) since I am 
updating content and later may change paper size.




Would building up a lexikon.tex of words/abbreviations you use be more 
trouble than you are looking for? Juergen suggested[1] that it could be done 
to keep some words from being broken up or to have them broken correctly, And 
G. Milde suggested[2] that \sloppy might reduce hyphenation for small words.
Paul A. Rubin suggested[3] setting \tolerance and \emergencystretch to deal 
with them.


And of course there is the ever helpful TeXnik site's[4] advice.


[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg33952.html
[2] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg33966.html
[3] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg33794.html
[4] http://tug.org/TeXnik/mainFAQ.cgi?file=language/hyphen

Good luck.


Re: word-wrap and itemize

2006-01-24 Thread Johan Ingvast

Jeremy C. Reed wrote:
I don't want to hyphenate them. I don't want to manually add a \newline 
before them. I just want the latex magic to automatically move it to the 
next line and justify the line as needed.


This also happens in regular Standard text too, where I have (TTL), 
(MSS), MIB-like variables like net.inet.ip.porthilast and 
net.inet.ip.portrange.hifirst, filenames (with backslashes) like 
/etc/authpf/authpf.allow, and words that start with a dollar sign (like 
$foo). These are all same font.


I have many, many lines like this. And adding a \newline or forcing 
hyphenation causes maintenance problems (as you mention) since I am 
updating content and later may change paper size.

I think your problems will go away if you turn to left justification.
\raggedright{} in ERT somewhere in the beginning of the document or in the 
preamble.
Since you have so many long words that can't be hypenated, you can not expect 
latex to manage to make the text justified.


/johan


lyx 1.4.0 pre 3 not open my file

2006-01-24 Thread Marcelo Acuÿfffff1a
Hello,
  I make an upgrade from 1.3.6 to 1.3.7 and this work ok.
  No problem.
  Then make an upgrade to 1.4.0 pre3 and found a problem.
  This new version open correctly several files from 1.3.6 and
  1.3.7 but my main work, a long book, is not open. Appears
  an error mesage like: lyx2lyx can´t convert this file.
  How I can solved this?
  Thanks
  Marcelo
   


-
 1GB gratis, Antivirus y Antispam
 Correo Yahoo!, el mejor correo web del mundo
 Abrí tu cuenta aquí

Re: word-wrap and itemize

2006-01-24 Thread Jeremy C. Reed
Thank you Todd and Johan for the further ideas.

I think in my case, I don't want hyphenation, but I want latex to 
automatically wrap the word going into the margin to the next line AND 
justify the line to make up for the moved word.

I have been reading about \tolerance and \emergencystretch but can't seem 
to find good explanations. I tried \tolerance with from 50 to 250 but 
didn't see differences yet. I also don't know if the \emergencystretch is 
used on a case-by-case basis or for preamble.

Here is another example sentence:

  This assigns packets belonging to SSH login connections to the 
  ssh_login queue and packets belonging to SCP and SFTP connections to the
  ssh_bulk queue.

On my 6 inch wide page, the ssh_login goes out into the right margin. So 
I manually put in a \linefeed before it. Now my resulting output has a 
blank area after ... to the (which I do not want) and the ssh_login in 
on the next line (which I do want).

I want to continue using justification. I want latex to know that the line 
is too long and simply wrap the word that it didn't hyphenate and then 
attempt to right justify the line that lost the word.

Will \tolerance or \emergencystretch work with that?

And what is the difference between
\emergencystretch=2em
and
\setlength{\emergencystretch}{2em}
?

 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: word-wrap and itemize

2006-01-24 Thread Jeremy C. Reed
On Tue, 24 Jan 2006, Jeremy C. Reed wrote:

 I want to continue using justification. I want latex to know that the line 
 is too long and simply wrap the word that it didn't hyphenate and then 
 attempt to right justify the line that lost the word.

I tried over ten different \tolerance settings and I found that 
\tolerance=545 ended up working like I want.

 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: word-wrap and itemize

2006-01-24 Thread Martin Geisler
Jeremy C. Reed [EMAIL PROTECTED] writes:

 An example of my problem is the words (with the punctuation):
 (LAN_INET) and (LAN_DMZ)

 I don't want to hyphenate them. I don't want to manually add a
 \newline before them. I just want the latex magic to automatically
 move it to the next line and justify the line as needed.

But unlike many other systems, (La)TeX evaluates the quality of its
output.  Penalties are given when lines have to be streached too much,
and when reaching a specific badness TeX will simply refuse to
typeset the line.

 This also happens in regular Standard text too, where I have
 (TTL), (MSS), MIB-like variables like net.inet.ip.porthilast and
 net.inet.ip.portrange.hifirst, filenames (with backslashes) like
 /etc/authpf/authpf.allow, and words that start with a dollar sign
 (like $foo). These are all same font.

Try using the url package -- it is designed to break long stuff like
URLs at good places, such as after a slash.  It works nicely for file-
and variablenames (of the form $foo_bar_baz) too.

-- 
Martin Geisler GnuPG Key: 0x7E45DD38

PHP Exif Library  |  PHP Weather |  PHP Shell
http://pel.sf.net/|  http://phpweather.net/  |  http://mgeisler.net/
Read/write Exif data  |  Show current weather|  A shell in a browser


pgpmgsW2OZxHS.pgp
Description: PGP signature


cursor size

2006-01-24 Thread Rafael Perez Pascual
I am using lyx on  Debian Linux, the cursor is a one pixel line 
very dificut to see, is it possible to have a larger cursor?

Thanks

Rafael Perez



Re: lyx 1.4.0 pre 3 not open my file

2006-01-24 Thread Jose' Matos
On Tuesday 24 January 2006 21:46, Marcelo Acuÿf1a wrote:
 Hello,
   I make an upgrade from 1.3.6 to 1.3.7 and this work ok.
   No problem.
   Then make an upgrade to 1.4.0 pre3 and found a problem.
   This new version open correctly several files from 1.3.6 and
   1.3.7 but my main work, a long book, is not open. Appears
   an error mesage like: lyx2lyx can´t convert this file.
   How I can solved this?

  If you run lyx2lyx directly from the command line what is the error?

  I seem to remember some bugfixes after pre3, if not it is a new bug.

   Thanks
   Marcelo

-- 
José Abílio


Re: Shortcut for Typewriter

2006-01-24 Thread Christoph Nelles
Thanx for the help. In the emacs file i found the correct action 
string for typewriter and now my button works. I am sure i will get the 
shortcut key working, too. Thanks for the inspiration to look into the 
bindings file.


Christoph Nelles

Rich Shepard schrieb:





On Tue, 24 Jan 2006, Christoph Nelles wrote:

Has anybody a solution for adding a button to the button bar or adding 
a key short cut?



Christoph,

  I don't do buttons, but if you look in ~/.lyx/bind/ you'll find a 
couple of
files that define shortcut keys. In my case, ctrl-v is used to page down 
one
screen, so I defined shift-ctrl-v to paste. I also redefined ctrl-b for 
bold

and ctrl-i for italic. Works for me. Create something that works for you.

Rich



Re: Mac Install Problems

2006-01-24 Thread Ian Stevenson

Dear Bennett,

Many thanks for the reply. From my reading of the outputs below the 
install looks OK what do you make of it? Any further suggestions?  
Thanks for your help!


Did you run the LyX installer script from the installer volume? That 
should tell you if you have a teTeX installation.


Yes


(To be sure, you can go to the Terminal and enter which pdflatex, 
and it should give you a path to that file's location.)


Ian-Stevensons-Computer:~ ianstevenson$ which pdflatex
/usr/local/teTeX/bin/powerpc-apple-darwin-current/pdflatex




The LyX User's folder is now located at ~/Library/Application 
Support/LyX. Running the installer script should move your old folder 
from ~/.lyx to this new location.


This folder is present.



What happens if you run (from the Terminal) 
/Applications/LyX.app/Contents/Resources/lyx/configure


Ian-Stevensons-Computer:~ ianstevenson$ 
/Applications/LyX.app/Contents/Resources/lyx/configure

checking for a LaTeX2e program... (latex latex2e)
+checking for latex... yes
checking for the pdflatex program... (pdflatex)
+checking for pdflatex... yes
checking for a LaTeX - LyX converter... (reLyX)
+checking for reLyX... no
checking for a Noweb - LyX converter... (noweb2lyx)
+checking for noweb2lyx... no
checking for a Noweb - LaTeX converter... (noweave)
+checking for noweave... no
checking for an HTML - LaTeX converter... (html2latex)
+checking for html2latex... no
checking for an MS Word - LaTeX converter... (wvCleanLatex word2x)
+checking for wvCleanLatex... no
+checking for word2x... no
checking for a LaTeX - MS Word converter... (htlatex)
+checking for htlatex... yes
checking for Image converter... (convert)
+checking for convert... yes
checking for a Postscript previewer... (gsview32 gv ghostview 
kghostview)

+checking for gsview32... no
+checking for gv... no
+checking for ghostview... no
+checking for kghostview... no
checking for a PDF previewer... (acrobat acrord32 gsview32 acroread gv 
ghostview xpdf kpdf kghostview)

+checking for acrobat... no
+checking for acrord32... no
+checking for gsview32... no
+checking for acroread... no
+checking for gv... no
+checking for ghostview... no
+checking for xpdf... no
+checking for kpdf... no
+checking for kghostview... no
checking for a DVI previewer... (xdvi windvi yap kdvi)
+checking for xdvi... yes
checking for an HTML previewer... (mozilla file://$$p$$i netscape)
+checking for mozilla... no
+checking for netscape... no
checking for a PS to PDF converter... (ps2pdf13 $$i)
+checking for ps2pdf13... yes
checking for a DVI to PS converter... (dvips)
+checking for dvips... yes
checking for a DVI to PDF converter... (dvipdfm)
+checking for dvipdfm... yes
checking for a *roff formatter... (groff -t -Tlatin1 $$FName nroff)
+checking for groff... yes
checking for ChkTeX... (chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38)
+checking for chktex... no
checking for a spellchecker... (ispell)
+checking for ispell... no
checking for Octave... (octave)
+checking for octave... no
checking for Maple... (maple)
+checking for maple... no
checking for a fax program... (kdeprintfax ksendfax)
+checking for kdeprintfax... no
+checking for ksendfax... no
checking for SGML-tools 1.x (LinuxDoc)... (sgml2lyx)
+checking for sgml2lyx... no
checking for SGML-tools 2.x (DocBook) or db2x scripts... (sgmltools 
db2dvi)

+checking for sgmltools... no
+checking for db2dvi... no
checking for a spool command... (lp lpr)
+checking for lp... yes
checking for a LaTeX - HTML converter... (htlatex tth latex2html hevea)
+checking for htlatex... yes
checking LaTeX configuration... auto
+Inspecting your LaTeX configuration.
+checking for LaTeX version... 2003/12/01
+checking for default encoding (this may take a long time)
+  checking for ec fonts... yes
+  checking for ec support in LaTeX format... yes
+checking for document class IEEEtran [IEEEtran]... no
+checking for document class aa [aa]... no
+checking for document class aapaper [aa]... no
+checking for document class aastex [aastex]... no
+checking for document class agums [aguplus,agums.sty]... no
+checking for document class amsart-plain [amsart]... yes
+checking for document class amsart-seq [amsart]... yes
+checking for document class amsart [amsart]... yes
+checking for document class amsbook [amsbook]... yes
+checking for document class apa [apa,apacite.sty]... no
+checking for document class article [article]... yes
+checking for document class book [book]... yes
+checking for document class broadway [broadway]... yes
+checking for document class chess [article,lyxskak.sty]... yes
+checking for document class cl2emult [cl2emult]... no
+checking for document class cv [cv]... yes
+checking for document class dinbrief [dinbrief]... yes
+checking for docbook  class docbook-book...  no
+checking for docbook  class docbook-chapter...  no
+checking for docbook  class docbook-section...  no
+checking for docbook  class docbook...  no
+checking for document class dtk [dtk]... no
+checking for document class egs 

Style/Grammar Checker (v0.3d) for LyX availiable.

2006-01-24 Thread John McCabe-Dansted
I have put up a new version (v0.3d) of a Perl script that provides Grammar
Checking support within LyX's GUI. This version now formats the errors
to make them easier to read.

If you are interested in automatically checking your documents for
various errors, see:
http://wiki.lyx.org/pmwiki.php/Tools/LyX-GrammarChecker

If you have any troubles getting it to work, or have any other
comments, please email me.

It seems be quite simple to use under Linux and MacOSX. I haven't
tested it under Windows but it should just work if you are using
Cygwin. I'd be interested to know if it actually does works with
Cygwin.

--
John C. McCabe-Dansted
Masters Student


lyx-1.4.0pre3 compile

2006-01-24 Thread B.J. Muirhead
Hi
I have compiled (using frontend and the suffix option, so no
problems there) and installed lyx-1.4.opre3 on an up to date ubuntu
system (using checkinstall in place of make install) but it didn't find
the aiksaurus library. 
does anyone know if  
--with -extra-lib=dir to aiksaurus
   will fix this?

I just don't want to uninstall re-configure, etc, unless this will work.

For the developers: I do like the new interface, etc., and am really
looking forward to the final release.  :-)
thanks
Bruce
-- 
B.J. Muirhead [EMAIL PROTECTED]



Lyx, BibTex HTML

2006-01-24 Thread Yaron Y. Goland
I suspect I'm pushing my luck but I'm trying to use Lyx and BibTex to  
generate HTML files. Using the built in HTML generator didn't work  
out. My citation references show up as [?] and no bibliography is  
generated (even though everything works fine with export to PDF). Any  
hints on how I can get HTML generation to do the right thing in  
regards to BibTex?


Thanks,

Yaron


Re: blank images in preview (Lyx 1.3.7, MacOSX 10.4.4)

2006-01-24 Thread Stephen Harris


- Original Message - 
From: "Marc D." <[EMAIL PROTECTED]>

To: 
Sent: Monday, January 23, 2006 4:58 PM
Subject: blank images in preview (Lyx 1.3.7, MacOSX 10.4.4)



The problem is that although I can see the included images
in the LyX screen, I cannot see the images when I select
View --> PDF (pdflatex). I can't even get Preview to show
anything if I pick the other two options (dvidpdm and 'ps to pdf').
With pdflatex, the PDF comes up, the text is there, but the images
are not. The space they should occupy is just blank.
I get the same behaviour with TeXshop after I convert my LyX to
laTeX, so I'm guessing I have something misconfigured somewhere,
but WHAT???




I use Windows but you should have a similar file, sample.tex, which
is located in ~/texmf/doc/dvipdfm. I use this file to test images since
it has .eps and .jpg file formats. pdflatex and dvipdfm don't always
display the same behavior. For example, dvipdfm will convert the
sample.lyx file into viewable .pdf, but pdflatex (6 errors) will not.

1.3.4 is fairly old and maybe some older version of a file was
used in your tetex version-- has tetex been upgraded? If so, a
file version for rendering your .lyx files may have been changed.

Anyway, I'll present what I think is the simples to fix idea. The
viewer may have changed, if you have made changes to your
system. Edit->Preferences->File formats

My best guess for an immediate solution, is to download
Acrobat Reader 7.0 and make it the default viewer (acrord~) for
the three .pdf file formats. Earlier version Readers caused some
Linux problems, so this is the best, quick idea I can think of.

Different topics which may have some relevance.
---
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg78867.html
"I suspect that this may have something to do with "file paths with spaces".

2. DirtyDVI & DVI and PDF (pdflatex) and intext eps figures display
correctly with yap and Acrord32 but PDF reports "Cannot convert file"
"Error while executing "

"dvips -t a4 -o "file.ps" "tmpfile.out"  "
PDF (dvipdfm)  " Cannot convert file" "Error while executing "

"dvipdfm -p a4 "tmpfile.out" "
Postscript " Cannot convert file" "Error while executing"
"dvips -t a4 -o "file.ps" "tmpfile.out"  "
all these work on the same Lyx file under Lyxwin 135."
-

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg83472.html
"In teTeX 1.0 you obtain the same error but with <1.4> replaced by <1.2>.
This means that when you include an eps file in LyX and do View->PDF 
(pdflatex) it succeeds with teTeX 2.0 but fails with teTeX 1.0 if ps2pdf13

is used."
--

http://www.cs.ubc.ca/~van/GI2005/giformat.htm
"If you are generating DVI (i.e. you are using the [dvips] option) then
latex will search for EPS files rather than PNG, JPEG and PDF files for
images. Even in this case it is best to leave off the suffix when you
include images, so you don't have to change your source other than the
option on the \usepackage{graphics} line in the preamble."


Regards,
Stephen







Re: blank images in preview (Lyx 1.3.7, MacOSX 10.4.4)

2006-01-24 Thread Stephen Harris


- Original Message - 
From: "Bennett Helm" <[EMAIL PROTECTED]>

To: "Marc D." <[EMAIL PROTECTED]>; "LyX Users' Forum" 
Sent: Monday, January 23, 2006 8:03 PM
Subject: Re: blank images in preview (Lyx 1.3.7, MacOSX 10.4.4)



On Jan 23, 2006, at 7:58 PM, Marc D. wrote:


The problem is that although I can see the included images
in the LyX screen, I cannot see the images when I select
View --> PDF (pdflatex). I can't even get Preview to show
anything if I pick the other two options (dvidpdm and 'ps to pdf').
With pdflatex, the PDF comes up, the text is there, but the images
are not. The space they should occupy is just blank.
I get the same behaviour with TeXshop after I convert my LyX to
laTeX, so I'm guessing I have something misconfigured somewhere,
but WHAT???


This is a known problem. See . I've done some more investigating and reported the results 
there. Please add to the bug report any comments you might have that 
differ from what is already reported.


The workaround for me is to use View -> PDF (ps to pdf) rather than 
 View -> PDF (pdflatex) or View -> dvipdfm. Or you could export to  latex, 
and run latex (or pdflatex) manually from the terminal.


Bennett




I used the TexLive2005 cd to test the Windows version found
in /Win32. I think the error I experienced and the fix may be
related to the bug filed on this issue, 2127.

--


SH wrote: I use sample.tex (c:\texmf\doc\dvipdfm\sample.tex) to
test functionality, as this file is intended for that purpose.
Win32 (xemtex variant) fails to display the .eps graphics included
in sample.tex.

---

Dan Luecking replied:

"The (dvipdfm problem) never hit me because I always convert eps
to pdf manually, using tools that produce PDF version 1.3 or less.

The eps to pdf conversion does fail out of the box, but that seems to
be because dvipdfm can't take PDF higher than version 1.3. One needs
to change the config file so that the eps to pdf conversion process
(the line beginning with D) produces version 1.3 or lower. I use
 D "epstopdf --outfile=%o --nocompress %i"
in config and edit epstopdf.pl (which produces 1.4 by default on my
system). Instead of editing epstopdf.pl, one could
 set GS_OPTIONS=-dCompatibilityLevel=1.2
on the command line or use a gs command in config that sets the level:
 D "gswin32c.exe -q -sPAPERSIZE=letter -sDEVICE=pdfwrite
-dCompatibilityLevel=1.2 -dUseFlateCompression=true -dNOPAUSE
-sOutputFile=%o %i -c quit"
(all on one line). Problems can occur "out of the box" because the
out-of-the-box config file has incorrect quoting for windows. The
config-win provided (copy it to config) uses epstopdf. Using dvipdfm's
-vv option quickly showed me where the problem lied (in the pdf
version produced by epstopdf).

I remove quoting around the file names (%o and %i) in config's D
option, and never use filenames or paths with spaces in them."
--

SH: I am not sure this diagnosis totally agrees with this post:
-

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg83472.html
"In teTeX 1.0 you obtain the same error but with <1.4> replaced by <1.2>.
This means that when you include an eps file in LyX and do View->PDF
(pdflatex) it succeeds with teTeX 2.0 but fails with teTeX 1.0 if ps2pdf13
is used."
--

http://web.mit.edu/ghostscript/www/Ps2pdf.htm
"ps2pdf12 will always produce PDF 1.2 output (Acrobat 3-and-later 
compatible).
ps2pdf13 will always produce PDF 1.3 output (Acrobat 4-and-later 
compatible).
ps2pdf14 will always produce PDF 1.4 output (Acrobat 5-and-later 
compatible).
ps2pdf per se currently produces PDF 1.2 output (Acrobat 3-and-later 
compatible).

However, this may change in the future. If you care about the compatibility
level of the output, use ps2pdf12, ps2pdf13, or ps2pdf14, or use the
-dCompatibilityLevel=1.x switch in the command line."
-

SH: This was the reason (even if wrong_ why I suggested he upgrade
his versionof Acrobat Reader to 7.0 and use it for file formats in LyX.

Regards,
Stephen









Re: find equation labels in a lyx document

2006-01-24 Thread Jean-Marc Lasgouttes
> "David" == David Halpern <[EMAIL PROTECTED]> writes:

David> Andre, Thanks, but I was hoping that lyx was an editor with
David> this relatively simple capability. 

You are right, this would be helpful, and I guess not so difficult to
implement. Feel free to create a bug about it on bugzilla.

JMarc




right-click vs. double-click

2006-01-24 Thread Nusret BALCI
Hi,
I want to change the following lyx behaviour:
When I right click within a math inset, the math panel
shows up. Although I use the math panel from time to
time, I prefer a context menu with copy, save, etc.
when i right click, and math pane when I double-click.

My question is: (for windows, qt frontend)
what file and part of code is responsible for this
behavior? I'll try to change this for my own copy. I
would appreciate if someone could help me just
pointing to the relevant part of the code.

Regards,
Nusret

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: word-wrap and itemize

2006-01-24 Thread Jeremy C. Reed
On Tue, 24 Jan 2006, Roy Schestowitz wrote:

> There was recently a thread about justification and hyphenation, but
> particularly about tendency of margins to be dishonoured at times [1].
> There were various solutions proposed. Insertion of a linebreak is, as you
> already know, undesirable. This may break as the output type (or
> compiliation process) changes.

Thanks for the link. I had read those threads, but no answer there.

An example of my problem is the words (with the punctuation):
(LAN_INET)
and 
(LAN_DMZ)

I don't want to hyphenate them. I don't want to manually add a \newline 
before them. I just want the latex magic to automatically move it to the 
next line and justify the line as needed.

This also happens in regular Standard text too, where I have "(TTL)", 
"(MSS)", MIB-like variables like net.inet.ip.porthilast and 
net.inet.ip.portrange.hifirst, filenames (with backslashes) like 
/etc/authpf/authpf.allow, and words that start with a dollar sign (like 
$foo). These are all same font.

I have many, many lines like this. And adding a \newline or forcing 
hyphenation causes maintenance problems (as you mention) since I am 
updating content and later may change paper size.

 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: word-wrap and itemize

2006-01-24 Thread Todd Denniston

Jeremy C. Reed wrote:

On Tue, 24 Jan 2006, Roy Schestowitz wrote:



There was recently a thread about justification and hyphenation, but
particularly about tendency of margins to be dishonoured at times [1].
There were various solutions proposed. Insertion of a linebreak is, as you
already know, undesirable. This may break as the output type (or
compiliation process) changes.



Thanks for the link. I had read those threads, but no answer there.

An example of my problem is the words (with the punctuation):
(LAN_INET)
and 
(LAN_DMZ)


I don't want to hyphenate them. I don't want to manually add a \newline 
before them. I just want the latex magic to automatically move it to the 
next line and justify the line as needed.


This also happens in regular Standard text too, where I have "(TTL)", 
"(MSS)", MIB-like variables like net.inet.ip.porthilast and 
net.inet.ip.portrange.hifirst, filenames (with backslashes) like 
/etc/authpf/authpf.allow, and words that start with a dollar sign (like 
$foo). These are all same font.


I have many, many lines like this. And adding a \newline or forcing 
hyphenation causes maintenance problems (as you mention) since I am 
updating content and later may change paper size.




Would building up a "lexikon.tex" of words/abbreviations you use be more 
trouble than you are looking for? Juergen suggested[1] that it could be done 
to keep some words from being broken up or to have them broken correctly, And 
G. Milde suggested[2] that \sloppy might reduce hyphenation for small words.
Paul A. Rubin suggested[3] setting \tolerance and \emergencystretch to deal 
with them.


And of course there is the ever helpful TeXnik site's[4] advice.


[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg33952.html
[2] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg33966.html
[3] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg33794.html
[4] http://tug.org/TeXnik/mainFAQ.cgi?file=language/hyphen

Good luck.


Re: word-wrap and itemize

2006-01-24 Thread Johan Ingvast

Jeremy C. Reed wrote:
I don't want to hyphenate them. I don't want to manually add a \newline 
before them. I just want the latex magic to automatically move it to the 
next line and justify the line as needed.


This also happens in regular Standard text too, where I have "(TTL)", 
"(MSS)", MIB-like variables like net.inet.ip.porthilast and 
net.inet.ip.portrange.hifirst, filenames (with backslashes) like 
/etc/authpf/authpf.allow, and words that start with a dollar sign (like 
$foo). These are all same font.


I have many, many lines like this. And adding a \newline or forcing 
hyphenation causes maintenance problems (as you mention) since I am 
updating content and later may change paper size.

I think your problems will go away if you turn to left justification.
\raggedright{} in ERT somewhere in the beginning of the document or in the 
preamble.
Since you have so many long words that can't be hypenated, you can not expect 
latex to manage to make the text justified.


/johan


lyx 1.4.0 pre 3 not open my file

2006-01-24 Thread Marcelo Acuÿfffff1a
Hello,
  I make an upgrade from 1.3.6 to 1.3.7 and this work ok.
  No problem.
  Then make an upgrade to 1.4.0 pre3 and found a problem.
  This new version open correctly several files from 1.3.6 and
  1.3.7 but my main work, a long book, is not open. Appears
  an error mesage like: "lyx2lyx can´t convert this file".
  How I can solved this?
  Thanks
  Marcelo
   


-
 1GB gratis, Antivirus y Antispam
 Correo Yahoo!, el mejor correo web del mundo
 Abrí tu cuenta aquí

Re: word-wrap and itemize

2006-01-24 Thread Jeremy C. Reed
Thank you Todd and Johan for the further ideas.

I think in my case, I don't want hyphenation, but I want latex to 
automatically wrap the word going into the margin to the next line AND 
justify the line to make up for the moved word.

I have been reading about \tolerance and \emergencystretch but can't seem 
to find good explanations. I tried \tolerance with from 50 to 250 but 
didn't see differences yet. I also don't know if the \emergencystretch is 
used on a case-by-case basis or for preamble.

Here is another example sentence:

  This assigns packets belonging to SSH login connections to the 
  ssh_login queue and packets belonging to SCP and SFTP connections to the
  ssh_bulk queue.

On my 6 inch wide page, the "ssh_login" goes out into the right margin. So 
I manually put in a \linefeed before it. Now my resulting output has a 
blank area after "... to the" (which I do not want) and the "ssh_login" in 
on the next line (which I do want).

I want to continue using justification. I want latex to know that the line 
is too long and simply wrap the word that it didn't hyphenate and then 
attempt to right justify the line that lost the word.

Will \tolerance or \emergencystretch work with that?

And what is the difference between
\emergencystretch=2em
and
\setlength{\emergencystretch}{2em}
?

 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: word-wrap and itemize

2006-01-24 Thread Jeremy C. Reed
On Tue, 24 Jan 2006, Jeremy C. Reed wrote:

> I want to continue using justification. I want latex to know that the line 
> is too long and simply wrap the word that it didn't hyphenate and then 
> attempt to right justify the line that lost the word.

I tried over ten different \tolerance settings and I found that 
\tolerance=545 ended up working like I want.

 Jeremy C. Reed

 BSD News, BSD tutorials, BSD links
 http://www.bsdnewsletter.com/


Re: word-wrap and itemize

2006-01-24 Thread Martin Geisler
"Jeremy C. Reed" <[EMAIL PROTECTED]> writes:

> An example of my problem is the words (with the punctuation):
> (LAN_INET) and (LAN_DMZ)
>
> I don't want to hyphenate them. I don't want to manually add a
> \newline before them. I just want the latex magic to automatically
> move it to the next line and justify the line as needed.

But unlike many other systems, (La)TeX evaluates the quality of its
output.  Penalties are given when lines have to be streached too much,
and when reaching a specific "badness" TeX will simply refuse to
typeset the line.

> This also happens in regular Standard text too, where I have
> "(TTL)", "(MSS)", MIB-like variables like net.inet.ip.porthilast and
> net.inet.ip.portrange.hifirst, filenames (with backslashes) like
> /etc/authpf/authpf.allow, and words that start with a dollar sign
> (like $foo). These are all same font.

Try using the url package -- it is designed to break long stuff like
URLs at good places, such as after a slash.  It works nicely for file-
and variablenames (of the form $foo_bar_baz) too.

-- 
Martin Geisler GnuPG Key: 0x7E45DD38

PHP Exif Library  |  PHP Weather |  PHP Shell
http://pel.sf.net/|  http://phpweather.net/  |  http://mgeisler.net/
Read/write Exif data  |  Show current weather|  A shell in a browser


pgpmgsW2OZxHS.pgp
Description: PGP signature


cursor size

2006-01-24 Thread Rafael Perez Pascual
I am using lyx on  Debian Linux, the cursor is a one pixel line 
very dificut to see, is it possible to have a larger cursor?

Thanks

Rafael Perez



Re: lyx 1.4.0 pre 3 not open my file

2006-01-24 Thread Jose' Matos
On Tuesday 24 January 2006 21:46, Marcelo Acuÿf1a wrote:
> Hello,
>   I make an upgrade from 1.3.6 to 1.3.7 and this work ok.
>   No problem.
>   Then make an upgrade to 1.4.0 pre3 and found a problem.
>   This new version open correctly several files from 1.3.6 and
>   1.3.7 but my main work, a long book, is not open. Appears
>   an error mesage like: "lyx2lyx can´t convert this file".
>   How I can solved this?

  If you run lyx2lyx directly from the command line what is the error?

  I seem to remember some bugfixes after pre3, if not it is a new bug.

>   Thanks
>   Marcelo

-- 
José Abílio


Re: Shortcut for Typewriter

2006-01-24 Thread Christoph Nelles
Thanx for the help. In the emacs file i found the correct "action 
string" for typewriter and now my button works. I am sure i will get the 
shortcut key working, too. Thanks for the inspiration to look into the 
bindings file.


Christoph Nelles

Rich Shepard schrieb:





On Tue, 24 Jan 2006, Christoph Nelles wrote:

Has anybody a solution for adding a button to the button bar or adding 
a key short cut?



Christoph,

  I don't do buttons, but if you look in ~/.lyx/bind/ you'll find a 
couple of
files that define shortcut keys. In my case, ctrl-v is used to page down 
one
screen, so I defined shift-ctrl-v to paste. I also redefined ctrl-b for 
bold

and ctrl-i for italic. Works for me. Create something that works for you.

Rich



Re: Mac Install Problems

2006-01-24 Thread Ian Stevenson

Dear Bennett,

Many thanks for the reply. From my reading of the outputs below the 
install looks OK what do you make of it? Any further suggestions?  
Thanks for your help!


Did you run the LyX installer script from the installer volume? That 
should tell you if you have a teTeX installation.


Yes


(To be sure, you can go to the Terminal and enter "which pdflatex", 
and it should give you a path to that file's location.)


Ian-Stevensons-Computer:~ ianstevenson$ which pdflatex
/usr/local/teTeX/bin/powerpc-apple-darwin-current/pdflatex




The LyX User's folder is now located at ~/Library/Application 
Support/LyX. Running the installer script should move your old folder 
from ~/.lyx to this new location.


This folder is present.



What happens if you run (from the Terminal) 
/Applications/LyX.app/Contents/Resources/lyx/configure


Ian-Stevensons-Computer:~ ianstevenson$ 
/Applications/LyX.app/Contents/Resources/lyx/configure

checking for a LaTeX2e program... (latex latex2e)
+checking for "latex"... yes
checking for the pdflatex program... (pdflatex)
+checking for "pdflatex"... yes
checking for a LaTeX -> LyX converter... (reLyX)
+checking for "reLyX"... no
checking for a Noweb -> LyX converter... (noweb2lyx)
+checking for "noweb2lyx"... no
checking for a Noweb -> LaTeX converter... (noweave)
+checking for "noweave"... no
checking for an HTML -> LaTeX converter... (html2latex)
+checking for "html2latex"... no
checking for an MS Word -> LaTeX converter... (wvCleanLatex word2x)
+checking for "wvCleanLatex"... no
+checking for "word2x"... no
checking for a LaTeX -> MS Word converter... (htlatex)
+checking for "htlatex"... yes
checking for Image converter... (convert)
+checking for "convert"... yes
checking for a Postscript previewer... (gsview32 gv ghostview 
kghostview)

+checking for "gsview32"... no
+checking for "gv"... no
+checking for "ghostview"... no
+checking for "kghostview"... no
checking for a PDF previewer... (acrobat acrord32 gsview32 acroread gv 
ghostview xpdf kpdf kghostview)

+checking for "acrobat"... no
+checking for "acrord32"... no
+checking for "gsview32"... no
+checking for "acroread"... no
+checking for "gv"... no
+checking for "ghostview"... no
+checking for "xpdf"... no
+checking for "kpdf"... no
+checking for "kghostview"... no
checking for a DVI previewer... (xdvi windvi yap kdvi)
+checking for "xdvi"... yes
checking for an HTML previewer... (mozilla file://$$p$$i netscape)
+checking for "mozilla"... no
+checking for "netscape"... no
checking for a PS to PDF converter... (ps2pdf13 $$i)
+checking for "ps2pdf13"... yes
checking for a DVI to PS converter... (dvips)
+checking for "dvips"... yes
checking for a DVI to PDF converter... (dvipdfm)
+checking for "dvipdfm"... yes
checking for a *roff formatter... (groff -t -Tlatin1 $$FName nroff)
+checking for "groff"... yes
checking for ChkTeX... (chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38)
+checking for "chktex"... no
checking for a spellchecker... (ispell)
+checking for "ispell"... no
checking for Octave... (octave)
+checking for "octave"... no
checking for Maple... (maple)
+checking for "maple"... no
checking for a fax program... (kdeprintfax ksendfax)
+checking for "kdeprintfax"... no
+checking for "ksendfax"... no
checking for SGML-tools 1.x (LinuxDoc)... (sgml2lyx)
+checking for "sgml2lyx"... no
checking for SGML-tools 2.x (DocBook) or db2x scripts... (sgmltools 
db2dvi)

+checking for "sgmltools"... no
+checking for "db2dvi"... no
checking for a spool command... (lp lpr)
+checking for "lp"... yes
checking for a LaTeX -> HTML converter... (htlatex tth latex2html hevea)
+checking for "htlatex"... yes
checking LaTeX configuration... auto
+Inspecting your LaTeX configuration.
+checking for LaTeX version... 2003/12/01
+checking for default encoding (this may take a long time)
+  checking for ec fonts... yes
+  checking for ec support in LaTeX format... yes
+checking for document class IEEEtran [IEEEtran]... no
+checking for document class aa [aa]... no
+checking for document class aapaper [aa]... no
+checking for document class aastex [aastex]... no
+checking for document class agums [aguplus,agums.sty]... no
+checking for document class amsart-plain [amsart]... yes
+checking for document class amsart-seq [amsart]... yes
+checking for document class amsart [amsart]... yes
+checking for document class amsbook [amsbook]... yes
+checking for document class apa [apa,apacite.sty]... no
+checking for document class article [article]... yes
+checking for document class book [book]... yes
+checking for document class broadway [broadway]... yes
+checking for document class chess [article,lyxskak.sty]... yes
+checking for document class cl2emult [cl2emult]... no
+checking for document class cv [cv]... yes
+checking for document class dinbrief [dinbrief]... yes
+checking for docbook  class docbook-book...  no
+checking for docbook  class docbook-chapter...  no
+checking for docbook  class docbook-section...  no
+checking for docbook  class 

Style/Grammar Checker (v0.3d) for LyX availiable.

2006-01-24 Thread John McCabe-Dansted
I have put up a new version (v0.3d) of a Perl script that provides Grammar
Checking support within LyX's GUI. This version now formats the errors
to make them easier to read.

If you are interested in automatically checking your documents for
various errors, see:
http://wiki.lyx.org/pmwiki.php/Tools/LyX-GrammarChecker

If you have any troubles getting it to work, or have any other
comments, please email me.

It seems be quite simple to use under Linux and MacOSX. I haven't
tested it under Windows but it should "just work" if you are using
Cygwin. I'd be interested to know if it actually does works with
Cygwin.

--
John C. McCabe-Dansted
Masters Student


lyx-1.4.0pre3 compile

2006-01-24 Thread B.J. Muirhead
Hi
I have compiled (using frontend and the suffix option, so no
problems there) and installed lyx-1.4.opre3 on an up to date ubuntu
system (using checkinstall in place of make install) but it didn't find
the aiksaurus library. 
does anyone know if  
--with -extra-lib=
   will fix this?

I just don't want to uninstall re-configure, etc, unless this will work.

For the developers: I do like the new interface, etc., and am really
looking forward to the final release.  :-)
thanks
Bruce
-- 
B.J. Muirhead <[EMAIL PROTECTED]>



Lyx, BibTex & HTML

2006-01-24 Thread Yaron Y. Goland
I suspect I'm pushing my luck but I'm trying to use Lyx and BibTex to  
generate HTML files. Using the built in HTML generator didn't work  
out. My citation references show up as [?] and no bibliography is  
generated (even though everything works fine with export to PDF). Any  
hints on how I can get HTML generation to do the right thing in  
regards to BibTex?


Thanks,

Yaron