Re: viewing the german UserGuide with pdflatex

2008-01-16 Thread G. Milde
On 15.01.08, Hartmut Haase wrote:
 Is there anyone except me who has problems with viewing the german UserGuide 
 with pdflatex?. It happens for me with all versions after 1.5, and with 
 lyx154svn and lyx16svn, too. If I copy the table, where the error happens, 
 into a new document, everything is fine.

Using LyX 1.5.3 on Debian/testing|unstable, I do not get as far as
isolating a table as problem...

Doing AnsichtPDF (pdflatex) on the de/UserGuide.lyx, I get the error::

   \makeatother

  The package babel has already been loaded with options:
[ngerman]
  There has now been an attempt to load it with options
[english,ngerman]
  
(With the DVI View I get the same error.)


  
GM


Number of LaTeX runs

2008-01-16 Thread Tobias Krause

Hi,

in the attached minimal example the number of LaTeX runs chosen by LyX 
is not sufficient: using clefval with \cite in the value 4 LaTeX runs 
are necessary to resolve the reference.


clefval_cite_4LaTeXruns.pdf shows how it looks when the exported tex 
file is compiled with 4 LaTeX runs.

clefval_cite_LyX.pdf shows how it looks when LyX compiles the file.

In some documents it helps to compile the PDF in LyX again (after doing 
some irrelevant changes) - but in other files this does not solve the 
problem...


Is this a bug? Should LyX be able to chose the sufficient number of 
LaTeX runs?

Is there a way to manipulate the number of LaTeX runs?

Regards
Toby


clefval_cite.bib
Description: application/bibtex
%% LyX 1.5.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[ngerman]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}

\makeatletter
%% User specified LaTeX commands.
\usepackage{clefval}

\usepackage{babel}
\makeatother

\begin{document}
\TheKey{a}{\cite{ref}}
Bla \TheValue{a} bla.

\bibliographystyle{plain}
\bibliography{clefval_cite}

\end{document}


clefval_cite_4LaTeXruns.pdf
Description: Adobe PDF document


clefval_cite_LyX.pdf
Description: Adobe PDF document


clefval_cite.lyx
Description: application/lyx


Re: Number of LaTeX runs

2008-01-16 Thread Jean-Marc Lasgouttes
Tobias Krause [EMAIL PROTECTED] writes:

 Is this a bug? Should LyX be able to chose the sufficient number of
 LaTeX runs?
 Is there a way to manipulate the number of LaTeX runs?

Could we see the .log file produced by the third run? Does it contain
hints that a fourth run is needed?

JMarc


Re: Number of LaTeX runs

2008-01-16 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote:
  Is this a bug? Should LyX be able to chose the sufficient number of
  LaTeX runs?
  Is there a way to manipulate the number of LaTeX runs?

 Could we see the .log file produced by the third run? Does it contain
 hints that a fourth run is needed?

The problem is not a missing fourth run. In fact, LyX runs 6 times with the 
file, and if you increase MAX_RUN, it runs even more times.

The problem is that this package needs two latex runs _before_ the bibtex run, 
else it will fail. We are not prepared for this case, I think.

Jürgen


Re: Number of LaTeX runs

2008-01-16 Thread Tobias Krause

Jürgen Spitzmüller wrote:
The problem is that this package needs two latex runs _before_ the bibtex run, 
else it will fail. We are not prepared for this case, I think.


Is there a way I can (manually) force LyX to run bibtex after the second 
run - or e.g. to force LyX to run bibtex in each LaTeX run?
Or should there be a bug for a feature which runs bibtex again if there 
are unresolved references?


Btw. just out of curiosity: how does LyX decide how many times to run 
with a file?


Toby


Re: Number of LaTeX runs

2008-01-16 Thread Jürgen Spitzmüller
Tobias Krause wrote:
 Is there a way I can (manually) force LyX to run bibtex after the second
 run - or e.g. to force LyX to run bibtex in each LaTeX run?

No (don't think so). What you can do is to touch the bib file. If the time 
stamp of the bib file changed, LyX should rerun bibtex as well.

 Or should there be a bug for a feature which runs bibtex again if there
 are unresolved references?

No, this is not the problem in this case. The problem is that your package 
requires a very specific order.

We might add a special case for this, if this package is really worth it.

 Btw. just out of curiosity: how does LyX decide how many times to run
 with a file?

It scans the log file for specific messages, and it monitors the relevant 
files.

Jürgen


Re: Number of LaTeX runs

2008-01-16 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller [EMAIL PROTECTED] writes:

 No, this is not the problem in this case. The problem is that your package 
 requires a very specific order.

 We might add a special case for this, if this package is really worth it.

Is it the clefval.sty package? It does not seem to output a message
when the keys have changed.

JMarc


Re: Number of LaTeX runs

2008-01-16 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote:
 Is it the clefval.sty package? It does not seem to output a message
 when the keys have changed.

Actually, the attached patch fixes the problem.
The message is from clefval directly, so I guess the fix is safe.

Jürgen
Index: src/LaTeX.cpp
===
--- src/LaTeX.cpp	(Revision 22586)
+++ src/LaTeX.cpp	(Arbeitskopie)
@@ -641,6 +641,13 @@
 retval |= RERUN;
 LYXERR(Debug::LATEX)
 	 We should rerun.  endl;
+			// package clefval needs 2 latex runs before bibtex
+			} else if (contains(token, Value of)
+contains(token, on page)
+contains(token, undefined)) {
+retval |= ERROR_RERUN;
+LYXERR(Debug::LATEX)
+	 Force rerun.  endl;
 			} else if (contains(token, Citation)
 contains(token, on page)
 contains(token, undefined)) {


Re: Number of LaTeX runs

2008-01-16 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller [EMAIL PROTECTED] writes:

 Jean-Marc Lasgouttes wrote:
 Is it the clefval.sty package? It does not seem to output a message
 when the keys have changed.

 Actually, the attached patch fixes the problem.
 The message is from clefval directly, so I guess the fix is safe.

Is there no risk of infinite loop?

JMarc


Re: Number of LaTeX runs

2008-01-16 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote:
 Is there no risk of infinite loop?

Theoretically yes (I don't know the packages internals very much). But only 
for clevref users.

Jürgen


Re: LyX Qt under Gnome environment

2008-01-16 Thread Charles de Miramon
Raymond Ouellette wrote:

 I compiled LyX 1.5.3 for my Linux distro Ubuntu 7.10.
 
 I'm a long time user of LyX. But since QT4 version of LyX, it is
 impossible for me to select anything using my mouse in LyX. Even
 selecting with the cursor, holding shift, etc, has erratic behavior.
 
 The mouse select something, shade in blue, then diseapers without
 selecting anything.
 
 I checked in KDE 3.5.x and there is no problem.
 
 So this behavior is Gnome specific. Someone else has this problem?
 

I guess it is a bad interaction between LyX and the Gnome clipboard manager
(if this thing exists)

Cheers,
Charles

-- 
http://www.kde-france.org



Re: Lyx keyboard shortcuts on mac

2008-01-16 Thread Daniel Lohmann


On 15.01.2008, at 19:40, Jens Noeckel wrote:



 Fortunately, on the Mac you can also access the menu bar by the  
system-wide shortcut Control-F2 (which you can in turn customize  
in the System Preferences).




Well, yes - so lets hope that  bug 4446 gets fixed in the next  
release :-)


http://bugzilla.lyx.org/show_bug.cgi?id=4446

Daniel


Re: [OT] Best KDE-centric Distribution?

2008-01-16 Thread Charles de Miramon
José Matos wrote:


   A frontend of lyx better integrated with kde seems a nice idea. :-)
 
The Semantic framework Nepomuk is quite interesting (but very new). You can
store and search all kind of relations, like 
a) This paragraph used this webpage as a source
b) this graphic comes this file which was send by Mr. Foo
etc.

It creates an OS wide annotation system based on standards and it would nice
to integrate it with LyX at some point/

Cheers,
Charles 

-- 
http://www.kde-france.org



Document style for writing use cases

2008-01-16 Thread Shawn Willden
Does anyone have such a thing?

Thanks,

Shawn.


Difficulty Startiing Lyx

