Re: Key bindings

2008-11-21 Thread Guenter Milde
Peleg Michaeli [EMAIL PROTECTED] schrieb:
 Hello!

 It looks like - and it's like that for at least a year now - that I
 cannot create key-bindings using C (the ctrl button), but only using M
 (the alt button). 

Keybindings can be configured in the LyX GUI since 1.6. (available from
Debian/testing).

Which keybindings emulation (cua.bind, emacs.bind, ...)

 For example:

 \bind M-m 7 math-insert \psi

 is working great.

 \bind C-g y  math-insert \psi

 is not working at all.

Could be a keybindings clash.

 And I even tried this cute one:

 \bind ψ math-insert \psi

 Which is also not working.

This cannot work, as the key-name argument to \bind must be in ASCII.
(You would have to find out the name used by QT for psi.)

However, you could adapt the unicodesymbols file (place a copy in
~/.lyx/unicodesymbols) and change

- 0x03c8 \\textgreek{y}   textgreek  # GREEK SMALL LETTER PSI
+ 0x03c8 \\textgreek{y}   textgreek  mathalpha \\psi # GREEK 
SMALL LETTER PSI

and you should be able to use an unicode ψ in math (untested).

Günter



Re: Re: lyx pipe and skim

2008-11-21 Thread Nils Becker
 However, it WORKS for me (with or without the full path to lyxeditor,
 or with the LyX preference in Skim) when Shift-Option-Command-click in
 Skim (instead of Option-Click).
 
 Actually, only Shift-Command-Click (without Option) is needed.
 It is documented on the Skim Wiki, but the Help is wrong. I reported it
 to Skim.
 
 /Konrad
 
 /div
Thanks, that works! I thought I had tried out all the two-modifier
combinations...
Incidentally, it is also possible to use the option
pdflatex -synctex=1 $$i
for the latex to pdf converter in LyX.
For this, you need a recent TeX distribution, e.g. TeXlive 2008.
This removes the need of \usepackage{pdfsync} in the preamble and lets
you keep a pure LaTeX source. Skim supports inverse searching with
synctex, I tested it.
cheers, Nils


Re: lyx pipe and skim

2008-11-21 Thread Konrad Hofbauer

Nils Becker wrote:

Incidentally, it is also possible to use the option
pdflatex -synctex=1 $$i
for the latex to pdf converter in LyX.


That's good news!

Now we only need a volunteer to implement the forward search in LyX. :)

/Konrad



Insert URL

2008-11-21 Thread Matthias Coy

Hi there,

I want to insert a URL into LyX. This is quite easy if I use Menu 
Insert - URL, but I want more something like the HTML URL:


a href=http://example.org;A link to example.org/a

As you can see, there is the URL and the text that is shown.

How can I do that kind of URL in Lyx?

Regards
Matthias


Re: Koma-script not fully compatible with hyperref package

2008-11-21 Thread Pavel Sanda
 P.S. Should I also report this bug somewhere on CTAN where the packages 
 reside?
 I can't figure out for the love of God where I can sign up for a user account 
 on
 the Koma Script website, though my German is good enough. It only lets
 _existing_ users log in or renew passwords though!
 http://www.komascript.de/forum/

at least put it into our bugzilla.
pavel


paragraph numbering reset and TOC problem in pdf

2008-11-21 Thread Sophie Vandenbussche

Hello!

While using the article (koma-script) document class, I would like to 
have my section numbering, instead of continuing the numbering in part 
II (by default I obtained Part II - Section 3 - Section 4 etc) like this:


Part I
Section 1
Section 2
...

Part II
Section 1
Section 2
...

A friend of mine gave me the latex option \setcounter{section}{0} 
which I used. It worked for the section numbering, but now I have TOC 
issues in the pdf: when I click for example on Section 1 in Part 2, it 
sends me to Section 1... in Part 1!!


Do you have any idea as to how obtain the numbering I would like (even 
if it becomes Section 1.1, Section 1.2 and in Part II Section 2.1 etc 
for example) without the corresponding TOC issue in the pdf?


Thank you very much in advance for your help!!!

Sophie Vandenbussche
(PhD student at the end of the thesis writing...)


vref – Errors keep repeating

2008-11-21 Thread Max Nabble

Dear LyX-users,


I am about to finally finish my diploma thesis using LyX 1.5.5 (on latest OS
X Tiger and MacTeX) and a highly customized setup (XeTeX, biblatex, the
SVG-inclusion and so on) with the Memoir class.

First of all, my work experience with LyX was really great so far and I
don’t think, I will ever switch back to the solutions I used before (Word,
OOWriter, Pages, Scribus and plain LaTeX).

However, all through my work progress I had these vref-Errors fading in and
out all the time. Usually, they could be fixed by deleting them and
reinserting them again; in some cases where they could not be fixed, I tried
not to bother and thought about simply writing them manually at the very
end.

But now there is this one error that I cannot solve, I cannot even find the
proper the reference that it seems to refer to (even though double-clicking
on the error seems to take me to the place in the LyX document):



Package varioref Error: \vref

 }

Please check the pages in question. You might need to replace the \vref
or \vpageref by a normal \(page)ref to stop LaTeX running forever.



My LyX preamble can be found here:
http://www.unet.univie.ac.at/~a0303098/public/lyxpreamble.txt

The error appears to happen somewhere here:




falsch
\emph default
 zu entscheiden und dass ein wohlgesonnener Einzelherrscher, der immer das
 Allgemeinwohl im Blick habe, hilfreich dabei sein könnte, die Gesellschaft
 in moderne Herrschaftsstrukturen zu überführen.
 Damit war ‘Abduh eindeutig ein sanfterer Reformer als al-Afghânî und mehr
 auf langsame und nachhaltige Veränderung bedacht.
\begin_inset Foot
status open

\begin_layout Standard
\begin_inset LatexCommand citet
after 304-305
key Black2001The-History-of-

\end_inset

.
\end_layout

\end_inset


\end_layout

\begin_layout Subsection
Raschîd Ridâ
\begin_inset LatexCommand label
name sub:Raschîd-Ridâ

\end_inset


\end_layout

\begin_layout Standard
Muhammad Raschîd bin ‘Alî Ridâ (1865–1935) wurde in der Nähe von Tripolis
 in ein Dorf geboren, in dem die meisten Bewohner behaupteten, vom Propheten
 abzustammen.





Could it be a biblatex referencing problem? Any ideas? Thank you for any
help!


Max
-- 
View this message in context: 
http://n2.nabble.com/vref-%E2%80%93-Errors-keep-repeating-tp1561472p1561472.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: paragraph numbering reset and TOC problem in pdf

2008-11-21 Thread Jean-Marc Lasgouttes
Sophie Vandenbussche [EMAIL PROTECTED] writes:
 Do you have any idea as to how obtain the numbering I would like (even
 if it becomes Section 1.1, Section 1.2 and in Part II Section 2.1 etc
 for example) without the corresponding TOC issue in the pdf?

 Thank you very much in advance for your help!!!

 Sophie Vandenbussche
 (PhD student at the end of the thesis writing...)

Do you mean that you are using an 'article' class for you thesis? I
would advise to try out 'book (koma-script)' instead, for example. And
use chapters somewhere.

JMarc


Re: Insert URL

2008-11-21 Thread Matthias Coy

Just found Insert Hyperlink *head against wall*

Regards
Matthias

Matthias Coy schrieb:

Hi there,

I want to insert a URL into LyX. This is quite easy if I use Menu 
Insert - URL, but I want more something like the HTML URL:


a href=http://example.org;A link to example.org/a

As you can see, there is the URL and the text that is shown.

How can I do that kind of URL in Lyx?

Regards
Matthias


Re: Print list of notes

2008-11-21 Thread Jürgen Spitzmüller
Nick Bell wrote:
 Oops, I'm not able to disable notes with:

 http://img.skitch.com/20081120-jrspk56cdmufhqjtwe98rjjbjt.jpg

 Tried removing numbers and super options as well, that didn't work.

 Any ideas?

Yes. todonotes.sty uses the xkeyval package to define options. This package 
differs wrt the use of global options.

Changing \ProcessOptionsX to \ProcessOptionsX* in todonotes.sty (line 50) 
allows you to pass the options globally.

You might want to ask the package maintainer if the use of \ProcessOptionsX 
was intentional.

Jürgen


Re: paragraph numbering reset and TOC problem in pdf

2008-11-21 Thread Sophie Vandenbussche


Jean-Marc Lasgouttes a écrit :

Sophie Vandenbussche [EMAIL PROTECTED] writes:
  

Do you have any idea as to how obtain the numbering I would like (even
if it becomes Section 1.1, Section 1.2 and in Part II Section 2.1 etc
for example) without the corresponding TOC issue in the pdf?

Thank you very much in advance for your help!!!

Sophie Vandenbussche
(PhD student at the end of the thesis writing...)



Do you mean that you are using an 'article' class for you thesis? I
would advise to try out 'book (koma-script)' instead, for example. And
use chapters somewhere.

JMarc
  
Yes I use the article class, simply because I dont want any chapters... 
My thesis will be about 120 pages long, in four parts all divided in 
three or for sections. I rellay don't need chapters, that's why I don't 
use the book class (I used it at first but)


Sophie


Re: Key bindings

2008-11-21 Thread Peleg Michaeli
On Fri, 2008-11-21 at 08:21 +, Guenter Milde wrote:
  For example:
 
  \bind M-m 7 math-insert \psi
 
  is working great.
 
  \bind C-g y  math-insert \psi
 
  is not working at all.
 
 Could be a keybindings clash.
 

Is there a way to check this?
When I just type C-g in LyX I get Command disabled on the status bar.

I have to add that I've put all of these keybindings in a file named
~/.lyx1.5.1/bind/hebrew.bind; this file is indeed readed by LyX, since -
as I said - all of the Alt-something bindings that I add work great.


Thanks,
Peleg.




Re: Key bindings

2008-11-21 Thread Peleg Michaeli
Sorry... I am forwarding it to the list.

On Fri, 2008-11-21 at 12:41 +, Peleg Michaeli wrote:
 On Fri, 2008-11-21 at 08:21 +, Guenter Milde wrote:
  However, you could adapt the unicodesymbols file (place a copy in
  ~/.lyx/unicodesymbols) and change
  
  - 0x03c8 \\textgreek{y}   textgreek  # GREEK SMALL
  LETTER PSI
  + 0x03c8 \\textgreek{y}   textgreek  mathalpha \\psi
  # GREEK SMALL LETTER PSI
  
  and you should be able to use an unicode ψ in math (untested). 
 
 Thanks for your reply!
 
 However, I have tried to put, as you recommended, this text:
 - 0x03c8 \\textgreek{y}   textgreek  # GREEK SMALL LETTER
 PSI
 + 0x03c8 \\textgreek{y}   textgreek  mathalpha \\psi #
 GREEK SMALL LETTER PSI
 
 In the file ~/.lyx1.5.1/unicodesymbols (this is my relevant folder), and
 I have restarted LyX - but nothing has changed. When I type ψ, either in
 math mode or not, I get ψ and not \\psi.
 
 What else can I try?
 
 
 Thanks,
 Peleg.
 



