Re: [Figure embedding] An easy way to share lyx documents

2009-04-15 Thread Konrad Hofbauer

Vincent van Ravesteijn wrote:
Actually, I have an implementation of something that allows you to 
export a zipped archive with all figures, bibtex files, child documents, 
etc.etc.


Put it in as Export format! :)

/Konrad



Re: [Figure embedding] An easy way to share lyx documents

2009-04-15 Thread Konrad Hofbauer

Vincent van Ravesteijn wrote:
Actually, I have an implementation of something that allows you to 
export a zipped archive with all figures, bibtex files, child documents, 
etc.etc.


Put it in as Export format! :)

/Konrad



Re: [Figure embedding] An easy way to share lyx documents

2009-04-15 Thread Konrad Hofbauer

Vincent van Ravesteijn wrote:
Actually, I have an implementation of something that allows you to 
export a zipped archive with all figures, bibtex files, child documents, 
etc.etc.


Put it in as Export format! :)

/Konrad



Re: pdfsync and tables clash

2009-03-11 Thread Konrad Hofbauer

James C. Sutherland wrote:
If you use the pdfsync class and then create a table with a specified 
column width then the table column width becomes very wide.  Removing 
the pdfsync package seems to fix the problem.


Can anyone duplicate this?  Is it a LyX bug or a LaTeX problem???


A known problem of pdfsync. Do NEVER use pdfsync for the final 
(publication/printing) PDF output. See the pdfsync manual.

Synctex is the future way to go (but not yet supported in LyX).

/Korad



Re: pdfsync and tables clash

2009-03-11 Thread Konrad Hofbauer

James C. Sutherland wrote:
If you use the pdfsync class and then create a table with a specified 
column width then the table column width becomes very wide.  Removing 
the pdfsync package seems to fix the problem.


Can anyone duplicate this?  Is it a LyX bug or a LaTeX problem???


A known problem of pdfsync. Do NEVER use pdfsync for the final 
(publication/printing) PDF output. See the pdfsync manual.

Synctex is the future way to go (but not yet supported in LyX).

/Korad



Re: pdfsync and tables clash

2009-03-11 Thread Konrad Hofbauer

James C. Sutherland wrote:
If you use the pdfsync class and then create a table with a specified 
column width then the table column width becomes very wide.  Removing 
the pdfsync package seems to fix the problem.


Can anyone duplicate this?  Is it a LyX bug or a LaTeX problem???


A known problem of pdfsync. Do NEVER use pdfsync for the final 
(publication/printing) PDF output. See the pdfsync manual.

Synctex is the future way to go (but not yet supported in LyX).

/Korad



Re: Query on new-chapters-not-on-new-page

2009-03-09 Thread Konrad Hofbauer

stefano franchi wrote:

On Fri, Mar 6, 2009 at 11:21 AM, Nikos Alexandris 
nikos.alexand...@felis.uni-freiburg.de wrote:


On Fri, 2009-03-06 at 17:01 +0100, Nikos Alexandris wrote:

Frederick:

is it possible to ensure that
every new chapter doesn't start on a new page in a book format?


I did not try, but in book.cls, the chapter is defined with

\newcommand\chapter{...@openright\cleardoublepage\else\clearpage\fi
\thispagestyle{plain}%
\glob...@topnum\z@
\...@afterindentfalse
\secd...@chapter\@schapter}

So could you not just redefine chapter without the \clearpage stuff?

Something like

\renewcommand{\chapter}{\thispagestyle{plain}%
\glob...@topnum\z@
\...@afterindentfalse
\secd...@chapter\@schapter}


in the preamble (untested)?

HTH,
Konrad



Re: Query on new-chapters-not-on-new-page

2009-03-09 Thread Konrad Hofbauer

stefano franchi wrote:

On Fri, Mar 6, 2009 at 11:21 AM, Nikos Alexandris 
nikos.alexand...@felis.uni-freiburg.de wrote:


On Fri, 2009-03-06 at 17:01 +0100, Nikos Alexandris wrote:

Frederick:

is it possible to ensure that
every new chapter doesn't start on a new page in a book format?


I did not try, but in book.cls, the chapter is defined with

\newcommand\chapter{...@openright\cleardoublepage\else\clearpage\fi
\thispagestyle{plain}%
\glob...@topnum\z@
\...@afterindentfalse
\secd...@chapter\@schapter}

So could you not just redefine chapter without the \clearpage stuff?

Something like

\renewcommand{\chapter}{\thispagestyle{plain}%
\glob...@topnum\z@
\...@afterindentfalse
\secd...@chapter\@schapter}


in the preamble (untested)?

HTH,
Konrad



Re: Query on new-chapters-not-on-new-page

2009-03-09 Thread Konrad Hofbauer

stefano franchi wrote:

On Fri, Mar 6, 2009 at 11:21 AM, Nikos Alexandris <
nikos.alexand...@felis.uni-freiburg.de> wrote:


On Fri, 2009-03-06 at 17:01 +0100, Nikos Alexandris wrote:

Frederick:

is it possible to ensure that
every new chapter doesn't start on a new page in a book format?


I did not try, but in book.cls, the chapter is defined with

\newcommand\chapter{...@openright\cleardoublepage\else\clearpage\fi
\thispagestyle{plain}%
\glob...@topnum\z@
\...@afterindentfalse
\secd...@chapter\@schapter}

So could you not just redefine chapter without the \clearpage stuff?

Something like

\renewcommand{\chapter}{\thispagestyle{plain}%
\glob...@topnum\z@
\...@afterindentfalse
\secd...@chapter\@schapter}


in the preamble (untested)?

HTH,
Konrad



Re: How to put an end to white spaces around figures

2009-03-05 Thread Konrad Hofbauer

Tal Kenig wrote:

Does anyone know how to set table row separation? This would be of great
help.


I found this in one of my files:

\newenvironment{ths_tbl}[0]{\medskip{} 
\begin{centering}\noindent\medskip{} 
\setlength{\tabcolsep}{4pt}\setlength{\extrarowheight}{2pt}\small}{\par\end{centering}}


which I put all of my tables into.

So \extrarowheight might be what you are after (?).

/Konrad



Re: How to put an end to white spaces around figures

2009-03-05 Thread Konrad Hofbauer

Tal Kenig wrote:

Does anyone know how to set table row separation? This would be of great
help.


I found this in one of my files:

\newenvironment{ths_tbl}[0]{\medskip{} 
\begin{centering}\noindent\medskip{} 
\setlength{\tabcolsep}{4pt}\setlength{\extrarowheight}{2pt}\small}{\par\end{centering}}


which I put all of my tables into.

So \extrarowheight might be what you are after (?).

/Konrad



Re: How to put an end to white spaces around figures

2009-03-05 Thread Konrad Hofbauer

Tal Kenig wrote:

Does anyone know how to set table row separation? This would be of great
help.


I found this in one of my files:

\newenvironment{ths_tbl}[0]{\medskip{} 
\begin{centering}\noindent\medskip{} 
\setlength{\tabcolsep}{4pt}\setlength{\extrarowheight}{2pt}\small}{\par\end{centering}}


which I put all of my tables into.

So \extrarowheight might be what you are after (?).

/Konrad



Re: Help formatting

2009-03-04 Thread Konrad Hofbauer

Mehrdad wrote:

Floar Placement: here definitely


THIS is very likely the cause of your problems. Select 'Use default 
placement' and let Latex figure out where it is best to put your images!!!


Also make sure the bounding boxes of your images are correct (or use the 
clip option in LyX).


Plus: Looking at your latex output, it seems like you would _manually_ 
cross-reference to you figures (i.e., you type 'Fig. 2.14'). Learn to 
use labels and LyX's cross-referencing (see the LyX UserGuide).



And things like small skip medium skip etc is most of the time totally
ignored. 


You normally should not need these. Do not try to do micro-formatting as 
one would do in Word and friends.


HTH,
Konrad



Re: Help formatting

2009-03-04 Thread Konrad Hofbauer

Mehrdad wrote:

Floar Placement: here definitely


THIS is very likely the cause of your problems. Select 'Use default 
placement' and let Latex figure out where it is best to put your images!!!


Also make sure the bounding boxes of your images are correct (or use the 
clip option in LyX).


Plus: Looking at your latex output, it seems like you would _manually_ 
cross-reference to you figures (i.e., you type 'Fig. 2.14'). Learn to 
use labels and LyX's cross-referencing (see the LyX UserGuide).



And things like small skip medium skip etc is most of the time totally
ignored. 


You normally should not need these. Do not try to do micro-formatting as 
one would do in Word and friends.


HTH,
Konrad



Re: Help formatting

2009-03-04 Thread Konrad Hofbauer

Mehrdad wrote:

Floar Placement: here definitely


THIS is very likely the cause of your problems. Select 'Use default 
placement' and let Latex figure out where it is best to put your images!!!


Also make sure the bounding boxes of your images are correct (or use the 
clip option in LyX).


Plus: Looking at your latex output, it seems like you would _manually_ 
cross-reference to you figures (i.e., you type 'Fig. 2.14'). Learn to 
use labels and LyX's cross-referencing (see the LyX UserGuide).