2008-01-16 Thread Ron Lomax
Can you help?  I have downloaded the  HYPERLINK
ftp://ftp.lyx.org/pub/lyx/bin/1.5.3/LyX-1.5.3-1-Installer.exeLyX-1.5.3-1-I
nstaller.exe and run it successfully, including the various downloads it
triggers (apart from an error message when I try to load the Italian
spellcheck dictionary).  Now, when I try to use it, I receive an error
window: 

 

The entire list of layout files in the menu appear as Unusable.

 

What have I done wrong and how can I get going with Lyx?

 

Hope to hear from you soon

 

Dr Ron Lomax


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.19.4/1227 - Release Date: 16/01/2008
01:40
 
  
image002.jpg

Using movie15 with LyX to insert movies in PDF output

2008-01-16 Thread Gerard Ateshian

Hi all,

Does anyone have experience using the movie15 package with LyX?  I  
would like to insert a movie in a document, and have it appear as an  
animation in the PDF output.  I followed the instructions at http://www.uoregon.edu/~noeckel/PDFmovie.html 
 and I am able to get it to work from a terminal command (pdflatex  
movie.tex), so that means I have all the necessary packages  
installed.  However, importing the sample movie.tex file into LyX  
produces a bunch of errors when issuing View-PDF (pdflatex).   
Alternatively, copying the necessary \usepackage commands in the  
preamble and the basic commands into an ERT box,


\begin{figure}[ht]
\includemovie[poster,
text=(Loading Circle-m-increase3.mp4)]{6cm}{6cm}{Circle-m-increase3.mp4}
\end{figure}

produces the single error

pdfTeX error (ext5): cannot open file for embedding.

Has anyone gotten movie15 to work with LyX?

Thanks,

Gerard

P.S. I am using LyX 1.5.3 on a MacBook Pro running OS X 10.5.1.  My  
TeX installation is texlive 2007.




Re: Number of LaTeX runs

2008-01-16 Thread Steve Litt
On Wednesday 16 January 2008 05:07, Tobias Krause wrote:
 Jürgen Spitzmüller wrote:
  The problem is that this package needs two latex runs _before_ the bibtex
  run, else it will fail. We are not prepared for this case, I think.

 Is there a way I can (manually) force LyX to run bibtex after the second
 run - or e.g. to force LyX to run bibtex in each LaTeX run?
 Or should there be a bug for a feature which runs bibtex again if there
 are unresolved references?

What I do on my books is create a shellscript to do whataver is necessary, in 
whatever order, to compile the book. I find this MUCH easier and better than 
having LyX compile the book. If you need to latex twice to accommodate an 
index, you just have the script latex twice.

Most of the scripts start something like this:
rm -f $1.aux
rm -f $1.dvi
rm -f $1.ps
rm -f $1.idx
rm -f $1.ilg
rm -f $1.ind
rm -f $1.log
rm -f $1.tex
rm -f $1.toc
lyx --export latex $1.lyx


HTH

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: Using movie15 with LyX to insert movies in PDF output

2008-01-16 Thread Lorenzo Paulatto
Gerard Ateshian ha scritto:
 pdfTeX error (ext5): cannot open file for embedding.

I think that when you ask LyX to generate the pdf a latex file is
generated somewhere in /tmp/lyx_*, and it is passed through pdflatex
directly there.

As LyX doesn't know that you are including the movie it cannot make a
copy (or a link) from the file to the temporary location.

You can try to copy the movie file by hand in the temporary location, or
some similar workaround.

-- 
Lorenzo `paulatz' Paulatto
Trieste

``Grandissima mi par l'inezia di coloro che vorrebbero che Iddio avesse
fatto l'universo più proporzionato alla piccola capacità del lor discorso.''
 --Galileo Galilei (Opere VII)
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Raggruppa i tuoi finanziamenti in uno: pagherai un’unica rata fino al 50% più 
bassa della tua attuale! Clicca qui e chiedi maggiori informazioni a Prometeo!
* 
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7433d=16-1


Classes unavailable on Slackware

2008-01-16 Thread Dave Wood
Hi, I've tried out a few versions of Lyx but always seem to have many
doc classes unavailable. There are too many to list and there are some
that I want to try. Heres a screen shot to show you which ones I mean.

http://www.unrealize.co.uk/snapshot11.png

Any ideas how to get these working? I have managed to install and get
a cv class working but I've no idea about these others. Is there a lot
missing from my latex/tetex install perhaps?

Any help would be great.

Using Slackware current, Lyx 1.5.3, tetex 3.0


Classes unavailable

2008-01-16 Thread Dave Wood
Hi, I've tried out a few versions of Lyx but always seem to have many
doc classes unavailable. There are too many to list and there are some
that I want to try. Heres a screen shot to show you which ones I mean.

http://www.unrealize.co.uk/snapshot11.png

Any ideas how to get these working? I have managed to install and get
a cv class working but I've no idea about these others. Is there a lot
missing from my latex/tetex install perhaps?

Any help would be great.

Using Slackware current, Lyx 1.5.3, tetex 3.0

-- 



Re: Classes unavailable

2008-01-16 Thread rgheck

Dave Wood wrote:

Hi, I've tried out a few versions of Lyx but always seem to have many
doc classes unavailable. There are too many to list and there are some
that I want to try. Heres a screen shot to show you which ones I mean.

http://www.unrealize.co.uk/snapshot11.png

Any ideas how to get these working? I have managed to install and get
a cv class working but I've no idea about these others. Is there a lot
missing from my latex/tetex install perhaps?

  
This is normal. LyX ships with layouts for many obscure document classes 
that do not ship with LaTeX itself. (Think of ordinary Linux packages. 
You don't have them all, and you don't want them all.) If you want to 
try them, you just need to get the class itself from ctan.org, install 
it, and there you go. Installation methods depend upon the package.


Richard



Re: Using movie15 with LyX to insert movies in PDF output

2008-01-16 Thread Jean-Marc Lasgouttes
Lorenzo Paulatto [EMAIL PROTECTED] writes:

 Gerard Ateshian ha scritto:
 pdfTeX error (ext5): cannot open file for embedding.

 I think that when you ask LyX to generate the pdf a latex file is
 generated somewhere in /tmp/lyx_*, and it is passed through pdflatex
 directly there.

 As LyX doesn't know that you are including the movie it cannot make a
 copy (or a link) from the file to the temporary location.

Is it the same bug as this?
http://bugzilla.lyx.org/show_bug.cgi?id=1751

JMarc


Re: Using movie15 with LyX to insert movies in PDF output

2008-01-16 Thread Gerard Ateshian

Lorenzo,

Thanks for the suggestion.  I tried it and now LyX is able to produce  
a PDF output file, but the output does not include the movie.


Gerard


On Jan 16, 2008, at 10:06 AM, Lorenzo Paulatto wrote:


Gerard Ateshian ha scritto:

pdfTeX error (ext5): cannot open file for embedding.


I think that when you ask LyX to generate the pdf a latex file is
generated somewhere in /tmp/lyx_*, and it is passed through pdflatex
directly there.

As LyX doesn't know that you are including the movie it cannot make a
copy (or a link) from the file to the temporary location.

You can try to copy the movie file by hand in the temporary  
location, or

some similar workaround.

--
Lorenzo `paulatz' Paulatto
Trieste

``Grandissima mi par l'inezia di coloro che vorrebbero che Iddio  
avesse
fatto l'universo più proporzionato alla piccola capacità del lor  
discorso.''

--Galileo Galilei (Opere VII)


--
Email.it, the professional e-mail, gratis per te: http:// 
www.email.it/f


Sponsor:
Raggruppa i tuoi finanziamenti in uno: pagherai un’unica rata fino  
al 50% più bassa della tua attuale! Clicca qui e chiedi maggiori  
informazioni a Prometeo!

*
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7433d=16-1




Re: Using movie15 with LyX to insert movies in PDF output

2008-01-16 Thread Gerard Ateshian

JMarc,

Yes, it seems it is the same bug.  If I put the full path to the movie  
file (and change my default viewer to Acrobat Reader 8), everything  
works fine.


Thanks,

Gerard



On Jan 16, 2008, at 11:08 AM, Jean-Marc Lasgouttes wrote:


Lorenzo Paulatto [EMAIL PROTECTED] writes:


Gerard Ateshian ha scritto:

pdfTeX error (ext5): cannot open file for embedding.


I think that when you ask LyX to generate the pdf a latex file is
generated somewhere in /tmp/lyx_*, and it is passed through pdflatex
directly there.

As LyX doesn't know that you are including the movie it cannot make a
copy (or a link) from the file to the temporary location.


Is it the same bug as this?
http://bugzilla.lyx.org/show_bug.cgi?id=1751

JMarc




Re: Number of LaTeX runs

2008-01-16 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:
  Is there no risk of infinite loop?

 Theoretically yes

On a second thought: no, there isn't.
latex is only rerun once after ERROR_RERUN. The repeated reruns happen for 
scanres  RERUN.

Jürgen


Re: Number of LaTeX runs

2008-01-16 Thread Tobias Krause


Actually, the attached patch fixes the problem.


Thank you!
Is this going to be available in the next version of LyX?

Toby


Re: Document style for writing use cases

2008-01-16 Thread David Hewitt

Shawn,

I suspect you'll need to be more specific about what you mean by use
cases.


Shawn Willden-9 wrote:
 
 Does anyone have such a thing?
 
 Thanks,
 
   Shawn.
 
 


-
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Document-style-for-writing-use-cases-tp14883414p14884682.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Difficulty Startiing Lyx

2008-01-16 Thread Paul A. Rubin

Ron Lomax wrote:
Can you help?  I have downloaded the  LyX-1.5.3-1-Installer.exe 
ftp://ftp.lyx.org/pub/lyx/bin/1.5.3/LyX-1.5.3-1-Installer.exe and run 
it successfully, including the various downloads it triggers (apart from 
an error message when I try to load the Italian spellcheck dictionary). 
 Now, when I try to use it, I receive an error window:


 


The entire list of layout files in the menu appear as Unusable.

 


What have I done wrong and how can I get going with Lyx?

 


Hope to hear from you soon

 


Dr Ron Lomax



Either you don't have LaTeX (most likely MiKTeX, as you're on Windows) 
installed, or LyX was unable to find it during the configuration 
process, or something went splat during configuration.


First things first:  Is MiKTeX (or some other LaTeX distribution) 
installed, and is it on your system command path?  If you run the 
command 'latex --version' at a command prompt, do you get a meaningful 
answer?


/Paul



Re: [OT] Best KDE-centric Distribution?

2008-01-16 Thread Andre Poenitz
On Tue, Jan 15, 2008 at 09:04:43PM +, José Matos wrote:
 On Monday 14 January 2008 17:46:02 Steve Litt wrote:
 
  IIRC the Mandriva 2007 I use defaults to KDE and has lots and lots of KDE
  programs (I'm writing this on kmail), but my hatred of KDE is so profound
  that my first step was to switch to IceWM, and my second step was to find
  non-KDE substitutes for as many KDE programs as I could.
 
   With all the due respect :-) but this hate seems a bit irrational. :-)
 
   André (out mathed - mathematical editor - guru) still uses fvwm with 16 
 desktops open, at least according to a recent message. I met him before and I 
 have witness this so it seems that you are in good company. :-)

But I use KDE at work, even more or less voluntarily.

  It's my fervent hope that LyX never becomes a KDE program. Qt is OK, but
  IMHO KDE programs have too many needless interactions with other programs
  (like dcop server, gimme a break), needlessly causing crashiness and other
  problems.
 
   dcop is no more in kde 4, long live dbus. :-)

And there's even dbus in Qt 4.4.

Andre'
 


Re: Number of LaTeX runs

2008-01-16 Thread Jürgen Spitzmüller
Tobias Krause wrote:
 Is this going to be available in the next version of LyX?

This still needs to be decided (actually, if Jean-Marc agrees on it, I will 
shove it in).

Jürgen


Re: LyX Qt under Gnome environment

2008-01-16 Thread RAYMOND OUELLETTE

Québec, le 16 janvier 2008
[du bureau via l'interface web]

Charles de Miramon a écrit :

I guess it is a bad interaction between LyX and the Gnome clipboard manager

(if this thing exists)

Yes, I deactivated Glipper and voilà, everything works OK !

Thanks for the tip !
Merci Charles !

Raymond




Re: Document style for writing use cases

2008-01-16 Thread Shawn Willden
On Wednesday 16 January 2008 09:33:46 am David Hewitt wrote:
 I suspect you'll need to be more specific about what you mean by use
 cases.

I'd expect most software engineers to know what I'm referring to.  Wikipedia 
has a good article explaining use cases:

http://en.wikipedia.org/wiki/Use_case

Sorry, I should have considered the fact that many (probably most) LyX users 
aren't software guys.

Shawn.


Re: Number of LaTeX runs

2008-01-16 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller [EMAIL PROTECTED] writes:

 Tobias Krause wrote:
 Is this going to be available in the next version of LyX?

 This still needs to be decided (actually, if Jean-Marc agrees on it, I will 
 shove it in).

The question is to know what happens when there is a faulty reference
in the file. We cannot run latex until there is n more error. This is
why the package should output a message like what normal references
do.

JMarc


Re: DocBook Support?

2008-01-16 Thread Ryan Cross
Hey Jose,

Are you feeling any better from your surgery? Hope your holidays went well
too. Any chance you've had some time to write up some details about DocBook
support? ;)

Thanks,
Ryan

On Jan 4, 2008 11:06 PM, José Matos [EMAIL PROTECTED] wrote:

 On Wednesday 02 January 2008 08:03:52 Ryan Cross wrote:
  Bump... Can anyone provide some guidance on working with DocBook for Lyx
  (with any current versions)?
 
  Thanks!
  -Ryan

  I am sorry for the delay. I have been recovering from a small surgery
 just
 before the holidays, and now I am recovering from the holidays. :-)

  Expect new documentation next week. I will add the documentation to the
 wiki
 and then post a link here.

 --
 José Abílio



Re: viewing the german UserGuide with pdflatex

2008-01-16 Thread G. Milde
On 15.01.08, Hartmut Haase wrote:
 Is there anyone except me who has problems with viewing the german UserGuide 
 with pdflatex?. It happens for me with all versions after 1.5, and with 
 lyx154svn and lyx16svn, too. If I copy the table, where the error happens, 
 into a new document, everything is fine.

Using LyX 1.5.3 on Debian/testing|unstable, I do not get as far as
isolating a table as problem...

Doing AnsichtPDF (pdflatex) on the de/UserGuide.lyx, I get the error::

   \makeatother

  The package babel has already been loaded with options:
[ngerman]
  There has now been an attempt to load it with options
[english,ngerman]
  
(With the DVI View I get the same error.)


  
GM


Number of LaTeX runs

2008-01-16 Thread Tobias Krause

Hi,

in the attached minimal example the number of LaTeX runs chosen by LyX 
is not sufficient: using clefval with \cite in the value 4 LaTeX runs 
are necessary to resolve the reference.


clefval_cite_4LaTeXruns.pdf shows how it looks when the exported tex 
file is compiled with 4 LaTeX runs.

clefval_cite_LyX.pdf shows how it looks when LyX compiles the file.

In some documents it helps to compile the PDF in LyX again (after doing 
some irrelevant changes) - but in other files this does not solve the 
problem...


Is this a bug? Should LyX be able to chose the sufficient number of 
LaTeX runs?

Is there a way to manipulate the number of LaTeX runs?

Regards
Toby


clefval_cite.bib
Description: application/bibtex
%% LyX 1.5.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[ngerman]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}

\makeatletter
%% User specified LaTeX commands.
\usepackage{clefval}

\usepackage{babel}
\makeatother

\begin{document}
\TheKey{a}{\cite{ref}}
Bla \TheValue{a} bla.

\bibliographystyle{plain}
\bibliography{clefval_cite}

\end{document}


clefval_cite_4LaTeXruns.pdf
Description: Adobe PDF document


clefval_cite_LyX.pdf
Description: Adobe PDF document


clefval_cite.lyx
Description: application/lyx


Re: Number of LaTeX runs

2008-01-16 Thread Jean-Marc Lasgouttes
Tobias Krause [EMAIL PROTECTED] writes:

 Is this a bug? Should LyX be able to chose the sufficient number of
 LaTeX runs?
 Is there a way to manipulate the number of LaTeX runs?