Re: A multi-volume document?

2008-11-21 Thread rgheck

Mikhail Teterin wrote:

Hello!

I'm working with a document, thats too big for a single-volume book.

Is there a way I can work with it as one document, but tell LyX to produce 
several PDF files for printing?


Or do I have to split the document into several myself? Thanks!

  
If you're working with a huge document, you're better breaking it up 
into sub-documents anyway, as LyX will be much more responsive. And no, 
I don't think there's any easy way to print a single document as various 
documents.


rh



Re: paragraph numbering reset and TOC problem in pdf

2008-11-21 Thread rgheck

Sophie Vandenbussche wrote:


Jean-Marc Lasgouttes a écrit :

Sophie Vandenbussche [EMAIL PROTECTED] writes:
 

Do you have any idea as to how obtain the numbering I would like (even
if it becomes Section 1.1, Section 1.2 and in Part II Section 2.1 etc
for example) without the corresponding TOC issue in the pdf?


\makeatletter
[EMAIL PROTECTED]
\makeatother

rh



Re: paragraph numbering reset and TOC problem in pdf

2008-11-21 Thread Jean-Marc Lasgouttes
Sophie Vandenbussche [EMAIL PROTECTED] writes:
 Yes I use the article class, simply because I dont want any
 chapters... My thesis will be about 120 pages long, in four parts all
 divided in three or for sections. I rellay don't need chapters, that's
 why I don't use the book class (I used it at first but)

What is the reason why your parts are not chapters? In particular, with
koma-script, the word Chapter does not appear in printed output, so
I'd think it is exactly what you want to obtain... Am I wrong?

JMarc


bibliography numbering and list of figures (containing references)

2008-11-21 Thread Sophie Vandenbussche

Hello again,

I have a second question...

For my bibliography, I use the following options: 
\usepackage[square,sortcompress]{natbib}
I obtain exactly what I look for, but I have one little problem (maybe 
not linked to this choice...):


When I insert a list of figures at the beginning of my document, the 
numbering of the references starts in the legends of the figure... I 
would like that this numbering starts in the text, and that in the 
legends of the figures, the numbers for the references are the ones that 
they would have at the place where the figure is inserted. I don't know 
if this explanation is understandable...


Could you help me? Thanks :D

Sophie


Re: Key bindings

2008-11-21 Thread Guenter Milde
Peleg Michaeli [EMAIL PROTECTED] schrieb:
 On Fri, 2008-11-21 at 08:21 +, Guenter Milde wrote:

 Could be a keybindings clash.

 Is there a way to check this?
 When I just type C-g in LyX I get Command disabled on the status bar.

This shows that C-g is bound to some function (which, however is currently
disabled because of the wrong context).

You could try to grep for C-g in all bind files that are read directly or
indirectly.

I have written a Python script for this as part of my pyLyX lyxserver
interface package. Search the lyx wiki for lyx-bindings or for pyLyX.


Günter



Re: paragraph numbering reset and TOC problem in pdf

2008-11-21 Thread Sophie Vandenbussche

rgheck a écrit :

Sophie Vandenbussche wrote:


Jean-Marc Lasgouttes a écrit :

Sophie Vandenbussche [EMAIL PROTECTED] writes:
 

Do you have any idea as to how obtain the numbering I would like (even
if it becomes Section 1.1, Section 1.2 and in Part II Section 2.1 etc
for example) without the corresponding TOC issue in the pdf?


\makeatletter
[EMAIL PROTECTED]
\makeatother

rh


Great, it works (to be put in the latex preamble if somebody else is 
interested)

Thanks a lot!!!


Re: paragraph numbering reset and TOC problem in pdf

2008-11-21 Thread rgheck

Sophie Vandenbussche wrote:

rgheck a écrit :

Sophie Vandenbussche wrote:


Jean-Marc Lasgouttes a écrit :

Sophie Vandenbussche [EMAIL PROTECTED] writes:
 
Do you have any idea as to how obtain the numbering I would like 
(even

if it becomes Section 1.1, Section 1.2 and in Part II Section 2.1 etc
for example) without the corresponding TOC issue in the pdf?


\makeatletter
[EMAIL PROTECTED]
\makeatother

rh


Great, it works (to be put in the latex preamble if somebody else is 
interested)

Thanks a lot!!!


I've added this to the wiki.

rh



Re: LyX 1.6.0 Cannot view pdf UserGuide and EmbeddedObjects

2008-11-21 Thread Jürgen Spitzmüller
Waluyo Adi Siswanto wrote:
 I installed 1.6.0 in Ubuntu 8.04, but I cannot view pdf the
 documentations UserGuide and EmbeddedObjects. Lyx List error window
 will pop up with no information at all in Errors box nor Description
 box.

1. Is there any output on the console?
2. Could you post the content of Document-LaTeX Log?

Jürgen


Re: A multi-volume document?

2008-11-21 Thread Mikhail Teterin
rgheck wrote:
= If you're working with a huge document, you're better breaking it up 
= into sub-documents anyway, as LyX will be much more responsive.

I have a beefy machine and don't (yet?) notice poor responsiveness...

= And no, I don't think there's any easy way to print a single document as
= various documents.

Wouldn't this be a nice feature -- to have the software divide the document 
between volumes, just like it already divides it between pages, etc.?

I wouldn't mind to divide things once, but some things -- like TOCs and 
styles, should apply to the entire work once...

-mi




converting lyx to pdf for an ebook

2008-11-21 Thread mark anderson

Hello all,
 
I am preparing to write an ebook.  Have any of you used Lyx to do this?  How 
easy is it to convert the file to pdf?  Can Lyx edit pdf files?
 
Would you recommend Lyx for this task or would you suggest some other software? 
 I'm thinking about using nitropdf.
 
Thanks for your advice,Mark www.livingwatermuscatine.com ripples with 
lifewww.grassfedrecipes.com  Grassfed Recipes--health has never tasted so 
good!www.globe-hoppers.com travels and tales of the Anderson 
familywww.karipearls.com  A pearl for every girl--exquisite and affordable
_
Get more done, have more fun, and stay more connected with Windows Mobile®. 
http://clk.atdmt.com/MRT/go/119642556/direct/01/

Re: A multi-volume document?

2008-11-21 Thread Richard Heck

Mikhail Teterin wrote:

rgheck wrote:
= And no, I don't think there's any easy way to print a single document as
= various documents.

Wouldn't this be a nice feature -- to have the software divide the document 
between volumes, just like it already divides it between pages, etc.?


I wouldn't mind to divide things once, but some things -- like TOCs and 
styles, should apply to the entire work once...


  

There may be a LaTeX package that does this. Search CTAN.

rh



Re: converting lyx to pdf for an ebook

2008-11-21 Thread Richard Heck

mark anderson wrote:

Hello all,
 
I am preparing to write an ebook.  Have any of you used Lyx to do this?  

  

Lots and LOTS of people have done this kind of thing.

How easy is it to convert the file to pdf?  

  

Trivial: FileExportPDF.


Can Lyx edit pdf files?
  
No. But PDF is not a format intended for editing. PDFs can be edited, 
but that's not really recommended except in emergencies, when you do not 
have access to the original source.



Would you recommend Lyx for this task or would you suggest some other software? 
 I'm thinking about using nitropdf.
 
  
That's a completely different sort of product. LyX is a tool for 
writing, comparable to things like Word, though very different (and much 
better, or so we think). NitroPDF is like Acrobat.


Richard



Re: converting lyx to pdf for an ebook

2008-11-21 Thread Manveru
2008/11/21 mark anderson [EMAIL PROTECTED]:

 Hello all,

 I am preparing to write an ebook.  Have any of you used Lyx to do this?  How 
 easy is it to convert the file to pdf?  Can Lyx edit pdf files?

 Would you recommend Lyx for this task or would you suggest some other 
 software?  I'm thinking about using nitropdf.

 Thanks for your advice,Mark

Couple of people reported success stories with printed and electronic book.

Creating PDFs from LyX (by LaTeX engine) is a LyX feature by its nature.

-- 
Manveru
jabber: [EMAIL PROTECTED]
 gg: 1624001
   http://www.manveru.pl


Re: A multi-volume document?

2008-11-21 Thread Abdelrazak Younes

Mikhail Teterin wrote:

rgheck wrote:
= If you're working with a huge document, you're better breaking it up 
= into sub-documents anyway, as LyX will be much more responsive.


I have a beefy machine and don't (yet?) notice poor responsiveness...


I certainly hope you won't notice any problem of responsiveness, even 
for a thousand page document. IMO, the only two benefits of multipart 
document are:


1) you want to often preview the result (dvi or pdf)
2) you want to share some parts between multiple documents
3) you want to publish many part independently
I don't preview often personally but I point 2 is quite important. 3 is 
your case. Otherwise a plain big document is just fine.




= And no, I don't think there's any easy way to print a single document as
= various documents.

Wouldn't this be a nice feature -- to have the software divide the document 
between volumes, just like it already divides it between pages, etc.?


I wouldn't mind to divide things once, but some things -- like TOCs and 
styles, should apply to the entire work once...


TOCS and document classes are done globally with the master document so 
that should just work.


Abdel.



Re: bibliography numbering and list of figures (containing references)

2008-11-21 Thread Sophie Vandenbussche


Sophie Vandenbussche a écrit :

Hello again,

I have a second question...

For my bibliography, I use the following options: 
\usepackage[square,sortcompress]{natbib}
I obtain exactly what I look for, but I have one little problem (maybe 
not linked to this choice...):


When I insert a list of figures at the beginning of my document, the 
numbering of the references starts in the legends of the figure... I 
would like that this numbering starts in the text, and that in the 
legends of the figures, the numbers for the references are the ones 
that they would have at the place where the figure is inserted. I 
don't know if this explanation is understandable...


Could you help me? Thanks :D

Sophie