And things like small skip medium skip etc is most of the time totally
ignored. 


You normally should not need these. Do not try to do micro-formatting as 
one would do in Word and friends.


HTH,
Konrad



Re: defaults.lyx, lyx2lyx error in LyX 1.6

2009-03-03 Thread Konrad Hofbauer

Joachim Osnabryg wrote:
Yesterday, I still produced lyx letters with my own templates. Today - 
whyever - I wanted to start with File = New and got the error message:

/LyX-1.6/templates/defaults.lyx
is from another LyX-Version, but the lyx2lyx script could not convert 
the document.


Have you changed something in your python installation
(e.g., installed python3)?

/Konrad



Re: defaults.lyx, lyx2lyx error in LyX 1.6

2009-03-03 Thread Konrad Hofbauer

Joachim Osnabryg wrote:

Konrad Hofbauer schrieb:

Have you changed something in your python installation
(e.g., installed python3)?


Months ago, I installed MacPorts, because I wanted to use rtf2latex2e 
(with LaTeX and LyX).


I did some other install and uninstall with MacPorts meanwhile, the 
uninstalls I did carefully first asking the port dependencies. (But I'm 
not really familiar with MacPort.)


Because of your question I asked now port installed and that gave back 
inter alia:


python25 @2.5.4_0+darwin_8+macosx (active)
python_select @0.2.1_0+darwin_8 (active)

So, not python3.



But probably an incomplete python25 installed by macports, i.e., you are 
missing some modules (the py25- stuff in macports).


You can either

1) run lyx2lyx from terminal, try to find out which modules it is 
missing and install those from macports or


2) re-select Apple's built-in python as default python using
python_select -l
to see what are your options and then
sudo python_select the_one_with_apple_in_the_name
where the_one_with_apple_in_the_name is probably python23-apple (since 
you are on Tiger).



Is python necessary for or obstructive to LyX?


Necessary.


Which python has to be installed?


python 2.x

Could installing the actual LyX version 1.6.1 once again (over the 
existing) help?


You can try - in case it's something else than python.

HTH,
/Konrad



Re: defaults.lyx, lyx2lyx error in LyX 1.6

2009-03-03 Thread Konrad Hofbauer

Konrad Hofbauer wrote:

Joachim Osnabryg wrote:

Konrad Hofbauer schrieb:

Have you changed something in your python installation
(e.g., installed python3)?


Months ago, I installed MacPorts, because I wanted to use rtf2latex2e 
(with LaTeX and LyX).


I did some other install and uninstall with MacPorts meanwhile, the 
uninstalls I did carefully first asking the port dependencies. (But 
I'm not really familiar with MacPort.)


Because of your question I asked now port installed and that gave 
back inter alia:


python25 @2.5.4_0+darwin_8+macosx (active)
python_select @0.2.1_0+darwin_8 (active)

So, not python3.



But probably an incomplete python25 installed by macports, i.e., you are 
missing some modules (the py25- stuff in macports).


You can either

1) run lyx2lyx from terminal, try to find out which modules it is 
missing and install those from macports or


I have only those additional modules installed:

  py25-bsddb @2.5.2_1 (active)
  py25-sqlite3 @2.5.2_0 (active)
  py25-hashlib @2.5.2_0 (active)
  py25-zlib @2.5.2_0 (active)

The first two are quite sure unrelated to LyX.
LyX definitely needs zlib. About hashlib I don't remember where it comes 
from.


/Konrad



Re: defaults.lyx, lyx2lyx error in LyX 1.6 - resolved

2009-03-03 Thread Konrad Hofbauer

Joachim Osnabryg wrote:
Question: What would be a correct command to run lyx2lyx from the 
terminal

(for future problems)?


cd /Applications/LyX.app/Contents/Resources/lyx2lyx/
./lyx2lyx


Konrad Hofbauer schrieb weiter:

2) re-select Apple's built-in python as default python using
python_select


localhost:/opt joachim$ sudo python_select python23-apple
Password:
Selecting version python23-apple for python

Document = New

with success, without error message!

Thank you, Konrad, that did it.


Happy it works.

/Konrad



Re: defaults.lyx, lyx2lyx error in LyX 1.6

2009-03-03 Thread Konrad Hofbauer

Joachim Osnabryg wrote:
Yesterday, I still produced lyx letters with my own templates. Today - 
whyever - I wanted to start with File = New and got the error message:

/LyX-1.6/templates/defaults.lyx
is from another LyX-Version, but the lyx2lyx script could not convert 
the document.


Have you changed something in your python installation
(e.g., installed python3)?

/Konrad



Re: defaults.lyx, lyx2lyx error in LyX 1.6

2009-03-03 Thread Konrad Hofbauer

Joachim Osnabryg wrote:

Konrad Hofbauer schrieb:

Have you changed something in your python installation
(e.g., installed python3)?


Months ago, I installed MacPorts, because I wanted to use rtf2latex2e 
(with LaTeX and LyX).


I did some other install and uninstall with MacPorts meanwhile, the 
uninstalls I did carefully first asking the port dependencies. (But I'm 
not really familiar with MacPort.)


Because of your question I asked now port installed and that gave back 
inter alia:


python25 @2.5.4_0+darwin_8+macosx (active)
python_select @0.2.1_0+darwin_8 (active)

So, not python3.



But probably an incomplete python25 installed by macports, i.e., you are 
missing some modules (the py25- stuff in macports).


You can either

1) run lyx2lyx from terminal, try to find out which modules it is 
missing and install those from macports or


2) re-select Apple's built-in python as default python using
python_select -l
to see what are your options and then
sudo python_select the_one_with_apple_in_the_name
where the_one_with_apple_in_the_name is probably python23-apple (since 
you are on Tiger).



Is python necessary for or obstructive to LyX?


Necessary.


Which python has to be installed?


python 2.x

Could installing the actual LyX version 1.6.1 once again (over the 
existing) help?


You can try - in case it's something else than python.

HTH,
/Konrad



Re: defaults.lyx, lyx2lyx error in LyX 1.6

2009-03-03 Thread Konrad Hofbauer

Konrad Hofbauer wrote:

Joachim Osnabryg wrote:

Konrad Hofbauer schrieb:

Have you changed something in your python installation
(e.g., installed python3)?


Months ago, I installed MacPorts, because I wanted to use rtf2latex2e 
(with LaTeX and LyX).


I did some other install and uninstall with MacPorts meanwhile, the 
uninstalls I did carefully first asking the port dependencies. (But 
I'm not really familiar with MacPort.)


Because of your question I asked now port installed and that gave 
back inter alia:


python25 @2.5.4_0+darwin_8+macosx (active)
python_select @0.2.1_0+darwin_8 (active)

So, not python3.



But probably an incomplete python25 installed by macports, i.e., you are 
missing some modules (the py25- stuff in macports).


You can either

1) run lyx2lyx from terminal, try to find out which modules it is 
missing and install those from macports or


I have only those additional modules installed:

  py25-bsddb @2.5.2_1 (active)
  py25-sqlite3 @2.5.2_0 (active)
  py25-hashlib @2.5.2_0 (active)
  py25-zlib @2.5.2_0 (active)

The first two are quite sure unrelated to LyX.
LyX definitely needs zlib. About hashlib I don't remember where it comes 
from.


/Konrad



Re: defaults.lyx, lyx2lyx error in LyX 1.6 - resolved

2009-03-03 Thread Konrad Hofbauer

Joachim Osnabryg wrote:
Question: What would be a correct command to run lyx2lyx from the 
terminal

(for future problems)?


cd /Applications/LyX.app/Contents/Resources/lyx2lyx/
./lyx2lyx


Konrad Hofbauer schrieb weiter:

2) re-select Apple's built-in python as default python using
python_select


localhost:/opt joachim$ sudo python_select python23-apple
Password:
Selecting version python23-apple for python

Document = New

with success, without error message!

Thank you, Konrad, that did it.


Happy it works.

/Konrad



Re: defaults.lyx, lyx2lyx error in LyX 1.6

2009-03-03 Thread Konrad Hofbauer

Joachim Osnabryg wrote:
Yesterday, I still produced lyx letters with my own templates. Today - 
whyever - I wanted to start with File => New and got the error message:

/LyX-1.6/templates/defaults.lyx
is from another LyX-Version, but the lyx2lyx script could not convert 
the document.


Have you changed something in your python installation
(e.g., installed python3)?

/Konrad



Re: defaults.lyx, lyx2lyx error in LyX 1.6

2009-03-03 Thread Konrad Hofbauer

Joachim Osnabryg wrote:

Konrad Hofbauer schrieb:

Have you changed something in your python installation
(e.g., installed python3)?


Months ago, I installed MacPorts, because I wanted to use rtf2latex2e 
(with LaTeX and LyX).


I did some other install and uninstall with MacPorts meanwhile, the 
uninstalls I did carefully first asking the port dependencies. (But I'm 
not really familiar with MacPort.)


Because of your question I asked now "port installed" and that gave back 
inter alia:


python25 @2.5.4_0+darwin_8+macosx (active)
python_select @0.2.1_0+darwin_8 (active)

So, not python3.



