Re: multicol package

2009-07-14 Thread Wolfgang Engelmann
Am Monday 13 July 2009 21:09:51 schrieb Shirley:
what about using twocolumn in documentsettings (e.g. in Koma book) and for 
the onecolumn text below the headings 
\onecolumn
text
\twocolumn
?
Wolfgang

 I am trying to set up a book (8x10 - about 400 pages) with mostly 2
 columns. I want the chapter titles and section headings to go across the
 page with the body text in 2 columsn.

 I have set it up as follows:

 Chapter Title
 \begin{multicols}{2}

 (body text)

 \end{multicols}

 or

 Section Heading
 \begin{multicols}{2}

 (body text)
 \end{multicols}

 It seems to work OK until I'm about half way through the book, then when I
 try to view using DVI or PDF, I get an error message Dimension too large.

 Is there a limit as to how many times you can changee from one to two
 columns? Is there a limit to how many words this setup can handle? Any help
 would be appreciated.



-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


Biblatex package and multiple biliographies

2009-07-14 Thread monicreque

Hi all:

I'm writing a text about some artists I've been working on. The structure is
like a catalog, a lot of chapters, each one with a text about an artist. I
want one bibliography at the end of each chapter with all the references
contained in an archive .bib.

The problem is that I'm using the package Biblatex with the bibliography
stile verbose-trad2 —commonly used for works in humanities—, because I need
to use Ibid. or Op. cit. when I repeat a citation. I've seen a lot of
packages that allows the multiple bibliographies, like bibtopics, bibunits,
multibib or siplitbib, and all of them appears in the 
http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex.html CTAN
web of Biblatex . But when I try to use one of these packages in my LyX text
it gives an error:

Package biblatex Error: Incompatible package 'bibunits'.

\begin{document} 
The 'bibunits' package and biblatex are incompatible.
See the biblatex manual for details.

Strange thing… And in the 
http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex/doc/biblatex.pdf
manual of biblatex , it says:


1.6.4 Incompatible packages 
The packages listed in this section are not compatible with biblatex.

[…] bibtopic The bibtopic package[…]
[…] bibunits The bibunits package[…]
[…] chapterbib The chapterbib package[…]
[…] multibib The multibib package[…]


The question is: are that packages compatible or not? Am I doing something
wrong? Someone use the biblatex package and knows how to make multiple
bibliographies?

best regards

Antonio
-- 
View this message in context: 
http://n2.nabble.com/Biblatex-package-and-multiple-biliographies-tp3254544p3254544.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Biblatex package and multiple biliographies

2009-07-14 Thread Jürgen Spitzmüller
monicreque wrote:
 The question is: are that packages compatible or not? Am I doing something
 wrong? Someone use the biblatex package and knows how to make multiple
 bibliographies?

Biblatex provides native support for multiple bibliographies.
Read section 3.10.3 and 3.10.4 of the biblatex manual (as Charles already told 
you).

Jürgen


What does lyx munge about the file format to the convertors?

2009-07-14 Thread Sam Liddicott
(I'm using Lyx 1.6.2)
A lyx file of mine has this text (when I look inside the raw lyx file)
*
--8---**--8---**--8---**--8---**--8---*
*\begin_layout Section
The ntvfs model
\end_layout

\begin_layout Standard
Many vfs modules may be defined, as types of share backends.

\end_layout

\begin_layout Standard
Each vfs module could be considered to subclass an abstract [[struct
ntvfs_modul
e_context]], and each vfs module should define a struct to define
per-connection
 instance data.
\end_layout*
*--8---**--8---**--8---**--8---**--8---*

Apart from the puzzlement of why Lyx breaks the line in the middle of a
word, it all looks fine.

But this is NOT what is fed to the first stage of the Noweb-Lyx noweave
convertor.

If I prefix my convertor with:
cat $$i | tee /tmp/pre
and look inside /tmp/pre, I see this instead:


*--8---**--8---**--8---**--8---**--8---
**\section{The ntvfs model}

Many vfs modules may be defined, as types of share backends.

Each vfs module could be considered to subclass an abstract {[}{[}struct
ntvfs\_module\_context{]}{]}, and each vfs module should define a struct
to define per-connection instance data.
**--8---**--8---**--8---**--8---**--8---*



Whats going on? Apart from the annoying and bogus quoting of the [ ] and
_ which I'm trying to fix-up, it means that noweave when run from Lyx
will give different answers to noweave when run from the command line -
say a Makefile which tries to generate the pdf.

Sam


Re: What does lyx munge about the file format to the convertors?

2009-07-14 Thread Sam Liddicott
I worked it out, it does a tex export first.

Sam


Devanagari...

2009-07-14 Thread Frederick Noronha [फ़रेदरिक नोरो नया]
Sorry for raising such an elementary question... how do I typeset a page in
Devanagari for Lyx? Thanks in advance. FN
-- 
FN * http://fredericknoronha.wordpress.com http://twitter.com/fn
M +91-9822122436 P +91-832-2409490
http://fredericknoronha.multiply.com/ http://goa1556.goa-india.org
Ever wonder what the speed of lightning would be if it didn't zigzag? -
George Carlin


Re: Label and againframe [Beamer]

2009-07-14 Thread Paul A. Rubin

Christian Bustamante wrote:

Any idea?
In plain code, you create the title slide with
\begin{frame}[label=firstframe]
\titlepage
\end{frame}
But in LyX, this process is automatic... Help please


Your LyX document should end with an EndFrame environment.  Put the 
cursor after that, hit Enter to start a standard environment, and put 
\maketitle in ERT.  That should do it.


/Paul



Re: What does lyx munge about the file format to the convertors?

2009-07-14 Thread Sam Liddicott
* Sam Liddicott wrote, On 14/07/09 15:14:
 I worked it out, it does a tex export first.
 
 Sam

And I'll bet the only reason I had trouble with notangle is because I
was running on the Lyx document and not on the tex document.

mumble mumble gnash gnash grr grr

Sam


Autoadding \maketitle destroys layout of my article

2009-07-14 Thread nuke

At the present I am writing a journal article to be submitted to a journal of
Elsevier publishing company. I am supposed to use a special class
(elsarticle.cls) based on article.cls. However, my document does't look good
after LyX compilation to dvi/ps/pdf. I have found that LyX adds two lines
which ruin the layout:
...
\maketitle
...
\addcontentsline{toc}{section}{\refname}
...

As a result I have two title pages, wrong authors names footnoting, no
bibliography...  So in order to get a correct document I have to export to
latex, correct the text and compile it using another latex editor.  

Does anyone know how to set LyX to do not put these lines? Or any other way
how to solve the problem?
Thanks
-- 
View this message in context: 
http://n2.nabble.com/Autoadding-%5Cmaketitle-destroys-layout-of-my-article-tp3257199p3257199.html
Sent from the LyX - Users mailing list archive at Nabble.com.


How to run a shell script before a compilation to pdf?

2009-07-14 Thread nuke

The problem: I regularly export my references from Zotero to a BibTeX file.
Unfortunately, so far I cannot control in Zotero which bibliography fields
must be skip (like URL, notes etc). These unnecessary fields go to my
references list and spoil it. Some time ago, I was using WinEdt where it was
possible to run a shell script which removed the trash from my bib-files.

Is it possible with LyX? Is there a way how to automatically execute my
script before compiling to pdf etc.? I really want it to be done by pressing
one LyX button.

PS.
In the thread http://n2.nabble.com/Run-script-from-LyX--tp479512p479512.html
Paul suggested to make own converter. I wonder will it be executed before
bib-files accessed or after?

Thanks
-- 
View this message in context: 
http://n2.nabble.com/How-to-run-a-shell-script-before-a-compilation-to-pdf--tp3257262p3257262.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How to run a shell script before a compilation to pdf?

2009-07-14 Thread nuke

... i.e. I need execution of a script before DVI been compiled!


nuke wrote:
 
 PS.
 In the thread
 http://n2.nabble.com/Run-script-from-LyX--tp479512p479512.html
 Paul suggested to make own converter. I wonder will it be executed before
 bib-files accessed or after?
 
-- 
View this message in context: 
http://n2.nabble.com/How-to-run-a-shell-script-before-a-compilation-to-pdf--tp3257262p3257301.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How to run a shell script before a compilation to pdf?

2009-07-14 Thread Steve Litt
On Tuesday 14 July 2009 10:57:14 am nuke wrote:
 The problem: I regularly export my references from Zotero to a BibTeX file.
 Unfortunately, so far I cannot control in Zotero which bibliography fields
 must be skip (like URL, notes etc). These unnecessary fields go to my
 references list and spoil it. Some time ago, I was using WinEdt where it
 was possible to run a shell script which removed the trash from my
 bib-files.

 Is it possible with LyX? Is there a way how to automatically execute my
 script before compiling to pdf etc.? I really want it to be done by
 pressing one LyX button.

The answer is yes, it's possible -- you just have to use a shellscript for the 
LyX to PDF converter. But before you do that, listen to what I do...

I build the exact shellscript I need to do the compile and any other work I 
may need. For instance, because I do so much work with layout files, I often 
need configure.py run before the LyX to LaTeX conversion.

You should see my eBook generation shellscript! I personalize every book sold 
so the person's name is in it. It's a way of discouraging unauthorized 
copying without using DRM, which I refuse to do. So my shellscript makes a 
copy of the LyX file, uses sed to install the customer's name into a LyX 
variable, does some other (secret) mumbo jumbo, and then converts to LaTeX 
and then postscript and then PDF. The script then shows me the finished eBook 
so I can check the personalization.

I installed my personalization scripts (one for each eBook) into my UMENU 
system, so it all gets done with a couple keystrokes.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Portable tex export

2009-07-14 Thread Sam Liddicott
Is there a portable way to get Lyx to export the latex document in batch
mode, independent of what converters the user happens to have defined?

Such as might be used by a makefile running in an known environment?

(I'm not too pleased about having lyx as a build dependency, but it can
be used in the make dist target).

Sam


Re: Portable tex export

2009-07-14 Thread Jean-Marc Lasgouttes

Le 14 juil. 09 à 17:30, Sam Liddicott a écrit :
Is there a portable way to get Lyx to export the latex document in  
batch

mode, independent of what converters the user happens to have defined?

Such as might be used by a makefile running in an known environment?


If you pass the argument -userdir /tmp/lyxuser, it will create a  
directory there
(if it does not already exist) and work with it. You can remove it  
after use.


JMarc

LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-14 Thread Steve Litt
Hi all,

It's time for me to put the front matter in my new book. This work is time 
consuming and frustrating, second only to indexing, which I equate with 
working in a sceptic tank.

I have to put my cover art on the front, with a list of my other books 
following, followed by the title page, followed of course by the copyright 
pages, followed by dedications, acknowledgements, a few words from the 
author, and a table of contents. What a pain in the butt. Nothing works 
without extensive tweaking!

:-) And with all that, LyX is still by far the best alternative. You can use 
it to produce a professionally typeset book, and except for frontmatter, 
style creation and indexing, it's a snap. LyX is also very respectful of a 
touch typists time, and I REALLY appreciate that.