Mmmm... I auto-reply to myself... Actually this does not allways 
happen:!!! Sometimes it is like I want it and sometimes not... and I 
don't understand what I do for obtaining the two situations... Anyway, 
as long as sometimes I obtain what I want (with the hope that on the 
last day I will not only obtain what I don't want :D)


Re: bibliography numbering and list of figures (containing references)

2008-11-21 Thread Richard Heck

Sophie Vandenbussche wrote:


Sophie Vandenbussche a écrit :

Hello again,

I have a second question...

For my bibliography, I use the following options: 
\usepackage[square,sortcompress]{natbib}
I obtain exactly what I look for, but I have one little problem 
(maybe not linked to this choice...):


When I insert a list of figures at the beginning of my document, the 
numbering of the references starts in the legends of the figure... I 
would like that this numbering starts in the text, and that in the 
legends of the figures, the numbers for the references are the ones 
that they would have at the place where the figure is inserted. I 
don't know if this explanation is understandable...


Could you help me?


Mmmm... I auto-reply to myself... Actually this does not allways 
happen:!!! Sometimes it is like I want it and sometimes not... and I 
don't understand what I do for obtaining the two situations... Anyway, 
as long as sometimes I obtain what I want (with the hope that on the 
last day I will not only obtain what I don't want :D)


I think this probably has to do with how many LaTeX runs you've done. 
Hard to be sure.


Anyway, I think all you need to do is to use the misnamed InsertShort 
Title at the beginning of your caption. Then enter the same thing, but 
without the reference. Or you can enter something different. What you 
enter is what will appear in the TOC.


rh



Re: converting lyx to pdf for an ebook

2008-11-21 Thread Steve Litt
On Thursday 20 November 2008 09:58:16 pm mark anderson wrote:
 Hello all,

 I am preparing to write an ebook.  Have any of you used Lyx to do this? 

Yes.

 How easy is it to convert the file to pdf?  

Depending on what you want, between trivial and moderately easy.

 Can Lyx edit pdf files? 

No.


 Would you recommend Lyx for this task or would you suggest some other
 software?  I'm thinking about using nitropdf.

2 different questions. I'd definitely recommend LyX for creating books. LyX 
can also be used to create a PDF. nitroPDF can then edit the PDF, although I 
use pdfTk for that.

I'm assuming the reason you want to edit the PDF after it's created is to 
personalize and/or watermark your eBook. Personalization is pure LyX -- just 
have a token that gets put in the footer, have a script that replaces that 
token with the reader's name, so that the footer on the bottom reads:

Prepared exclusively for John Customer

As far as watermarking with a detectable sequence of bytes, I think you'll 
need something like pdfTk or nitroPDF for that. Also, if you're going to DRM 
the eBook (in which case your customers will hate you), you'll need something 
like pdfTk or nitroPDF to do that.

HTH

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Landscape

2008-11-21 Thread Kavetsos, Georgios
Dear all,

I am desperately trying to figure out why Lyx is adding a blank page when the 
package
\usepackage{lscape}
is used. Is anyone aware of:
1) an alternative for generating a single landscape page?
2) or, a command that deletes the blank page?

Many thanks
George


Re: LyX and Docbook/XML

2008-11-21 Thread Ethan Metsger

Hi, all.

I promise I'll be quiet after this post--I don't mean to pester (or imply  
by any stretch that I'm unhappy with LyX in general!).  But can anyone  
comment on this?


For what it's worth, I really do like LyX, and I'm not trying to troll or  
put on anyone.  I'm just curious about the capabilities and hoping not a  
little to spur its adoption among my general work populace.


Thanks again,

Ethan

On Wed, 19 Nov 2008 11:43:43 -0500, Ethan Metsger [EMAIL PROTECTED]  
wrote:




Hi, all.

I figured I'd send a quick query to the list about using LyX with  
Docbook/XML.  I know there's been a little bit of traffic on this in the  
past, but I haven't seen anything recently, and my searches online  
haven't turned up much else, either.


We're in the process of evaluating some tools for transitioning our  
documentation away from Frame, and my bid to use LaTeX with LyX as a  
front-end and pdflatex/plastex as the backend didn't really gain much  
traction.


My boss prefers to use Docbook--a number of our customers use it, and  
it's an accepted standard in our industry.  There are some commercial  
products for Docbook editing that we're investigating, but I remembered  
that LyX provides some support for it also.



I was able to make some HTML and PDFs out of the basic document I  
created when using SGML tools, but I wasn't able to get similar results  
from the exported XML.  Some online reading leads me to believe that  
this is a somewhat more difficult task than I'm really willing to  
undertake, but I thought I would ask here.  Is there a good workflow for  
using Docbook/XML with LyX, or are we still kind of waiting on it?


Thanks much,

Ethan
([EMAIL PROTECTED])


un-numbered sections in the TOC?

2008-11-21 Thread Sophie Vandenbussche

One more question (I did not fin in the wiki...)

Is it possible to insert a section without numbering, and asking that it 
is put in the table of contents? In my case, I would like to add an 
annex at the end of my thesis, which is obviously not a part itself, 
and I would like it to be in the TOC, with no number...


Sophie


Re: Key bindings

2008-11-21 Thread Peleg Michaeli
Oh, sorry!

Only now I understood what you've said.

I did this:
a. copied the file unicodesymbols
from /usr/share/lyx1.5.1/unicodesymbols
to /home/peleg/.lyx1.5.1/unicodesymbols
b. opened the copy with vim. there was no 0x03c8 string there at all,
so instead of modifying the file, I have added this line: 
0x03c8 \\textgreek{y}   textgreek  mathalpha \\psi #
GREEK SMALL LETTER PSI
c. I have restarted LyX. Nothing has changed: I am clicking ψ on my
keyboard and getting the usual non-mathematical ψ.
d. I have tried to add the line to the original file in /usr/share/...
instead of in my home folder. restarted LyX. Still the same.
e. I have read this correspondance:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg129516.html
(well, not all of it...) - still couldn't understand.


Any ideas?

Thanks ahead,
Peleg.

On Fri, 2008-11-21 at 12:45 +, Peleg Michaeli wrote:
 Sorry... I am forwarding it to the list.
 
 On Fri, 2008-11-21 at 12:41 +, Peleg Michaeli wrote:
  On Fri, 2008-11-21 at 08:21 +, Guenter Milde wrote:
   However, you could adapt the unicodesymbols file (place a copy in
   ~/.lyx/unicodesymbols) and change
   
   - 0x03c8 \\textgreek{y}   textgreek  # GREEK SMALL
   LETTER PSI
   + 0x03c8 \\textgreek{y}   textgreek  mathalpha \\psi
   # GREEK SMALL LETTER PSI
   
   and you should be able to use an unicode ψ in math (untested). 
  
  Thanks for your reply!
  
  However, I have tried to put, as you recommended, this text:
  - 0x03c8 \\textgreek{y}   textgreek  # GREEK SMALL LETTER
  PSI
  + 0x03c8 \\textgreek{y}   textgreek  mathalpha \\psi #
  GREEK SMALL LETTER PSI
  
  In the file ~/.lyx1.5.1/unicodesymbols (this is my relevant folder), and
  I have restarted LyX - but nothing has changed. When I type ψ, either in
  math mode or not, I get ψ and not \\psi.
  
  What else can I try?




Re: LyX and Docbook/XML

2008-11-21 Thread Steve Litt
Back in 2001, switching away from writing books in MS Word (yeah, laugh all 
you want), I considered both LyX and DocBook. At the time, the only free 
software front end I could find for DocBook was Emacs, and my wrists just 
aren't that flexible.

LyX benefits:
* VERY fast writing environment. 3000 words per day no problem if you think 
that fast.
* WYSIWYG enough that you don't need to switch between input view and output 
view.
* Very nice presentation on paper with little effort.
* Easy to tweak with an editor if the LyX front end doesn't cut it for a task.
* Lots of LaTeX packages to do specialized stuff.

LyX disadvantages:
* Creating or modifying styles is excruciatingly difficult and requires 
LaTeX/TeX knowledge.

HTH

SteveT

On Friday 21 November 2008 11:18:35 am Ethan Metsger wrote:
 Hi, all.

 I promise I'll be quiet after this post--I don't mean to pester (or imply
 by any stretch that I'm unhappy with LyX in general!).  But can anyone
 comment on this?

 For what it's worth, I really do like LyX, and I'm not trying to troll or
 put on anyone.  I'm just curious about the capabilities and hoping not a
 little to spur its adoption among my general work populace.

 Thanks again,

 Ethan

 On Wed, 19 Nov 2008 11:43:43 -0500, Ethan Metsger [EMAIL PROTECTED]

 wrote:
  Hi, all.
 
  I figured I'd send a quick query to the list about using LyX with
  Docbook/XML.  I know there's been a little bit of traffic on this in the
  past, but I haven't seen anything recently, and my searches online
  haven't turned up much else, either.
 
  We're in the process of evaluating some tools for transitioning our
  documentation away from Frame, and my bid to use LaTeX with LyX as a
  front-end and pdflatex/plastex as the backend didn't really gain much
  traction.
 
  My boss prefers to use Docbook--a number of our customers use it, and
  it's an accepted standard in our industry.  There are some commercial
  products for Docbook editing that we're investigating, but I remembered
  that LyX provides some support for it also.
 
 
  I was able to make some HTML and PDFs out of the basic document I
  created when using SGML tools, but I wasn't able to get similar results
  from the exported XML.  Some online reading leads me to believe that
  this is a somewhat more difficult task than I'm really willing to
  undertake, but I thought I would ask here.  Is there a good workflow for
  using Docbook/XML with LyX, or are we still kind of waiting on it?
 
  Thanks much,
 
  Ethan
  ([EMAIL PROTECTED])




Re: A multi-volume document?

2008-11-21 Thread Micha
On Fri, 21 Nov 2008 09:56:03 -0500
Mikhail Teterin [EMAIL PROTECTED] wrote:

 rgheck wrote:
 = If you're working with a huge document, you're better breaking it up 
 = into sub-documents anyway, as LyX will be much more responsive.
 
 I have a beefy machine and don't (yet?) notice poor responsiveness...
 
 = And no, I don't think there's any easy way to print a single document as
 = various documents.
 
 Wouldn't this be a nice feature -- to have the software divide the document 
 between volumes, just like it already divides it between pages, etc.?
 
 I wouldn't mind to divide things once, but some things -- like TOCs and 
 styles, should apply to the entire work once...
 

I'm guessing that you can export the document to one pdf and then split the
pdf. I believe that pdfnup and be abused to do this ...

   -mi
 
 


Re: LyX and Docbook/XML

2008-11-21 Thread Richard Heck

Ethan Metsger wrote:

Hi, all.

I promise I'll be quiet after this post--I don't mean to pester (or 
imply by any stretch that I'm unhappy with LyX in general!).  But can 
anyone comment on this?


For what it's worth, I really do like LyX, and I'm not trying to troll 
or put on anyone.  I'm just curious about the capabilities and hoping 
not a little to spur its adoption among my general work populace.


DocBook support is a bit of a black art around here. There are people 
who know about it, but not many. Hence the silence. But I'm ccing on the 
people who do know.


rh



Re: LyX and Docbook/XML

2008-11-21 Thread Ethan Metsger
On Fri, 21 Nov 2008 11:30:47 -0500, Steve Litt [EMAIL PROTECTED]  
wrote:



I considered both LyX and DocBook. At the time, the only free
software front end I could find for DocBook was Emacs, and my wrists just
aren't that flexible.


Hi, Steve.

Thanks for your comments.  My issue at this point isn't converting to  
LyX--I already know I *want* to use it.  The issue is that management  
prefers to avoid LaTeX and instead opt for our local industry standard,  
which is DocBook.  We're also involved in the XML databinding business, so  
spending some extra time with XML-related technologies is more comfortable  
in general.


LyX works well with DocBook/SGML (save for a few problems I've had with  
images).  DocBook, however, is transitioning away from SGML to XML, and  
LyX doesn't support the XML format as well as I need.  My attempts to  
transform the XML export into HTML failed, and I think this is because the  
XML export from LyX is not compatible.


If LyX isn't DocBook/XML-ready, that's fine--I'll continue using it for my  
one-off docs that I write for our customers.  But if it can be fairly  
easily used to produce DocBook/XML, I'll press a bit harder for its  
adoption through the rest of the office.



Thanks again for your thoughts,

Ethan
([EMAIL PROTECTED])


Alignment of Numbers

2008-11-21 Thread Kavetsos, Georgios
Dear all,

This might seem an easy question, but I am new to Lyx and LaTeX in general.
I have a table and want the numbers to be aligned at the full-stop. Having a 
minus sign in front of the number distorts the alignment.
eg:

0.043
-0.274
1.429

Any suggestions?
Many thanks
George


Way behind on upgrading (Alt Installer), need some clarification

2008-11-21 Thread Dave Hewitt
I stuck with LyX version 1.5.5 for a while now because of a big project I had
going (call it superstition). I'm ready to upgrade, but I think I'll stick with
1.5.7 for a bit longer (ditto). I'm on Win XP and have a working install of
MikTeX 2.7 (just updated). I have used Uwe's AltInstaller for all installations
and updates until this point. I am looking to get an upgrade of ImageMagick,
Ghostscript, Aspell, and GSView, but would prefer to leave MikTeX alone. I just
read through the AltInstaller documentation and Wiki stuff again, but wanted to
be sure --

If I run the Update Installer variant to 1.5.6 and then run the Complete
Installer variant for 1.5.7, will that do what I want?



Re: A multi-volume document?

2008-11-21 Thread Les Denham
On Thursday 20 November 2008, Mikhail Teterin wrote:
 Hello!

 I'm working with a document, thats too big for a single-volume book.

 Is there a way I can work with it as one document, but tell LyX to produce
 several PDF files for printing?

 Or do I have to split the document into several myself? Thanks!

   -mi

If you don't mind continuous page numbering for the two volumes, I'd suggest 
creating it as one document (with child documents as convenient -- I usually 
use one for each chapter) using a document class which uses Parts (such as 
the various book classes), and put each volume into a Part. Then generate a 
PDF file for the whole book and use PDFTK to split it into the two volumes.  
You could use this tool to add a copy of the TOC to the second volume if 
desired.

If you want separate page numbering for each volume, it's a bit more 
complicated. You would need to reset the page number at the beginning of Part 
2, but I think this would give problems with cross references, the table of 
contents and the index.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: un-numbered sections in the TOC?

2008-11-21 Thread Manveru
2008/11/21 Sophie Vandenbussche [EMAIL PROTECTED]:

 Manveru a écrit :

 2008/11/21 Sophie Vandenbussche [EMAIL PROTECTED]:


 One more question (I did not fin in the wiki...)

 Is it possible to insert a section without numbering, and asking that it is
 put in the table of contents? In my case, I would like to add an annex at
 the end of my thesis, which is obviously not a part itself, and I would
 like it to be in the TOC, with no number...


 Section or chapter with a star * if your class has it.


 Yes, I know that, but then it does not appear in the TOC ;)

Strange, I class I use they appear unnumbered. Maybe it is
configurable option? Are you using koma-script?

-- 
Manveru
jabber: [EMAIL PROTECTED]
 gg: 1624001
   http://www.manveru.pl


Re: Alignment of Numbers

2008-11-21 Thread Paul A. Rubin

Kavetsos, Georgios wrote:

Dear all,

This might seem an easy question, but I am new to Lyx and LaTeX in general.
I have a table and want the numbers to be aligned at the full-stop. Having a 
minus sign in front of the number distorts the alignment.
eg:

0.043
-0.274
1.429

Any suggestions?
Many thanks
George



This is covered in part in section 2.12.2 of the Embedded Objects help 
file.  Assuming you just have numbers and nothing else in that column, 
the easiest approach IMHO is to use the dcolumn package.  Add


\usepackage{dcolumn}

to the preamble (and make sure you have the dcolumn LaTeX package 
installed).  In the table, right-click anywhere in the column of 
numbers, click Settings, and put D{.}{.}{3} in the LaTeX argument entry 
of the Table Settings tab.  (This is in LyX 1.6.0; it works in earlier 
versions, but right clicking in the column takes you directly to the 
Table Settings tab.)


/Paul



Re: Alignment of Numbers

2008-11-21 Thread Andre Poenitz
On Fri, Nov 21, 2008 at 04:55:25PM -, Kavetsos, Georgios wrote:
 Dear all,
 
 This might seem an easy question, but I am new to Lyx and LaTeX in general.
 I have a table and want the numbers to be aligned at the full-stop. Having a 
 minus sign in front of the number distorts the alignment.
 eg:
 
 0.043
 -0.274
 1.429
 
 Any suggestions?

The good old LaTeX way is to use two column separated by a literal dot:

[EMAIL PROTECTED] 
12\\
34343234
\end{tabular}

To make this work in LyX, use   [EMAIL PROTECTED]   as LaTeX argument in the
table settings dialog create on right-click _on the first_ column
of the table.

Andre'

PS: Did I ever mention the table dialog is a mess UI-wise?


middle button pasting

2008-11-21 Thread camus . philippe
Hello.
I'm using lyx 1.6.0 under Debian Sid.
I've some problem with pasting with the mouse (I mean, the middle click to paste
the selection).
Within ERT, there seems to be something strange with the lang wich leads to
some extra brace in the tex file and to some errors or unexpected result.
Here's an example :
The first line is the original one,
the second, a pasted one, without modification, and the third one, pasted with
mouse and with modifications. The extra braces came from nowhere !

\psline[linewidth=0.8pt,linecolor=gray,linestyle=dotted]{-}(6.0625,6.0625)(6.0625,8.59375)
\psline[linewidth=0.8pt,linecolor=gray,linestyle=dotted]{-}(6.0625,6.0625)(6.0625,8.59375)
\psline[linewidth=0.8pt,linecolor=gray,linestyle=d{ash}ed]{-}({7}.0625,{7}.0625)({8}.0625,{9}.59375)

There's not such problem with the normal copy-paste.

Phil


Article rendering problem

2008-11-21 Thread Amir Rachum
I've recently upgraded to LyX 1.6 and using Windows XP.
I use the document class article (Hebrew). I use the proof environment, but
in the new version, after I render to pdf, the proof doesn't start at a new
line.
i.e in LyX I see:

bla bla bla
proof: bla bla 2

and after I render I see:

bla bla bla proof bla bla 2


This happens with documents I edited with the previous version of LyX and
they render fine with 1.5.
What can I do?

Another question - I use LyX mostly for summarizing lecture notes and I
would like to have 2 option:
1) to create a list of theorems/claims
2) to create an exercise/solution and an example environments.