But probably an incomplete python25 installed by macports, i.e., you are 
missing some modules (the py25- stuff in macports).


You can either

1) run lyx2lyx from terminal, try to find out which modules it is 
missing and install those from macports or


2) re-select Apple's built-in python as default python using
python_select -l
to see what are your options and then
sudo python_select the_one_with_apple_in_the_name
where the_one_with_apple_in_the_name is probably python23-apple (since 
you are on Tiger).



Is python necessary for or obstructive to LyX?


Necessary.


Which python has to be installed?


python 2.x

Could installing the actual LyX version 1.6.1 once again (over the 
existing) help?


You can try - in case it's something else than python.

HTH,
/Konrad



Re: defaults.lyx, lyx2lyx error in LyX 1.6

2009-03-03 Thread Konrad Hofbauer

Konrad Hofbauer wrote:

Joachim Osnabryg wrote:

Konrad Hofbauer schrieb:

Have you changed something in your python installation
(e.g., installed python3)?


Months ago, I installed MacPorts, because I wanted to use rtf2latex2e 
(with LaTeX and LyX).


I did some other install and uninstall with MacPorts meanwhile, the 
uninstalls I did carefully first asking the port dependencies. (But 
I'm not really familiar with MacPort.)


Because of your question I asked now "port installed" and that gave 
back inter alia:


python25 @2.5.4_0+darwin_8+macosx (active)
python_select @0.2.1_0+darwin_8 (active)

So, not python3.



But probably an incomplete python25 installed by macports, i.e., you are 
missing some modules (the py25- stuff in macports).


You can either

1) run lyx2lyx from terminal, try to find out which modules it is 
missing and install those from macports or


I have only those additional modules installed:

  py25-bsddb @2.5.2_1 (active)
  py25-sqlite3 @2.5.2_0 (active)
  py25-hashlib @2.5.2_0 (active)
  py25-zlib @2.5.2_0 (active)

The first two are quite sure unrelated to LyX.
LyX definitely needs zlib. About hashlib I don't remember where it comes 
from.


/Konrad



Re: defaults.lyx, lyx2lyx error in LyX 1.6 - resolved

2009-03-03 Thread Konrad Hofbauer

Joachim Osnabryg wrote:
Question: What would be a correct command to "run lyx2lyx from the 
terminal"

(for future problems)?


cd /Applications/LyX.app/Contents/Resources/lyx2lyx/
./lyx2lyx


Konrad Hofbauer schrieb weiter:

2) re-select Apple's built-in python as default python using
python_select


localhost:/opt joachim$ sudo python_select python23-apple
Password:
Selecting version "python23-apple" for python

Document => New

with success, without error message!

Thank you, Konrad, that did it.


Happy it works.

/Konrad



Re: Problems on Mac OS 10.5.6

2009-02-28 Thread Konrad Hofbauer

Hi,


 LyX: reconfigurando directorio del usuario
   File /Applications/LyX.app/Contents/Resources/configure.py, line 93
 print Failed to create directory , dir


three blind guesses:

1) have you run the installer-script in the dmg?
2) do you have python3 installed? (you should not, at least not as 
default python)
3) do you have some special characters in your username / path to your 
home directory?


HTH,
Konrad




Re: Problems on Mac OS 10.5.6

2009-02-28 Thread Konrad Hofbauer

Hi,


 LyX: reconfigurando directorio del usuario
   File /Applications/LyX.app/Contents/Resources/configure.py, line 93
 print Failed to create directory , dir


three blind guesses:

1) have you run the installer-script in the dmg?
2) do you have python3 installed? (you should not, at least not as 
default python)
3) do you have some special characters in your username / path to your 
home directory?


HTH,
Konrad




Re: Problems on Mac OS 10.5.6

2009-02-28 Thread Konrad Hofbauer

Hi,


> LyX: reconfigurando directorio del usuario
>   File "/Applications/LyX.app/Contents/Resources/configure.py", line 93
> print "Failed to create directory ", dir


three blind guesses:

1) have you run the installer-script in the dmg?
2) do you have python3 installed? (you should not, at least not as 
default python)
3) do you have some special characters in your username / path to your 
home directory?


HTH,
Konrad




Re: I cannot compile to a pdf

2009-02-24 Thread Konrad Hofbauer

NinaNutz wrote:

I have a big problem... My thesis is finished and I cannot compile the complete
pdf. When I export to pdf (any option) I only export 52 pages. My thesis is 350
pages more or less... but I cannot compile the complete one. The list of
contents, figures and tables doesn't appears either.


Is there anything suspicious (warnings or errors) in Document-Latex Log 
(there probably is)?


Make a copy of your LyX file, and then in that copy, delete big parts of 
 the document, export to PDF, see if it works, put the part back in 
(undo), delete a smaller part, ... Thus, trying to narrow down where the 
problem comes from.


Usually within half an hour or so (or much shorter), you know what the 
offending part is.


HTH,
Konrad



Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Konrad Hofbauer

Stefano Franchi wrote:

If I understood the bugzilla exchange correctly, the situation is:

1. Reverse seaerching (I guess that's the term) works from kdvi to a Latex file 
opened in a standard editor


It works on the Mac using Skim as pdf-viewer and pdfsync (no 
synctex-support as of now in LyX).


Skim simply calls
  lyxeditor @file @line

The same should be possible with any other better DVI/PDF viewer. So in 
LyX the necessary infrastructure is there (at least on Mac and Linux).


/Konrad



Re: I cannot compile to a pdf

2009-02-24 Thread Konrad Hofbauer

NinaNutz wrote:

I have a big problem... My thesis is finished and I cannot compile the complete
pdf. When I export to pdf (any option) I only export 52 pages. My thesis is 350
pages more or less... but I cannot compile the complete one. The list of
contents, figures and tables doesn't appears either.


Is there anything suspicious (warnings or errors) in Document-Latex Log 
(there probably is)?


Make a copy of your LyX file, and then in that copy, delete big parts of 
 the document, export to PDF, see if it works, put the part back in 
(undo), delete a smaller part, ... Thus, trying to narrow down where the 
problem comes from.


Usually within half an hour or so (or much shorter), you know what the 
offending part is.


HTH,
Konrad



Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Konrad Hofbauer

Stefano Franchi wrote:

If I understood the bugzilla exchange correctly, the situation is:

1. Reverse seaerching (I guess that's the term) works from kdvi to a Latex file 
opened in a standard editor


It works on the Mac using Skim as pdf-viewer and pdfsync (no 
synctex-support as of now in LyX).


Skim simply calls
  lyxeditor @file @line

The same should be possible with any other better DVI/PDF viewer. So in 
LyX the necessary infrastructure is there (at least on Mac and Linux).


/Konrad



Re: I cannot compile to a pdf

2009-02-24 Thread Konrad Hofbauer

NinaNutz wrote:

I have a big problem... My thesis is finished and I cannot compile the complete
pdf. When I export to pdf (any option) I only export 52 pages. My thesis is 350
pages more or less... but I cannot compile the complete one. The list of
contents, figures and tables doesn't appears either.


Is there anything suspicious (warnings or errors) in Document->Latex Log 
(there probably is)?


Make a copy of your LyX file, and then in that copy, delete big parts of 
 the document, export to PDF, see if it works, put the part back in 
(undo), delete a smaller part, ... Thus, trying to narrow down where the 
problem comes from.


Usually within half an hour or so (or much shorter), you know what the 
offending part is.


HTH,
Konrad



Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Konrad Hofbauer

Stefano Franchi wrote:

If I understood the bugzilla exchange correctly, the situation is:

1. Reverse seaerching (I guess that's the term) works from kdvi to a Latex file 
opened in a standard editor


It works on the Mac using Skim as pdf-viewer and pdfsync (no 
synctex-support as of now in LyX).


Skim simply calls
  lyxeditor "@file" @line

The same should be possible with any other better DVI/PDF viewer. So in 
LyX the necessary infrastructure is there (at least on Mac and Linux).


/Konrad



Re: Books in LyX: Was How to import separate chapters into document?

2009-02-20 Thread Konrad Hofbauer

Steve Litt wrote:
If I had to give LyX advice to a prospective author, I'd say that the minute 
you've committed to using LyX, learn LaTeX.


I've seen people doing full PhD theses in LyX without the slightest clue 
of latex. Depends all on the field you are in and your requirements.


But as you say,  knowing latex is certainly needed for very advanced 
stuff and tricky customizations.


In my opionion, the VERY FIRST 
STEP in learning LaTeX is to learn TeX


Disagreed - I'd say I know my way around in Latex pretty ok, without 
having ever looked at plain TeX. In fact, it is officially discouraged 
to use low-level TeX constructs and macros in LaTeX.


If I'd have to give an advice to a book author who wants to customize 
things: look (in this order) at the LyX manuals, the koma-script or 
memoir manual, and, when needed, the tex-faq.


Just my 2 cents,
Konrad



Re: Books in LyX: Was How to import separate chapters into document?

2009-02-20 Thread Konrad Hofbauer

Steve Litt wrote:
If I had to give LyX advice to a prospective author, I'd say that the minute 
you've committed to using LyX, learn LaTeX.


I've seen people doing full PhD theses in LyX without the slightest clue 
of latex. Depends all on the field you are in and your requirements.


But as you say,  knowing latex is certainly needed for very advanced 
stuff and tricky customizations.


In my opionion, the VERY FIRST 
STEP in learning LaTeX is to learn TeX


Disagreed - I'd say I know my way around in Latex pretty ok, without 
having ever looked at plain TeX. In fact, it is officially discouraged 
to use low-level TeX constructs and macros in LaTeX.


If I'd have to give an advice to a book author who wants to customize 
things: look (in this order) at the LyX manuals, the koma-script or 
memoir manual, and, when needed, the tex-faq.


Just my 2 cents,
Konrad



Re: Books in LyX: Was How to import separate chapters into document?

2009-02-20 Thread Konrad Hofbauer

Steve Litt wrote:
If I had to give LyX advice to a prospective author, I'd say that the minute 
you've committed to using LyX, learn LaTeX.


I've seen people doing full PhD theses in LyX without the slightest clue 
of latex. Depends all on the field you are in and your requirements.


But as you say,  knowing latex is certainly needed for very advanced 
stuff and tricky customizations.


In my opionion, the VERY FIRST 
STEP in learning LaTeX is to learn TeX


Disagreed - I'd say I know my way around in Latex pretty ok, without 
having ever looked at plain TeX. In fact, it is officially discouraged 
to use low-level TeX constructs and macros in LaTeX.


If I'd have to give an advice to a book author who wants to customize 
things: look (in this order) at the LyX manuals, the koma-script or 
memoir manual, and, when needed, the tex-faq.


Just my 2 cents,
Konrad



Re: Spacing around floats with centered figures - a suggestion

2009-02-19 Thread Konrad Hofbauer

Juergen Spitzmueller wrote:

Again, this is not the suggested way. See here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=vertspacefloat


So how is this to be understood wrt. LyX?

Having graphics centered, is IMO a very common need, and most people 
probably use the paragraph-centering because it is the only thing the 
GUI offers.


LyX then creates a:

\begin{figure}
\begin{centering}
  \includegraphics{asdf.pdf}
\par\end{centering}
\caption{asdf}
\end{figure}

Is this equivalent to what the texfaq-entry says one should do?
Does the \par add additional (unwanted) whitespace?

/Konrad






Re: Spacing around floats with centered figures - a suggestion

2009-02-19 Thread Konrad Hofbauer

Juergen Spitzmueller wrote:

Again, this is not the suggested way. See here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=vertspacefloat


So how is this to be understood wrt. LyX?

Having graphics centered, is IMO a very common need, and most people 
probably use the paragraph-centering because it is the only thing the 
GUI offers.


LyX then creates a:

\begin{figure}
\begin{centering}
  \includegraphics{asdf.pdf}
\par\end{centering}
\caption{asdf}
\end{figure}

Is this equivalent to what the texfaq-entry says one should do?
Does the \par add additional (unwanted) whitespace?

/Konrad






Re: Spacing around floats with centered figures - a suggestion

2009-02-19 Thread Konrad Hofbauer

Juergen Spitzmueller wrote:

Again, this is not the suggested way. See here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=vertspacefloat


So how is this to be understood wrt. LyX?

Having graphics centered, is IMO a very common need, and most people 
probably use the paragraph-centering because it is the only thing the 
GUI offers.


LyX then creates a:

\begin{figure}
\begin{centering}
  \includegraphics{asdf.pdf}
\par\end{centering}
\caption{asdf}
\end{figure}

Is this equivalent to what the texfaq-entry says one should do?
Does the \par add additional (unwanted) whitespace?

/Konrad






Re: Rotating floats doesn't work after upgrade to 1.6.1 on MAC OS X

2009-02-18 Thread Konrad Hofbauer

christiaan pauw wrote:

Hi Everybody
I recently upgraded to 1.6.1. I have a document with a number of tables in
floats rotated sideways. It used to work fine in LyX 1.5.  Now I cannot
produce pdf output anymore. The error message reads
LaTeX Error: File `rotfloat.sty' not found. I cannot find a way to update
packages with texlive (and TeXShop) in Mac OS X like one does with MikTex on
Windows so  I searched the internet and manually copied rotfloat.sty to:
  /usr/local/texlive/2007basic/texmf-dist/tex/latex/rotfloat/rotfloat.sty


If you have a solid internet connection (i.e., you are fine with 
downloading 1GB), you could also just trash your old latex installation 
and install http://www.tug.org/mactex/.


/Konrad

P.S. That said, what you try to do should work nevertheless.



Re: Rotating floats doesn't work after upgrade to 1.6.1 on MAC OS X

2009-02-18 Thread Konrad Hofbauer

christiaan pauw wrote:

Hi Everybody
I recently upgraded to 1.6.1. I have a document with a number of tables in
floats rotated sideways. It used to work fine in LyX 1.5.  Now I cannot
produce pdf output anymore. The error message reads
LaTeX Error: File `rotfloat.sty' not found. I cannot find a way to update
packages with texlive (and TeXShop) in Mac OS X like one does with MikTex on
Windows so  I searched the internet and manually copied rotfloat.sty to:
  /usr/local/texlive/2007basic/texmf-dist/tex/latex/rotfloat/rotfloat.sty


If you have a solid internet connection (i.e., you are fine with 
downloading 1GB), you could also just trash your old latex installation 
and install http://www.tug.org/mactex/.


/Konrad

P.S. That said, what you try to do should work nevertheless.



Re: Rotating floats doesn't work after upgrade to 1.6.1 on MAC OS X

2009-02-18 Thread Konrad Hofbauer

christiaan pauw wrote:

Hi Everybody
I recently upgraded to 1.6.1. I have a document with a number of tables in
floats rotated sideways. It used to work fine in LyX 1.5.  Now I cannot
produce pdf output anymore. The error message reads
"LaTeX Error: File `rotfloat.sty' not found." I cannot find a way to update
packages with texlive (and TeXShop) in Mac OS X like one does with MikTex on
Windows so  I searched the internet and manually copied rotfloat.sty to:
  /usr/local/texlive/2007basic/texmf-dist/tex/latex/rotfloat/rotfloat.sty


If you have a solid internet connection (i.e., you are fine with 
downloading 1GB), you could also just trash your old latex installation 
and install .


/Konrad

P.S. That said, what you try to do should work nevertheless.



Re: Using LyX for a book

2009-02-17 Thread Konrad Hofbauer

Anthony Campbell wrote:

I'm about to start setting up my fourth book in Lyx (1.6.1). My previous
three were done using the Book class in 1.5.x. Can someone kindly tell
me what would be the advantages of using Memoir (or point me to
somewhere that discusses this)?


All the bells and whistles the Memoir class offers.

See http://tug.ctan.org/tex-archive/macros/latex/contrib/memoir/memman.pdf

/Konrad



Re: Using LyX for a book

2009-02-17 Thread Konrad Hofbauer

Anthony Campbell wrote:

I'm about to start setting up my fourth book in Lyx (1.6.1). My previous
three were done using the Book class in 1.5.x. Can someone kindly tell
me what would be the advantages of using Memoir (or point me to
somewhere that discusses this)?


All the bells and whistles the Memoir class offers.

See http://tug.ctan.org/tex-archive/macros/latex/contrib/memoir/memman.pdf

/Konrad



Re: Using LyX for a book

2009-02-17 Thread Konrad Hofbauer

Anthony Campbell wrote:

I'm about to start setting up my fourth book in Lyx (1.6.1). My previous
three were done using the Book class in 1.5.x. Can someone kindly tell
me what would be the advantages of using Memoir (or point me to
somewhere that discusses this)?


All the bells and whistles the Memoir class offers.

See 

/Konrad



Re: psfrag does nothing when generating a pdf-file

2009-02-14 Thread Konrad Hofbauer

Thomas Engels wrote:
I want to replace strings in *.eps files with LaTeX code, so I finally 
found psfrag, downloaded it and its working fine - but only when I 
generate a DVI file. (inserted ERT in the figure and \usepackage{psfrag} 
to the preamble)


I need a pdf, but when I run pdflatex, there is no error or warning, but 
no result. It just happens nothing, text strings in eps stay the way 
they were.  



Can anyone help me?


You cannot use psfrag when working with pdflatex. However, it should 
work when using dvi  ps2pdf.


Get it to work first outside LyX with plain latex, then try to do the 
same within LyX.


I have not tried this myself, but it should also work with pdflatex using
http://www.ctan.org/tex-archive/help/Catalogue/entries/pst-pdf.html
http://www.ctan.org/tex-archive/help/Catalogue/entries/auto-pst-pdf.html

If you get it to work, it would be great if you could document this in 
the wiki.


/Konrad



Re: psfrag does nothing when generating a pdf-file

2009-02-14 Thread Konrad Hofbauer

Thomas Engels wrote:
I want to replace strings in *.eps files with LaTeX code, so I finally 
found psfrag, downloaded it and its working fine - but only when I 
generate a DVI file. (inserted ERT in the figure and \usepackage{psfrag} 
to the preamble)


I need a pdf, but when I run pdflatex, there is no error or warning, but 
no result. It just happens nothing, text strings in eps stay the way 
they were.  



Can anyone help me?


You cannot use psfrag when working with pdflatex. However, it should 
work when using dvi  ps2pdf.


Get it to work first outside LyX with plain latex, then try to do the 
same within LyX.


I have not tried this myself, but it should also work with pdflatex using
http://www.ctan.org/tex-archive/help/Catalogue/entries/pst-pdf.html
http://www.ctan.org/tex-archive/help/Catalogue/entries/auto-pst-pdf.html

If you get it to work, it would be great if you could document this in 
the wiki.


/Konrad



Re: psfrag does nothing when generating a pdf-file

2009-02-14 Thread Konrad Hofbauer

Thomas Engels wrote:
I want to replace strings in *.eps files with LaTeX code, so I finally 
found psfrag, downloaded it and its working fine - but only when I 
generate a DVI file. (inserted ERT in the figure and \usepackage{psfrag} 
to the preamble)


I need a pdf, but when I run pdflatex, there is no error or warning, but 
no result. It just happens nothing, text strings in eps stay the way 
they were.  

>

Can anyone help me?


You cannot use psfrag when working with pdflatex. However, it should 
work when using dvi & ps2pdf.


Get it to work first outside LyX with plain latex, then try to do the 
same within LyX.


I have not tried this myself, but it should also work with pdflatex using



If you get it to work, it would be great if you could document this in 
the wiki.


/Konrad



Re: Centring printing

2009-02-13 Thread Konrad Hofbauer

Paul A. Rubin wrote:
Why not set the paper to A4 and then set the margins to produce the same 
text area (centered on the A4 paper) that you would have with B5? 
(Assuming I'm understanding this correctly.)


Or set up your toolchain to create the final B5 format (which might not 
be trivial - use pdflatex), and then set in Acrobat 'auto-rotate and 
centre' (but no rescaling) to print on A4.


HTH,
Konrad

P.S. But it is (at least to me) a bit unclear what your problem is (what 
works, and what not).




Re: exporting equations to openoffice/word?

2009-02-13 Thread Konrad Hofbauer

Micha Feigin wrote:

The problem is that equations came out terrible and that is the main part
(words I can copy from the pdf). I think that lyx uses tex4ht for that. Is
there a better way to do this?



Can you insert the equations as graphics?

At least on Mac, you can select an area in the PDF, and copypaste into 
PowerPoint (as graphic).


If you zoom into the PDF quite a bit before copying, it looks ok (i.e., 
good enough for a presentation).


If this does not work on your platform, you could take a detour via some 
other image format (export from Acrobat to whatever, put that into the 
presentation, and crop).


All not very elegant, but sufficient (assuming it is a one-time job).

HTH,
/Konrad

P.S. There is also LaTeXIt (on Mac).




Re: Centring printing

2009-02-13 Thread Konrad Hofbauer

Paul A. Rubin wrote:
Why not set the paper to A4 and then set the margins to produce the same 
text area (centered on the A4 paper) that you would have with B5? 
(Assuming I'm understanding this correctly.)


Or set up your toolchain to create the final B5 format (which might not 
be trivial - use pdflatex), and then set in Acrobat 'auto-rotate and 
centre' (but no rescaling) to print on A4.


HTH,
Konrad

P.S. But it is (at least to me) a bit unclear what your problem is (what 
works, and what not).




Re: exporting equations to openoffice/word?

2009-02-13 Thread Konrad Hofbauer

Micha Feigin wrote:

The problem is that equations came out terrible and that is the main part
(words I can copy from the pdf). I think that lyx uses tex4ht for that. Is
there a better way to do this?



Can you insert the equations as graphics?

At least on Mac, you can select an area in the PDF, and copypaste into 
PowerPoint (as graphic).


If you zoom into the PDF quite a bit before copying, it looks ok (i.e., 
good enough for a presentation).


If this does not work on your platform, you could take a detour via some 
other image format (export from Acrobat to whatever, put that into the 
presentation, and crop).


All not very elegant, but sufficient (assuming it is a one-time job).

HTH,
/Konrad

P.S. There is also LaTeXIt (on Mac).




Re: Centring printing

2009-02-13 Thread Konrad Hofbauer

Paul A. Rubin wrote:
Why not set the paper to A4 and then set the margins to produce the same 
text area (centered on the A4 paper) that you would have with B5? 
(Assuming I'm understanding this correctly.)


Or set up your toolchain to create the final B5 format (which might not 
be trivial - use pdflatex), and then set in Acrobat 'auto-rotate and 
centre' (but no rescaling) to print on A4.


HTH,
Konrad

P.S. But it is (at least to me) a bit unclear what your problem is (what 
works, and what not).




Re: exporting equations to openoffice/word?

2009-02-13 Thread Konrad Hofbauer

Micha Feigin wrote:

The problem is that equations came out terrible and that is the main part
(words I can copy from the pdf). I think that lyx uses tex4ht for that. Is
there a better way to do this?



Can you insert the equations as graphics?

At least on Mac, you can select an area in the PDF, and copy into 
PowerPoint (as graphic).


If you zoom into the PDF quite a bit before copying, it looks ok (i.e., 
good enough for a presentation).


If this does not work on your platform, you could take a detour via some 
other image format (export from Acrobat to whatever, put that into the 
presentation, and crop).


All not very elegant, but sufficient (assuming it is a one-time job).

HTH,
/Konrad

P.S. There is also LaTeXIt (on Mac).




Re: cannot get LyX run on my mac

2009-02-10 Thread Konrad Hofbauer

Manveru wrote:

Python 3.0 is not backward compatible with 2.x series. I do not know
how it is on Mac, but I think LyX has it's own python interpreter
bundled.


No, on Mac python is not bundled with LyX, since it is already bundled 
with Mac OS X. The only way I see to fix this is to install 
python_select and select Apple's python (or another complete 2.x 
installation) as the default python.


HTH,
Konrad




Re: cannot get LyX run on my mac

2009-02-10 Thread Konrad Hofbauer

Manveru wrote:

Python 3.0 is not backward compatible with 2.x series. I do not know
how it is on Mac, but I think LyX has it's own python interpreter
bundled.


No, on Mac python is not bundled with LyX, since it is already bundled 
with Mac OS X. The only way I see to fix this is to install 
python_select and select Apple's python (or another complete 2.x 
installation) as the default python.


HTH,
Konrad




Re: cannot get LyX run on my mac

2009-02-10 Thread Konrad Hofbauer

Manveru wrote:

Python 3.0 is not backward compatible with 2.x series. I do not know
how it is on Mac, but I think LyX has it's own python interpreter
bundled.


No, on Mac python is not bundled with LyX, since it is already bundled 
with Mac OS X. The only way I see to fix this is to install 
python_select and select Apple's python (or another complete 2.x 
installation) as the default python.


HTH,
Konrad




Re: Lyx won't open on OS 10.3.9

2009-02-08 Thread Konrad Hofbauer

Adam Treverrow wrote:

You might be able to get LyX 1.3.7 from here:

http://wiki.lyx.org/Mac/13x


Or here:
http://ftp.lyx.org/pub/lyx/bin/

/Konrad



Re: Spellchecking in Australian English

2009-02-08 Thread Konrad Hofbauer

Doug Laidlaw wrote:
The authors of aspell must be really parochial.  To them, English 
means American, Canadian is a distinct language, and British English just 
does not exist.  There are dictionaries for languages with a smaller user 
base than British English.



Wrong. Using aspell and having the relevant dictionaries installed, I 
see in LyX 1.6.1, Document Settings- Language


English
English (Canada)
English (UK)
English (USA)
(the first accpets both UK and US spelling).

In LyX 1.5.7, these are called:
American
British
Canadian
English


Is there any way of getting around this


Yes, make sure your aspell installation is alright.

/Konrad



Re: Bessere Darstellung von eingefügten PDF-S eiten

2009-02-08 Thread Konrad Hofbauer

a b wrote:

ich möchte meiner Arbeit ein Deckblatt voranstellen, dass im PDF-Format
vorliegt. Wenn ich die Datei über Externes Material  pdfpages einfüge,
wird sie allerdings als Rastergrafik eingefügt und sieht sehr verpixelt aus.


The preview you see in LyX is pixelated, but the PDF output should be 
OK. Is this the case?


/Konrad

P.S. If possivle, please post in English.



Re: Lyx won't open on OS 10.3.9

2009-02-08 Thread Konrad Hofbauer

Adam Treverrow wrote:

You might be able to get LyX 1.3.7 from here:

http://wiki.lyx.org/Mac/13x


Or here:
http://ftp.lyx.org/pub/lyx/bin/

/Konrad



Re: Spellchecking in Australian English

2009-02-08 Thread Konrad Hofbauer

Doug Laidlaw wrote:
The authors of aspell must be really parochial.  To them, English 
means American, Canadian is a distinct language, and British English just 
does not exist.  There are dictionaries for languages with a smaller user 
base than British English.



Wrong. Using aspell and having the relevant dictionaries installed, I 
see in LyX 1.6.1, Document Settings- Language


English
English (Canada)
English (UK)
English (USA)
(the first accpets both UK and US spelling).

In LyX 1.5.7, these are called:
American
British
Canadian
English


Is there any way of getting around this


Yes, make sure your aspell installation is alright.

/Konrad



Re: Bessere Darstellung von eingefügten PDF-S eiten

2009-02-08 Thread Konrad Hofbauer

a b wrote:

ich möchte meiner Arbeit ein Deckblatt voranstellen, dass im PDF-Format
vorliegt. Wenn ich die Datei über Externes Material  pdfpages einfüge,
wird sie allerdings als Rastergrafik eingefügt und sieht sehr verpixelt aus.


The preview you see in LyX is pixelated, but the PDF output should be 
OK. Is this the case?


/Konrad

P.S. If possivle, please post in English.



Re: Lyx won't open on OS 10.3.9

2009-02-08 Thread Konrad Hofbauer

Adam Treverrow wrote:

You might be able to get LyX 1.3.7 from here:

http://wiki.lyx.org/Mac/13x


Or here:
http://ftp.lyx.org/pub/lyx/bin/

/Konrad



Re: Spellchecking in Australian English

2009-02-08 Thread Konrad Hofbauer

Doug Laidlaw wrote:
The authors of aspell must be really parochial.  To them, "English" 
means "American", Canadian is a distinct language, and British English just 
does not exist.  There are dictionaries for languages with a smaller user 
base than British English.



Wrong. Using aspell and having the relevant dictionaries installed, I 
see in LyX 1.6.1, Document Settings-> Language


English
English (Canada)
English (UK)
English (USA)
(the first accpets both UK and US spelling).

In LyX 1.5.7, these are called:
American
British
Canadian
English


Is there any way of getting around this


Yes, make sure your aspell installation is alright.

/Konrad



Re: Bessere Darstellung von eingefügten PDF-S eiten

2009-02-08 Thread Konrad Hofbauer

a b wrote:

ich möchte meiner Arbeit ein Deckblatt voranstellen, dass im PDF-Format
vorliegt. Wenn ich die Datei über "Externes Material" > pdfpages einfüge,
wird sie allerdings als Rastergrafik eingefügt und sieht sehr verpixelt aus.


The preview you see in LyX is pixelated, but the PDF output should be 
OK. Is this the case?


/Konrad

P.S. If possivle, please post in English.



Re: Hyphenation at end of the page

2009-01-29 Thread Konrad Hofbauer

rgheck wrote:

jezZiFeR wrote:

Hello,

I would like to avoid hyphenation in the last line of a page. How 
could I do that? Maybe that´s mentioned somewhere in the User Guide, 
but I can´t find it. I´m on OSX with Lyx 1.6.1.


This is a LaTeX thing, and I don't myself know whether it's possible to 
avoid this, or how.


http://www.tug.org/pipermail/pdftex/2007-August/007317.html
Doesn't look too good ...

But you can always manually prevent hyphenation at a certain point (if 
it is a one-time problem).


/Konrad



Re: Hyphenation at end of the page

2009-01-29 Thread Konrad Hofbauer

rgheck wrote:

jezZiFeR wrote:

Hello,

I would like to avoid hyphenation in the last line of a page. How 
could I do that? Maybe that´s mentioned somewhere in the User Guide, 
but I can´t find it. I´m on OSX with Lyx 1.6.1.


This is a LaTeX thing, and I don't myself know whether it's possible to 
avoid this, or how.


http://www.tug.org/pipermail/pdftex/2007-August/007317.html
Doesn't look too good ...

But you can always manually prevent hyphenation at a certain point (if 
it is a one-time problem).


/Konrad



Re: Hyphenation at end of the page

2009-01-29 Thread Konrad Hofbauer

rgheck wrote:

jezZiFeR wrote:

Hello,

I would like to avoid hyphenation in the last line of a page. How 
could I do that? Maybe that´s mentioned somewhere in the User Guide, 
but I can´t find it. I´m on OSX with Lyx 1.6.1.


This is a LaTeX thing, and I don't myself know whether it's possible to 
avoid this, or how.



Doesn't look too good ...

But you can always manually prevent hyphenation at a certain point (if 
it is a one-time problem).


/Konrad



Re: Big document

2009-01-28 Thread Konrad Hofbauer

Cameron Stone wrote:

My PhD is 190-ish pages in English, with tables, algorithms, figures,
and a nice juicy bibliography. I have it divided into 8 included child
documents (basically one per chapter), some of which are broken up
logically into a few input child documents.


Same size here, but all in a single document in 1.5.7, no problems 
either (but you rely a lot on the Navigator, which works really well in 
1.6).



DVI generation takes around 50 seconds, but most days I only run that a
few times, so it's not a problem.


First-time PDF generation takes about 30s on a core2duo, but most time 
is spent in converting images - insert the images in a format that 
matches your latex processor!


Note that if you compile into the full document it does not matter if 
you split the source files or not.


Being able to compile single sub-documents in a good way needs some 
extra work (in respect to bibliography, etc).



Splitting also makes version control a little easier, too.


Works fine for me on the big document, too.


One more tip: create subdirectories for your embedded figures. I didn't
and I wish I had (but I'm not spending the time to re-organise now that
it's finished)


Indeed. Same here.


A satisfied LyX-user,


Very much the same here!


Piero Faustini wrote:

Hello fellow LyX users,
I have to take a decision: wether to split my doctoral thesis in different 
files or not. Some people told me a thesis is HUGE and I should split the file 
into chapters or parts, but I'm afraid that something goes wrong at any time 
during the writing.


I think it's a matter of taste. Both has been done hundreds of times, 
both works reliably.


Good luck with your writing!
/Konrad



Re: solved: lyx2lyx fails: OS X 10.4.11 + Texlive2008 (MacTex) + LyX 1.6.1

2009-01-28 Thread Konrad Hofbauer

Samuel Russell wrote:

ImportError: No module named zlib


I had the same problem with a macports-installed python 2.5.
The problem is that the basic macports-python packeage misses a lot of 
things. In this particular case, you also need to install py25-zlib from 
macports.


HTH,
Konrad



Re: Changing the Chapter environment on the fly?

2009-01-28 Thread Konrad Hofbauer

Steve Litt wrote:
it just seems easier to me to change the word Chapter to Tool 

\renewcommand{\chaptername}{Tool}


and back again, and to change the counter and then change it back again.

http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-3.html

Both untested, both won't show in LyX.
Be warned that some things might go nuts (e.g., cross-references).

HTH,
/Konrad



Re: Big document

2009-01-28 Thread Konrad Hofbauer

Cameron Stone wrote:

My PhD is 190-ish pages in English, with tables, algorithms, figures,
and a nice juicy bibliography. I have it divided into 8 included child
documents (basically one per chapter), some of which are broken up
logically into a few input child documents.


Same size here, but all in a single document in 1.5.7, no problems 
either (but you rely a lot on the Navigator, which works really well in 
1.6).



DVI generation takes around 50 seconds, but most days I only run that a
few times, so it's not a problem.


First-time PDF generation takes about 30s on a core2duo, but most time 
is spent in converting images - insert the images in a format that 
matches your latex processor!


Note that if you compile into the full document it does not matter if 
you split the source files or not.


Being able to compile single sub-documents in a good way needs some 
extra work (in respect to bibliography, etc).



Splitting also makes version control a little easier, too.


Works fine for me on the big document, too.


One more tip: create subdirectories for your embedded figures. I didn't
and I wish I had (but I'm not spending the time to re-organise now that
it's finished)


Indeed. Same here.


A satisfied LyX-user,


Very much the same here!


Piero Faustini wrote:

Hello fellow LyX users,
I have to take a decision: wether to split my doctoral thesis in different 
files or not. Some people told me a thesis is HUGE and I should split the file 
into chapters or parts, but I'm afraid that something goes wrong at any time 
during the writing.


I think it's a matter of taste. Both has been done hundreds of times, 
both works reliably.


Good luck with your writing!
/Konrad



Re: solved: lyx2lyx fails: OS X 10.4.11 + Texlive2008 (MacTex) + LyX 1.6.1

2009-01-28 Thread Konrad Hofbauer

Samuel Russell wrote:

ImportError: No module named zlib


I had the same problem with a macports-installed python 2.5.
The problem is that the basic macports-python packeage misses a lot of 
things. In this particular case, you also need to install py25-zlib from 
macports.


HTH,
Konrad



Re: Changing the Chapter environment on the fly?

2009-01-28 Thread Konrad Hofbauer

Steve Litt wrote:
it just seems easier to me to change the word Chapter to Tool 

\renewcommand{\chaptername}{Tool}


and back again, and to change the counter and then change it back again.

http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-3.html

Both untested, both won't show in LyX.
Be warned that some things might go nuts (e.g., cross-references).

HTH,
/Konrad



Re: Big document

2009-01-28 Thread Konrad Hofbauer

Cameron Stone wrote:

My PhD is 190-ish pages in English, with tables, algorithms, figures,
and a nice juicy bibliography. I have it divided into 8 included child
documents (basically one per chapter), some of which are broken up
logically into a few input child documents.


Same size here, but all in a single document in 1.5.7, no problems 
either (but you rely a lot on the Navigator, which works really well in 
1.6).



DVI generation takes around 50 seconds, but most days I only run that a
few times, so it's not a problem.


First-time PDF generation takes about 30s on a core2duo, but most time 
is spent in converting images - insert the images in a format that 
matches your latex processor!


Note that if you compile into the full document it does not matter if 
you split the source files or not.


Being able to compile single sub-documents in a good way needs some 
extra work (in respect to bibliography, etc).



Splitting also makes version control a little easier, too.


Works fine for me on the big document, too.


One more tip: create subdirectories for your embedded figures. I didn't
and I wish I had (but I'm not spending the time to re-organise now that
it's finished)


Indeed. Same here.


A satisfied LyX-user,


Very much the same here!


Piero Faustini wrote:

Hello fellow LyX users,
I have to take a decision: wether to split my doctoral thesis in different 
files or not. Some people told me a thesis is HUGE and I should split the file 
into chapters or parts, but I'm afraid that something goes wrong at any time 
during the writing.


I think it's a matter of taste. Both has been done hundreds of times, 
both works reliably.


Good luck with your writing!
/Konrad



Re: solved: lyx2lyx fails: OS X 10.4.11 + Texlive2008 (MacTex) + LyX 1.6.1

2009-01-28 Thread Konrad Hofbauer

Samuel Russell wrote:

ImportError: No module named zlib


I had the same problem with a macports-installed python 2.5.
The problem is that the basic macports-python packeage misses a lot of 
things. In this particular case, you also need to install py25-zlib from 
macports.


HTH,
Konrad



Re: Changing the Chapter environment on the fly?

2009-01-28 Thread Konrad Hofbauer

Steve Litt wrote:
it just seems easier to me to change the word "Chapter" to "Tool" 

\renewcommand{\chaptername}{Tool}


and back again, and to change the counter and then change it back again.



Both untested, both won't show in LyX.
Be warned that some things might go nuts (e.g., cross-references).

HTH,
/Konrad



Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-01-27 Thread Konrad Hofbauer

Rainer M Krug wrote:

I am using Ubuntu Hardy, texlive 2007-13


AFAIK, you need at least TeXLive-2008 for SyncTeX.

/Konrad




Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-01-27 Thread Konrad Hofbauer

Rainer M Krug wrote:

I am using Ubuntu Hardy, texlive 2007-13


AFAIK, you need at least TeXLive-2008 for SyncTeX.

/Konrad




Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-01-27 Thread Konrad Hofbauer

Rainer M Krug wrote:

I am using Ubuntu Hardy, texlive 2007-13


AFAIK, you need at least TeXLive-2008 for SyncTeX.

/Konrad




Re: LyX 1.6.1 on OS X unable to handle diacritic marks in .bib files

2009-01-26 Thread Konrad Hofbauer

Grant Jacobs wrote:
One thing that bothers me about this being a BibTeX issue, is that 
BibDesk writes these characters to RTF just fine. (It would tempt me to 
think that there might a work-around that gets this directly from 
BibDesk, avoiding BibTex.)


0) You have not understood the concept behind BibDesk - it's only a 
sophisticated frontend to the database (bib) file that bibtex uses. Try 
to read up on this.


1) You can enter the TeX-replacements for the special characters in the 
bib-file (or in Bibdesk) instead of the unicode characters.

See http://www.bibtex.org/SpecialSymbols/
Since you say it is mostly for European author names, this should be enough.

2) Make sure you use a recent version of BibDesk. Also, TeXLive-2008 and 
LyX 1.6.1 won't hurt.


3) BibDesk takes care of these characters automatically:
If I enter åland sørenson as author, the bib-file that Bibdesk 1.3.19 
creates looks like this:


%% Created for khofbaue at 2009-01-26 15:14:23 +0100
%% Saved with string encoding Unicode (UTF-8)
@phdthesis{sorenson:uq,
Author = {s{\o}renson, {\aa}land},
Title = {testing}}

So even though the file is saved in Unicode, Bibdesk replaces the 
characters by their corresponding latex macros (where possible, I 
assume), and everything just works in LyX.


HTH,
Konrad

P.S. Forget the path via RTF!



Re: LyX 1.6.1 on OS X unable to handle diacritic marks in .bib files

2009-01-26 Thread Konrad Hofbauer
Make sure you have 'Unicode to TeX Conversion' enabled in BibDesk's 
'Files' Preferences !!!


HTH,
Konrad



Re: Exporting Hebrew tex file under OS-X

2009-01-26 Thread Konrad Hofbauer

Ronen Abravanel wrote:

What can I do?


Provide a very small minimal LyX file that shows the error (and hope 
that somebody competent looks at it) ...


/Konrad



Re: LyX 1.6.1 on OS X unable to handle diacritic marks in .bib files

2009-01-26 Thread Konrad Hofbauer

Grant Jacobs wrote:
I have a suspicion that the software I used to gather the references 
doesn't know the LaTeX encodings for the umlauts, etc. and just left 
them in their original UniCode.


Ah ... I assumed your bibtex files initially came from BibDesk. Maybe 
it's time to switch to a reference manager with better Latex-support. 
(Do you hear me shouting 'BibDesk' ? ;) )



For developers:


I'm not, nevertheless I throw in my 2 cents... ;)

Is there any sense in having bibtex convert files in the same way as I 
have (i.e. from bibtex to bibtex) to standardise the files before LyX 
takes them up? While redundant for many users, it might catch 
non-standard things and may make this just work, at least for the 
situation I have.


This is probably something that bibtex should take care of, not LyX.
If you know of an existing script or library that already does that, it 
might be considered in LyX.


This may also provide a means of testing that the bibliography is in a 
standard (or understandable) format and report a meaningful error if 
it's not. (The current error messages are a tad too geeky for 
non-programmers, etc.)