Could we see the .log file produced by the third run? Does it contain
hints that a fourth run is needed?

JMarc


Re: Number of LaTeX runs

2008-01-16 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote:
  Is this a bug? Should LyX be able to chose the sufficient number of
  LaTeX runs?
  Is there a way to manipulate the number of LaTeX runs?

 Could we see the .log file produced by the third run? Does it contain
 hints that a fourth run is needed?

The problem is not a missing fourth run. In fact, LyX runs 6 times with the 
file, and if you increase MAX_RUN, it runs even more times.

The problem is that this package needs two latex runs _before_ the bibtex run, 
else it will fail. We are not prepared for this case, I think.

Jürgen


Re: Number of LaTeX runs

2008-01-16 Thread Tobias Krause

Jürgen Spitzmüller wrote:
The problem is that this package needs two latex runs _before_ the bibtex run, 
else it will fail. We are not prepared for this case, I think.


Is there a way I can (manually) force LyX to run bibtex after the second 
run - or e.g. to force LyX to run bibtex in each LaTeX run?
Or should there be a bug for a feature which runs bibtex again if there 
are unresolved references?


Btw. just out of curiosity: how does LyX decide how many times to run 
with a file?


Toby


Re: Number of LaTeX runs

2008-01-16 Thread Jürgen Spitzmüller
Tobias Krause wrote:
 Is there a way I can (manually) force LyX to run bibtex after the second
 run - or e.g. to force LyX to run bibtex in each LaTeX run?

No (don't think so). What you can do is to touch the bib file. If the time 
stamp of the bib file changed, LyX should rerun bibtex as well.

 Or should there be a bug for a feature which runs bibtex again if there
 are unresolved references?

No, this is not the problem in this case. The problem is that your package 
requires a very specific order.

We might add a special case for this, if this package is really worth it.

 Btw. just out of curiosity: how does LyX decide how many times to run
 with a file?

It scans the log file for specific messages, and it monitors the relevant 
files.

Jürgen


Re: Number of LaTeX runs

2008-01-16 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller [EMAIL PROTECTED] writes:

 No, this is not the problem in this case. The problem is that your package 
 requires a very specific order.

 We might add a special case for this, if this package is really worth it.

Is it the clefval.sty package? It does not seem to output a message
when the keys have changed.

JMarc


Re: Number of LaTeX runs

2008-01-16 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote:
 Is it the clefval.sty package? It does not seem to output a message
 when the keys have changed.

Actually, the attached patch fixes the problem.
The message is from clefval directly, so I guess the fix is safe.

Jürgen
Index: src/LaTeX.cpp
===
--- src/LaTeX.cpp	(Revision 22586)
+++ src/LaTeX.cpp	(Arbeitskopie)
@@ -641,6 +641,13 @@
 retval |= RERUN;
 LYXERR(Debug::LATEX)
 	 We should rerun.  endl;
+			// package clefval needs 2 latex runs before bibtex
+			} else if (contains(token, Value of)
+contains(token, on page)
+contains(token, undefined)) {
+retval |= ERROR_RERUN;
+LYXERR(Debug::LATEX)
+	 Force rerun.  endl;
 			} else if (contains(token, Citation)
 contains(token, on page)
 contains(token, undefined)) {


Re: Number of LaTeX runs

2008-01-16 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller [EMAIL PROTECTED] writes:

 Jean-Marc Lasgouttes wrote:
 Is it the clefval.sty package? It does not seem to output a message
 when the keys have changed.

 Actually, the attached patch fixes the problem.
 The message is from clefval directly, so I guess the fix is safe.

Is there no risk of infinite loop?

JMarc


Re: Number of LaTeX runs

2008-01-16 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote:
 Is there no risk of infinite loop?

Theoretically yes (I don't know the packages internals very much). But only 
for clevref users.

Jürgen


Re: LyX Qt under Gnome environment

2008-01-16 Thread Charles de Miramon
Raymond Ouellette wrote:

 I compiled LyX 1.5.3 for my Linux distro Ubuntu 7.10.
 
 I'm a long time user of LyX. But since QT4 version of LyX, it is
 impossible for me to select anything using my mouse in LyX. Even
 selecting with the cursor, holding shift, etc, has erratic behavior.
 
 The mouse select something, shade in blue, then diseapers without
 selecting anything.
 
 I checked in KDE 3.5.x and there is no problem.
 
 So this behavior is Gnome specific. Someone else has this problem?
 

I guess it is a bad interaction between LyX and the Gnome clipboard manager
(if this thing exists)

Cheers,
Charles

-- 
http://www.kde-france.org



Re: Lyx keyboard shortcuts on mac

2008-01-16 Thread Daniel Lohmann


On 15.01.2008, at 19:40, Jens Noeckel wrote:



 Fortunately, on the Mac you can also access the menu bar by the  
system-wide shortcut Control-F2 (which you can in turn customize  
in the System Preferences).




Well, yes - so lets hope that  bug 4446 gets fixed in the next  
release :-)


http://bugzilla.lyx.org/show_bug.cgi?id=4446

Daniel


Re: [OT] Best KDE-centric Distribution?

2008-01-16 Thread Charles de Miramon
José Matos wrote:


   A frontend of lyx better integrated with kde seems a nice idea. :-)
 
The Semantic framework Nepomuk is quite interesting (but very new). You can
store and search all kind of relations, like 
a) This paragraph used this webpage as a source
b) this graphic comes this file which was send by Mr. Foo
etc.

It creates an OS wide annotation system based on standards and it would nice
to integrate it with LyX at some point/

Cheers,
Charles 

-- 
http://www.kde-france.org



Document style for writing use cases

2008-01-16 Thread Shawn Willden
Does anyone have such a thing?

Thanks,

Shawn.


Difficulty Startiing Lyx

2008-01-16 Thread Ron Lomax
Can you help?  I have downloaded the  HYPERLINK
ftp://ftp.lyx.org/pub/lyx/bin/1.5.3/LyX-1.5.3-1-Installer.exeLyX-1.5.3-1-I
nstaller.exe and run it successfully, including the various downloads it
triggers (apart from an error message when I try to load the Italian
spellcheck dictionary).  Now, when I try to use it, I receive an error
window: 

 

The entire list of layout files in the menu appear as Unusable.

 

What have I done wrong and how can I get going with Lyx?

 

Hope to hear from you soon

 

Dr Ron Lomax


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.19.4/1227 - Release Date: 16/01/2008
01:40
 
  
image002.jpg

Using movie15 with LyX to insert movies in PDF output

2008-01-16 Thread Gerard Ateshian

Hi all,

Does anyone have experience using the movie15 package with LyX?  I  
would like to insert a movie in a document, and have it appear as an  
animation in the PDF output.  I followed the instructions at http://www.uoregon.edu/~noeckel/PDFmovie.html 
 and I am able to get it to work from a terminal command (pdflatex  
movie.tex), so that means I have all the necessary packages  
installed.  However, importing the sample movie.tex file into LyX  
produces a bunch of errors when issuing View-PDF (pdflatex).   
Alternatively, copying the necessary \usepackage commands in the  
preamble and the basic commands into an ERT box,


\begin{figure}[ht]
\includemovie[poster,
text=(Loading Circle-m-increase3.mp4)]{6cm}{6cm}{Circle-m-increase3.mp4}
\end{figure}

produces the single error

pdfTeX error (ext5): cannot open file for embedding.

Has anyone gotten movie15 to work with LyX?

Thanks,

Gerard

P.S. I am using LyX 1.5.3 on a MacBook Pro running OS X 10.5.1.  My  
TeX installation is texlive 2007.




Re: Number of LaTeX runs

2008-01-16 Thread Steve Litt
On Wednesday 16 January 2008 05:07, Tobias Krause wrote:
 Jürgen Spitzmüller wrote:
  The problem is that this package needs two latex runs _before_ the bibtex
  run, else it will fail. We are not prepared for this case, I think.

 Is there a way I can (manually) force LyX to run bibtex after the second
 run - or e.g. to force LyX to run bibtex in each LaTeX run?
 Or should there be a bug for a feature which runs bibtex again if there
 are unresolved references?