Is that possible to do?



Thanks for your help

-- 
Amir Rachum


Re: un-numbered sections in the TOC?

2008-11-21 Thread Jean-Marc Lasgouttes
Is it possible to insert a section without numbering, and asking  
that it is put in the table of contents? In my case, I would like  
to add an annex at the end of my thesis, which is obviously not a  
part itself, and I would like it to be in the TOC, with no number...


Look up \frontmatter, \mainmatter and \backmatter. They take care of  
many of these problems (and do specific

numbering, too).

JMarc


Re: Key bindings

2008-11-21 Thread Guenter Milde
Peleg Michaeli [EMAIL PROTECTED] schrieb:
 Oh, sorry!

 Only now I understood what you've said.

 I did this:
 a. copied the file unicodesymbols
 from /usr/share/lyx1.5.1/unicodesymbols
 to /home/peleg/.lyx1.5.1/unicodesymbols

Oh, I forgot that you are still using lyx 1.5. 
My example works only with 1.6.

 c. I have restarted LyX. Nothing has changed: I am clicking ψ on my
 keyboard and getting the usual non-mathematical ψ.

So you really have a Psi-key?

In 1.6, you will get a  text-psi in text and (with the above fix) a
kursive math \psi in the LaTeX output.

Günter



Re: middle button pasting

2008-11-21 Thread Jean-Marc Lasgouttes

Le 21 nov. 08 à 21:48, [EMAIL PROTECTED] a écrit :
Within ERT, there seems to be something strange with the lang  
wich leads to
some extra brace in the tex file and to some errors or unexpected  
result.

Here's an example :
The first line is the original one,
the second, a pasted one, without modification, and the third one,  
pasted with

mouse and with modifications. The extra braces came from nowhere !

\psline[linewidth=0.8pt,linecolor=gray,linestyle=dotted]{-} 
(6.0625,6.0625)(6.0625,8.59375)
\psline[linewidth=0.8pt,linecolor=gray,linestyle=dotted]{-} 
(6.0625,6.0625)(6.0625,8.59375)
\psline[linewidth=0.8pt,linecolor=gray,linestyle=d{ash}ed]{-}({7}. 
0625,{7}.0625)({8}.0625,{9}.59375)


Could you give a simple recipe. This is very weird.

JMarc

Re: un-numbered sections in the TOC?

2008-11-21 Thread Waluyo Adi Siswanto
On Fri, 2008-11-21 at 17:21 +0100, Sophie Vandenbussche wrote:
 One more question (I did not fin in the wiki...)
 
 Is it possible to insert a section without numbering, and asking that it 
 is put in the table of contents? In my case, I would like to add an 
 annex at the end of my thesis, which is obviously not a part itself, 
 and I would like it to be in the TOC, with no number...
 
 Sophie

Put this tex command (ERT) after your heading title
\addcontentsline{toc}{section}{yourheadingtitle}





Re: LyX 1.6.0 Cannot view pdf UserGuide and EmbeddedObjects