So, as I'm cursing the fact that my cover art doesn't show up at all, let me 
take time to thank all of you for creating LyX and forming a community to 
continually improve it. LyX is nothing less than a major component of my 
business. Keep up the good work, in spite of my cursing that stupid cover 
art :-)

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-14 Thread Rich Shepard

On Tue, 14 Jul 2009, Steve Litt wrote:


... second only to indexing, which I equate with working in a sceptic
tank.


Steve,

  Perhaps that's a reflection of the book's contents? When I was told that
Springer would not hire a professional indexer and I had to do it myself, I
made it my business to quickly learn how and to do the best darn job of it
that could possibly be done. As far as I'm concerned, a technical book is
worthless without an outstanding index. After I went through the text
several times marking index entries, I then did it again very slowly asking
myself what other word or phrase someone could possibly use that would never
occur to me (the author and subject matter expert). _That_ took a long time
and a lot of effort, but I considered it crucial to the success of the book.

  I think of index creation as a major part of what I own the purchaser and
reader. If I want the reader to think well of my and my published effort
then I need to make the information accessible for everyone. So, if I was
writing a book about using a desktop computer I'd probably have two entries
for the optical media drive: cdrom/dvd drive and cup holder.

  There's a very useful book on SQLite that has the worst index I've ever
seen in a technical reference. I ended up buying the PDF version of the book
because I can search that within xpdf for information that's not in the
index. The author did not write the index so he's not to blame.


I have to put my cover art on the front, with a list of my other books
following, followed by the title page, followed of course by the copyright
pages, followed by dedications, acknowledgements, a few words from the
author, and a table of contents. What a pain in the butt. Nothing works
without extensive tweaking!


  I think that's because you like to tweak. I had absolutely no problems
with the dedication, acknowledgements, ToC, ToF, ToT, or preface. Springer
did the cover, title page, half-title page, publication/copyright page and a
few others. I started the frontmatter with page number 'iv' and it all
worked just fine.

  If I self-published I'd use Scribus to prepare the cover, title/half-title
pages, and publication/copywrite page. I'd save those as separate .pdf
files, then assemble the entire book using pdftk. Horses for courses as the
British say.


:-) And with all that, LyX is still by far the best alternative. You can use
it to produce a professionally typeset book, and except for frontmatter,
style creation and indexing, it's a snap. LyX is also very respectful of a
touch typists time, and I REALLY appreciate that.


  If you want to see how easy it is to do customized chapter headings,
headers, footers, etc. look at Herbert Voss's books on PSTricks and
Mathematical typesetting with LaTeX. Using the KOMA-Script book class (works
better for me than does the Memoir class), you can quickly and easily set up
the appearance you want.


... in spite of my cursing that stupid cover art :-)


  Artist or his tool? Either can be selected to do what's needed.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-14 Thread Dotan Cohen
  Perhaps that's a reflection of the book's contents? When I was told that
 Springer would not hire a professional indexer and I had to do it myself, I
 made it my business to quickly learn how and to do the best darn job of it
 that could possibly be done. As far as I'm concerned, a technical book is
 worthless without an outstanding index. After I went through the text
 several times marking index entries, I then did it again very slowly asking
 myself what other word or phrase someone could possibly use that would never
 occur to me (the author and subject matter expert). _That_ took a long time
 and a lot of effort, but I considered it crucial to the success of the book.

  I think of index creation as a major part of what I own the purchaser and
 reader. If I want the reader to think well of my and my published effort
 then I need to make the information accessible for everyone. So, if I was
 writing a book about using a desktop computer I'd probably have two entries
 for the optical media drive: cdrom/dvd drive and cup holder.

  There's a very useful book on SQLite that has the worst index I've ever
 seen in a technical reference. I ended up buying the PDF version of the book
 because I can search that within xpdf for information that's not in the
 index. The author did not write the index so he's not to blame.


Please excuse my completely OT post, but that was very insightful. I
love to read, especially coursework (yes, I am a nerd) and I never
realized how much effort must go into the index. I simply never
thought about that. Thank you for the insight into that technical bit
that I've appreciated and cursed at times over the years, without ever
really understanding the effort behind it until now.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il


\thispagestyle{empty}

2009-07-14 Thread Frederick Noronha [फ़रेदरिक नोरो नया]
Please could someone tell me how I insert
\thispagestyle{empty}
at the start of a new 'part' for a book?