Unfortunately, one could say that about almost every Latex error message. :(


Actually I do understand it ;-) No offence, but if you knew the effort I 
have put into this, telling me to Try to read up on this is a bit 
rich! :-)


No offense here either, I just did not get why you would want to 
_export_ from BibDesk, if BibDesk's native file format is exactly what 
LyXbibtex want (and works).



P.S. Forget the path via RTF!


OK. Bit surprised though: there is an exporter for it in BibDesk and an 
importer in LyX, so in principle it should work, right? 


The LyX-importer (if you have the right external tool installed) is for 
text, only, and not for references/citations.


I've put literally hours 
into this. 


This happens ... (same here on other issues, usually LaTeX-limitations).

I hope you can my perspective: I really expected this to 
just work as BibDesk must be used by most LyX users and UniCode is so 
universal now... and all the rest. 


At least, now you know that simply saving in BibDesk solves the problem. 
Fixed for once and forever. :)


/Konrad



Re: LyX 1.6.1 on OS X unable to handle diacritic marks in .bib files

2009-01-26 Thread Konrad Hofbauer

Grant Jacobs wrote:
One thing that bothers me about this being a BibTeX issue, is that 
BibDesk writes these characters to RTF just fine. (It would tempt me to 
think that there might a work-around that gets this directly from 
BibDesk, avoiding BibTex.)