2008-11-21 Thread Waluyo Adi Siswanto
 Waluyo Adi Siswanto wrote:
  I installed 1.6.0 in Ubuntu 8.04, but I cannot view pdf the
  documentations UserGuide and EmbeddedObjects. Lyx List error window
  will pop up with no information at all in Errors box nor Description
  box.
 
 1. Is there any output on the console?
no output, only the LyX list error window with blank contents

 2. Could you post the content of Document-LaTeX Log?
yes the following, I found this error. 

! LaTeX Error: File `ltcaption.sty' not found.
Type X to quit or RETURN to proceed,
or enter new name. (Default extension: sty)
Enter file name: 
! Emergency stop.


==
For your information, now my LyX 1.5.5 behaves similar thing, but it pop
up in the screen: LaTeX Error: File `ltcaption.sty' not found. I can
open the Users Guide in this version.


Thank you for your help

 
 Jürgen



Re: Key bindings

2008-11-21 Thread Guenter Milde
Peleg Michaeli [EMAIL PROTECTED] schrieb:
 Hello!

 It looks like - and it's like that for at least a year now - that I
 cannot create key-bindings using C (the ctrl button), but only using M
 (the alt button). 

Keybindings can be configured in the LyX GUI since 1.6. (available from
Debian/testing).

Which keybindings emulation (cua.bind, emacs.bind, ...)

 For example:

 \bind M-m 7 math-insert \psi

 is working great.

 \bind C-g y  math-insert \psi

 is not working at all.

Could be a keybindings clash.

 And I even tried this cute one:

 \bind ψ math-insert \psi

 Which is also not working.

This cannot work, as the key-name argument to \bind must be in ASCII.
(You would have to find out the name used by QT for psi.)

However, you could adapt the unicodesymbols file (place a copy in
~/.lyx/unicodesymbols) and change

- 0x03c8 \\textgreek{y}   textgreek  # GREEK SMALL LETTER PSI
+ 0x03c8 \\textgreek{y}   textgreek  mathalpha \\psi # GREEK 
SMALL LETTER PSI

and you should be able to use an unicode ψ in math (untested).

Günter



Re: Re: lyx pipe and skim

2008-11-21 Thread Nils Becker
 However, it WORKS for me (with or without the full path to lyxeditor,
 or with the LyX preference in Skim) when Shift-Option-Command-click in
 Skim (instead of Option-Click).
 
 Actually, only Shift-Command-Click (without Option) is needed.
 It is documented on the Skim Wiki, but the Help is wrong. I reported it
 to Skim.
 
 /Konrad
 
 /div
Thanks, that works! I thought I had tried out all the two-modifier
combinations...
Incidentally, it is also possible to use the option
pdflatex -synctex=1 $$i
for the latex to pdf converter in LyX.
For this, you need a recent TeX distribution, e.g. TeXlive 2008.
This removes the need of \usepackage{pdfsync} in the preamble and lets
you keep a pure LaTeX source. Skim supports inverse searching with
synctex, I tested it.
cheers, Nils


Re: lyx pipe and skim

2008-11-21 Thread Konrad Hofbauer

Nils Becker wrote:

Incidentally, it is also possible to use the option
pdflatex -synctex=1 $$i
for the latex to pdf converter in LyX.


That's good news!

Now we only need a volunteer to implement the forward search in LyX. :)

/Konrad



Insert URL

2008-11-21 Thread Matthias Coy

Hi there,

I want to insert a URL into LyX. This is quite easy if I use Menu 
Insert - URL, but I want more something like the HTML URL:


a href=http://example.org;A link to example.org/a

As you can see, there is the URL and the text that is shown.

How can I do that kind of URL in Lyx?

Regards
Matthias


Re: Koma-script not fully compatible with hyperref package

2008-11-21 Thread Pavel Sanda
 P.S. Should I also report this bug somewhere on CTAN where the packages 
 reside?
 I can't figure out for the love of God where I can sign up for a user account 
 on
 the Koma Script website, though my German is good enough. It only lets
 _existing_ users log in or renew passwords though!
 http://www.komascript.de/forum/

at least put it into our bugzilla.
pavel


paragraph numbering reset and TOC problem in pdf

2008-11-21 Thread Sophie Vandenbussche

Hello!

While using the article (koma-script) document class, I would like to 
have my section numbering, instead of continuing the numbering in part 
II (by default I obtained Part II - Section 3 - Section 4 etc) like this:


Part I
Section 1
Section 2
...

Part II
Section 1
Section 2
...

A friend of mine gave me the latex option \setcounter{section}{0} 
which I used. It worked for the section numbering, but now I have TOC 
issues in the pdf: when I click for example on Section 1 in Part 2, it 
sends me to Section 1... in Part 1!!


Do you have any idea as to how obtain the numbering I would like (even 
if it becomes Section 1.1, Section 1.2 and in Part II Section 2.1 etc 
for example) without the corresponding TOC issue in the pdf?


Thank you very much in advance for your help!!!

Sophie Vandenbussche
(PhD student at the end of the thesis writing...)


vref – Errors keep repeating

2008-11-21 Thread Max Nabble

Dear LyX-users,


I am about to finally finish my diploma thesis using LyX 1.5.5 (on latest OS
X Tiger and MacTeX) and a highly customized setup (XeTeX, biblatex, the
SVG-inclusion and so on) with the Memoir class.

First of all, my work experience with LyX was really great so far and I
don’t think, I will ever switch back to the solutions I used before (Word,
OOWriter, Pages, Scribus and plain LaTeX).

However, all through my work progress I had these vref-Errors fading in and
out all the time. Usually, they could be fixed by deleting them and
reinserting them again; in some cases where they could not be fixed, I tried
not to bother and thought about simply writing them manually at the very
end.

But now there is this one error that I cannot solve, I cannot even find the
proper the reference that it seems to refer to (even though double-clicking
on the error seems to take me to the place in the LyX document):



Package varioref Error: \vref

 }

Please check the pages in question. You might need to replace the \vref
or \vpageref by a normal \(page)ref to stop LaTeX running forever.



My LyX preamble can be found here:
http://www.unet.univie.ac.at/~a0303098/public/lyxpreamble.txt

The error appears to happen somewhere here:




falsch
\emph default
 zu entscheiden und dass ein wohlgesonnener Einzelherrscher, der immer das
 Allgemeinwohl im Blick habe, hilfreich dabei sein könnte, die Gesellschaft
 in moderne Herrschaftsstrukturen zu überführen.
 Damit war ‘Abduh eindeutig ein sanfterer Reformer als al-Afghânî und mehr
 auf langsame und nachhaltige Veränderung bedacht.
\begin_inset Foot
status open

\begin_layout Standard
\begin_inset LatexCommand citet
after 304-305
key Black2001The-History-of-

\end_inset

.
\end_layout

\end_inset


\end_layout

\begin_layout Subsection
Raschîd Ridâ
\begin_inset LatexCommand label
name sub:Raschîd-Ridâ

\end_inset


\end_layout

\begin_layout Standard
Muhammad Raschîd bin ‘Alî Ridâ (1865–1935) wurde in der Nähe von Tripolis
 in ein Dorf geboren, in dem die meisten Bewohner behaupteten, vom Propheten
 abzustammen.





Could it be a biblatex referencing problem? Any ideas? Thank you for any
help!


Max
-- 
View this message in context: 
http://n2.nabble.com/vref-%E2%80%93-Errors-keep-repeating-tp1561472p1561472.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: paragraph numbering reset and TOC problem in pdf

2008-11-21 Thread Jean-Marc Lasgouttes
Sophie Vandenbussche [EMAIL PROTECTED] writes:
 Do you have any idea as to how obtain the numbering I would like (even
 if it becomes Section 1.1, Section 1.2 and in Part II Section 2.1 etc
 for example) without the corresponding TOC issue in the pdf?

 Thank you very much in advance for your help!!!

 Sophie Vandenbussche
 (PhD student at the end of the thesis writing...)

Do you mean that you are using an 'article' class for you thesis? I
would advise to try out 'book (koma-script)' instead, for example. And
use chapters somewhere.

JMarc


Re: Insert URL

2008-11-21 Thread Matthias Coy

Just found Insert Hyperlink *head against wall*

Regards
Matthias

Matthias Coy schrieb:

Hi there,

I want to insert a URL into LyX. This is quite easy if I use Menu 
Insert - URL, but I want more something like the HTML URL:


a href=http://example.org;A link to example.org/a

As you can see, there is the URL and the text that is shown.

How can I do that kind of URL in Lyx?

Regards
Matthias


Re: Print list of notes

2008-11-21 Thread Jürgen Spitzmüller
Nick Bell wrote:
 Oops, I'm not able to disable notes with:

 http://img.skitch.com/20081120-jrspk56cdmufhqjtwe98rjjbjt.jpg

 Tried removing numbers and super options as well, that didn't work.

 Any ideas?

Yes. todonotes.sty uses the xkeyval package to define options. This package 
differs wrt the use of global options.

Changing \ProcessOptionsX to \ProcessOptionsX* in todonotes.sty (line 50) 
allows you to pass the options globally.

You might want to ask the package maintainer if the use of \ProcessOptionsX 
was intentional.

Jürgen


Re: paragraph numbering reset and TOC problem in pdf

2008-11-21 Thread Sophie Vandenbussche


Jean-Marc Lasgouttes a écrit :

Sophie Vandenbussche [EMAIL PROTECTED] writes:
  

Do you have any idea as to how obtain the numbering I would like (even
if it becomes Section 1.1, Section 1.2 and in Part II Section 2.1 etc
for example) without the corresponding TOC issue in the pdf?

Thank you very much in advance for your help!!!

Sophie Vandenbussche
(PhD student at the end of the thesis writing...)



Do you mean that you are using an 'article' class for you thesis? I
would advise to try out 'book (koma-script)' instead, for example. And
use chapters somewhere.

JMarc
  
Yes I use the article class, simply because I dont want any chapters... 
My thesis will be about 120 pages long, in four parts all divided in 
three or for sections. I rellay don't need chapters, that's why I don't 
use the book class (I used it at first but)


Sophie


Re: Key bindings

2008-11-21 Thread Peleg Michaeli
On Fri, 2008-11-21 at 08:21 +, Guenter Milde wrote:
  For example:
 
  \bind M-m 7 math-insert \psi
 
  is working great.
 
  \bind C-g y  math-insert \psi
 
  is not working at all.
 
 Could be a keybindings clash.
 

Is there a way to check this?
When I just type C-g in LyX I get Command disabled on the status bar.

I have to add that I've put all of these keybindings in a file named
~/.lyx1.5.1/bind/hebrew.bind; this file is indeed readed by LyX, since -
as I said - all of the Alt-something bindings that I add work great.


Thanks,
Peleg.




Re: Key bindings