Can't seem to manage, though it works fine on a new-chapter page. FN
-- 
FN * http://fredericknoronha.wordpress.com http://twitter.com/fn
http://fredericknoronha.multiply.com/ http://goa1556.goa-india.org


Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-14 Thread Steve Litt
On Tuesday 14 July 2009 01:26:24 pm Rich Shepard wrote:
 On Tue, 14 Jul 2009, Steve Litt wrote:
  ... second only to indexing, which I equate with working in a sceptic
  tank.

 Steve,

Perhaps that's a reflection of the book's contents? When I was told that
 Springer would not hire a professional indexer and I had to do it myself, I
 made it my business to quickly learn how and to do the best darn job of it
 that could possibly be done. As far as I'm concerned, a technical book is
 worthless without an outstanding index. After I went through the text
 several times marking index entries, I then did it again very slowly asking
 myself what other word or phrase someone could possibly use that would
 never occur to me (the author and subject matter expert). _That_ took a
 long time and a lot of effort, but I considered it crucial to the success
 of the book.

I think of index creation as a major part of what I own the purchaser
 and reader. 

Yes, I didn't want to imply otherwise. What I was trying to get across is that 
it's as DISTASTEFUL as working in a sceptic tank. And, as you bring up, it's 
also as NECESSARY to do well as it is necessary to fix a sceptic tank well.

StevET

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-14 Thread Rich Shepard

On Tue, 14 Jul 2009, Dotan Cohen wrote:


Please excuse my completely OT post, but that was very insightful. I love
to read, especially coursework (yes, I am a nerd) and I never realized how
much effort must go into the index. I simply never thought about that.
Thank you for the insight into that technical bit that I've appreciated
and cursed at times over the years, without ever really understanding the
effort behind it until now.


Dotan,

  We tend to take a useful index for granted. It can take an amateur like me
almost as long to prepare the index as it does to write the text. Like
conventions and trade shows that run smoothly, we don't appreciate the
effort that it took to make it so.

  And I apologize for the two typos; I did not see them and the are
legitimate words so the spelling checker didn't flag them.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: \thispagestyle{empty}

2009-07-14 Thread Rich Shepard

On Tue, 14 Jul 2009, Frederick Noronha [??? ???] wrote:


Please could someone tell me how I insert
\thispagestyle{empty}
at the start of a new 'part' for a book?


  Immediately in front of the part title, add a newline. Then insert the
LaTeX code at that line. It's always worked for me. OTOH, I thought that
most book/report classes automatically took care of the header and footer at
the beginning of a Part.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-14 Thread John Coppens
On Tue, 14 Jul 2009 13:33:44 -0400
Steve Litt sl...@troubleshooters.com wrote:

 Yes, I didn't want to imply otherwise. What I was trying to get across
 is that it's as DISTASTEFUL as working in a sceptic tank. And, as you
 bring up, it's also as NECESSARY to do well as it is necessary to fix a
 sceptic tank well.

I've never worked in a sceptic tank. I didn't know there were tanks to
contains sceptics, distasteful or not ;-)

I guess the spellchecker didn't catch the difference between sceptic and
septic...

John


singlespace title

2009-07-14 Thread Semih Özmen
Hi,

in my schools latex class, title is written in this way..

 \vbox{\begin{singlespace}\uppercase\expandafte...@title}\end{singlespace}}

however since my title is too long I tried to separate it into 3 lines and used 
\\ or ragged break for this..
The output is neither double space nor single space distances between lines are 
not equal...
I need it in single spacing as latex class specified..
any comments?

Semih



Eps pics couldn't be displayed

2009-07-14 Thread wael elmayyah
Hi,
 
I use Lyx 1.6.2 with Miktex 2.7 on Win XP. The Lyx could not disply the eps 
pics and gives the error Error converting to a loadable format whil Lyx still 
could make an output file as pdf with the pics on it!!!
The PNG or jpg pics are ok.
 
Can you help with this problem?
 
Thanks,
 
Wael


  

Re: Keyboard Shortcut Crashed

2009-07-14 Thread BH
On Tue, Jul 14, 2009 at 6:28 PM, Marcelo Reismarceb...@yahoo.com.br wrote:
 Guys, I was trying to configure the shortcut key CTRL+I to automatically
 changes my text to Italic in LYX but when I tried to do it LYX crashed and
 now seems like it ERASED all the DEFAULT shortcut list that there was
 configured.
 Now when I try to use like CTRL + B to bold, the only symbom that appears in
 the screen is a little square.
 CTRL+Z do not work anymore to UNDO, in other words..NONE of the shortcuts is
 working.

 What do I have to do to restore it to defaults???

Remove user.bind in the bind folder of your LyX user's folder.

BH


Manage numeration pages

2009-07-14 Thread Adrian Diaz
Hi friends

I am writting my thesis with lyx 1.6.3 with document class book(more font
size) Layout page fancy.
i need a roman numeration for: Tables Conts, list of figures and list of
tables as : i ii iii iv etc(ascending order)
and the others pages with arabic numeration (ascending order too) as 1 2 3 4
etc.

Could you tell me how i can do it.

  Thhanks in advance.  Adrián


Re: multicol package

2009-07-14 Thread Wolfgang Engelmann
Am Monday 13 July 2009 21:09:51 schrieb Shirley:
what about using twocolumn in documentsettings (e.g. in Koma book) and for 
the onecolumn text below the headings 
\onecolumn
text
\twocolumn
?
Wolfgang

 I am trying to set up a book (8x10 - about 400 pages) with mostly 2
 columns. I want the chapter titles and section headings to go across the
 page with the body text in 2 columsn.

 I have set it up as follows:

 Chapter Title
 \begin{multicols}{2}

 (body text)

 \end{multicols}

 or

 Section Heading
 \begin{multicols}{2}

 (body text)
 \end{multicols}

 It seems to work OK until I'm about half way through the book, then when I
 try to view using DVI or PDF, I get an error message Dimension too large.

 Is there a limit as to how many times you can changee from one to two
 columns? Is there a limit to how many words this setup can handle? Any help
 would be appreciated.



-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


Biblatex package and multiple biliographies

2009-07-14 Thread monicreque

Hi all:

I'm writing a text about some artists I've been working on. The structure is
like a catalog, a lot of chapters, each one with a text about an artist. I
want one bibliography at the end of each chapter with all the references
contained in an archive .bib.

The problem is that I'm using the package Biblatex with the bibliography
stile verbose-trad2 —commonly used for works in humanities—, because I need
to use Ibid. or Op. cit. when I repeat a citation. I've seen a lot of
packages that allows the multiple bibliographies, like bibtopics, bibunits,
multibib or siplitbib, and all of them appears in the 
http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex.html CTAN
web of Biblatex . But when I try to use one of these packages in my LyX text
it gives an error:

Package biblatex Error: Incompatible package 'bibunits'.

\begin{document} 
The 'bibunits' package and biblatex are incompatible.
See the biblatex manual for details.

Strange thing… And in the 
http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex/doc/biblatex.pdf
manual of biblatex , it says:


1.6.4 Incompatible packages 
The packages listed in this section are not compatible with biblatex.

[…] bibtopic The bibtopic package[…]
[…] bibunits The bibunits package[…]
[…] chapterbib The chapterbib package[…]
[…] multibib The multibib package[…]


The question is: are that packages compatible or not? Am I doing something
wrong? Someone use the biblatex package and knows how to make multiple
bibliographies?

best regards

Antonio
-- 
View this message in context: 
http://n2.nabble.com/Biblatex-package-and-multiple-biliographies-tp3254544p3254544.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Biblatex package and multiple biliographies

2009-07-14 Thread Jürgen Spitzmüller
monicreque wrote:
 The question is: are that packages compatible or not? Am I doing something
 wrong? Someone use the biblatex package and knows how to make multiple
 bibliographies?