What I do on my books is create a shellscript to do whataver is necessary, in 
whatever order, to compile the book. I find this MUCH easier and better than 
having LyX compile the book. If you need to latex twice to accommodate an 
index, you just have the script latex twice.

Most of the scripts start something like this:
rm -f $1.aux
rm -f $1.dvi
rm -f $1.ps
rm -f $1.idx
rm -f $1.ilg
rm -f $1.ind
rm -f $1.log
rm -f $1.tex
rm -f $1.toc
lyx --export latex $1.lyx


HTH

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: Using movie15 with LyX to insert movies in PDF output

2008-01-16 Thread Lorenzo Paulatto
Gerard Ateshian ha scritto:
 pdfTeX error (ext5): cannot open file for embedding.

I think that when you ask LyX to generate the pdf a latex file is
generated somewhere in /tmp/lyx_*, and it is passed through pdflatex
directly there.

As LyX doesn't know that you are including the movie it cannot make a
copy (or a link) from the file to the temporary location.

You can try to copy the movie file by hand in the temporary location, or
some similar workaround.

-- 
Lorenzo `paulatz' Paulatto
Trieste

``Grandissima mi par l'inezia di coloro che vorrebbero che Iddio avesse
fatto l'universo più proporzionato alla piccola capacità del lor discorso.''
 --Galileo Galilei (Opere VII)
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Raggruppa i tuoi finanziamenti in uno: pagherai un’unica rata fino al 50% più 
bassa della tua attuale! Clicca qui e chiedi maggiori informazioni a Prometeo!
* 
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7433d=16-1


Classes unavailable on Slackware

2008-01-16 Thread Dave Wood
Hi, I've tried out a few versions of Lyx but always seem to have many
doc classes unavailable. There are too many to list and there are some
that I want to try. Heres a screen shot to show you which ones I mean.

http://www.unrealize.co.uk/snapshot11.png

Any ideas how to get these working? I have managed to install and get
a cv class working but I've no idea about these others. Is there a lot
missing from my latex/tetex install perhaps?

Any help would be great.

Using Slackware current, Lyx 1.5.3, tetex 3.0


Classes unavailable

2008-01-16 Thread Dave Wood
Hi, I've tried out a few versions of Lyx but always seem to have many
doc classes unavailable. There are too many to list and there are some
that I want to try. Heres a screen shot to show you which ones I mean.

http://www.unrealize.co.uk/snapshot11.png

Any ideas how to get these working? I have managed to install and get
a cv class working but I've no idea about these others. Is there a lot
missing from my latex/tetex install perhaps?

Any help would be great.

Using Slackware current, Lyx 1.5.3, tetex 3.0

-- 



Re: Classes unavailable

2008-01-16 Thread rgheck

Dave Wood wrote:

Hi, I've tried out a few versions of Lyx but always seem to have many
doc classes unavailable. There are too many to list and there are some
that I want to try. Heres a screen shot to show you which ones I mean.

http://www.unrealize.co.uk/snapshot11.png

Any ideas how to get these working? I have managed to install and get
a cv class working but I've no idea about these others. Is there a lot
missing from my latex/tetex install perhaps?

  
This is normal. LyX ships with layouts for many obscure document classes 
that do not ship with LaTeX itself. (Think of ordinary Linux packages. 
You don't have them all, and you don't want them all.) If you want to 
try them, you just need to get the class itself from ctan.org, install 
it, and there you go. Installation methods depend upon the package.


Richard



Re: Using movie15 with LyX to insert movies in PDF output

2008-01-16 Thread Jean-Marc Lasgouttes
Lorenzo Paulatto [EMAIL PROTECTED] writes:

 Gerard Ateshian ha scritto:
 pdfTeX error (ext5): cannot open file for embedding.

 I think that when you ask LyX to generate the pdf a latex file is
 generated somewhere in /tmp/lyx_*, and it is passed through pdflatex
 directly there.

 As LyX doesn't know that you are including the movie it cannot make a
 copy (or a link) from the file to the temporary location.

Is it the same bug as this?
http://bugzilla.lyx.org/show_bug.cgi?id=1751

JMarc


Re: Using movie15 with LyX to insert movies in PDF output

2008-01-16 Thread Gerard Ateshian

Lorenzo,

Thanks for the suggestion.  I tried it and now LyX is able to produce  
a PDF output file, but the output does not include the movie.


Gerard


On Jan 16, 2008, at 10:06 AM, Lorenzo Paulatto wrote:


Gerard Ateshian ha scritto:

pdfTeX error (ext5): cannot open file for embedding.


I think that when you ask LyX to generate the pdf a latex file is
generated somewhere in /tmp/lyx_*, and it is passed through pdflatex
directly there.

As LyX doesn't know that you are including the movie it cannot make a
copy (or a link) from the file to the temporary location.

You can try to copy the movie file by hand in the temporary  
location, or

some similar workaround.

--
Lorenzo `paulatz' Paulatto
Trieste

``Grandissima mi par l'inezia di coloro che vorrebbero che Iddio  
avesse
fatto l'universo più proporzionato alla piccola capacità del lor  
discorso.''

--Galileo Galilei (Opere VII)


--
Email.it, the professional e-mail, gratis per te: http:// 
www.email.it/f


Sponsor:
Raggruppa i tuoi finanziamenti in uno: pagherai un’unica rata fino  
al 50% più bassa della tua attuale! Clicca qui e chiedi maggiori  
informazioni a Prometeo!

*
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7433d=16-1




Re: Using movie15 with LyX to insert movies in PDF output

2008-01-16 Thread Gerard Ateshian

JMarc,

Yes, it seems it is the same bug.  If I put the full path to the movie  
file (and change my default viewer to Acrobat Reader 8), everything  
works fine.


Thanks,

Gerard



On Jan 16, 2008, at 11:08 AM, Jean-Marc Lasgouttes wrote:


Lorenzo Paulatto [EMAIL PROTECTED] writes:


Gerard Ateshian ha scritto:

pdfTeX error (ext5): cannot open file for embedding.


I think that when you ask LyX to generate the pdf a latex file is
generated somewhere in /tmp/lyx_*, and it is passed through pdflatex
directly there.

As LyX doesn't know that you are including the movie it cannot make a
copy (or a link) from the file to the temporary location.


Is it the same bug as this?
http://bugzilla.lyx.org/show_bug.cgi?id=1751

JMarc




Re: Number of LaTeX runs

2008-01-16 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:
  Is there no risk of infinite loop?

 Theoretically yes

On a second thought: no, there isn't.
latex is only rerun once after ERROR_RERUN. The repeated reruns happen for 
scanres  RERUN.

Jürgen


Re: Number of LaTeX runs

2008-01-16 Thread Tobias Krause


Actually, the attached patch fixes the problem.


Thank you!
Is this going to be available in the next version of LyX?

Toby


Re: Document style for writing use cases

2008-01-16 Thread David Hewitt

Shawn,

I suspect you'll need to be more specific about what you mean by use
cases.


Shawn Willden-9 wrote:
 
 Does anyone have such a thing?
 
 Thanks,
 
   Shawn.
 
 


-
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Document-style-for-writing-use-cases-tp14883414p14884682.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Difficulty Startiing Lyx

2008-01-16 Thread Paul A. Rubin

Ron Lomax wrote:
Can you help?  I have downloaded the  LyX-1.5.3-1-Installer.exe 
ftp://ftp.lyx.org/pub/lyx/bin/1.5.3/LyX-1.5.3-1-Installer.exe and run 
it successfully, including the various downloads it triggers (apart from 
an error message when I try to load the Italian spellcheck dictionary). 
 Now, when I try to use it, I receive an error window:


 


The entire list of layout files in the menu appear as Unusable.

 


What have I done wrong and how can I get going with Lyx?

 


Hope to hear from you soon

 


Dr Ron Lomax



Either you don't have LaTeX (most likely MiKTeX, as you're on Windows) 
installed, or LyX was unable to find it during the configuration 
process, or something went splat during configuration.


First things first:  Is MiKTeX (or some other LaTeX distribution) 
installed, and is it on your system command path?  If you run the 
command 'latex --version' at a command prompt, do you get a meaningful 
answer?


/Paul



Re: [OT] Best KDE-centric Distribution?