0) You have not understood the concept behind BibDesk - it's only a 
sophisticated frontend to the database (bib) file that bibtex uses. Try 
to read up on this.


1) You can enter the TeX-replacements for the special characters in the 
bib-file (or in Bibdesk) instead of the unicode characters.

See http://www.bibtex.org/SpecialSymbols/
Since you say it is mostly for European author names, this should be enough.

2) Make sure you use a recent version of BibDesk. Also, TeXLive-2008 and 
LyX 1.6.1 won't hurt.


3) BibDesk takes care of these characters automatically:
If I enter åland sørenson as author, the bib-file that Bibdesk 1.3.19 
creates looks like this:


%% Created for khofbaue at 2009-01-26 15:14:23 +0100
%% Saved with string encoding Unicode (UTF-8)
@phdthesis{sorenson:uq,
Author = {s{\o}renson, {\aa}land},
Title = {testing}}

So even though the file is saved in Unicode, Bibdesk replaces the 
characters by their corresponding latex macros (where possible, I 
assume), and everything just works in LyX.


HTH,
Konrad

P.S. Forget the path via RTF!



Re: LyX 1.6.1 on OS X unable to handle diacritic marks in .bib files

2009-01-26 Thread Konrad Hofbauer
Make sure you have 'Unicode to TeX Conversion' enabled in BibDesk's 
'Files' Preferences !!!