Biblatex provides native support for multiple bibliographies.
Read section 3.10.3 and 3.10.4 of the biblatex manual (as Charles already told 
you).

Jürgen


What does lyx munge about the file format to the convertors?

2009-07-14 Thread Sam Liddicott
(I'm using Lyx 1.6.2)
A lyx file of mine has this text (when I look inside the raw lyx file)
*
--8---**--8---**--8---**--8---**--8---*
*\begin_layout Section
The ntvfs model
\end_layout

\begin_layout Standard
Many vfs modules may be defined, as types of share backends.

\end_layout

\begin_layout Standard
Each vfs module could be considered to subclass an abstract [[struct
ntvfs_modul
e_context]], and each vfs module should define a struct to define
per-connection
 instance data.
\end_layout*
*--8---**--8---**--8---**--8---**--8---*

Apart from the puzzlement of why Lyx breaks the line in the middle of a
word, it all looks fine.

But this is NOT what is fed to the first stage of the Noweb-Lyx noweave
convertor.

If I prefix my convertor with:
cat $$i | tee /tmp/pre
and look inside /tmp/pre, I see this instead:


*--8---**--8---**--8---**--8---**--8---
**\section{The ntvfs model}

Many vfs modules may be defined, as types of share backends.

Each vfs module could be considered to subclass an abstract {[}{[}struct
ntvfs\_module\_context{]}{]}, and each vfs module should define a struct
to define per-connection instance data.
**--8---**--8---**--8---**--8---**--8---*



Whats going on? Apart from the annoying and bogus quoting of the [ ] and
_ which I'm trying to fix-up, it means that noweave when run from Lyx
will give different answers to noweave when run from the command line -
say a Makefile which tries to generate the pdf.

Sam


Re: What does lyx munge about the file format to the convertors?

2009-07-14 Thread Sam Liddicott
I worked it out, it does a tex export first.

Sam


Devanagari...

2009-07-14 Thread Frederick Noronha [फ़रेदरिक नोरो नया]
Sorry for raising such an elementary question... how do I typeset a page in
Devanagari for Lyx? Thanks in advance. FN
-- 
FN * http://fredericknoronha.wordpress.com http://twitter.com/fn
M +91-9822122436 P +91-832-2409490
http://fredericknoronha.multiply.com/ http://goa1556.goa-india.org
Ever wonder what the speed of lightning would be if it didn't zigzag? -
George Carlin


Re: Label and againframe [Beamer]

2009-07-14 Thread Paul A. Rubin

Christian Bustamante wrote:

Any idea?
In plain code, you create the title slide with
\begin{frame}[label=firstframe]
\titlepage
\end{frame}
But in LyX, this process is automatic... Help please


Your LyX document should end with an EndFrame environment.  Put the 
cursor after that, hit Enter to start a standard environment, and put 
\maketitle in ERT.  That should do it.


/Paul



Re: What does lyx munge about the file format to the convertors?

2009-07-14 Thread Sam Liddicott
* Sam Liddicott wrote, On 14/07/09 15:14:
 I worked it out, it does a tex export first.
 
 Sam

And I'll bet the only reason I had trouble with notangle is because I
was running on the Lyx document and not on the tex document.

mumble mumble gnash gnash grr grr

Sam


Autoadding \maketitle destroys layout of my article

2009-07-14 Thread nuke

At the present I am writing a journal article to be submitted to a journal of
Elsevier publishing company. I am supposed to use a special class
(elsarticle.cls) based on article.cls. However, my document does't look good
after LyX compilation to dvi/ps/pdf. I have found that LyX adds two lines
which ruin the layout:
...
\maketitle
...
\addcontentsline{toc}{section}{\refname}
...

As a result I have two title pages, wrong authors names footnoting, no
bibliography...  So in order to get a correct document I have to export to
latex, correct the text and compile it using another latex editor.  

Does anyone know how to set LyX to do not put these lines? Or any other way
how to solve the problem?
Thanks
-- 
View this message in context: 
http://n2.nabble.com/Autoadding-%5Cmaketitle-destroys-layout-of-my-article-tp3257199p3257199.html
Sent from the LyX - Users mailing list archive at Nabble.com.


How to run a shell script before a compilation to pdf?

2009-07-14 Thread nuke

The problem: I regularly export my references from Zotero to a BibTeX file.
Unfortunately, so far I cannot control in Zotero which bibliography fields
must be skip (like URL, notes etc). These unnecessary fields go to my
references list and spoil it. Some time ago, I was using WinEdt where it was
possible to run a shell script which removed the trash from my bib-files.

Is it possible with LyX? Is there a way how to automatically execute my
script before compiling to pdf etc.? I really want it to be done by pressing
one LyX button.

PS.
In the thread http://n2.nabble.com/Run-script-from-LyX--tp479512p479512.html
Paul suggested to make own converter. I wonder will it be executed before
bib-files accessed or after?

Thanks
-- 
View this message in context: 
http://n2.nabble.com/How-to-run-a-shell-script-before-a-compilation-to-pdf--tp3257262p3257262.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How to run a shell script before a compilation to pdf?

2009-07-14 Thread nuke

... i.e. I need execution of a script before DVI been compiled!


nuke wrote:
 
 PS.
 In the thread
 http://n2.nabble.com/Run-script-from-LyX--tp479512p479512.html
 Paul suggested to make own converter. I wonder will it be executed before
 bib-files accessed or after?
 
-- 
View this message in context: 
http://n2.nabble.com/How-to-run-a-shell-script-before-a-compilation-to-pdf--tp3257262p3257301.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How to run a shell script before a compilation to pdf?

2009-07-14 Thread Steve Litt
On Tuesday 14 July 2009 10:57:14 am nuke wrote:
 The problem: I regularly export my references from Zotero to a BibTeX file.
 Unfortunately, so far I cannot control in Zotero which bibliography fields
 must be skip (like URL, notes etc). These unnecessary fields go to my
 references list and spoil it. Some time ago, I was using WinEdt where it
 was possible to run a shell script which removed the trash from my
 bib-files.

 Is it possible with LyX? Is there a way how to automatically execute my
 script before compiling to pdf etc.? I really want it to be done by
 pressing one LyX button.

The answer is yes, it's possible -- you just have to use a shellscript for the 
LyX to PDF converter. But before you do that, listen to what I do...

I build the exact shellscript I need to do the compile and any other work I 
may need. For instance, because I do so much work with layout files, I often 
need configure.py run before the LyX to LaTeX conversion.

You should see my eBook generation shellscript! I personalize every book sold 
so the person's name is in it. It's a way of discouraging unauthorized 
copying without using DRM, which I refuse to do. So my shellscript makes a 
copy of the LyX file, uses sed to install the customer's name into a LyX 
variable, does some other (secret) mumbo jumbo, and then converts to LaTeX 
and then postscript and then PDF. The script then shows me the finished eBook 
so I can check the personalization.

I installed my personalization scripts (one for each eBook) into my UMENU 
system, so it all gets done with a couple keystrokes.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Portable tex export

2009-07-14 Thread Sam Liddicott
Is there a portable way to get Lyx to export the latex document in batch
mode, independent of what converters the user happens to have defined?

Such as might be used by a makefile running in an known environment?

(I'm not too pleased about having lyx as a build dependency, but it can
be used in the make dist target).

Sam


Re: Portable tex export

2009-07-14 Thread Jean-Marc Lasgouttes

Le 14 juil. 09 à 17:30, Sam Liddicott a écrit :
Is there a portable way to get Lyx to export the latex document in  
batch

mode, independent of what converters the user happens to have defined?

Such as might be used by a makefile running in an known environment?


If you pass the argument -userdir /tmp/lyxuser, it will create a  
directory there
(if it does not already exist) and work with it. You can remove it  
after use.


JMarc

LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-14 Thread Steve Litt
Hi all,

It's time for me to put the front matter in my new book. This work is time 
consuming and frustrating, second only to indexing, which I equate with 
working in a sceptic tank.

I have to put my cover art on the front, with a list of my other books 
following, followed by the title page, followed of course by the copyright 
pages, followed by dedications, acknowledgements, a few words from the 
author, and a table of contents. What a pain in the butt. Nothing works 
without extensive tweaking!

:-) And with all that, LyX is still by far the best alternative. You can use 
it to produce a professionally typeset book, and except for frontmatter, 
style creation and indexing, it's a snap. LyX is also very respectful of a 
touch typists time, and I REALLY appreciate that.