2008-01-16 Thread Andre Poenitz
On Tue, Jan 15, 2008 at 09:04:43PM +, José Matos wrote:
 On Monday 14 January 2008 17:46:02 Steve Litt wrote:
 
  IIRC the Mandriva 2007 I use defaults to KDE and has lots and lots of KDE
  programs (I'm writing this on kmail), but my hatred of KDE is so profound
  that my first step was to switch to IceWM, and my second step was to find
  non-KDE substitutes for as many KDE programs as I could.
 
   With all the due respect :-) but this hate seems a bit irrational. :-)
 
   André (out mathed - mathematical editor - guru) still uses fvwm with 16 
 desktops open, at least according to a recent message. I met him before and I 
 have witness this so it seems that you are in good company. :-)

But I use KDE at work, even more or less voluntarily.

  It's my fervent hope that LyX never becomes a KDE program. Qt is OK, but
  IMHO KDE programs have too many needless interactions with other programs
  (like dcop server, gimme a break), needlessly causing crashiness and other
  problems.
 
   dcop is no more in kde 4, long live dbus. :-)

And there's even dbus in Qt 4.4.

Andre'
 


Re: Number of LaTeX runs

2008-01-16 Thread Jürgen Spitzmüller
Tobias Krause wrote:
 Is this going to be available in the next version of LyX?

This still needs to be decided (actually, if Jean-Marc agrees on it, I will 
shove it in).

Jürgen


Re: LyX Qt under Gnome environment

2008-01-16 Thread RAYMOND OUELLETTE

Québec, le 16 janvier 2008
[du bureau via l'interface web]

Charles de Miramon a écrit :

I guess it is a bad interaction between LyX and the Gnome clipboard manager

(if this thing exists)

Yes, I deactivated Glipper and voilà, everything works OK !

Thanks for the tip !
Merci Charles !

Raymond




Re: Document style for writing use cases

2008-01-16 Thread Shawn Willden
On Wednesday 16 January 2008 09:33:46 am David Hewitt wrote:
 I suspect you'll need to be more specific about what you mean by use
 cases.

I'd expect most software engineers to know what I'm referring to.  Wikipedia 
has a good article explaining use cases:

http://en.wikipedia.org/wiki/Use_case

Sorry, I should have considered the fact that many (probably most) LyX users 
aren't software guys.

Shawn.


Re: Number of LaTeX runs

2008-01-16 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller [EMAIL PROTECTED] writes:

 Tobias Krause wrote:
 Is this going to be available in the next version of LyX?

 This still needs to be decided (actually, if Jean-Marc agrees on it, I will 
 shove it in).

The question is to know what happens when there is a faulty reference
in the file. We cannot run latex until there is n more error. This is
why the package should output a message like what normal references
do.

JMarc


Re: DocBook Support?

2008-01-16 Thread Ryan Cross
Hey Jose,

Are you feeling any better from your surgery? Hope your holidays went well
too. Any chance you've had some time to write up some details about DocBook
support? ;)

Thanks,
Ryan

On Jan 4, 2008 11:06 PM, José Matos [EMAIL PROTECTED] wrote:

 On Wednesday 02 January 2008 08:03:52 Ryan Cross wrote:
  Bump... Can anyone provide some guidance on working with DocBook for Lyx
  (with any current versions)?
 
  Thanks!
  -Ryan

  I am sorry for the delay. I have been recovering from a small surgery
 just
 before the holidays, and now I am recovering from the holidays. :-)

  Expect new documentation next week. I will add the documentation to the
 wiki
 and then post a link here.

 --
 José Abílio



Re: viewing the german UserGuide with pdflatex

2008-01-16 Thread G. Milde
On 15.01.08, Hartmut Haase wrote:
> Is there anyone except me who has problems with viewing the german UserGuide 
> with pdflatex?. It happens for me with all versions after 1.5, and with 
> lyx154svn and lyx16svn, too. If I copy the table, where the error happens, 
> into a new document, everything is fine.

Using LyX 1.5.3 on Debian/testing|unstable, I do not get as far as
isolating a table as problem...

Doing Ansicht>PDF (pdflatex) on the de/UserGuide.lyx, I get the error::

   \makeatother

  The package babel has already been loaded with options:
[ngerman]
  There has now been an attempt to load it with options
[english,ngerman]
  
(With the DVI View I get the same error.)


  
GM


Number of LaTeX runs

2008-01-16 Thread Tobias Krause

Hi,

in the attached minimal example the number of LaTeX runs chosen by LyX 
is not sufficient: using clefval with \cite in the value 4 LaTeX runs 
are necessary to resolve the reference.


clefval_cite_4LaTeXruns.pdf shows how it looks when the exported tex 
file is compiled with 4 LaTeX runs.

clefval_cite_LyX.pdf shows how it looks when LyX compiles the file.

In some documents it helps to compile the PDF in LyX again (after doing 
some irrelevant changes) - but in other files this does not solve the 
problem...


Is this a bug? Should LyX be able to chose the sufficient number of 
LaTeX runs?

Is there a way to manipulate the number of LaTeX runs?

Regards
Toby


clefval_cite.bib
Description: application/bibtex
%% LyX 1.5.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[ngerman]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}

\makeatletter
%% User specified LaTeX commands.
\usepackage{clefval}

\usepackage{babel}
\makeatother

\begin{document}
\TheKey{a}{\cite{ref}}
Bla \TheValue{a} bla.

\bibliographystyle{plain}
\bibliography{clefval_cite}

\end{document}


clefval_cite_4LaTeXruns.pdf
Description: Adobe PDF document


clefval_cite_LyX.pdf
Description: Adobe PDF document


clefval_cite.lyx
Description: application/lyx


Re: Number of LaTeX runs

2008-01-16 Thread Jean-Marc Lasgouttes
Tobias Krause <[EMAIL PROTECTED]> writes:

> Is this a bug? Should LyX be able to chose the sufficient number of
> LaTeX runs?
> Is there a way to manipulate the number of LaTeX runs?

Could we see the .log file produced by the third run? Does it contain
hints that a fourth run is needed?

JMarc


Re: Number of LaTeX runs

2008-01-16 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote:
> > Is this a bug? Should LyX be able to chose the sufficient number of
> > LaTeX runs?
> > Is there a way to manipulate the number of LaTeX runs?
>
> Could we see the .log file produced by the third run? Does it contain
> hints that a fourth run is needed?

The problem is not a missing fourth run. In fact, LyX runs 6 times with the 
file, and if you increase MAX_RUN, it runs even more times.

The problem is that this package needs two latex runs _before_ the bibtex run, 
else it will fail. We are not prepared for this case, I think.

Jürgen


Re: Number of LaTeX runs

2008-01-16 Thread Tobias Krause

Jürgen Spitzmüller wrote:
The problem is that this package needs two latex runs _before_ the bibtex run, 
else it will fail. We are not prepared for this case, I think.


Is there a way I can (manually) force LyX to run bibtex after the second 
run - or e.g. to force LyX to run bibtex in each LaTeX run?
Or should there be a bug for a feature which runs bibtex again if there 
are unresolved references?


Btw. just out of curiosity: how does LyX decide how many times to run 
with a file?


Toby


Re: Number of LaTeX runs

2008-01-16 Thread Jürgen Spitzmüller
Tobias Krause wrote:
> Is there a way I can (manually) force LyX to run bibtex after the second
> run - or e.g. to force LyX to run bibtex in each LaTeX run?