2008-11-21 Thread Peleg Michaeli
Sorry... I am forwarding it to the list.

On Fri, 2008-11-21 at 12:41 +, Peleg Michaeli wrote:
 On Fri, 2008-11-21 at 08:21 +, Guenter Milde wrote:
  However, you could adapt the unicodesymbols file (place a copy in
  ~/.lyx/unicodesymbols) and change
  
  - 0x03c8 \\textgreek{y}   textgreek  # GREEK SMALL
  LETTER PSI
  + 0x03c8 \\textgreek{y}   textgreek  mathalpha \\psi
  # GREEK SMALL LETTER PSI
  
  and you should be able to use an unicode ψ in math (untested). 
 
 Thanks for your reply!
 
 However, I have tried to put, as you recommended, this text:
 - 0x03c8 \\textgreek{y}   textgreek  # GREEK SMALL LETTER
 PSI
 + 0x03c8 \\textgreek{y}   textgreek  mathalpha \\psi #
 GREEK SMALL LETTER PSI
 
 In the file ~/.lyx1.5.1/unicodesymbols (this is my relevant folder), and
 I have restarted LyX - but nothing has changed. When I type ψ, either in
 math mode or not, I get ψ and not \\psi.
 
 What else can I try?
 
 
 Thanks,
 Peleg.
 



Re: A multi-volume document?

2008-11-21 Thread rgheck

Mikhail Teterin wrote:

Hello!

I'm working with a document, thats too big for a single-volume book.

Is there a way I can work with it as one document, but tell LyX to produce 
several PDF files for printing?


Or do I have to split the document into several myself? Thanks!

  
If you're working with a huge document, you're better breaking it up 
into sub-documents anyway, as LyX will be much more responsive. And no, 
I don't think there's any easy way to print a single document as various 
documents.


rh



Re: paragraph numbering reset and TOC problem in pdf

2008-11-21 Thread rgheck

Sophie Vandenbussche wrote:


Jean-Marc Lasgouttes a écrit :

Sophie Vandenbussche [EMAIL PROTECTED] writes:
 

Do you have any idea as to how obtain the numbering I would like (even
if it becomes Section 1.1, Section 1.2 and in Part II Section 2.1 etc
for example) without the corresponding TOC issue in the pdf?


\makeatletter
[EMAIL PROTECTED]
\makeatother

rh



Re: paragraph numbering reset and TOC problem in pdf

2008-11-21 Thread Jean-Marc Lasgouttes
Sophie Vandenbussche [EMAIL PROTECTED] writes:
 Yes I use the article class, simply because I dont want any
 chapters... My thesis will be about 120 pages long, in four parts all
 divided in three or for sections. I rellay don't need chapters, that's
 why I don't use the book class (I used it at first but)

What is the reason why your parts are not chapters? In particular, with
koma-script, the word Chapter does not appear in printed output, so
I'd think it is exactly what you want to obtain... Am I wrong?

JMarc


bibliography numbering and list of figures (containing references)

2008-11-21 Thread Sophie Vandenbussche

Hello again,

I have a second question...

For my bibliography, I use the following options: 
\usepackage[square,sortcompress]{natbib}
I obtain exactly what I look for, but I have one little problem (maybe 
not linked to this choice...):


When I insert a list of figures at the beginning of my document, the 
numbering of the references starts in the legends of the figure... I 
would like that this numbering starts in the text, and that in the 
legends of the figures, the numbers for the references are the ones that 
they would have at the place where the figure is inserted. I don't know 
if this explanation is understandable...


Could you help me? Thanks :D

Sophie


Re: Key bindings

2008-11-21 Thread Guenter Milde
Peleg Michaeli [EMAIL PROTECTED] schrieb:
 On Fri, 2008-11-21 at 08:21 +, Guenter Milde wrote:

 Could be a keybindings clash.

 Is there a way to check this?
 When I just type C-g in LyX I get Command disabled on the status bar.

This shows that C-g is bound to some function (which, however is currently
disabled because of the wrong context).

You could try to grep for C-g in all bind files that are read directly or
indirectly.

I have written a Python script for this as part of my pyLyX lyxserver
interface package. Search the lyx wiki for lyx-bindings or for pyLyX.


Günter



Re: paragraph numbering reset and TOC problem in pdf

2008-11-21 Thread Sophie Vandenbussche

rgheck a écrit :

Sophie Vandenbussche wrote:


Jean-Marc Lasgouttes a écrit :

Sophie Vandenbussche [EMAIL PROTECTED] writes:
 

Do you have any idea as to how obtain the numbering I would like (even
if it becomes Section 1.1, Section 1.2 and in Part II Section 2.1 etc
for example) without the corresponding TOC issue in the pdf?


\makeatletter
[EMAIL PROTECTED]
\makeatother

rh


Great, it works (to be put in the latex preamble if somebody else is 
interested)

Thanks a lot!!!


Re: paragraph numbering reset and TOC problem in pdf

2008-11-21 Thread rgheck

Sophie Vandenbussche wrote:

rgheck a écrit :

Sophie Vandenbussche wrote:


Jean-Marc Lasgouttes a écrit :

Sophie Vandenbussche [EMAIL PROTECTED] writes:
 
Do you have any idea as to how obtain the numbering I would like 
(even

if it becomes Section 1.1, Section 1.2 and in Part II Section 2.1 etc
for example) without the corresponding TOC issue in the pdf?


\makeatletter
[EMAIL PROTECTED]
\makeatother

rh


Great, it works (to be put in the latex preamble if somebody else is 
interested)

Thanks a lot!!!


I've added this to the wiki.

rh



Re: LyX 1.6.0 Cannot view pdf UserGuide and EmbeddedObjects

2008-11-21 Thread Jürgen Spitzmüller
Waluyo Adi Siswanto wrote:
 I installed 1.6.0 in Ubuntu 8.04, but I cannot view pdf the
 documentations UserGuide and EmbeddedObjects. Lyx List error window
 will pop up with no information at all in Errors box nor Description
 box.

1. Is there any output on the console?
2. Could you post the content of Document-LaTeX Log?

Jürgen


Re: A multi-volume document?

2008-11-21 Thread Mikhail Teterin
rgheck wrote:
= If you're working with a huge document, you're better breaking it up 
= into sub-documents anyway, as LyX will be much more responsive.

I have a beefy machine and don't (yet?) notice poor responsiveness...

= And no, I don't think there's any easy way to print a single document as
= various documents.

Wouldn't this be a nice feature -- to have the software divide the document 
between volumes, just like it already divides it between pages, etc.?

I wouldn't mind to divide things once, but some things -- like TOCs and 
styles, should apply to the entire work once...

-mi




converting lyx to pdf for an ebook

2008-11-21 Thread mark anderson

Hello all,
 
I am preparing to write an ebook.  Have any of you used Lyx to do this?  How 
easy is it to convert the file to pdf?  Can Lyx edit pdf files?
 
Would you recommend Lyx for this task or would you suggest some other software? 
 I'm thinking about using nitropdf.
 
Thanks for your advice,Mark www.livingwatermuscatine.com ripples with 
lifewww.grassfedrecipes.com  Grassfed Recipes--health has never tasted so 
good!www.globe-hoppers.com travels and tales of the Anderson 
familywww.karipearls.com  A pearl for every girl--exquisite and affordable
_
Get more done, have more fun, and stay more connected with Windows Mobile®. 
http://clk.atdmt.com/MRT/go/119642556/direct/01/

Re: A multi-volume document?

2008-11-21 Thread Richard Heck

Mikhail Teterin wrote:

rgheck wrote:
= And no, I don't think there's any easy way to print a single document as
= various documents.

Wouldn't this be a nice feature -- to have the software divide the document 
between volumes, just like it already divides it between pages, etc.?


I wouldn't mind to divide things once, but some things -- like TOCs and 
styles, should apply to the entire work once...


  

There may be a LaTeX package that does this. Search CTAN.

rh



Re: converting lyx to pdf for an ebook

2008-11-21 Thread Richard Heck

mark anderson wrote:

Hello all,
 
I am preparing to write an ebook.  Have any of you used Lyx to do this?  

  

Lots and LOTS of people have done this kind of thing.

How easy is it to convert the file to pdf?  

  

Trivial: FileExportPDF.


Can Lyx edit pdf files?
  
No. But PDF is not a format intended for editing. PDFs can be edited, 
but that's not really recommended except in emergencies, when you do not 
have access to the original source.



Would you recommend Lyx for this task or would you suggest some other software? 
 I'm thinking about using nitropdf.
 
  
That's a completely different sort of product. LyX is a tool for 
writing, comparable to things like Word, though very different (and much 
better, or so we think). NitroPDF is like Acrobat.


Richard



Re: converting lyx to pdf for an ebook

2008-11-21 Thread Manveru
2008/11/21 mark anderson [EMAIL PROTECTED]:

 Hello all,

 I am preparing to write an ebook.  Have any of you used Lyx to do this?  How 
 easy is it to convert the file to pdf?  Can Lyx edit pdf files?

 Would you recommend Lyx for this task or would you suggest some other 
 software?  I'm thinking about using nitropdf.

 Thanks for your advice,Mark

Couple of people reported success stories with printed and electronic book.

Creating PDFs from LyX (by LaTeX engine) is a LyX feature by its nature.

-- 
Manveru
jabber: [EMAIL PROTECTED]
 gg: 1624001
   http://www.manveru.pl


Re: A multi-volume document?

2008-11-21 Thread Abdelrazak Younes

Mikhail Teterin wrote:

rgheck wrote:
= If you're working with a huge document, you're better breaking it up 
= into sub-documents anyway, as LyX will be much more responsive.


I have a beefy machine and don't (yet?) notice poor responsiveness...


I certainly hope you won't notice any problem of responsiveness, even 
for a thousand page document. IMO, the only two benefits of multipart 
document are:


1) you want to often preview the result (dvi or pdf)
2) you want to share some parts between multiple documents
3) you want to publish many part independently
I don't preview often personally but I point 2 is quite important. 3 is 
your case. Otherwise a plain big document is just fine.




= And no, I don't think there's any easy way to print a single document as
= various documents.

Wouldn't this be a nice feature -- to have the software divide the document 
between volumes, just like it already divides it between pages, etc.?


I wouldn't mind to divide things once, but some things -- like TOCs and 
styles, should apply to the entire work once...


TOCS and document classes are done globally with the master document so 
that should just work.


Abdel.



Re: bibliography numbering and list of figures (containing references)

2008-11-21 Thread Sophie Vandenbussche


Sophie Vandenbussche a écrit :

Hello again,

I have a second question...

For my bibliography, I use the following options: 
\usepackage[square,sortcompress]{natbib}
I obtain exactly what I look for, but I have one little problem (maybe 
not linked to this choice...):