So, as I'm cursing the fact that my cover art doesn't show up at all, let me 
take time to thank all of you for creating LyX and forming a community to 
continually improve it. LyX is nothing less than a major component of my 
business. Keep up the good work, in spite of my cursing that stupid cover 
art :-)

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-14 Thread Rich Shepard

On Tue, 14 Jul 2009, Steve Litt wrote:


... second only to indexing, which I equate with working in a sceptic
tank.


Steve,

  Perhaps that's a reflection of the book's contents? When I was told that
Springer would not hire a professional indexer and I had to do it myself, I
made it my business to quickly learn how and to do the best darn job of it
that could possibly be done. As far as I'm concerned, a technical book is
worthless without an outstanding index. After I went through the text
several times marking index entries, I then did it again very slowly asking
myself what other word or phrase someone could possibly use that would never
occur to me (the author and subject matter expert). _That_ took a long time
and a lot of effort, but I considered it crucial to the success of the book.

  I think of index creation as a major part of what I own the purchaser and
reader. If I want the reader to think well of my and my published effort
then I need to make the information accessible for everyone. So, if I was
writing a book about using a desktop computer I'd probably have two entries
for the optical media drive: cdrom/dvd drive and cup holder.

  There's a very useful book on SQLite that has the worst index I've ever
seen in a technical reference. I ended up buying the PDF version of the book
because I can search that within xpdf for information that's not in the
index. The author did not write the index so he's not to blame.


I have to put my cover art on the front, with a list of my other books
following, followed by the title page, followed of course by the copyright
pages, followed by dedications, acknowledgements, a few words from the
author, and a table of contents. What a pain in the butt. Nothing works
without extensive tweaking!


  I think that's because you like to tweak. I had absolutely no problems
with the dedication, acknowledgements, ToC, ToF, ToT, or preface. Springer
did the cover, title page, half-title page, publication/copyright page and a
few others. I started the frontmatter with page number 'iv' and it all
worked just fine.

  If I self-published I'd use Scribus to prepare the cover, title/half-title
pages, and publication/copywrite page. I'd save those as separate .pdf
files, then assemble the entire book using pdftk. Horses for courses as the
British say.


:-) And with all that, LyX is still by far the best alternative. You can use
it to produce a professionally typeset book, and except for frontmatter,
style creation and indexing, it's a snap. LyX is also very respectful of a
touch typists time, and I REALLY appreciate that.


  If you want to see how easy it is to do customized chapter headings,
headers, footers, etc. look at Herbert Voss's books on PSTricks and
Mathematical typesetting with LaTeX. Using the KOMA-Script book class (works
better for me than does the Memoir class), you can quickly and easily set up
the appearance you want.


... in spite of my cursing that stupid cover art :-)


  Artist or his tool? Either can be selected to do what's needed.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-14 Thread Dotan Cohen
  Perhaps that's a reflection of the book's contents? When I was told that
 Springer would not hire a professional indexer and I had to do it myself, I
 made it my business to quickly learn how and to do the best darn job of it
 that could possibly be done. As far as I'm concerned, a technical book is
 worthless without an outstanding index. After I went through the text
 several times marking index entries, I then did it again very slowly asking
 myself what other word or phrase someone could possibly use that would never
 occur to me (the author and subject matter expert). _That_ took a long time
 and a lot of effort, but I considered it crucial to the success of the book.

  I think of index creation as a major part of what I own the purchaser and
 reader. If I want the reader to think well of my and my published effort
 then I need to make the information accessible for everyone. So, if I was
 writing a book about using a desktop computer I'd probably have two entries
 for the optical media drive: cdrom/dvd drive and cup holder.

  There's a very useful book on SQLite that has the worst index I've ever
 seen in a technical reference. I ended up buying the PDF version of the book
 because I can search that within xpdf for information that's not in the
 index. The author did not write the index so he's not to blame.


Please excuse my completely OT post, but that was very insightful. I
love to read, especially coursework (yes, I am a nerd) and I never
realized how much effort must go into the index. I simply never
thought about that. Thank you for the insight into that technical bit
that I've appreciated and cursed at times over the years, without ever
really understanding the effort behind it until now.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il


\thispagestyle{empty}

2009-07-14 Thread Frederick Noronha [फ़रेदरिक नोरो नया]
Please could someone tell me how I insert
\thispagestyle{empty}
at the start of a new 'part' for a book?

Can't seem to manage, though it works fine on a new-chapter page. FN
-- 
FN * http://fredericknoronha.wordpress.com http://twitter.com/fn
http://fredericknoronha.multiply.com/ http://goa1556.goa-india.org


Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-14 Thread Steve Litt
On Tuesday 14 July 2009 01:26:24 pm Rich Shepard wrote:
 On Tue, 14 Jul 2009, Steve Litt wrote:
  ... second only to indexing, which I equate with working in a sceptic
  tank.

 Steve,

Perhaps that's a reflection of the book's contents? When I was told that
 Springer would not hire a professional indexer and I had to do it myself, I
 made it my business to quickly learn how and to do the best darn job of it
 that could possibly be done. As far as I'm concerned, a technical book is
 worthless without an outstanding index. After I went through the text
 several times marking index entries, I then did it again very slowly asking
 myself what other word or phrase someone could possibly use that would
 never occur to me (the author and subject matter expert). _That_ took a
 long time and a lot of effort, but I considered it crucial to the success
 of the book.

I think of index creation as a major part of what I own the purchaser
 and reader. 

Yes, I didn't want to imply otherwise. What I was trying to get across is that 
it's as DISTASTEFUL as working in a sceptic tank. And, as you bring up, it's 
also as NECESSARY to do well as it is necessary to fix a sceptic tank well.

StevET

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-14 Thread Rich Shepard

On Tue, 14 Jul 2009, Dotan Cohen wrote:


Please excuse my completely OT post, but that was very insightful. I love
to read, especially coursework (yes, I am a nerd) and I never realized how
much effort must go into the index. I simply never thought about that.
Thank you for the insight into that technical bit that I've appreciated
and cursed at times over the years, without ever really understanding the
effort behind it until now.


Dotan,

  We tend to take a useful index for granted. It can take an amateur like me
almost as long to prepare the index as it does to write the text. Like
conventions and trade shows that run smoothly, we don't appreciate the
effort that it took to make it so.

  And I apologize for the two typos; I did not see them and the are
legitimate words so the spelling checker didn't flag them.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: \thispagestyle{empty}

2009-07-14 Thread Rich Shepard

On Tue, 14 Jul 2009, Frederick Noronha [??? ???] wrote:


Please could someone tell me how I insert
\thispagestyle{empty}
at the start of a new 'part' for a book?


  Immediately in front of the part title, add a newline. Then insert the