No (don't think so). What you can do is to touch the bib file. If the time 
stamp of the bib file changed, LyX should rerun bibtex as well.

> Or should there be a bug for a feature which runs bibtex again if there
> are unresolved references?

No, this is not the problem in this case. The problem is that your package 
requires a very specific order.

We might add a special case for this, if this package is really worth it.

> Btw. just out of curiosity: how does LyX decide how many times to run
> with a file?

It scans the log file for specific messages, and it monitors the relevant 
files.

Jürgen


Re: Number of LaTeX runs

2008-01-16 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller <[EMAIL PROTECTED]> writes:

> No, this is not the problem in this case. The problem is that your package 
> requires a very specific order.
>
> We might add a special case for this, if this package is really worth it.

Is it the clefval.sty package? It does not seem to output a message
when the keys have changed.

JMarc


Re: Number of LaTeX runs

2008-01-16 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote:
> Is it the clefval.sty package? It does not seem to output a message
> when the keys have changed.

Actually, the attached patch fixes the problem.
The message is from clefval directly, so I guess the fix is safe.

Jürgen
Index: src/LaTeX.cpp
===
--- src/LaTeX.cpp	(Revision 22586)
+++ src/LaTeX.cpp	(Arbeitskopie)
@@ -641,6 +641,13 @@
 retval |= RERUN;
 LYXERR(Debug::LATEX)
 	<< "We should rerun." << endl;
+			// package clefval needs 2 latex runs before bibtex
+			} else if (contains(token, "Value of")
+   && contains(token, "on page")
+   && contains(token, "undefined")) {
+retval |= ERROR_RERUN;
+LYXERR(Debug::LATEX)
+	<< "Force rerun." << endl;
 			} else if (contains(token, "Citation")
    && contains(token, "on page")
    && contains(token, "undefined")) {


Re: Number of LaTeX runs

2008-01-16 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller <[EMAIL PROTECTED]> writes:

> Jean-Marc Lasgouttes wrote:
>> Is it the clefval.sty package? It does not seem to output a message
>> when the keys have changed.
>
> Actually, the attached patch fixes the problem.
> The message is from clefval directly, so I guess the fix is safe.

Is there no risk of infinite loop?

JMarc


Re: Number of LaTeX runs

2008-01-16 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote:
> Is there no risk of infinite loop?

Theoretically yes (I don't know the packages internals very much). But only 
for clevref users.

Jürgen


Re: LyX Qt under Gnome environment

2008-01-16 Thread Charles de Miramon
Raymond Ouellette wrote:

> I compiled LyX 1.5.3 for my Linux distro Ubuntu 7.10.
> 
> I'm a long time user of LyX. But since QT4 version of LyX, it is
> impossible for me to select anything using my mouse in LyX. Even
> selecting with the cursor, holding shift, etc, has erratic behavior.
> 
> The mouse select something, shade in blue, then diseapers without
> selecting anything.
> 
> I checked in KDE 3.5.x and there is no problem.
> 
> So this behavior is Gnome specific. Someone else has this problem?
> 

I guess it is a bad interaction between LyX and the Gnome clipboard manager
(if this thing exists)

Cheers,
Charles

-- 
http://www.kde-france.org



Re: Lyx keyboard shortcuts on mac

2008-01-16 Thread Daniel Lohmann


On 15.01.2008, at 19:40, Jens Noeckel wrote:



 Fortunately, on the Mac you can also access the menu bar by the  
system-wide shortcut "Control-F2" (which you can in turn customize  
in the System Preferences).




Well, yes - so lets hope that  bug 4446 gets fixed in the next  
release :-)


http://bugzilla.lyx.org/show_bug.cgi?id=4446

Daniel


Re: [OT] Best KDE-centric Distribution?

2008-01-16 Thread Charles de Miramon
José Matos wrote:


>   A frontend of lyx better integrated with kde seems a nice idea. :-)
> 
The Semantic framework Nepomuk is quite interesting (but very new). You can
store and search all kind of relations, like 
a) This paragraph used this webpage as a source
b) this graphic comes this file which was send by Mr. Foo
etc.

It creates an OS wide annotation system based on standards and it would nice
to integrate it with LyX at some point/

Cheers,
Charles 

-- 
http://www.kde-france.org



Document style for writing use cases

2008-01-16 Thread Shawn Willden
Does anyone have such a thing?

Thanks,

Shawn.


Difficulty Startiing Lyx

2008-01-16 Thread Ron Lomax
Can you help?  I have downloaded the  HYPERLINK
"ftp://ftp.lyx.org/pub/lyx/bin/1.5.3/LyX-1.5.3-1-Installer.exe"LyX-1.5.3-1-I
nstaller.exe and run it successfully, including the various downloads it
triggers (apart from an error message when I try to load the Italian
spellcheck dictionary).  Now, when I try to use it, I receive an error
window: 

 

The entire list of layout files in the menu appear as Unusable.

 

What have I done wrong and how can I get going with Lyx?

 

Hope to hear from you soon

 

Dr Ron Lomax


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.19.4/1227 - Release Date: 16/01/2008
01:40
 
  
<>

Using movie15 with LyX to insert movies in PDF output

2008-01-16 Thread Gerard Ateshian

Hi all,

Does anyone have experience using the movie15 package with LyX?  I  
would like to insert a movie in a document, and have it appear as an  
animation in the PDF output.  I followed the instructions at http://www.uoregon.edu/~noeckel/PDFmovie.html 
 and I am able to get it to work from a terminal command (pdflatex  
movie.tex), so that means I have all the necessary packages  
installed.  However, importing the sample movie.tex file into LyX  
produces a bunch of errors when issuing View->PDF (pdflatex).   
Alternatively, copying the necessary \usepackage commands in the  
preamble and the basic commands into an ERT box,


\begin{figure}[ht]
\includemovie[poster,
text=(Loading Circle-m-increase3.mp4)]{6cm}{6cm}{Circle-m-increase3.mp4}
\end{figure}

produces the single error

pdfTeX error (ext5): cannot open file for embedding.

Has anyone gotten movie15 to work with LyX?

Thanks,

Gerard

P.S. I am using LyX 1.5.3 on a MacBook Pro running OS X 10.5.1.  My  
TeX installation is texlive 2007.




Re: Number of LaTeX runs

2008-01-16 Thread Steve Litt
On Wednesday 16 January 2008 05:07, Tobias Krause wrote:
> Jürgen Spitzmüller wrote:
> > The problem is that this package needs two latex runs _before_ the bibtex
> > run, else it will fail. We are not prepared for this case, I think.
>
> Is there a way I can (manually) force LyX to run bibtex after the second
> run - or e.g. to force LyX to run bibtex in each LaTeX run?
> Or should there be a bug for a feature which runs bibtex again if there
> are unresolved references?

What I do on my books is create a shellscript to do whataver is necessary, in 
whatever order, to compile the book. I find this MUCH easier and better than 
having LyX compile the book. If you need to latex twice to accommodate an 
index, you just have the script latex twice.

Most of the scripts start something like this:
rm -f $1.aux
rm -f $1.dvi
rm -f $1.ps
rm -f $1.idx
rm -f $1.ilg
rm -f $1.ind
rm -f $1.log
rm -f $1.tex
rm -f $1.toc
lyx --export latex $1.lyx


HTH

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: Using movie15 with LyX to insert movies in PDF output

2008-01-16 Thread Lorenzo Paulatto
Gerard Ateshian ha scritto:
> pdfTeX error (ext5): cannot open file for embedding.

I think that when you ask LyX to generate the pdf a latex file is
generated somewhere in /tmp/lyx_*, and it is passed through pdflatex
directly there.

As LyX doesn't know that you are including the movie it cannot make a
copy (or a link) from the file to the temporary location.

You can try to copy the movie file by hand in the temporary location, or
some similar workaround.