When I insert a list of figures at the beginning of my document, the 
numbering of the references starts in the legends of the figure... I 
would like that this numbering starts in the text, and that in the 
legends of the figures, the numbers for the references are the ones 
that they would have at the place where the figure is inserted. I 
don't know if this explanation is understandable...


Could you help me? Thanks :D

Sophie


Mmmm... I auto-reply to myself... Actually this does not allways 
happen:!!! Sometimes it is like I want it and sometimes not... and I 
don't understand what I do for obtaining the two situations... Anyway, 
as long as sometimes I obtain what I want (with the hope that on the 
last day I will not only obtain what I don't want :D)


Re: bibliography numbering and list of figures (containing references)

2008-11-21 Thread Richard Heck

Sophie Vandenbussche wrote:


Sophie Vandenbussche a écrit :

Hello again,

I have a second question...

For my bibliography, I use the following options: 
\usepackage[square,sortcompress]{natbib}
I obtain exactly what I look for, but I have one little problem 
(maybe not linked to this choice...):


When I insert a list of figures at the beginning of my document, the 
numbering of the references starts in the legends of the figure... I 
would like that this numbering starts in the text, and that in the 
legends of the figures, the numbers for the references are the ones 
that they would have at the place where the figure is inserted. I 
don't know if this explanation is understandable...


Could you help me?


Mmmm... I auto-reply to myself... Actually this does not allways 
happen:!!! Sometimes it is like I want it and sometimes not... and I 
don't understand what I do for obtaining the two situations... Anyway, 
as long as sometimes I obtain what I want (with the hope that on the 
last day I will not only obtain what I don't want :D)


I think this probably has to do with how many LaTeX runs you've done. 
Hard to be sure.


Anyway, I think all you need to do is to use the misnamed InsertShort 
Title at the beginning of your caption. Then enter the same thing, but 
without the reference. Or you can enter something different. What you 
enter is what will appear in the TOC.


rh



Re: converting lyx to pdf for an ebook

2008-11-21 Thread Steve Litt
On Thursday 20 November 2008 09:58:16 pm mark anderson wrote:
 Hello all,

 I am preparing to write an ebook.  Have any of you used Lyx to do this? 

Yes.

 How easy is it to convert the file to pdf?  

Depending on what you want, between trivial and moderately easy.

 Can Lyx edit pdf files? 

No.


 Would you recommend Lyx for this task or would you suggest some other
 software?  I'm thinking about using nitropdf.

2 different questions. I'd definitely recommend LyX for creating books. LyX 
can also be used to create a PDF. nitroPDF can then edit the PDF, although I 
use pdfTk for that.

I'm assuming the reason you want to edit the PDF after it's created is to 
personalize and/or watermark your eBook. Personalization is pure LyX -- just 
have a token that gets put in the footer, have a script that replaces that 
token with the reader's name, so that the footer on the bottom reads:

Prepared exclusively for John Customer

As far as watermarking with a detectable sequence of bytes, I think you'll 
need something like pdfTk or nitroPDF for that. Also, if you're going to DRM 
the eBook (in which case your customers will hate you), you'll need something 
like pdfTk or nitroPDF to do that.

HTH

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Landscape

2008-11-21 Thread Kavetsos, Georgios
Dear all,

I am desperately trying to figure out why Lyx is adding a blank page when the 
package
\usepackage{lscape}
is used. Is anyone aware of:
1) an alternative for generating a single landscape page?
2) or, a command that deletes the blank page?

Many thanks
George


Re: LyX and Docbook/XML

2008-11-21 Thread Ethan Metsger

Hi, all.