LaTeX code at that line. It's always worked for me. OTOH, I thought that
most book/report classes automatically took care of the header and footer at
the beginning of a Part.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-14 Thread John Coppens
On Tue, 14 Jul 2009 13:33:44 -0400
Steve Litt sl...@troubleshooters.com wrote:

 Yes, I didn't want to imply otherwise. What I was trying to get across
 is that it's as DISTASTEFUL as working in a sceptic tank. And, as you
 bring up, it's also as NECESSARY to do well as it is necessary to fix a
 sceptic tank well.

I've never worked in a sceptic tank. I didn't know there were tanks to
contains sceptics, distasteful or not ;-)

I guess the spellchecker didn't catch the difference between sceptic and
septic...

John


singlespace title

2009-07-14 Thread Semih Özmen
Hi,

in my schools latex class, title is written in this way..

 \vbox{\begin{singlespace}\uppercase\expandafte...@title}\end{singlespace}}

however since my title is too long I tried to separate it into 3 lines and used 
\\ or ragged break for this..
The output is neither double space nor single space distances between lines are 
not equal...
I need it in single spacing as latex class specified..
any comments?

Semih



Eps pics couldn't be displayed

2009-07-14 Thread wael elmayyah
Hi,
 
I use Lyx 1.6.2 with Miktex 2.7 on Win XP. The Lyx could not disply the eps 
pics and gives the error Error converting to a loadable format whil Lyx still 
could make an output file as pdf with the pics on it!!!
The PNG or jpg pics are ok.
 
Can you help with this problem?
 
Thanks,
 
Wael


  

Re: Keyboard Shortcut Crashed

2009-07-14 Thread BH
On Tue, Jul 14, 2009 at 6:28 PM, Marcelo Reismarceb...@yahoo.com.br wrote:
 Guys, I was trying to configure the shortcut key CTRL+I to automatically
 changes my text to Italic in LYX but when I tried to do it LYX crashed and
 now seems like it ERASED all the DEFAULT shortcut list that there was
 configured.
 Now when I try to use like CTRL + B to bold, the only symbom that appears in
 the screen is a little square.
 CTRL+Z do not work anymore to UNDO, in other words..NONE of the shortcuts is
 working.

 What do I have to do to restore it to defaults???

Remove user.bind in the bind folder of your LyX user's folder.

BH


Manage numeration pages

2009-07-14 Thread Adrian Diaz
Hi friends

I am writting my thesis with lyx 1.6.3 with document class book(more font
size) Layout page fancy.
i need a roman numeration for: Tables Conts, list of figures and list of
tables as : i ii iii iv etc(ascending order)
and the others pages with arabic numeration (ascending order too) as 1 2 3 4
etc.

Could you tell me how i can do it.

  Thhanks in advance.  Adrián


Re: multicol package

2009-07-14 Thread Wolfgang Engelmann
Am Monday 13 July 2009 21:09:51 schrieb Shirley:
what about using twocolumn in document>settings (e.g. in Koma book) and for 
the onecolumn text below the headings 
\onecolumn
text
\twocolumn
?
Wolfgang

> I am trying to set up a book (8"x10" - about 400 pages) with mostly 2
> columns. I want the chapter titles and section headings to go across the
> page with the body text in 2 columsn.
>
> I have set it up as follows:
>
> Chapter Title
> \begin{multicols}{2}
>
> (body text)
>
> \end{multicols}
>
> or
>
> Section Heading
> \begin{multicols}{2}
>
> (body text)
> \end{multicols}
>
> It seems to work OK until I'm about half way through the book, then when I
> try to view using DVI or PDF, I get an error message "Dimension too large."
>
> Is there a limit as to how many times you can changee from one to two
> columns? Is there a limit to how many words this setup can handle? Any help
> would be appreciated.



-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


Biblatex package and multiple biliographies

2009-07-14 Thread monicreque

Hi all:

I'm writing a text about some artists I've been working on. The structure is
like a catalog, a lot of chapters, each one with a text about an artist. I
want one bibliography at the end of each chapter with all the references
contained in an archive .bib.

The problem is that I'm using the package Biblatex with the bibliography
stile verbose-trad2 —commonly used for works in humanities—, because I need
to use Ibid. or Op. cit. when I repeat a citation. I've seen a lot of
packages that allows the multiple bibliographies, like bibtopics, bibunits,
multibib or siplitbib, and all of them appears in the 
http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex.html CTAN
web of Biblatex . But when I try to use one of these packages in my LyX text
it gives an error:

"Package biblatex Error: Incompatible package 'bibunits'.

\begin{document} 
The 'bibunits' package and biblatex are incompatible.
See the biblatex manual for details."

Strange thing… And in the 
http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex/doc/biblatex.pdf
manual of biblatex , it says:


1.6.4 Incompatible packages 
The packages listed in this section are not compatible with biblatex.

[…] bibtopic The bibtopic package[…]
[…] bibunits The bibunits package[…]
[…] chapterbib The chapterbib package[…]
[…] multibib The multibib package[…]


The question is: are that packages compatible or not? Am I doing something
wrong? Someone use the biblatex package and knows how to make multiple
bibliographies?

best regards

Antonio
-- 
View this message in context: 
http://n2.nabble.com/Biblatex-package-and-multiple-biliographies-tp3254544p3254544.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Biblatex package and multiple biliographies

2009-07-14 Thread Jürgen Spitzmüller
monicreque wrote:
> The question is: are that packages compatible or not? Am I doing something
> wrong? Someone use the biblatex package and knows how to make multiple
> bibliographies?

Biblatex provides native support for multiple bibliographies.
Read section 3.10.3 and 3.10.4 of the biblatex manual (as Charles already told 
you).

Jürgen


What does lyx munge about the file format to the convertors?