-- 
Lorenzo `paulatz' Paulatto
Trieste

``Grandissima mi par l'inezia di coloro che vorrebbero che Iddio avesse
fatto l'universo più proporzionato alla piccola capacità del lor discorso.''
 --Galileo Galilei (Opere VII)
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Raggruppa i tuoi finanziamenti in uno: pagherai un’unica rata fino al 50% più 
bassa della tua attuale! Clicca qui e chiedi maggiori informazioni a Prometeo!
* 
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7433=16-1


Classes unavailable on Slackware

2008-01-16 Thread Dave Wood
Hi, I've tried out a few versions of Lyx but always seem to have many
doc classes unavailable. There are too many to list and there are some
that I want to try. Heres a screen shot to show you which ones I mean.

http://www.unrealize.co.uk/snapshot11.png

Any ideas how to get these working? I have managed to install and get
a cv class working but I've no idea about these others. Is there a lot
missing from my latex/tetex install perhaps?

Any help would be great.

Using Slackware current, Lyx 1.5.3, tetex 3.0


Classes unavailable

2008-01-16 Thread Dave Wood
Hi, I've tried out a few versions of Lyx but always seem to have many
doc classes unavailable. There are too many to list and there are some
that I want to try. Heres a screen shot to show you which ones I mean.

http://www.unrealize.co.uk/snapshot11.png

Any ideas how to get these working? I have managed to install and get
a cv class working but I've no idea about these others. Is there a lot
missing from my latex/tetex install perhaps?

Any help would be great.

Using Slackware current, Lyx 1.5.3, tetex 3.0

-- 



Re: Classes unavailable

2008-01-16 Thread rgheck

Dave Wood wrote:

Hi, I've tried out a few versions of Lyx but always seem to have many
doc classes unavailable. There are too many to list and there are some
that I want to try. Heres a screen shot to show you which ones I mean.

http://www.unrealize.co.uk/snapshot11.png

Any ideas how to get these working? I have managed to install and get
a cv class working but I've no idea about these others. Is there a lot
missing from my latex/tetex install perhaps?

  
This is normal. LyX ships with layouts for many obscure document classes 
that do not ship with LaTeX itself. (Think of ordinary Linux packages. 
You don't have them all, and you don't want them all.) If you want to 
try them, you just need to get the class itself from ctan.org, install 
it, and there you go. Installation methods depend upon the package.


Richard



Re: Using movie15 with LyX to insert movies in PDF output

2008-01-16 Thread Jean-Marc Lasgouttes
Lorenzo Paulatto <[EMAIL PROTECTED]> writes:

> Gerard Ateshian ha scritto:
>> pdfTeX error (ext5): cannot open file for embedding.
>
> I think that when you ask LyX to generate the pdf a latex file is
> generated somewhere in /tmp/lyx_*, and it is passed through pdflatex
> directly there.
>
> As LyX doesn't know that you are including the movie it cannot make a
> copy (or a link) from the file to the temporary location.

Is it the same bug as this?
http://bugzilla.lyx.org/show_bug.cgi?id=1751

JMarc


Re: Using movie15 with LyX to insert movies in PDF output

2008-01-16 Thread Gerard Ateshian

Lorenzo,

Thanks for the suggestion.  I tried it and now LyX is able to produce  
a PDF output file, but the output does not include the movie.


Gerard


On Jan 16, 2008, at 10:06 AM, Lorenzo Paulatto wrote:


Gerard Ateshian ha scritto:

pdfTeX error (ext5): cannot open file for embedding.


I think that when you ask LyX to generate the pdf a latex file is
generated somewhere in /tmp/lyx_*, and it is passed through pdflatex
directly there.

As LyX doesn't know that you are including the movie it cannot make a
copy (or a link) from the file to the temporary location.

You can try to copy the movie file by hand in the temporary  
location, or

some similar workaround.

--
Lorenzo `paulatz' Paulatto
Trieste

``Grandissima mi par l'inezia di coloro che vorrebbero che Iddio  
avesse
fatto l'universo più proporzionato alla piccola capacità del lor  
discorso.''

--Galileo Galilei (Opere VII)


--
Email.it, the professional e-mail, gratis per te: http:// 
www.email.it/f


Sponsor:
Raggruppa i tuoi finanziamenti in uno: pagherai un’unica rata fino  
al 50% più bassa della tua attuale! Clicca qui e chiedi maggiori  
informazioni a Prometeo!

*
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7433=16-1




Re: Using movie15 with LyX to insert movies in PDF output

2008-01-16 Thread Gerard Ateshian

JMarc,

Yes, it seems it is the same bug.  If I put the full path to the movie  
file (and change my default viewer to Acrobat Reader 8), everything  
works fine.


Thanks,

Gerard



On Jan 16, 2008, at 11:08 AM, Jean-Marc Lasgouttes wrote:


Lorenzo Paulatto <[EMAIL PROTECTED]> writes:


Gerard Ateshian ha scritto:

pdfTeX error (ext5): cannot open file for embedding.


I think that when you ask LyX to generate the pdf a latex file is
generated somewhere in /tmp/lyx_*, and it is passed through pdflatex
directly there.

As LyX doesn't know that you are including the movie it cannot make a
copy (or a link) from the file to the temporary location.


Is it the same bug as this?
http://bugzilla.lyx.org/show_bug.cgi?id=1751

JMarc




Re: Number of LaTeX runs

2008-01-16 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:
> > Is there no risk of infinite loop?
>
> Theoretically yes

On a second thought: no, there isn't.
latex is only rerun once after ERROR_RERUN. The repeated reruns happen for 
scanres & RERUN.

Jürgen


Re: Number of LaTeX runs

2008-01-16 Thread Tobias Krause


Actually, the attached patch fixes the problem.


Thank you!
Is this going to be available in the next version of LyX?

Toby


Re: Document style for writing use cases

2008-01-16 Thread David Hewitt

Shawn,

I suspect you'll need to be more specific about what you mean by "use
cases".


Shawn Willden-9 wrote:
> 
> Does anyone have such a thing?
> 
> Thanks,
> 
>   Shawn.
> 
> 


-
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Document-style-for-writing-use-cases-tp14883414p14884682.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Difficulty Startiing Lyx

2008-01-16 Thread Paul A. Rubin

Ron Lomax wrote:
Can you help?  I have downloaded the  LyX-1.5.3-1-Installer.exe 
 and run 
it successfully, including the various downloads it triggers (apart from 
an error message when I try to load the Italian spellcheck dictionary). 
 Now, when I try to use it, I receive an error window:


 


The entire list of layout files in the menu appear as Unusable.

 


What have I done wrong and how can I get going with Lyx?

 


Hope to hear from you soon

 


Dr Ron Lomax



Either you don't have LaTeX (most likely MiKTeX, as you're on Windows) 
installed, or LyX was unable to find it during the configuration 
process, or something went splat during configuration.


First things first:  Is MiKTeX (or some other LaTeX distribution) 
installed, and is it on your system command path?  If you run the 
command 'latex --version' at a command prompt, do you get a meaningful 
answer?


/Paul



Re: [OT] Best KDE-centric Distribution?

2008-01-16 Thread Andre Poenitz
On Tue, Jan 15, 2008 at 09:04:43PM +, José Matos wrote:
> On Monday 14 January 2008 17:46:02 Steve Litt wrote:
> >
> > IIRC the Mandriva 2007 I use defaults to KDE and has lots and lots of KDE
> > programs (I'm writing this on kmail), but my hatred of KDE is so profound
> > that my first step was to switch to IceWM, and my second step was to find
> > non-KDE substitutes for as many KDE programs as I could.
> 
>   With all the due respect :-) but this hate seems a bit irrational. :-)
> 
>   André (out mathed - mathematical editor - guru) still uses fvwm with 16 
> desktops open, at least according to a recent message. I met him before and I 
> have witness this so it seems that you are in good company. :-)

But I use KDE at work, even more or less voluntarily.

> > It's my fervent hope that LyX never becomes a KDE program. Qt is OK, but
> > IMHO KDE programs have too many needless interactions with other programs
> > (like dcop server, gimme a break), needlessly causing crashiness and other
> > problems.
> 
>   dcop is no more in kde 4, long live dbus. :-)

And there's even dbus in Qt 4.4.

Andre'
 


Re: Number of LaTeX runs

2008-01-16 Thread Jürgen Spitzmüller
Tobias Krause wrote:
> Is this going to be available in the next version of LyX?

This still needs to be decided (actually, if Jean-Marc agrees on it, I will 
shove it in).

Jürgen


Re: LyX Qt under Gnome environment

2008-01-16 Thread RAYMOND OUELLETTE

Québec, le 16 janvier 2008
[du bureau via l'interface web]

Charles de Miramon a écrit :

I guess it is a bad interaction between LyX and the Gnome clipboard manager

(if this thing exists)

Yes, I deactivated Glipper and voilà, everything works OK !

Thanks for the tip !
Merci Charles !

Raymond




Re: Document style for writing use cases

2008-01-16 Thread Shawn Willden
On Wednesday 16 January 2008 09:33:46 am David Hewitt wrote:
> I suspect you'll need to be more specific about what you mean by "use
> cases".

I'd expect most software engineers to know what I'm referring to.  Wikipedia 
has a good article explaining use cases:

http://en.wikipedia.org/wiki/Use_case

Sorry, I should have considered the fact that many (probably most) LyX users 
aren't software guys.

Shawn.


  1   2   >