I promise I'll be quiet after this post--I don't mean to pester (or imply  
by any stretch that I'm unhappy with LyX in general!).  But can anyone  
comment on this?


For what it's worth, I really do like LyX, and I'm not trying to troll or  
put on anyone.  I'm just curious about the capabilities and hoping not a  
little to spur its adoption among my general work populace.


Thanks again,

Ethan

On Wed, 19 Nov 2008 11:43:43 -0500, Ethan Metsger [EMAIL PROTECTED]  
wrote:




Hi, all.

I figured I'd send a quick query to the list about using LyX with  
Docbook/XML.  I know there's been a little bit of traffic on this in the  
past, but I haven't seen anything recently, and my searches online  
haven't turned up much else, either.


We're in the process of evaluating some tools for transitioning our  
documentation away from Frame, and my bid to use LaTeX with LyX as a  
front-end and pdflatex/plastex as the backend didn't really gain much  
traction.


My boss prefers to use Docbook--a number of our customers use it, and  
it's an accepted standard in our industry.  There are some commercial  
products for Docbook editing that we're investigating, but I remembered  
that LyX provides some support for it also.



I was able to make some HTML and PDFs out of the basic document I  
created when using SGML tools, but I wasn't able to get similar results  
from the exported XML.  Some online reading leads me to believe that  
this is a somewhat more difficult task than I'm really willing to  
undertake, but I thought I would ask here.  Is there a good workflow for  
using Docbook/XML with LyX, or are we still kind of waiting on it?


Thanks much,

Ethan
([EMAIL PROTECTED])


un-numbered sections in the TOC?

2008-11-21 Thread Sophie Vandenbussche

One more question (I did not fin in the wiki...)

Is it possible to insert a section without numbering, and asking that it 
is put in the table of contents? In my case, I would like to add an 
annex at the end of my thesis, which is obviously not a part itself, 
and I would like it to be in the TOC, with no number...


Sophie


Re: Key bindings

2008-11-21 Thread Peleg Michaeli
Oh, sorry!

Only now I understood what you've said.

I did this:
a. copied the file unicodesymbols
from /usr/share/lyx1.5.1/unicodesymbols
to /home/peleg/.lyx1.5.1/unicodesymbols
b. opened the copy with vim. there was no 0x03c8 string there at all,
so instead of modifying the file, I have added this line: 
0x03c8 \\textgreek{y}   textgreek  mathalpha \\psi #
GREEK SMALL LETTER PSI
c. I have restarted LyX. Nothing has changed: I am clicking ψ on my
keyboard and getting the usual non-mathematical ψ.
d. I have tried to add the line to the original file in /usr/share/...
instead of in my home folder. restarted LyX. Still the same.
e. I have read this correspondance:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg129516.html
(well, not all of it...) - still couldn't understand.


Any ideas?

Thanks ahead,
Peleg.

On Fri, 2008-11-21 at 12:45 +, Peleg Michaeli wrote:
 Sorry... I am forwarding it to the list.
 
 On Fri, 2008-11-21 at 12:41 +, Peleg Michaeli wrote:
  On Fri, 2008-11-21 at 08:21 +, Guenter Milde wrote:
   However, you could adapt the unicodesymbols file (place a copy in
   ~/.lyx/unicodesymbols) and change
   
   - 0x03c8 \\textgreek{y}   textgreek  # GREEK SMALL
   LETTER PSI
   + 0x03c8 \\textgreek{y}   textgreek  mathalpha \\psi
   # GREEK SMALL LETTER PSI
   
   and you should be able to use an unicode ψ in math (untested). 
  
  Thanks for your reply!
  
  However, I have tried to put, as you recommended, this text:
  - 0x03c8 \\textgreek{y}   textgreek  # GREEK SMALL LETTER
  PSI
  + 0x03c8 \\textgreek{y}   textgreek  mathalpha \\psi #
  GREEK SMALL LETTER PSI
  
  In the file ~/.lyx1.5.1/unicodesymbols (this is my relevant folder), and
  I have restarted LyX - but nothing has changed. When I type ψ, either in
  math mode or not, I get ψ and not \\psi.
  
  What else can I try?




Re: LyX and Docbook/XML

2008-11-21 Thread Steve Litt
Back in 2001, switching away from writing books in MS Word (yeah, laugh all 
you want), I considered both LyX and DocBook. At the time, the only free 
software front end I could find for DocBook was Emacs, and my wrists just 
aren't that flexible.

LyX benefits:
* VERY fast writing environment. 3000 words per day no problem if you think 
that fast.
* WYSIWYG enough that you don't need to switch between input view and output 
view.
* Very nice presentation on paper with little effort.
* Easy to tweak with an editor if the LyX front end doesn't cut it for a task.
* Lots of LaTeX packages to do specialized stuff.

LyX disadvantages:
* Creating or modifying styles is excruciatingly difficult and requires 
LaTeX/TeX knowledge.

HTH

SteveT

On Friday 21 November 2008 11:18:35 am Ethan Metsger wrote:
 Hi, all.

 I promise I'll be quiet after this post--I don't mean to pester (or imply
 by any stretch that I'm unhappy with LyX in general!).  But can anyone
 comment on this?

 For what it's worth, I really do like LyX, and I'm not trying to troll or
 put on anyone.  I'm just curious about the capabilities and hoping not a
 little to spur its adoption among my general work populace.

 Thanks again,

 Ethan

 On Wed, 19 Nov 2008 11:43:43 -0500, Ethan Metsger [EMAIL PROTECTED]

 wrote:
  Hi, all.
 
  I figured I'd send a quick query to the list about using LyX with
  Docbook/XML.  I know there's been a little bit of traffic on this in the
  past, but I haven't seen anything recently, and my searches online
  haven't turned up much else, either.
 
  We're in the process of evaluating some tools for transitioning our
  documentation away from Frame, and my bid to use LaTeX with LyX as a
  front-end and pdflatex/plastex as the backend didn't really gain much
  traction.
 
  My boss prefers to use Docbook--a number of our customers use it, and
  it's an accepted standard in our industry.  There are some commercial
  products for Docbook editing that we're investigating, but I remembered
  that LyX provides some support for it also.
 
 
  I was able to make some HTML and PDFs out of the basic document I
  created when using SGML tools, but I wasn't able to get similar results
  from the exported XML.  Some online reading leads me to believe that
  this is a somewhat more difficult task than I'm really willing to
  undertake, but I thought I would ask here.  Is there a good workflow for
  using Docbook/XML with LyX, or are we still kind of waiting on it?
 
  Thanks much,
 
  Ethan
  ([EMAIL PROTECTED])




Re: A multi-volume document?

2008-11-21 Thread Micha
On Fri, 21 Nov 2008 09:56:03 -0500
Mikhail Teterin [EMAIL PROTECTED] wrote:

 rgheck wrote:
 = If you're working with a huge document, you're better breaking it up 
 = into sub-documents anyway, as LyX will be much more responsive.
 
 I have a beefy machine and don't (yet?) notice poor responsiveness...
 
 = And no, I don't think there's any easy way to print a single document as
 = various documents.
 
 Wouldn't this be a nice feature -- to have the software divide the document 
 between volumes, just like it already divides it between pages, etc.?
 
 I wouldn't mind to divide things once, but some things -- like TOCs and 
 styles, should apply to the entire work once...
 

I'm guessing that you can export the document to one pdf and then split the
pdf. I believe that pdfnup and be abused to do this ...

   -mi
 
 


Re: LyX and Docbook/XML

2008-11-21 Thread Richard Heck

Ethan Metsger wrote:

Hi, all.

I promise I'll be quiet after this post--I don't mean to pester (or 
imply by any stretch that I'm unhappy with LyX in general!).  But can 
anyone comment on this?


For what it's worth, I really do like LyX, and I'm not trying to troll 
or put on anyone.  I'm just curious about the capabilities and hoping 
not a little to spur its adoption among my general work populace.


DocBook support is a bit of a black art around here. There are people 
who know about it, but not many. Hence the silence. But I'm ccing on the 
people who do know.


rh



Re: LyX and Docbook/XML

2008-11-21 Thread Ethan Metsger
On Fri, 21 Nov 2008 11:30:47 -0500, Steve Litt [EMAIL PROTECTED]  
wrote:



I considered both LyX and DocBook. At the time, the only free
software front end I could find for DocBook was Emacs, and my wrists just
aren't that flexible.


Hi, Steve.

Thanks for your comments.  My issue at this point isn't converting to  
LyX--I already know I *want* to use it.  The issue is that management  
prefers to avoid LaTeX and instead opt for our local industry standard,  
which is DocBook.  We're also involved in the XML databinding business, so  
spending some extra time with XML-related technologies is more comfortable  
in general.


LyX works well with DocBook/SGML (save for a few problems I've had with  
images).  DocBook, however, is transitioning away from SGML to XML, and  
LyX doesn't support the XML format as well as I need.  My attempts to  
transform the XML export into HTML failed, and I think this is because the  
XML export from LyX is not compatible.


If LyX isn't DocBook/XML-ready, that's fine--I'll continue using it for my  
one-off docs that I write for our customers.  But if it can be fairly  
easily used to produce DocBook/XML, I'll press a bit harder for its  
adoption through the rest of the office.



Thanks again for your thoughts,

Ethan
([EMAIL PROTECTED])


Alignment of Numbers

2008-11-21 Thread Kavetsos, Georgios
Dear all,

This might seem an easy question, but I am new to Lyx and LaTeX in general.
I have a table and want the numbers to be aligned at the full-stop. Having a 
minus sign in front of the number distorts the alignment.
eg:

0.043
-0.274
1.429

Any suggestions?
Many thanks
George


Way behind on upgrading (Alt Installer), need some clarification

2008-11-21 Thread Dave Hewitt
I stuck with LyX version 1.5.5 for a while now because of a big project I had
going (call it superstition). I'm ready to upgrade, but I think I'll stick with
1.5.7 for a bit longer (ditto). I'm on Win XP and have a working install of
MikTeX 2.7 (just updated). I have used Uwe's AltInstaller for all installations
and updates until this point. I am looking to get an upgrade of ImageMagick,
Ghostscript, Aspell, and GSView, but would prefer to leave MikTeX alone. I just
read through the AltInstaller documentation and Wiki stuff again, but wanted to
be sure --

If I run the Update Installer variant to 1.5.6 and then run the Complete
Installer variant for 1.5.7, will that do what I want?



Re: A multi-volume document?

2008-11-21 Thread Les Denham
On Thursday 20 November 2008, Mikhail Teterin wrote:
 Hello!

 I'm working with a document, thats too big for a single-volume book.

 Is there a way I can work with it as one document, but tell LyX to produce
 several PDF files for printing?

 Or do I have to split the document into several myself? Thanks!

   -mi

If you don't mind continuous page numbering for the two volumes, I'd suggest 
creating it as one document (with child documents as convenient -- I usually 
use one for each chapter) using a document class which uses Parts (such as 
the various book classes), and put each volume into a Part. Then generate a 
PDF file for the whole book and use PDFTK to split it into the two volumes.  
You could use this tool to add a copy of the TOC to the second volume if 
desired.

If you want separate page numbering for each volume, it's a bit more 
complicated. You would need to reset the page number at the beginning of Part 
2, but I think this would give problems with cross references, the table of 
contents and the index.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: un-numbered sections in the TOC?

2008-11-21 Thread Manveru
2008/11/21 Sophie Vandenbussche [EMAIL PROTECTED]:

 Manveru a écrit :

 2008/11/21 Sophie Vandenbussche [EMAIL PROTECTED]:


 One more question (I did not fin in the wiki...)

 Is it possible to insert a section without numbering, and asking that it is
 put in the table of contents? In my case, I would like to add an annex at
 the end of my thesis, which is obviously not a part itself, and I would
 like it to be in the TOC, with no number...


 Section or chapter with a star * if your class has it.


 Yes, I know that, but then it does not appear in the TOC ;)

Strange, I class I use they appear unnumbered. Maybe it is
configurable option? Are you using koma-script?

-- 
Manveru
jabber: [EMAIL PROTECTED]
 gg: 1624001
   http://www.manveru.pl


Re: Alignment of Numbers

2008-11-21 Thread Paul A. Rubin

Kavetsos, Georgios wrote:

Dear all,

This might seem an easy question, but I am new to Lyx and LaTeX in general.
I have a table and want the numbers to be aligned at the full-stop. Having a 
minus sign in front of the number distorts the alignment.
eg:

0.043
-0.274
1.429

Any suggestions?
Many thanks
George



This is covered in part in section 2.12.2 of the Embedded Objects help 
file.  Assuming you just have numbers and nothing else in that column, 
the easiest approach IMHO is to use the dcolumn package.  Add


\usepackage{dcolumn}

to the preamble (and make sure you have the dcolumn LaTeX package 
installed).  In the table, right-click anywhere in the column of 
numbers, click Settings, and put D{.}{.}{3} in the LaTeX argument entry 
of the Table Settings tab.  (This is in LyX 1.6.0; it works in earlier 
versions, but right clicking in the column takes you directly to the 
Table Settings tab.)


/Paul



Re: Alignment of Numbers

2008-11-21 Thread Andre Poenitz
On Fri, Nov 21, 2008 at 04:55:25PM -, Kavetsos, Georgios wrote:
 Dear all,
 
 This might seem an easy question, but I am new to Lyx and LaTeX in general.
 I have a table and want the numbers to be aligned at the full-stop. Having a 
 minus sign in front of the number distorts the alignment.
 eg:
 
 0.043
 -0.274
 1.429
 
 Any suggestions?

The good old LaTeX way is to use two column separated by a literal dot:

[EMAIL PROTECTED] 
12\\
34343234
\end{tabular}

To make this work in LyX, use   [EMAIL PROTECTED]   as LaTeX argument in the
table settings dialog create on right-click _on the first_ column
of the table.

Andre'

PS: Did I ever mention the table dialog is a mess UI-wise?


middle button pasting

2008-11-21 Thread camus . philippe
Hello.
I'm using lyx 1.6.0 under Debian Sid.
I've some problem with pasting with the mouse (I mean, the middle click to paste
the selection).
Within ERT, there seems to be something strange with the lang wich leads to
some extra brace in the tex file and to some errors or unexpected result.
Here's an example :
The first line is the original one,
the second, a pasted one, without modification, and the third one, pasted with
mouse and with modifications. The extra braces came from nowhere !

\psline[linewidth=0.8pt,linecolor=gray,linestyle=dotted]{-}(6.0625,6.0625)(6.0625,8.59375)
\psline[linewidth=0.8pt,linecolor=gray,linestyle=dotted]{-}(6.0625,6.0625)(6.0625,8.59375)
\psline[linewidth=0.8pt,linecolor=gray,linestyle=d{ash}ed]{-}({7}.0625,{7}.0625)({8}.0625,{9}.59375)

There's not such problem with the normal copy-paste.

Phil


Article rendering problem

2008-11-21 Thread Amir Rachum
I've recently upgraded to LyX 1.6 and using Windows XP.
I use the document class article (Hebrew). I use the proof environment, but
in the new version, after I render to pdf, the proof doesn't start at a new
line.
i.e in LyX I see:

bla bla bla
proof: bla bla 2

and after I render I see:

bla bla bla proof bla bla 2


This happens with documents I edited with the previous version of LyX and
they render fine with 1.5.
What can I do?

Another question - I use LyX mostly for summarizing lecture notes and I
would like to have 2 option:
1) to create a list of theorems/claims
2) to create an exercise/solution and an example environments.

Is that possible to do?



Thanks for your help

-- 
Amir Rachum


Re: un-numbered sections in the TOC?

2008-11-21 Thread Jean-Marc Lasgouttes
Is it possible to insert a section without numbering, and asking  
that it is put in the table of contents? In my case, I would like  
to add an annex at the end of my thesis, which is obviously not a  
part itself, and I would like it to be in the TOC, with no number...


Look up \frontmatter, \mainmatter and \backmatter. They take care of  
many of these problems (and do specific

numbering, too).

JMarc


Re: Key bindings

2008-11-21 Thread Guenter Milde
Peleg Michaeli [EMAIL PROTECTED] schrieb:
 Oh, sorry!

 Only now I understood what you've said.

 I did this:
 a. copied the file unicodesymbols
 from /usr/share/lyx1.5.1/unicodesymbols
 to /home/peleg/.lyx1.5.1/unicodesymbols

Oh, I forgot that you are still using lyx 1.5. 
My example works only with 1.6.

 c. I have restarted LyX. Nothing has changed: I am clicking ψ on my
 keyboard and getting the usual non-mathematical ψ.

So you really have a Psi-key?

In 1.6, you will get a  text-psi in text and (with the above fix) a
kursive math \psi in the LaTeX output.

Günter



Re: middle button pasting

2008-11-21 Thread Jean-Marc Lasgouttes

Le 21 nov. 08 à 21:48, [EMAIL PROTECTED] a écrit :
Within ERT, there seems to be something strange with the lang  
wich leads to
some extra brace in the tex file and to some errors or unexpected  
result.

Here's an example :
The first line is the original one,
the second, a pasted one, without modification, and the third one,  
pasted with

mouse and with modifications. The extra braces came from nowhere !

\psline[linewidth=0.8pt,linecolor=gray,linestyle=dotted]{-} 
(6.0625,6.0625)(6.0625,8.59375)
\psline[linewidth=0.8pt,linecolor=gray,linestyle=dotted]{-} 
(6.0625,6.0625)(6.0625,8.59375)
\psline[linewidth=0.8pt,linecolor=gray,linestyle=d{ash}ed]{-}({7}. 
0625,{7}.0625)({8}.0625,{9}.59375)


Could you give a simple recipe. This is very weird.

JMarc

  1   2   >