2009-07-14 Thread Sam Liddicott
(I'm using Lyx 1.6.2)
A lyx file of mine has this text (when I look inside the raw lyx file)
*
--8<---**--8<---**--8<---**--8<---**--8<---*
*\begin_layout Section
The ntvfs model
\end_layout

\begin_layout Standard
Many vfs modules may be defined, as types of share backends.

\end_layout

\begin_layout Standard
Each vfs module could be considered to subclass an abstract [[struct
ntvfs_modul
e_context]], and each vfs module should define a struct to define
per-connection
 instance data.
\end_layout*
*--8<---**--8<---**--8<---**--8<---**--8<---*

Apart from the puzzlement of why Lyx breaks the line in the middle of a
word, it all looks fine.

But this is NOT what is fed to the first stage of the Noweb->Lyx noweave
convertor.

If I prefix my convertor with:
cat $$i | tee /tmp/pre
and look inside /tmp/pre, I see this instead:


*--8<---**--8<---**--8<---**--8<---**--8<---
**\section{The ntvfs model}

Many vfs modules may be defined, as types of share backends.

Each vfs module could be considered to subclass an abstract {[}{[}struct
ntvfs\_module\_context{]}{]}, and each vfs module should define a struct
to define per-connection instance data.
**--8<---**--8<---**--8<---**--8<---**--8<---*



Whats going on? Apart from the annoying and bogus quoting of the [ ] and
_ which I'm trying to fix-up, it means that noweave when run from Lyx
will give different answers to noweave when run from the command line -
say a Makefile which tries to generate the pdf.

Sam


Re: What does lyx munge about the file format to the convertors?

2009-07-14 Thread Sam Liddicott
I worked it out, it does a tex export first.

Sam


Devanagari...

2009-07-14 Thread Frederick Noronha [फ़रेदरिक नोरो नया]
Sorry for raising such an elementary question... how do I typeset a page in
Devanagari for Lyx? Thanks in advance. FN
-- 
FN * http://fredericknoronha.wordpress.com http://twitter.com/fn
M +91-9822122436 P +91-832-2409490
http://fredericknoronha.multiply.com/ http://goa1556.goa-india.org
"Ever wonder what the speed of lightning would be if it didn't zigzag?" -
George Carlin


Re: Label and againframe [Beamer]

2009-07-14 Thread Paul A. Rubin

Christian Bustamante wrote:

Any idea?
In plain code, you create the title slide with
\begin{frame}[label=firstframe]
\titlepage
\end{frame}
But in LyX, this process is automatic... Help please


Your LyX document should end with an EndFrame environment.  Put the 
cursor after that, hit Enter to start a standard environment, and put 
\maketitle in ERT.  That should do it.


/Paul



Re: What does lyx munge about the file format to the convertors?

2009-07-14 Thread Sam Liddicott
* Sam Liddicott wrote, On 14/07/09 15:14:
> I worked it out, it does a tex export first.
> 
> Sam

And I'll bet the only reason I had trouble with notangle is because I
was running on the Lyx document and not on the tex document.

mumble mumble gnash gnash grr grr

Sam


Autoadding \maketitle destroys layout of my article

2009-07-14 Thread nuke

At the present I am writing a journal article to be submitted to a journal of
Elsevier publishing company. I am supposed to use a special class
(elsarticle.cls) based on article.cls. However, my document does't look good
after LyX compilation to dvi/ps/pdf. I have found that LyX adds two lines
which ruin the layout:
...
\maketitle
...
\addcontentsline{toc}{section}{\refname}
...

As a result I have two title pages, wrong authors names footnoting, no
bibliography...  So in order to get a correct document I have to export to
latex, correct the text and compile it using another latex editor.  

Does anyone know how to set LyX to do not put these lines? Or any other way
how to solve the problem?
Thanks
-- 
View this message in context: 
http://n2.nabble.com/Autoadding-%5Cmaketitle-destroys-layout-of-my-article-tp3257199p3257199.html
Sent from the LyX - Users mailing list archive at Nabble.com.


How to run a shell script before a compilation to pdf?

2009-07-14 Thread nuke

The problem: I regularly export my references from Zotero to a BibTeX file.
Unfortunately, so far I cannot control in Zotero which bibliography fields
must be skip (like URL, notes etc). These unnecessary fields go to my
references list and spoil it. Some time ago, I was using WinEdt where it was
possible to run a shell script which removed the trash from my bib-files.

Is it possible with LyX? Is there a way how to automatically execute my
script before compiling to pdf etc.? I really want it to be done by pressing
one LyX button.

PS.
In the thread http://n2.nabble.com/Run-script-from-LyX--tp479512p479512.html
Paul suggested to make own converter. I wonder will it be executed before
bib-files accessed or after?

Thanks
-- 
View this message in context: 
http://n2.nabble.com/How-to-run-a-shell-script-before-a-compilation-to-pdf--tp3257262p3257262.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How to run a shell script before a compilation to pdf?

2009-07-14 Thread nuke

... i.e. I need execution of a script before DVI been compiled!


nuke wrote:
> 
> PS.
> In the thread
> http://n2.nabble.com/Run-script-from-LyX--tp479512p479512.html
> Paul suggested to make own converter. I wonder will it be executed before
> bib-files accessed or after?
> 
-- 
View this message in context: 
http://n2.nabble.com/How-to-run-a-shell-script-before-a-compilation-to-pdf--tp3257262p3257301.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How to run a shell script before a compilation to pdf?

2009-07-14 Thread Steve Litt
On Tuesday 14 July 2009 10:57:14 am nuke wrote:
> The problem: I regularly export my references from Zotero to a BibTeX file.
> Unfortunately, so far I cannot control in Zotero which bibliography fields
> must be skip (like URL, notes etc). These unnecessary fields go to my
> references list and spoil it. Some time ago, I was using WinEdt where it
> was possible to run a shell script which removed the trash from my
> bib-files.
>
> Is it possible with LyX? Is there a way how to automatically execute my
> script before compiling to pdf etc.? I really want it to be done by
> pressing one LyX button.

The answer is yes, it's possible -- you just have to use a shellscript for the 
LyX to PDF converter. But before you do that, listen to what I do...

I build the exact shellscript I need to do the compile and any other work I 
may need. For instance, because I do so much work with layout files, I often 
need configure.py run before the LyX to LaTeX conversion.

You should see my eBook generation shellscript! I personalize every book sold 
so the person's name is in it. It's a way of discouraging unauthorized 
copying without using DRM, which I refuse to do. So my shellscript makes a 
copy of the LyX file, uses sed to install the customer's name into a LyX 
variable, does some other (secret) mumbo jumbo, and then converts to LaTeX 
and then postscript and then PDF. The script then shows me the finished eBook 
so I can check the personalization.

I installed my personalization scripts (one for each eBook) into my UMENU 
system, so it all gets done with a couple keystrokes.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Portable tex export

2009-07-14 Thread Sam Liddicott
Is there a portable way to get Lyx to export the latex document in batch
mode, independent of what converters the user happens to have defined?

Such as might be used by a makefile running in an known environment?

(I'm not too pleased about having lyx as a build dependency, but it can
be used in the "make dist" target).

Sam


Re: Portable tex export

2009-07-14 Thread Jean-Marc Lasgouttes

Le 14 juil. 09 à 17:30, Sam Liddicott a écrit :
Is there a portable way to get Lyx to export the latex document in  
batch

mode, independent of what converters the user happens to have defined?

Such as might be used by a makefile running in an known environment?


If you pass the argument -userdir /tmp/lyxuser, it will create a  
directory there
(if it does not already exist) and work with it. You can remove it  
after use.


JMarc

LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-14 Thread Steve Litt
Hi all,

It's time for me to put the front matter in my new book. This work is time 
consuming and frustrating, second only to indexing, which I equate with 
working in a sceptic tank.

I have to put my cover art on the front, with a list of my other books 
following, followed by the title page, followed of course by the copyright 
pages, followed by dedications, acknowledgements, a few words from the 
author, and a table of contents. What a pain in the butt. Nothing works 
without extensive tweaking!

:-) And with all that, LyX is still by far the best alternative. You can use 
it to produce a professionally typeset book, and except for frontmatter, 
style creation and indexing, it's a snap. LyX is also very respectful of a 
touch typists time, and I REALLY appreciate that.

So, as I'm cursing the fact that my cover art doesn't show up at all, let me 
take time to thank all of you for creating LyX and forming a community to 
continually improve it. LyX is nothing less than a major component of my 
business. Keep up the good work, in spite of my cursing that stupid cover 
art :-)

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-14 Thread Rich Shepard

On Tue, 14 Jul 2009, Steve Litt wrote:


... second only to indexing, which I equate with working in a sceptic
tank.


Steve,

  Perhaps that's a reflection of the book's contents? When I was told that
Springer would not hire a professional indexer and I had to do it myself, I
made it my business to quickly learn how and to do the best darn job of it
that could possibly be done. As far as I'm concerned, a technical book is
worthless without an outstanding index. After I went through the text
several times marking index entries, I then did it again very slowly asking
myself what other word or phrase someone could possibly use that would never
occur to me (the author and subject matter expert). _That_ took a long time
and a lot of effort, but I considered it crucial to the success of the book.

  I think of index creation as a major part of what I own the purchaser and
reader. If I want the reader to think well of my and my published effort
then I need to make the information accessible for everyone. So, if I was
writing a book about using a desktop computer I'd probably have two entries
for the optical media drive: "cdrom/dvd drive" and "cup holder."

  There's a very useful book on SQLite that has the worst index I've ever
seen in a technical reference. I ended up buying the PDF version of the book
because I can search that within xpdf for information that's not in the
index. The author did not write the index so he's not to blame.


I have to put my cover art on the front, with a list of my other books
following, followed by the title page, followed of course by the copyright
pages, followed by dedications, acknowledgements, a few words from the
author, and a table of contents. What a pain in the butt. Nothing works
without extensive tweaking!


  I think that's because you like to tweak. I had absolutely no problems