HTH,
Konrad



Re: Exporting Hebrew tex file under OS-X

2009-01-26 Thread Konrad Hofbauer

Ronen Abravanel wrote:

What can I do?


Provide a very small minimal LyX file that shows the error (and hope 
that somebody competent looks at it) ...


/Konrad



Re: LyX 1.6.1 on OS X unable to handle diacritic marks in .bib files

2009-01-26 Thread Konrad Hofbauer

Grant Jacobs wrote:
I have a suspicion that the software I used to gather the references 
doesn't know the LaTeX encodings for the umlauts, etc. and just left 
them in their original UniCode.


Ah ... I assumed your bibtex files initially came from BibDesk. Maybe 
it's time to switch to a reference manager with better Latex-support. 
(Do you hear me shouting 'BibDesk' ? ;) )



For developers:


I'm not, nevertheless I throw in my 2 cents... ;)

Is there any sense in having bibtex convert files in the same way as I 
have (i.e. from bibtex to bibtex) to standardise the files before LyX 
takes them up? While redundant for many users, it might catch 
non-standard things and may make this just work, at least for the 
situation I have.


This is probably something that bibtex should take care of, not LyX.
If you know of an existing script or library that already does that, it 
might be considered in LyX.


This may also provide a means of testing that the bibliography is in a 
standard (or understandable) format and report a meaningful error if 
it's not. (The current error messages are a tad too geeky for 
non-programmers, etc.)