with the dedication, acknowledgements, ToC, ToF, ToT, or preface. Springer
did the cover, title page, half-title page, publication/copyright page and a
few others. I started the frontmatter with page number 'iv' and it all
worked just fine.

  If I self-published I'd use Scribus to prepare the cover, title/half-title
pages, and publication/copywrite page. I'd save those as separate .pdf
files, then assemble the entire book using pdftk. Horses for courses as the
British say.


:-) And with all that, LyX is still by far the best alternative. You can use
it to produce a professionally typeset book, and except for frontmatter,
style creation and indexing, it's a snap. LyX is also very respectful of a
touch typists time, and I REALLY appreciate that.


  If you want to see how easy it is to do customized chapter headings,
headers, footers, etc. look at Herbert Voss's books on PSTricks and
Mathematical typesetting with LaTeX. Using the KOMA-Script book class (works
better for me than does the Memoir class), you can quickly and easily set up
the appearance you want.


... in spite of my cursing that stupid cover art :-)


  Artist or his tool? Either can be selected to do what's needed.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-14 Thread Dotan Cohen
>  Perhaps that's a reflection of the book's contents? When I was told that
> Springer would not hire a professional indexer and I had to do it myself, I
> made it my business to quickly learn how and to do the best darn job of it
> that could possibly be done. As far as I'm concerned, a technical book is
> worthless without an outstanding index. After I went through the text
> several times marking index entries, I then did it again very slowly asking
> myself what other word or phrase someone could possibly use that would never
> occur to me (the author and subject matter expert). _That_ took a long time
> and a lot of effort, but I considered it crucial to the success of the book.
>
>  I think of index creation as a major part of what I own the purchaser and
> reader. If I want the reader to think well of my and my published effort
> then I need to make the information accessible for everyone. So, if I was
> writing a book about using a desktop computer I'd probably have two entries
> for the optical media drive: "cdrom/dvd drive" and "cup holder."
>
>  There's a very useful book on SQLite that has the worst index I've ever
> seen in a technical reference. I ended up buying the PDF version of the book
> because I can search that within xpdf for information that's not in the
> index. The author did not write the index so he's not to blame.
>

Please excuse my completely OT post, but that was very insightful. I
love to read, especially coursework (yes, I am a nerd) and I never
realized how much effort must go into the index. I simply never
thought about that. Thank you for the insight into that technical bit
that I've appreciated and cursed at times over the years, without ever
really understanding the effort behind it until now.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il


\thispagestyle{empty}

2009-07-14 Thread Frederick Noronha [फ़रेदरिक नोरो नया]
Please could someone tell me how I insert
\thispagestyle{empty}
at the start of a new 'part' for a book?

Can't seem to manage, though it works fine on a new-chapter page. FN
-- 
FN * http://fredericknoronha.wordpress.com http://twitter.com/fn
http://fredericknoronha.multiply.com/ http://goa1556.goa-india.org


Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-14 Thread Steve Litt
On Tuesday 14 July 2009 01:26:24 pm Rich Shepard wrote:
> On Tue, 14 Jul 2009, Steve Litt wrote:
> > ... second only to indexing, which I equate with working in a sceptic
> > tank.
>
> Steve,
>
>Perhaps that's a reflection of the book's contents? When I was told that
> Springer would not hire a professional indexer and I had to do it myself, I
> made it my business to quickly learn how and to do the best darn job of it
> that could possibly be done. As far as I'm concerned, a technical book is
> worthless without an outstanding index. After I went through the text
> several times marking index entries, I then did it again very slowly asking
> myself what other word or phrase someone could possibly use that would
> never occur to me (the author and subject matter expert). _That_ took a
> long time and a lot of effort, but I considered it crucial to the success
> of the book.
>
>I think of index creation as a major part of what I own the purchaser
> and reader. 

Yes, I didn't want to imply otherwise. What I was trying to get across is that 
it's as DISTASTEFUL as working in a sceptic tank. And, as you bring up, it's 
also as NECESSARY to do well as it is necessary to fix a sceptic tank well.

StevET

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-14 Thread Rich Shepard

On Tue, 14 Jul 2009, Dotan Cohen wrote:


Please excuse my completely OT post, but that was very insightful. I love
to read, especially coursework (yes, I am a nerd) and I never realized how
much effort must go into the index. I simply never thought about that.
Thank you for the insight into that technical bit that I've appreciated
and cursed at times over the years, without ever really understanding the
effort behind it until now.


Dotan,

  We tend to take a useful index for granted. It can take an amateur like me
almost as long to prepare the index as it does to write the text. Like
conventions and trade shows that run smoothly, we don't appreciate the
effort that it took to make it so.

  And I apologize for the two typos; I did not see them and the are
legitimate words so the spelling checker didn't flag them.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: \thispagestyle{empty}

2009-07-14 Thread Rich Shepard

On Tue, 14 Jul 2009, Frederick Noronha [??? ???] wrote:


Please could someone tell me how I insert
\thispagestyle{empty}
at the start of a new 'part' for a book?


  Immediately in front of the part title, add a newline. Then insert the
LaTeX code at that line. It's always worked for me. OTOH, I thought that
most book/report classes automatically took care of the header and footer at
the beginning of a Part.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-14 Thread John Coppens
On Tue, 14 Jul 2009 13:33:44 -0400
Steve Litt  wrote:

> Yes, I didn't want to imply otherwise. What I was trying to get across
> is that it's as DISTASTEFUL as working in a sceptic tank. And, as you
> bring up, it's also as NECESSARY to do well as it is necessary to fix a
> sceptic tank well.

I've never worked in a sceptic tank. I didn't know there were tanks to
contains sceptics, distasteful or not ;-)

I guess the spellchecker didn't catch the difference between sceptic and
septic...

John


singlespace title

2009-07-14 Thread Semih Özmen
Hi,

in my schools latex class, title is written in this way..

 \vbox{\begin{singlespace}\uppercase\expandafte...@title}\end{singlespace}}

however since my title is too long I tried to separate it into 3 lines and used 
\\ or ragged break for this..
The output is neither double space nor single space distances between lines are 
not equal...
I need it in single spacing as latex class specified..
any comments?

Semih



Eps pics couldn't be displayed

2009-07-14 Thread wael elmayyah
Hi,
 
I use Lyx 1.6.2 with Miktex 2.7 on Win XP. The Lyx could not disply the eps 
pics and gives the error "Error converting to a loadable format" whil Lyx still 
could make an output file as pdf with the pics on it!!!
The PNG or jpg pics are ok.
 
Can you help with this problem?
 
Thanks,
 
Wael


  

Re: Keyboard Shortcut Crashed

2009-07-14 Thread BH
On Tue, Jul 14, 2009 at 6:28 PM, Marcelo Reis wrote:
> Guys, I was trying to configure the shortcut key CTRL+I to automatically
> changes my text to Italic in LYX but when I tried to do it LYX crashed and
> now seems like it ERASED all the DEFAULT shortcut list that there was
> configured.
> Now when I try to use like CTRL + B to bold, the only symbom that appears in
> the screen is a little square.
> CTRL+Z do not work anymore to UNDO, in other words..NONE of the shortcuts is
> working.
>
> What do I have to do to restore it to defaults???

Remove user.bind in the bind folder of your LyX user's folder.

BH


Manage numeration pages

2009-07-14 Thread Adrian Diaz
Hi friends

I am writting my thesis with lyx 1.6.3 with document class book(more font
size) Layout page fancy.
i need a roman numeration for: Tables Conts, list of figures and list of
tables as : i ii iii iv etc(ascending order)
and the others pages with arabic numeration (ascending order too) as 1 2 3 4
etc.

Could you tell me how i can do it.

  Thhanks in advance.  Adrián