Unfortunately, one could say that about almost every Latex error message. :(


Actually I do understand it ;-) No offence, but if you knew the effort I 
have put into this, telling me to Try to read up on this is a bit 
rich! :-)


No offense here either, I just did not get why you would want to 
_export_ from BibDesk, if BibDesk's native file format is exactly what 
LyXbibtex want (and works).



P.S. Forget the path via RTF!


OK. Bit surprised though: there is an exporter for it in BibDesk and an 
importer in LyX, so in principle it should work, right? 


The LyX-importer (if you have the right external tool installed) is for 
text, only, and not for references/citations.


I've put literally hours 
into this. 


This happens ... (same here on other issues, usually LaTeX-limitations).

I hope you can my perspective: I really expected this to 
just work as BibDesk must be used by most LyX users and UniCode is so 
universal now... and all the rest. 


At least, now you know that simply saving in BibDesk solves the problem. 
Fixed for once and forever. :)


/Konrad



Re: LyX 1.6.1 on OS X unable to handle diacritic marks in .bib files

2009-01-26 Thread Konrad Hofbauer

Grant Jacobs wrote:
One thing that bothers me about this being a BibTeX issue, is that 
BibDesk writes these characters to RTF just fine. (It would tempt me to 
think that there might a work-around that gets this directly from 
BibDesk, avoiding BibTex.)


0) You have not understood the concept behind BibDesk - it's only a 
sophisticated frontend to the database (bib) file that bibtex uses. Try 
to read up on this.


1) You can enter the TeX-replacements for the special characters in the 
bib-file (or in Bibdesk) instead of the unicode characters.

See 
Since you say it is mostly for European author names, this should be enough.

2) Make sure you use a recent version of BibDesk. Also, TeXLive-2008 and 
LyX 1.6.1 won't hurt.


3) BibDesk takes care of these characters automatically:
If I enter "åland sørenson" as author, the bib-file that Bibdesk 1.3.19 
creates looks like this:


%% Created for khofbaue at 2009-01-26 15:14:23 +0100
%% Saved with string encoding Unicode (UTF-8)
@phdthesis{sorenson:uq,
Author = {s{\o}renson, {\aa}land},
Title = {testing}}

So even though the file is saved in Unicode, Bibdesk replaces the 
characters by their corresponding latex macros (where possible, I 
assume), and everything "just works" in LyX.


HTH,
Konrad

P.S. Forget the path via RTF!



Re: LyX 1.6.1 on OS X unable to handle diacritic marks in .bib files

2009-01-26 Thread Konrad Hofbauer
Make sure you have 'Unicode to TeX Conversion' enabled in BibDesk's 
'Files' Preferences !!!


HTH,
Konrad



Re: Exporting Hebrew tex file under OS-X

2009-01-26 Thread Konrad Hofbauer

Ronen Abravanel wrote:

What can I do?


Provide a very small minimal LyX file that shows the error (and hope 
that somebody competent looks at it) ...


/Konrad



Re: LyX 1.6.1 on OS X unable to handle diacritic marks in .bib files

2009-01-26 Thread Konrad Hofbauer

Grant Jacobs wrote:
I have a suspicion that the software I used to gather the references 
doesn't know" the LaTeX encodings for the umlauts, etc. and just left 
them in their original UniCode.


Ah ... I assumed your bibtex files initially came from BibDesk. Maybe 
it's time to switch to a reference manager with better Latex-support. 
(Do you hear me shouting 'BibDesk' ? ;) )



For developers:


I'm not, nevertheless I throw in my 2 cents... ;)

Is there any sense in having bibtex "convert" files in the same way as I 
have (i.e. from bibtex to bibtex) to "standardise" the files before LyX 
takes them up? While redundant for many users, it might "catch" 
non-standard things and may make this "just work", at least for the 
situation I have.


This is probably something that bibtex should take care of, not LyX.
If you know of an existing script or library that already does that, it 
might be considered in LyX.


This may also provide a means of testing that the bibliography is in a 
standard (or understandable) format and report a meaningful error if 
it's not. (The current error messages are a tad too geeky for 
non-programmers, etc.)


Unfortunately, one could say that about almost every Latex error message. :(


Actually I do understand it ;-) No offence, but if you knew the effort I 
have put into this, telling me to "Try to read up on this" is a bit 
rich! :-)


No offense here either, I just did not get why you would want to 
_export_ from BibDesk, if BibDesk's native file format is exactly what 
LyX want (and works).



P.S. Forget the path via RTF!


OK. Bit surprised though: there is an exporter for it in BibDesk and an 
importer in LyX, so in principle it should work, right? 


The LyX-importer (if you have the right external tool installed) is for 
text, only, and not for references/citations.


I've put literally hours 
into this. 


This happens ... (same here on other issues, usually LaTeX-limitations).

I hope you can my perspective: I really expected this to 
"just work" as BibDesk must be used by most LyX users and UniCode is so 
universal now... and all the rest. 


At least, now you know that simply saving in BibDesk solves the problem. 
Fixed for once and forever. :)


/Konrad



Re: LyX does not compile file (problem with bibentry)

2009-01-24 Thread Konrad Hofbauer

Jürgen Spitzmüller wrote:

Are you sure these are the same files? Does an exported LaTeX file compile?


Ahh ... the ones in the LyX-Temp-Dir were the right files, but they only 
compiled because of the \batchmode that LyX puts at the beginning (and 
the output was OK despite the (hidden) error).


\batchmode is not there in an exported Latex file, and then the error 
pops up. Thanks!


I 
would be surprised, because this is clearly a LaTeX error.

(I use TeXLive 2008 as well).


And for those having the same problem, the solution is:

In the preamble:
\usepackage{bibentry}   % to get in-text bibliography entries
\usepackage[retainorgcmds]{IEEEtrantools} % to get \bstctlcite command

In the text:
\bstctlcite{BSTcontrol_Thesis} % disable ieee feature breaking bibentry
\nobibliography* %enables bibentry

In the bib-file:
@ieeetranbstctl{BSTcontrol_Thesis,
CTLdash_repeated_names = {no},
CTLuse_alt_spacing = {no}}

See documentation to bibentry (pdflatex bibentry.dtx)and 
http://www.ctan.org/get/macros/latex/contrib/IEEEtran/bibtex/IEEEtran_bst_HOWTO.pdf.



Thanks Jürgen for trying and asking the right questions!
Puzzle solved.
/Konrad



Re: size of math instant preview

2009-01-24 Thread Konrad Hofbauer

Michel Gosse wrote:
Hello 

I have installed lyx on my new computer (linux). I remember that there is a 
trick to scale the math preview within lyx, but i have lost this trick.

Can anyone help my poor memory ?


Zoom % and Screen DPI in the Preferences. (Restart of LyX required.)

HTH,
/Konrad



Re: Sequential footnote numbering in book KOMA-Script: a difficult task?

2009-01-24 Thread Konrad Hofbauer

Nikos Alexandris wrote:

I can't seem to find the way to get _one_ numbering of footnotes for the
whole document (class book-KOMA Script) and not a per-chapter numbering,
as it is the default in this document class.

Is it really that difficult?


I did not try, but it shouldn't be.

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=run-fn-nos

HTH,
Konrad



Re: LyX does not compile file (problem with bibentry)

2009-01-24 Thread Konrad Hofbauer

Jürgen Spitzmüller wrote:

Are you sure these are the same files? Does an exported LaTeX file compile?


Ahh ... the ones in the LyX-Temp-Dir were the right files, but they only 
compiled because of the \batchmode that LyX puts at the beginning (and 
the output was OK despite the (hidden) error).


\batchmode is not there in an exported Latex file, and then the error 
pops up. Thanks!


I 
would be surprised, because this is clearly a LaTeX error.

(I use TeXLive 2008 as well).


And for those having the same problem, the solution is:

In the preamble:
\usepackage{bibentry}   % to get in-text bibliography entries
\usepackage[retainorgcmds]{IEEEtrantools} % to get \bstctlcite command

In the text:
\bstctlcite{BSTcontrol_Thesis} % disable ieee feature breaking bibentry
\nobibliography* %enables bibentry

In the bib-file:
@ieeetranbstctl{BSTcontrol_Thesis,
CTLdash_repeated_names = {no},
CTLuse_alt_spacing = {no}}

See documentation to bibentry (pdflatex bibentry.dtx)and 
http://www.ctan.org/get/macros/latex/contrib/IEEEtran/bibtex/IEEEtran_bst_HOWTO.pdf.



Thanks Jürgen for trying and asking the right questions!
Puzzle solved.
/Konrad



  1   2   3   4   5   >