Re: bibliography with a multipart document

2009-08-26 Thread Guenter Milde
On 2009-08-25, Tino Langer wrote:
 Hello lyxers,

 I try to split my lyx-document to use a multipart document. When I
 combine all subdocuments into one main document using the command
 include all the cite references placed in the subdocument are [?]. I
 tried the solution found here, but I get the same results:

 http://wiki.lyx.org/FAQ/Unsorted#toc31

This toc applies only for older LyX versions ( 1.6)! 

 When I add an subdocument in the maindocument using the command input
 everything works fine. Is this a bug? I read that using the two
 insertation commands include and input results in different outputs
 (on the same page, on a new page).

There should be no difference between 'input' and 'include' regarding the
citations.

Instead, only documents that have (or include a document with) a
bibliography section will show the citations correctly in the output.

LaTeX cannot access the bibtex database defined in a sibling or in the
master if you compile a sub-document as standalone.

To overcome this restriction, I place a copy of the 'bibliography'
section into a branch in each sub-document and activate this branch in
the sub-documents but disable it in the master.

Günter




Title page

2009-08-26 Thread Axel
Hey,

I am a German law student, who is using Lyx for the first time. I am using
article as document class, but I could change it if necessary. I have been
able to solve some problems myself, but I can't find any satisfying answer
to my momentary problem:

How do I create a descent title page with centered Names, Titles, Dates,
Professors etc. in different font sizes?

Thanks already,

Axel


Error messages when using book (AMS) document class

2009-08-26 Thread Luca Carlon
Hi! I'm using without problems the book document class. However, I would like to
change it to book (AMS) but I get errors when trying to compile it. All the
errors are more or less like these:

 ...e provided value lies.}}{59}{algorithm.3.1}
  
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


 ...e provided value lies.}}{59}{algorithm.3.1}
  
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

Any idea what the problem could be? Thanks!



Re: multi page Algorithm Floats ?

2009-08-26 Thread Luca Carlon
Jaime Huerta Cepas jhue...@... writes:

 
 Hi all,
 
 I wonder if there is any way of allowing Algorithm Float boxes to start in
 the middle of one page, and end in the next one. I'm using these kind of
 floats to include pieces of highlighted source code, so I guess text could
 be perfectly splitted.
 
 Thanks!
 Jaime
 

I tried to find a solution to this too, but it seems the only way is to manually
split the algorithm in two floats (this is what I do), or to use just the lyx
code paragraph style. Bye!



About author environment

2009-08-26 Thread Alessandro Casoni

Hi, I'm writing my PhD thesiswith lyx...
..and I have a simple question: in the Title page the alignment of 
author environment is centered, so i have changed my layout as the 
following:


Style Author
 Align   Right
 AlignPossible  Right

 Font
   Size  Large
 EndFont

This changes the layout under Lyx, but not the final product (PDF or DVI)...

Alessandro




Re: [ANNOUNCE] LyX 1.6.4 is released

2009-08-26 Thread E. Kaplan
I would also love to use this version, but I must admit that I am 
totally confused by what I found-- the links that are mentioned in 
Jurgen's announcement seem to contain sources that need to be compiled-- 
I could not find anything like setup.exe, etc.
Can someone post a clear set of instructions as to how one might install 
the new version?

Thanks,



Ehud Kaplan, 




Matthias Bußjäger wrote:

Great!

I would really like to use this version because of more stability. Currently
I use Lyx 1.6.3 to write my thesis.
Thereby I am very careful and would like to know if it might result in any
problem if I change my current version of Lyx?

Thanks in advance, Matthias



On Mon, Aug 24, 2009 at 1:28 PM, Jürgen Spitzmüller sp...@lyx.org wrote:

  

Public release of LyX version 1.6.4
===

We are pleased to announce the release of LyX 1.6.4. This is the fourth
maintenance release in the 1.6.x series. This release covers, amongst
many minor improvements, fixes to some rather severe issues, such as:

* A workaround to a nasty problem in recent Qt versions (Qt 4.5.0 up to
 4.5.2) that made LyX crash if the document included images that were
 scaled to certain sizes in the work area.
* Fixes to problems that might result in the loss of data.
* Many other stability improvements, thanks to a new debugging script that
 helped to reveal uncovered critical bugs.
* Further fixes to the LaTeX importer (tex2lyx) and the conversion of
 older LyX documents (lyx2lyx).

A detailed list of changes is appended below, remaining known problems
are listed in the file RELEASE-NOTES.

All users and distributors are urged to upgrade to this version.

In case you are wondering what LyX is, here is what
http://www.lyx.org/ has to say on the subject:

  LyX is a document processor that encourages an approach to writing
  based on the structure of your documents, not their appearance. It
  is released under a Free Software/Open Source license.

  LyX is for people that write and want their writing to look great,
  right out of the box. No more endless tinkering with formatting
  details, 'finger painting' font attributes or futzing around with
  page boundaries. You just write. In the background, Prof. Knuth's
  legendary TeX typesetting engine makes you look good.

  On screen, LyX looks like any word processor; its printed output --
  or richly cross-referenced PDF, just as readily produced -- looks
  like nothing else. Gone are the days of industrially bland .docs,
  all looking similarly not-quite-right, yet coming out unpredictably
  different on different printer drivers. Gone are the crashes
  'eating' your dissertation the evening before going to press.

  LyX is stable and fully featured. It is a multi-platform, fully
  internationalized application running natively on Unix/Linux, the
  Macintosh and modern Windows platforms.

You can download LyX 1.6.4 here (the .bz2 are compressed with bzip2,
which yields smaller files):

   ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.4.tar.gz
   ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.4.tar.bz2
   ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.6.4.tar.gz
   ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.6.4.tar.bz2

and it should propagate shortly to the following mirrors (which will
also host the .bz2 versions):

   ftp://ftp.lip6.fr/pub/lyx/stable/1.6.x/lyx-1.6.4.tar.gz
   http://lyx.cybermirror.org/stable/1.6.x/lyx-1.6.4.tar.gz

ftp://gd.tuwien.ac.at/publishing/tex/lyx/stable/1.6.x/lyx-1.6.4.tar.gz
   ftp://ftp.ntua.gr/pub/X11/LyX/stable/1.6.x/lyx-1.6.4.tar.gz

http://sunsite.icm.edu.pl/pub/unix/editors/lyx/stable/1.6.x/lyx-1.6.4.tar.gz
   http://lyx.mirror.fr/stable/1.6.x/lyx-1.6.4.tar.gz

Prebuilt binaries (rpms for Linux distributions, and Windows
installers) should soon be available at
   ftp://ftp.lyx.org/pub/lyx/bin/1.6.4/

NOTE that no Mac OS X binaries will be provided for this release, due to
a regression on this platform that was detected after 1.6.4 was released.
Expect a minor update that addresses this problem to be released soon.

If you already have the sources of the previous release, you may want to
apply
one of the following patches instead
   ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/patch-1.6.4.gz
   ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/patch-1.6.4.bz2

If you find what you think is a bug in LyX 1.6.4, you may either
e-mail the LyX developers' mailing list (lyx-devel at lists.lyx.org),
or open a bug report at http://bugzilla.lyx.org

If you're having trouble using the new version of LyX, or have a
question, first check out http://www.lyx.org/help/. If you can't find
the answer there, e-mail the LyX users' list (lyx-users at lists.lyx.org
).

Enjoy!

The LyX team.


What's new in version 1.6.4?


** Updates:
***

* DOCUMENT INPUT/OUTPUT

- LaTeX import (tex2lyx) was updated and now also supports:
 

Re: [ANNOUNCE] LyX 1.6.4 is released

2009-08-26 Thread Manveru
2009/8/26 E. Kaplan ehud.kap...@mssm.edu:
 I would also love to use this version, but I must admit that I am totally
 confused by what I found-- the links that are mentioned in Jurgen's
 announcement seem to contain sources that need to be compiled-- I could not
 find anything like setup.exe, etc.
 Can someone post a clear set of instructions as to how one might install the
 new version?
 Thanks,

Please read the announcement message carefully once again. It is
standardized message sent on every release and it always contains
links to directories with Windows installers! The only problem may
occur when you want to access them just after the announcement arrives
on the list. There is always a little lag between the time of
announcement and the time when Jürgen and Uwe put binaries on FTP
server.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: multi page Algorithm Floats ?

2009-08-26 Thread Jaime Huerta Cepas
True. It seems that Floats, by definition, cannot be split into two pages.
Given that I don't need a real float for inserting my example code snippets,
I found a better solution than manual separation of content.
I'm now using an environment that mimics an algorithm float:

 \newcounter{code}

\newenvironment{CodeEnv}[1] {

\stepcounter{code}

\vspace{1ex} \hrule \vspace{1ex}

\textbf{Example \thecode }

\vspace{1ex} \hrule \vspace{1ex}

#1

\vspace{1ex} \hrule

}


Then, you can do add things like this at any part of your document:
\begin{CodeEnv} MyCodeExample \end{CodeEnv}

Note that MyCodeExample can be a verbatim area, a listing code , or
similar stuff. In my case I'm inserting an ExternalProgramListing as
explained here: http://wiki.lyx.org/Examples/IncludeExternalProgramListing,
and it works great!.

I only miss captions

Jaime.


On Wed, Aug 26, 2009 at 9:22 AM, Luca Carlon carlon.l...@gmail.com wrote:

 Jaime Huerta Cepas jhue...@... writes:

 
  Hi all,
 
  I wonder if there is any way of allowing Algorithm Float boxes to start
 in
  the middle of one page, and end in the next one. I'm using these kind of
  floats to include pieces of highlighted source code, so I guess text
 could
  be perfectly splitted.
 
  Thanks!
  Jaime
 

 I tried to find a solution to this too, but it seems the only way is to
 manually
 split the algorithm in two floats (this is what I do), or to use just the
 lyx
 code paragraph style. Bye!




-- 
=
Jaime Huerta-Cepas, Ph.D.
CRG-Centre for Genomic Regulation
Doctor Aiguader, 88
PRBB Building
08003 Barcelona, Spain
http://www.crg.es/comparative_genomics
=


Re: [ANNOUNCE] LyX 1.6.4 is released

2009-08-26 Thread Jürgen Spitzmüller
Manveru wrote:
  I would also love to use this version, but I must admit that I am totally
  confused by what I found-- the links that are mentioned in Jurgen's
  announcement seem to contain sources that need to be compiled-- I could
  not find anything like setup.exe, etc.
  Can someone post a clear set of instructions as to how one might install
  the new version?
  Thanks,
 
 Please read the announcement message carefully once again.

The crucial sentence is:

Prebuilt binaries (rpms for Linux distributions, and Windows
installers) should soon be available at
ftp://ftp.lyx.org/pub/lyx/bin/1.6.4/

The soon part depends on the free time of the volunteers who provide us with 
the binaries.

Anyway, all windows installers are on the server now. They should soon also 
appear on the mirror servers.

Jürgen


Re: [announce] LyXWinInstaller for LyX 1.6.4

2009-08-26 Thread H. Peter Gumm

Hi Uwe,

a few days ago I installed LyX+MikTex under Windows 7 (Enterprise 
Edition) using your Altinstaller Complete (i.e. LyX 1.6.3 plus MikTex) 
and to my great delight


  * It was a breeze - everything went smoothly*

Just, towards the end, when LyX starts checking for installed packages 
- one ought to suggest to users to go out for dinner. When after the 
dessert Lyx is checking : dont panic.


Thanks for a  great  installer,

Greetings,
H.Peter



Paragraph without linebreak

2009-08-26 Thread Axel
Hey,

I am looking for a way to create a linebreak after the caption I give in the
section paragraph. I want to use paragraphs like subsubsubsections. The
manual break screws up the table of contents. Is there a way to fix this in
the Latex preamble?

Thanks already,

Axel


Re: About author environment

2009-08-26 Thread Guenter Milde
On 2009-08-26, Alessandro Casoni wrote:
 Hi, I'm writing my PhD thesiswith lyx...
 ..and I have a simple question: in the Title page the alignment of 
 author environment is centered, so i have changed my layout as the 
 following:

 Style Author
   Align   Right
   AlignPossible  Right

   Font
 Size  Large
   EndFont

 This changes the layout under Lyx, but not the final product (PDF or DVI)...

Yes. (The layout files reflect what is possible with LaTeX, so if there
is no AlignPossible Right in the standard Author style, this has a
reason...)

To be seen in the final output, all changes to the layout files must be
accompagnied by changes to the exported LaTeX code.

See the `TeX FAQ`_ on how to customize the `style of document titles`_.

.. _TeX FAQ: http://www.tex.ac.uk/faq
.. _style of document titles:
   http://www.tex.ac.uk/cgi-bin/texfaq2html?label=titlsty

Günter



pdfpages problem

2009-08-26 Thread Marcelo Acuña
Hello,
 I want to put a cover made in pdf file.
 I put \usepackage{pdfpages} in preamble
and Insert the file but I get
 Undefined control sequence 
error.
 How I can make that this works well?


Marcelo Acuña
 visitá mi sitio web http://www.aleph-uno.com.ar 
==


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Re: Title page

2009-08-26 Thread Marcelo Acuña
 Hey,
 
 I am a German law student, who is using Lyx for the first
 time. I am using
 article as document class, but I could change it if
 necessary. I have been
 able to solve some problems myself, but I can't find any
 satisfying answer
 to my momentary problem:
 
 How do I create a descent title page with centered Names,
 Titles, Dates,
 Professors etc. in different font sizes?

 Koma-script book style have some command for title page.
 But habitually another program for that is used.
Marcelo



  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Re: Title page

2009-08-26 Thread rgheck

On 08/25/2009 07:05 PM, Axel wrote:

Hey,

I am a German law student, who is using Lyx for the first time. I am using
article as document class, but I could change it if necessary. I have been
able to solve some problems myself, but I can't find any satisfying answer
to my momentary problem:

How do I create a descent title page with centered Names, Titles, Dates,
Professors etc. in different font sizes?

   
It sounds as if you are looking to make a title page for a dissertation 
or something of the sort. If so, then, as Marcelo mentioned, you are 
probably best off just to do this in OpenOffice or something, rather 
than to fight LaTeX with the formatting. I.e., if it's a one-time thing, 
then the effort needed to get LaTeX to do it isn't worth it.


That said, if you want a title page with the article format, you can put 
titlepage as a class option in DocumentSettings. The book and report 
classes, both standard and koma-script, always provide title pages.


rh



Re: Error messages when using book (AMS) document class

2009-08-26 Thread rgheck

On 08/26/2009 03:20 AM, Luca Carlon wrote:

Hi! I'm using without problems the book document class. However, I would like to
change it to book (AMS) but I get errors when trying to compile it. All the
errors are more or less like these:

  ...e provided value lies.}}{59}{algorithm.3.1}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


  ...e provided value lies.}}{59}{algorithm.3.1}

A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

Any idea what the problem could be? Thanks!

   
Not offhand, no. What's the rest of the code there? If you look through 
ViewSource (or just export to LaTeX), you ought to be able to figure 
out what's generating the offending code, at least.


rh




Re: Paragraph without linebreak

2009-08-26 Thread rgheck

On 08/26/2009 06:49 AM, Axel wrote:

Hey,

I am looking for a way to create a linebreak after the caption I give in the
section paragraph. I want to use paragraphs like subsubsubsections. The
manual break screws up the table of contents. Is there a way to fix this in
the Latex preamble?

   
Can you post a short example file, illustrating what you are trying to 
do? I'm not sure I understand.


rh



Re: pdfpages problem

2009-08-26 Thread Jürgen Spitzmüller
Marcelo Acuña wrote:
 I want to put a cover made in pdf file.
  I put \usepackage{pdfpages} in preamble
 and Insert the file but I get
  Undefined control sequence
 error.
  How I can make that this works well?

Use the external inset. Insert  File  External Material and select 
pdfpages.

Jürgen


test 20090...@12:36

2009-08-26 Thread Steve Litt
test 20090...@12:36 earth
-- 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt






test 20090...@12:36

2009-08-26 Thread Steve Litt
test 20090...@12:36 earth
-- 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt





Re: Distribute the title (frontmatter) over several lines separated with line space?

2009-08-26 Thread Steve Litt
On Monday 24 August 2009 17:20:23 Bjørn Liene Gundersen wrote:
 Hi,

 I am a new user with LyX, have previousely been using Scientific
 Workplace (SWP). I am using LyX 1.63 for Windows with the standard
 report template. In the frontmatter dialog in Scientific Workplace I
 normally use to paste a graphic/icon topmost and divide the title on
 lines with several spaces between them. Now I am trying to do the same
 with LyX without the same luck. How can I distribute the title
 (frontmatter) over two or more lines with line spaces between them?
 and how can I place a picture topmost in the title? is that possible
 as it is with SWP? Where can I read more about customizing the
 frontmatter?

Thank you Bjørn,

You've given me the perfect opportunity to once again voice my belief that 
unlike a book's mainmatter, the frontmatter should be constructed of custom 
classes and ERT. Forget the Title class or the Maketitle macro. Pay no 
attention to what Document Class you're using. Just construct the whole 
\frontmatter manually, exactly how you want it. So the first thing in your 
document will be the graphic and then something like ~\\1in, and then a size 
and weight command, and then the first line of your title, and then \\0.5in, 
and then the second line of your title, etc. Or, if you want the title spread 
vertically down the whole page, use \vfill commands. There are a million ways 
to do it so you can have anything in your frontmatter, including your title 
page, look exactly how you want it to look.

You think you have problems? Hah! My eBooks all have a cover page that's an 
8.5x11 graphic, then in back of that page is a list of my books, then the next 
page is the title page, and in back of that my copyright page (not well 
provided for by any document class I've seen, and then more mundain stuff like 
acks and deds and how to use this book and of course the TOC. No problem -- 
I fingerpaint the whole thing, and I like it just that way.

SteveT

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





Did something about indexes change between 1.5.x and 1.6.x?

2009-08-26 Thread Steve Litt
Hi all,

Indexing on several of my books failed after I moved from Mandriva/LyX1.5.x to 
Ubuntu/LyX1.6.x.

Here are some errors from the .ilg file:

=
This is makeindex, version 2.14 [02-Oct-2002] (kpathsea + Thai support).
Scanning style file ./rl_21.ist..done (2 attributes redefined, 0 ignored).
Scanning input file RL21.jqVMOhYaDS.idx
!! Input index error (file = RL21.jqVMOhYaDS.idx, line = 14):
   -- Extra `@' at position 10 of first argument.
!! Input index error (file = RL21.jqVMOhYaDS.idx, line = 15):
   -- Extra `@' at position 10 of first argument.
!! Input index error (file = RL21.jqVMOhYaDS.idx, line = 16):
   -- Extra `@' at position 20 of first argument.
=

And here are lines 12-16 of the .ind file. Note lines 12 and 13 produce no 
error, but are just included to exploit the differences:
=
\indexentry{Ph.D.|see{post graduate degree}}{i}
\indexentry{Cobol|hyperpage}{1}
\indexentry{college|(@college\textbar {}(}{2}
\indexentry{college|)@college\textbar{})}{2}
\indexentry{community college|(@community college\textbar {}(}{2}
=
In fact, line 14 that references college|( was the first index entry in the 
file 
to specify a range rather than this page like lines 12 and 13.

The following is the LyX file's entry corresponding to college|( and college|) 
and the material in between:
=
\begin_layout Subsection
\begin_inset LatexCommand index
name college|(

\end_inset

College
\end_layout

\begin_layout Standard
College is great for learning unchanging principles, and unchanging principles
 can be very handy in technological survival.
 However, college is an ineffective way to keep up with technology.
 College courses typically teach technology two to ten years old in a world
 with two year technology lifespans.
\begin_inset LatexCommand index
name college|)

\end_inset


\end_layout

=

Finally, the following is the contents of my makeidx config file, which is 
called rl_21.ist

=
suffix_2p  
delim_r --
=

So, before I devote 4 hours to troubleshooting, does anyone have any 
suggestions on what to try either to resolve the problem or how to narrow it 
down?

Thanks

SteveT

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





Re: Title page

2009-08-26 Thread Steve Litt
On Tuesday 25 August 2009 19:05:48 Axel wrote:
 Hey,

 I am a German law student, who is using Lyx for the first time. I am using
 article as document class, but I could change it if necessary. I have been
 able to solve some problems myself, but I can't find any satisfying answer
 to my momentary problem:

 How do I create a descent title page with centered Names, Titles, Dates,
 Professors etc. in different font sizes?

 Thanks already,

 Axel

You've given me the perfect opportunity to once again voice my belief that 
unlike a book's mainmatter, the frontmatter should be constructed of custom 
classes and ERT. Forget the Title class or the Maketitle macro. Pay no 
attention to what Document Class you're using. Just construct the whole 
\frontmatter manually, exactly how you want it, using custom environments and 
ERT (embedded LaTeX). That way you can have any fonts, and any elements, in 
any order, that you want on your title page. So the first thing in your 
document will be a size 
and weight command, and then the first line of your title, and then \\0.5in, 
and then the second line of your title, etc. Or, if you want the title spread 
vertically down the whole page, use \vfill commands. There are a million ways 
to do it so you can have anything in your frontmatter, including your title 
page, look exactly how you want it to look.

You think you have problems? Hah! My eBooks all have a cover page that's an 
8.5x11 graphic, then in back of that page is a list of my books, then the next 
page is the title page, and in back of that my copyright page (not well 
provided for by any document class I've seen, and then more mundain stuff like 
acks and deds and how to use this book and of course the TOC. No problem -- 
I fingerpaint the whole thing, and I like it just that way.

SteveT

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





Re: Did something about indexes change between 1.5.x and 1.6.x?

2009-08-26 Thread James C. Sutherland


So, before I devote 4 hours to troubleshooting, does anyone have any
suggestions on what to try either to resolve the problem or how to  
narrow it

down?


4 Hours!?  I thought you were the troubleshooting guru!
(Sorry - couldn't resist)
;-)



Sorry for the test messages

2009-08-26 Thread Steve Litt
Hi all,

Sorry for the test messages. Somewhere between 8/23 @14:00 and 8/24 @ 17:00 my 
posts stopped posting. They didn't even post to the archives. This problem was 
LyX list specific: lyx-users and lyx-devel but not my other mailing lists.

So I changed the SMTP server through which I send messages, did a couple test 
messages to verify that eliminated the symptom, and then posted back messages.

If there's anyone who can help me solve this incompatibility between the LyX 
lists and my bluehost SMTP, that would be great.

Thanks, and sorry for the test messages.

SteveT

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




Re: Did something about indexes change between 1.5.x and 1.6.x?

2009-08-26 Thread Steve Litt
On Wednesday 26 August 2009 12:51:51 James C. Sutherland wrote:
  So, before I devote 4 hours to troubleshooting, does anyone have any
  suggestions on what to try either to resolve the problem or how to
  narrow it
  down?

 4 Hours!?  I thought you were the troubleshooting guru!
 (Sorry - couldn't resist)
 ;-)

:-)

Reminds me of my mentor at the Pacific Stereo service department. When a fellow 
technician asked him how he fixed so many stereos every day, he said his 
fingers 
were like divining rods leading him to the bad transistor.

I still haven't gotten that divining rod thing down, so 4 hours is still my 
story and I'm still sticking to it :-)

But YOU can make it 10 minutes if you just tell me what changed about indexing 
between 1.5.x and 1.6.x. :-)

SteveT



Re: Did something about indexes change between 1.5.x and 1.6.x?

2009-08-26 Thread Jürgen Spitzmüller
Steve Litt wrote:
 Indexing on several of my books failed after I moved from Mandriva/LyX1.5.x
  to Ubuntu/LyX1.6.x.

What version of LyX exactly?

Could you provide a small example file (ideally both the original LyX 1.5 and 
the converted LyX 1.6 version)?

Jürgen


Re: Did something about indexes change between 1.5.x and 1.6.x?

2009-08-26 Thread Steve Litt
See my responses and example LyX file...

On Wednesday 26 August 2009 13:02:03 Jürgen Spitzmüller wrote:
 Steve Litt wrote:
  Indexing on several of my books failed after I moved from
  Mandriva/LyX1.5.x to Ubuntu/LyX1.6.x.

 What version of LyX exactly?
1.6.3:
==
sl...@mydesk:/d/at_mony/books$ lyx -version
LyX 1.6.3 (2009-06-03)
Built on Jul 14 2009, 08:43:32
Configuration
  Host type:i486-pc-linux-gnu
  Special build flags:  aiksaurus warnings  use-aspell use-ispell
  C   Compiler: gcc 
  C   Compiler LyX flags:
  C   Compiler flags:-g -O2
  C++ Compiler: g++ (4.3.3)
  C++ Compiler LyX flags:
  C++ Compiler flags:-g -O2
  Linker flags: 
  Linker user flags:-Wl,-Bsymbolic-functions -Wl,-z,defs -Wl,--as-
needed
  Qt 4 Frontend:
  Qt 4 version: 4.5.0
  Packaging:posix
  LyX binary dir:   /usr/bin
  LyX files dir:/usr/share/lyx

sl...@mydesk:/d/at_mony/books$
==


 Could you provide a small example file (ideally both the original LyX 1.5
 and the converted LyX 1.6 version)?

I no longer have 1.5.x, but it doesn't matter. From scratch I created a tiny 
LyX file using book document class, with one right here index entries, and 
two from here --- to here entries. Here's how you reproduce the symptom:

lyx --export latex index_bug_simp.lyx
latex index_bug_simp.tex
makeindex index_bug_simp.idx

Here is the resulting .ilg file -- note the errors where I had index ranges:
==
This is makeindex, version 2.14 [02-Oct-2002] (kpathsea + Thai support).
Scanning input file index_bug_simp.idx
!! Input index error (file = index_bug_simp.idx, line = 2):
   -- Extra `@' at position 12 of first argument.
!! Input index error (file = index_bug_simp.idx, line = 3):
   -- Extra `@' at position 12 of first argument.
!! Input index error (file = index_bug_simp.idx, line = 4):
   -- Extra `@' at position 12 of first argument.
!! Input index error (file = index_bug_simp.idx, line = 5):
   -- Extra `@' at position 12 of first argument.
done (1 entries accepted, 4 rejected).
Sorting entries...done (0 comparisons).
Generating output file index_bug_simp.inddone (5 lines written, 0 
warnings).
Output written in index_bug_simp.ind.
Transcript written in index_bug_simp.ilg.
==

And the following is the .idx file producing those errors. Note the 
misconfiguration of all index entries that were ranges:
==
\indexentry{chapter 1}{1}
\indexentry{chapter 2|(@chapter 2\textbar {}(}{2}
\indexentry{chapter 2|)@chapter 2\textbar{})}{2}
\indexentry{chapter 3|(@chapter 3\textbar {}(}{3}
\indexentry{chapter 3|)@chapter 3\textbar{})}{3}
==

How did the at sign (@) and \textbar get put in there? I specified no specific 
formatting.

Anyway, index_bug_simp.lyx is attached.

Thanks

SteveT




 Jürgen

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




index_bug_simp.lyx
Description: application/lyx


Re: Paragraph without linebreak

2009-08-26 Thread Uwe Stöhr

Axel schrieb:


I am looking for a way to create a linebreak after the caption I give in the
section paragraph. I want to use paragraphs like subsubsubsections. The
manual break screws up the table of contents. Is there a way to fix this in
the Latex preamble?


To prevent the TOC from being screwed up, you can use a short title for your section heading. A 
short title is inserted via the Insert menu; the LyX User's guide explains more about this.


Can you nevertheless provide a _small_ LyX example file what you want to do 
exactly?

regards Uwe


Re: Did something about indexes change between 1.5.x and 1.6.x?

2009-08-26 Thread Steve Litt
OK, I've researched it a little more, and during the lyx --export latex, LyX 
is converting a LyX idx inset containing chapter 2|( without the quotes to 
the following LaTeX:

\index{chapter 2|(@chapter 2\textbar{}(}

The stuff from the @ through the last ( is superflous and causes errors. I 
have two choices:

1) Get LyX to quit adding the stuff between the @ and the trailing ( or ) when 
converting from LyX to latex, or

2) Create a computer program to go through my entire LaTeX file after export, 
and remove all of those little extras. That would be incredibly kludgy and I'd 
prefer not do do it.

So does anyone know why LyX 1.6.3 adds the extraneous material on range index 
entries, and how I can turn off this behavior?

Thanks

SteveT


On Wednesday 26 August 2009 13:35:22 Steve Litt wrote:
 See my responses and example LyX file...

 On Wednesday 26 August 2009 13:02:03 Jürgen Spitzmüller wrote:
  Steve Litt wrote:
   Indexing on several of my books failed after I moved from
   Mandriva/LyX1.5.x to Ubuntu/LyX1.6.x.
 
  What version of LyX exactly?

 1.6.3:
 ==
 sl...@mydesk:/d/at_mony/books$ lyx -version
 LyX 1.6.3 (2009-06-03)
 Built on Jul 14 2009, 08:43:32
 Configuration
   Host type:i486-pc-linux-gnu
   Special build flags:  aiksaurus warnings  use-aspell use-ispell
   C   Compiler: gcc
   C   Compiler LyX flags:
   C   Compiler flags:-g -O2
   C++ Compiler: g++ (4.3.3)
   C++ Compiler LyX flags:
   C++ Compiler flags:-g -O2
   Linker flags:
   Linker user flags:-Wl,-Bsymbolic-functions -Wl,-z,defs
 -Wl,--as- needed
   Qt 4 Frontend:
   Qt 4 version: 4.5.0
   Packaging:posix
   LyX binary dir:   /usr/bin
   LyX files dir:/usr/share/lyx

 sl...@mydesk:/d/at_mony/books$
 ==

  Could you provide a small example file (ideally both the original LyX 1.5
  and the converted LyX 1.6 version)?

 I no longer have 1.5.x, but it doesn't matter. From scratch I created a
 tiny LyX file using book document class, with one right here index
 entries, and two from here --- to here entries. Here's how you reproduce
 the symptom:

 lyx --export latex index_bug_simp.lyx
 latex index_bug_simp.tex
 makeindex index_bug_simp.idx

 Here is the resulting .ilg file -- note the errors where I had index
 ranges: ==
 This is makeindex, version 2.14 [02-Oct-2002] (kpathsea + Thai support).
 Scanning input file index_bug_simp.idx
 !! Input index error (file = index_bug_simp.idx, line = 2):
-- Extra `@' at position 12 of first argument.
 !! Input index error (file = index_bug_simp.idx, line = 3):
-- Extra `@' at position 12 of first argument.
 !! Input index error (file = index_bug_simp.idx, line = 4):
-- Extra `@' at position 12 of first argument.
 !! Input index error (file = index_bug_simp.idx, line = 5):
-- Extra `@' at position 12 of first argument.
 done (1 entries accepted, 4 rejected).
 Sorting entries...done (0 comparisons).
 Generating output file index_bug_simp.inddone (5 lines written, 0
 warnings).
 Output written in index_bug_simp.ind.
 Transcript written in index_bug_simp.ilg.
 ==

 And the following is the .idx file producing those errors. Note the
 misconfiguration of all index entries that were ranges:
 ==
 \indexentry{chapter 1}{1}
 \indexentry{chapter 2|(@chapter 2\textbar {}(}{2}
 \indexentry{chapter 2|)@chapter 2\textbar{})}{2}
 \indexentry{chapter 3|(@chapter 3\textbar {}(}{3}
 \indexentry{chapter 3|)@chapter 3\textbar{})}{3}
 ==

 How did the at sign (@) and \textbar get put in there? I specified no
 specific formatting.

 Anyway, index_bug_simp.lyx is attached.

 Thanks

 SteveT

  Jürgen

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




Re: Did something about indexes change between 1.5.x and 1.6.x?

2009-08-26 Thread Vincent van Ravesteijn

Steve Litt schreef:
OK, I've researched it a little more, and during the lyx --export latex, LyX 
is converting a LyX idx inset containing chapter 2|( without the quotes to 
the following LaTeX:


\index{chapter 2|(@chapter 2\textbar{}(}

The stuff from the @ through the last ( is superflous and causes errors. I 
have two choices:


1) Get LyX to quit adding the stuff between the @ and the trailing ( or ) when 
converting from LyX to latex, or


2) Create a computer program to go through my entire LaTeX file after export, 
and remove all of those little extras. That would be incredibly kludgy and I'd 
prefer not do do it.


So does anyone know why LyX 1.6.3 adds the extraneous material on range index 
entries, and how I can turn off this behavior?
  


LyX adds the stuf _before_ the @ to ensure that the entries are sorted 
correctly. For example if you have \index{\LyX}, then this would be 
sorted on top of the list, not among the other index entries that start 
with an l. Therefore lyx outputs \index{...@\lyx}.


LyX does so whenever there is any character in the entry that is 
'escaped' or a macro. In your case, LyX clearly thinks that he has to 
translate | into \textbar{}... , but this is wrong.  LyX has learned to 
recognize the |.


Your testfile works perfectly for me with 1.6.3.


Vincent


persistent LaTeX source box

2009-08-26 Thread Derek Lamb

Hi,

I've been happily using LyX for several years, writing proposals, papers 
and dissertations, etc.  My RHEL5 system was just updated to LyX 1.6.3, 
and I find that the LaTeX Source box at the bottom of the screen is 
remarkably persistent.  Personally, I don't care about the LaTeX 
source--that's why I use LyX in the first place, so I would like to have 
this box not appear.  But whenever I open LyX, the box is present.  If I 
close the box, put LyX into fullscreen mode, then bring it back, the box 
reappears.


I've searched the mailing list, internal documenation, wiki, and general 
Google, but haven't been able to find instructions for something like 
LyX make view LaTeX Source box off by default.  I was using 1.5.x (6 
maybe?) before and didn't have this problem.  Is there a checkbox or 
config option somewhere I'm missing?


thanks,
Derek


Re: persistent LaTeX source box

2009-08-26 Thread Uwe Stöhr

Derek Lamb schrieb:

whenever I open LyX, the box is present.  If I 
close the box, put LyX into fullscreen mode, then bring it back, the box 
reappears.


I cannot reproduce this with LyX 1.6.4. Can you please nevertheless report it 
at?:
http://www.lyx.org/trac/wiki/BugTrackerHome
This assures a review of other developers (I'm only on Windows and it could be a Linux-only or Qt 
problem.)


thanks and regards
Uwe


fancyhead and removing footer page number

2009-08-26 Thread Paul Sutton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

I am due to start a Open university course shortly,  and part ofthe
requirement for this is to have page numbers at the top of the page.

I have enabled the fancyhdr pacakge and figured out how to do this fine,

1. How do I now remove the page number from the footer of the page.  I
have tried the slider thing under document set for numbering and this
doesn't seem to do it,
2. Is it possible to do

i have inserted ERT

\lhead{Student name - student number}
\chead{TMA 01}
\rhead{\thepage}

is it possible to have it display

page then the page number I tried using
\head{page}{\thepage} but this seems to fail.


On and one more question,  in the text layout under document settings if
I type 1.5 in to line spacing will it display as 1.5 line spacing
(another requirement),  as this is not listed as an option.  but it
comes under custom.  So I am guessing yes.

thanks for any help

if it helps

I am using LyX under ubuntu 8.10  1.5.6.


regards

Paul Sutton

- --
Paul Sutton
www.zleap.net
Support Open and ISO standard file formats ISO 26300 odf
http://www.odfalliance.org
Meetings 1st Saturday of the month - Shoreline, Paignton from 3pm
Software freedom day 2009 - Saturday 19th September 2009
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqVowAACgkQaggq1k2FJq3z+wCePZDYM8JKyrg5+JCzT6FCfMvg
nRMAn1AQGkE97nFQEnmhFvS0G65wJlph
=T4Rn
-END PGP SIGNATURE-


Re: fancyhead and removing footer page number

2009-08-26 Thread rgheck

On 08/26/2009 05:03 PM, Paul Sutton wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

I am due to start a Open university course shortly,  and part ofthe
requirement for this is to have page numbers at the top of the page.

I have enabled the fancyhdr pacakge and figured out how to do this fine,

1. How do I now remove the page number from the footer of the page.  I
have tried the slider thing under document set for numbering and this
doesn't seem to do it.

   

It's always a good idea to start your fancyhdr stuff with:

\fancyhf{}


to clear the defaults.


2. Is it possible to do

i have inserted ERT

\lhead{Student name - student number}
\chead{TMA 01}
\rhead{\thepage}

   
This should go in the preamble, under DocumentSettings, not in ERT. 
Unless you want it to take effect, say, in the middle of the document.



is it possible to have it display

page then the page number I tried using
\head{page}{\thepage} but this seems to fail.

   

\rhead{page \thepage} should do it.


On and one more question,  in the text layout under document settings if
I type 1.5 in to line spacing will it display as 1.5 line spacing
(another requirement),  as this is not listed as an option.  but it
comes under custom.  So I am guessing yes.

   

You should have OneHalf as an option. That means 1.5.

rh



LyX indexing anomaly

2009-08-26 Thread Steve Litt
Hi all,

My copy of LyX 1.6.3 errors out on indexing because when LyX exports to LaTeX, 
it outputs normal range type indexing entries (the ones ending in a pipe 
symbol and a parenthese) with something like this:

\index{mysection|(@mysection\textbar(}

It should have looked like this:

\index{mysection|(}

The extra stuff caused errors when the makeindex program was run on the .idx 
file.

Now here's where it gets complicated. I run LyX 1.6.3. So does Vincent van 
Ravesteijn, but Vincent's LyX doesn't insert the bad text. I've attached a 
tiny file, called index_bug_simp.lyx, that exhibits this problem on my system.

Because I have to send out eBooks tonight, I couldn't solve my LyX problem, 
but instead wrote a script to convert the TeX file output by LyX into a TeX 
file 
that makeindex can deal with. Here's my kludge, fixidx.sh:

==
#!/bin/bash
texfilename=$1
tempfilename=$1.temppp
rm -f $tempfilename
mv $texfilename $tempfilename


cat $tempfilename | sed -e s/|(@[^{]*textbar{}(/|(/g  | \
sed -e s/|)@[^{]*textbar{})/|)/g   $texfilename
==

The preceding is one of the most fragile and messy kludges I've ever written, 
and before too long I'd like to fix the root cause rather than kludging the 
symptom.

S

If anybody has trouble with indexing, please see if you have the extra text in 
the output of lyx --export latex, and if so try my kludge. When we get a few 
more systems exhibiting my problem, we can find commonalities to figure out the 
root cause.

Thanks

SteveT

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




index_bug_simp.lyx
Description: application/lyx


Fonts in toolbar - menu list, dropdown menu etc.. look a bit skinny and

2009-08-26 Thread M-L

Hello Everyone,

Running Debian Squeeze

I think this is a LyX problem, because all other proggys run on FVWM
don't present with a very skinny and flaky font in the toolbar, menu
list, drop down menu's and such

The title on the window is good and I think that's set by FVWM, but
all the other fonts mentioned, of the window surround crook.

Is this a LyX problem or do I have to go elsewhere?

Thank you,
Charlie
-- 
Registered Linux User:- 329524
***
We can never have enough of nature. We must be refreshed by the sight
of inexhaustible vigor, vast and titanic features, the sea-coast with
its wrecks, the wilderness with its living and its decaying trees, the
thunder-cloud, and the rain which lasts three weeks and produces
freshets. We need to witness our own limits transgressed, and some life
pasturing freely where we never
wander. .Henry David Thoreau

***
Debian GNU/Linux - just the best way to create magic
___


Re: bibliography with a multipart document

2009-08-26 Thread Guenter Milde
On 2009-08-25, Tino Langer wrote:
 Hello lyxers,

 I try to split my lyx-document to use a multipart document. When I
 combine all subdocuments into one main document using the command
 include all the cite references placed in the subdocument are [?]. I
 tried the solution found here, but I get the same results:

 http://wiki.lyx.org/FAQ/Unsorted#toc31

This toc applies only for older LyX versions ( 1.6)! 

 When I add an subdocument in the maindocument using the command input
 everything works fine. Is this a bug? I read that using the two
 insertation commands include and input results in different outputs
 (on the same page, on a new page).

There should be no difference between 'input' and 'include' regarding the
citations.

Instead, only documents that have (or include a document with) a
bibliography section will show the citations correctly in the output.

LaTeX cannot access the bibtex database defined in a sibling or in the
master if you compile a sub-document as standalone.

To overcome this restriction, I place a copy of the 'bibliography'
section into a branch in each sub-document and activate this branch in
the sub-documents but disable it in the master.

Günter




Title page

2009-08-26 Thread Axel
Hey,

I am a German law student, who is using Lyx for the first time. I am using
article as document class, but I could change it if necessary. I have been
able to solve some problems myself, but I can't find any satisfying answer
to my momentary problem:

How do I create a descent title page with centered Names, Titles, Dates,
Professors etc. in different font sizes?

Thanks already,

Axel


Error messages when using book (AMS) document class

2009-08-26 Thread Luca Carlon
Hi! I'm using without problems the book document class. However, I would like to
change it to book (AMS) but I get errors when trying to compile it. All the
errors are more or less like these:

 ...e provided value lies.}}{59}{algorithm.3.1}
  
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


 ...e provided value lies.}}{59}{algorithm.3.1}
  
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

Any idea what the problem could be? Thanks!



Re: multi page Algorithm Floats ?

2009-08-26 Thread Luca Carlon
Jaime Huerta Cepas jhue...@... writes:

 
 Hi all,
 
 I wonder if there is any way of allowing Algorithm Float boxes to start in
 the middle of one page, and end in the next one. I'm using these kind of
 floats to include pieces of highlighted source code, so I guess text could
 be perfectly splitted.
 
 Thanks!
 Jaime
 

I tried to find a solution to this too, but it seems the only way is to manually
split the algorithm in two floats (this is what I do), or to use just the lyx
code paragraph style. Bye!



About author environment

2009-08-26 Thread Alessandro Casoni

Hi, I'm writing my PhD thesiswith lyx...
..and I have a simple question: in the Title page the alignment of 
author environment is centered, so i have changed my layout as the 
following:


Style Author
 Align   Right
 AlignPossible  Right

 Font
   Size  Large
 EndFont

This changes the layout under Lyx, but not the final product (PDF or DVI)...

Alessandro




Re: [ANNOUNCE] LyX 1.6.4 is released

2009-08-26 Thread E. Kaplan
I would also love to use this version, but I must admit that I am 
totally confused by what I found-- the links that are mentioned in 
Jurgen's announcement seem to contain sources that need to be compiled-- 
I could not find anything like setup.exe, etc.
Can someone post a clear set of instructions as to how one might install 
the new version?

Thanks,



Ehud Kaplan, 




Matthias Bußjäger wrote:

Great!

I would really like to use this version because of more stability. Currently
I use Lyx 1.6.3 to write my thesis.
Thereby I am very careful and would like to know if it might result in any
problem if I change my current version of Lyx?

Thanks in advance, Matthias



On Mon, Aug 24, 2009 at 1:28 PM, Jürgen Spitzmüller sp...@lyx.org wrote:

  

Public release of LyX version 1.6.4
===

We are pleased to announce the release of LyX 1.6.4. This is the fourth
maintenance release in the 1.6.x series. This release covers, amongst
many minor improvements, fixes to some rather severe issues, such as:

* A workaround to a nasty problem in recent Qt versions (Qt 4.5.0 up to
 4.5.2) that made LyX crash if the document included images that were
 scaled to certain sizes in the work area.
* Fixes to problems that might result in the loss of data.
* Many other stability improvements, thanks to a new debugging script that
 helped to reveal uncovered critical bugs.
* Further fixes to the LaTeX importer (tex2lyx) and the conversion of
 older LyX documents (lyx2lyx).

A detailed list of changes is appended below, remaining known problems
are listed in the file RELEASE-NOTES.

All users and distributors are urged to upgrade to this version.

In case you are wondering what LyX is, here is what
http://www.lyx.org/ has to say on the subject:

  LyX is a document processor that encourages an approach to writing
  based on the structure of your documents, not their appearance. It
  is released under a Free Software/Open Source license.

  LyX is for people that write and want their writing to look great,
  right out of the box. No more endless tinkering with formatting
  details, 'finger painting' font attributes or futzing around with
  page boundaries. You just write. In the background, Prof. Knuth's
  legendary TeX typesetting engine makes you look good.

  On screen, LyX looks like any word processor; its printed output --
  or richly cross-referenced PDF, just as readily produced -- looks
  like nothing else. Gone are the days of industrially bland .docs,
  all looking similarly not-quite-right, yet coming out unpredictably
  different on different printer drivers. Gone are the crashes
  'eating' your dissertation the evening before going to press.

  LyX is stable and fully featured. It is a multi-platform, fully
  internationalized application running natively on Unix/Linux, the
  Macintosh and modern Windows platforms.

You can download LyX 1.6.4 here (the .bz2 are compressed with bzip2,
which yields smaller files):

   ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.4.tar.gz
   ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.4.tar.bz2
   ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.6.4.tar.gz
   ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.6.4.tar.bz2

and it should propagate shortly to the following mirrors (which will
also host the .bz2 versions):

   ftp://ftp.lip6.fr/pub/lyx/stable/1.6.x/lyx-1.6.4.tar.gz
   http://lyx.cybermirror.org/stable/1.6.x/lyx-1.6.4.tar.gz

ftp://gd.tuwien.ac.at/publishing/tex/lyx/stable/1.6.x/lyx-1.6.4.tar.gz
   ftp://ftp.ntua.gr/pub/X11/LyX/stable/1.6.x/lyx-1.6.4.tar.gz

http://sunsite.icm.edu.pl/pub/unix/editors/lyx/stable/1.6.x/lyx-1.6.4.tar.gz
   http://lyx.mirror.fr/stable/1.6.x/lyx-1.6.4.tar.gz

Prebuilt binaries (rpms for Linux distributions, and Windows
installers) should soon be available at
   ftp://ftp.lyx.org/pub/lyx/bin/1.6.4/

NOTE that no Mac OS X binaries will be provided for this release, due to
a regression on this platform that was detected after 1.6.4 was released.
Expect a minor update that addresses this problem to be released soon.

If you already have the sources of the previous release, you may want to
apply
one of the following patches instead
   ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/patch-1.6.4.gz
   ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/patch-1.6.4.bz2

If you find what you think is a bug in LyX 1.6.4, you may either
e-mail the LyX developers' mailing list (lyx-devel at lists.lyx.org),
or open a bug report at http://bugzilla.lyx.org

If you're having trouble using the new version of LyX, or have a
question, first check out http://www.lyx.org/help/. If you can't find
the answer there, e-mail the LyX users' list (lyx-users at lists.lyx.org
).

Enjoy!

The LyX team.


What's new in version 1.6.4?


** Updates:
***

* DOCUMENT INPUT/OUTPUT

- LaTeX import (tex2lyx) was updated and now also supports:
 

Re: [ANNOUNCE] LyX 1.6.4 is released

2009-08-26 Thread Manveru
2009/8/26 E. Kaplan ehud.kap...@mssm.edu:
 I would also love to use this version, but I must admit that I am totally
 confused by what I found-- the links that are mentioned in Jurgen's
 announcement seem to contain sources that need to be compiled-- I could not
 find anything like setup.exe, etc.
 Can someone post a clear set of instructions as to how one might install the
 new version?
 Thanks,

Please read the announcement message carefully once again. It is
standardized message sent on every release and it always contains
links to directories with Windows installers! The only problem may
occur when you want to access them just after the announcement arrives
on the list. There is always a little lag between the time of
announcement and the time when Jürgen and Uwe put binaries on FTP
server.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: multi page Algorithm Floats ?

2009-08-26 Thread Jaime Huerta Cepas
True. It seems that Floats, by definition, cannot be split into two pages.
Given that I don't need a real float for inserting my example code snippets,
I found a better solution than manual separation of content.
I'm now using an environment that mimics an algorithm float:

 \newcounter{code}

\newenvironment{CodeEnv}[1] {

\stepcounter{code}

\vspace{1ex} \hrule \vspace{1ex}

\textbf{Example \thecode }

\vspace{1ex} \hrule \vspace{1ex}

#1

\vspace{1ex} \hrule

}


Then, you can do add things like this at any part of your document:
\begin{CodeEnv} MyCodeExample \end{CodeEnv}

Note that MyCodeExample can be a verbatim area, a listing code , or
similar stuff. In my case I'm inserting an ExternalProgramListing as
explained here: http://wiki.lyx.org/Examples/IncludeExternalProgramListing,
and it works great!.

I only miss captions

Jaime.


On Wed, Aug 26, 2009 at 9:22 AM, Luca Carlon carlon.l...@gmail.com wrote:

 Jaime Huerta Cepas jhue...@... writes:

 
  Hi all,
 
  I wonder if there is any way of allowing Algorithm Float boxes to start
 in
  the middle of one page, and end in the next one. I'm using these kind of
  floats to include pieces of highlighted source code, so I guess text
 could
  be perfectly splitted.
 
  Thanks!
  Jaime
 

 I tried to find a solution to this too, but it seems the only way is to
 manually
 split the algorithm in two floats (this is what I do), or to use just the
 lyx
 code paragraph style. Bye!




-- 
=
Jaime Huerta-Cepas, Ph.D.
CRG-Centre for Genomic Regulation
Doctor Aiguader, 88
PRBB Building
08003 Barcelona, Spain
http://www.crg.es/comparative_genomics
=


Re: [ANNOUNCE] LyX 1.6.4 is released

2009-08-26 Thread Jürgen Spitzmüller
Manveru wrote:
  I would also love to use this version, but I must admit that I am totally
  confused by what I found-- the links that are mentioned in Jurgen's
  announcement seem to contain sources that need to be compiled-- I could
  not find anything like setup.exe, etc.
  Can someone post a clear set of instructions as to how one might install
  the new version?
  Thanks,
 
 Please read the announcement message carefully once again.

The crucial sentence is:

Prebuilt binaries (rpms for Linux distributions, and Windows
installers) should soon be available at
ftp://ftp.lyx.org/pub/lyx/bin/1.6.4/

The soon part depends on the free time of the volunteers who provide us with 
the binaries.

Anyway, all windows installers are on the server now. They should soon also 
appear on the mirror servers.

Jürgen


Re: [announce] LyXWinInstaller for LyX 1.6.4

2009-08-26 Thread H. Peter Gumm

Hi Uwe,

a few days ago I installed LyX+MikTex under Windows 7 (Enterprise 
Edition) using your Altinstaller Complete (i.e. LyX 1.6.3 plus MikTex) 
and to my great delight


  * It was a breeze - everything went smoothly*

Just, towards the end, when LyX starts checking for installed packages 
- one ought to suggest to users to go out for dinner. When after the 
dessert Lyx is checking : dont panic.


Thanks for a  great  installer,

Greetings,
H.Peter



Paragraph without linebreak

2009-08-26 Thread Axel
Hey,

I am looking for a way to create a linebreak after the caption I give in the
section paragraph. I want to use paragraphs like subsubsubsections. The
manual break screws up the table of contents. Is there a way to fix this in
the Latex preamble?

Thanks already,

Axel


Re: About author environment

2009-08-26 Thread Guenter Milde
On 2009-08-26, Alessandro Casoni wrote:
 Hi, I'm writing my PhD thesiswith lyx...
 ..and I have a simple question: in the Title page the alignment of 
 author environment is centered, so i have changed my layout as the 
 following:

 Style Author
   Align   Right
   AlignPossible  Right

   Font
 Size  Large
   EndFont

 This changes the layout under Lyx, but not the final product (PDF or DVI)...

Yes. (The layout files reflect what is possible with LaTeX, so if there
is no AlignPossible Right in the standard Author style, this has a
reason...)

To be seen in the final output, all changes to the layout files must be
accompagnied by changes to the exported LaTeX code.

See the `TeX FAQ`_ on how to customize the `style of document titles`_.

.. _TeX FAQ: http://www.tex.ac.uk/faq
.. _style of document titles:
   http://www.tex.ac.uk/cgi-bin/texfaq2html?label=titlsty

Günter



pdfpages problem

2009-08-26 Thread Marcelo Acuña
Hello,
 I want to put a cover made in pdf file.
 I put \usepackage{pdfpages} in preamble
and Insert the file but I get
 Undefined control sequence 
error.
 How I can make that this works well?


Marcelo Acuña
 visitá mi sitio web http://www.aleph-uno.com.ar 
==


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Re: Title page

2009-08-26 Thread Marcelo Acuña
 Hey,
 
 I am a German law student, who is using Lyx for the first
 time. I am using
 article as document class, but I could change it if
 necessary. I have been
 able to solve some problems myself, but I can't find any
 satisfying answer
 to my momentary problem:
 
 How do I create a descent title page with centered Names,
 Titles, Dates,
 Professors etc. in different font sizes?

 Koma-script book style have some command for title page.
 But habitually another program for that is used.
Marcelo



  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Re: Title page

2009-08-26 Thread rgheck

On 08/25/2009 07:05 PM, Axel wrote:

Hey,

I am a German law student, who is using Lyx for the first time. I am using
article as document class, but I could change it if necessary. I have been
able to solve some problems myself, but I can't find any satisfying answer
to my momentary problem:

How do I create a descent title page with centered Names, Titles, Dates,
Professors etc. in different font sizes?

   
It sounds as if you are looking to make a title page for a dissertation 
or something of the sort. If so, then, as Marcelo mentioned, you are 
probably best off just to do this in OpenOffice or something, rather 
than to fight LaTeX with the formatting. I.e., if it's a one-time thing, 
then the effort needed to get LaTeX to do it isn't worth it.


That said, if you want a title page with the article format, you can put 
titlepage as a class option in DocumentSettings. The book and report 
classes, both standard and koma-script, always provide title pages.


rh



Re: Error messages when using book (AMS) document class

2009-08-26 Thread rgheck

On 08/26/2009 03:20 AM, Luca Carlon wrote:

Hi! I'm using without problems the book document class. However, I would like to
change it to book (AMS) but I get errors when trying to compile it. All the
errors are more or less like these:

  ...e provided value lies.}}{59}{algorithm.3.1}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


  ...e provided value lies.}}{59}{algorithm.3.1}

A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

Any idea what the problem could be? Thanks!

   
Not offhand, no. What's the rest of the code there? If you look through 
ViewSource (or just export to LaTeX), you ought to be able to figure 
out what's generating the offending code, at least.


rh




Re: Paragraph without linebreak

2009-08-26 Thread rgheck

On 08/26/2009 06:49 AM, Axel wrote:

Hey,

I am looking for a way to create a linebreak after the caption I give in the
section paragraph. I want to use paragraphs like subsubsubsections. The
manual break screws up the table of contents. Is there a way to fix this in
the Latex preamble?

   
Can you post a short example file, illustrating what you are trying to 
do? I'm not sure I understand.


rh



Re: pdfpages problem

2009-08-26 Thread Jürgen Spitzmüller
Marcelo Acuña wrote:
 I want to put a cover made in pdf file.
  I put \usepackage{pdfpages} in preamble
 and Insert the file but I get
  Undefined control sequence
 error.
  How I can make that this works well?

Use the external inset. Insert  File  External Material and select 
pdfpages.

Jürgen


test 20090...@12:36

2009-08-26 Thread Steve Litt
test 20090...@12:36 earth
-- 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt






test 20090...@12:36

2009-08-26 Thread Steve Litt
test 20090...@12:36 earth
-- 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt





Re: Distribute the title (frontmatter) over several lines separated with line space?

2009-08-26 Thread Steve Litt
On Monday 24 August 2009 17:20:23 Bjørn Liene Gundersen wrote:
 Hi,

 I am a new user with LyX, have previousely been using Scientific
 Workplace (SWP). I am using LyX 1.63 for Windows with the standard
 report template. In the frontmatter dialog in Scientific Workplace I
 normally use to paste a graphic/icon topmost and divide the title on
 lines with several spaces between them. Now I am trying to do the same
 with LyX without the same luck. How can I distribute the title
 (frontmatter) over two or more lines with line spaces between them?
 and how can I place a picture topmost in the title? is that possible
 as it is with SWP? Where can I read more about customizing the
 frontmatter?

Thank you Bjørn,

You've given me the perfect opportunity to once again voice my belief that 
unlike a book's mainmatter, the frontmatter should be constructed of custom 
classes and ERT. Forget the Title class or the Maketitle macro. Pay no 
attention to what Document Class you're using. Just construct the whole 
\frontmatter manually, exactly how you want it. So the first thing in your 
document will be the graphic and then something like ~\\1in, and then a size 
and weight command, and then the first line of your title, and then \\0.5in, 
and then the second line of your title, etc. Or, if you want the title spread 
vertically down the whole page, use \vfill commands. There are a million ways 
to do it so you can have anything in your frontmatter, including your title 
page, look exactly how you want it to look.

You think you have problems? Hah! My eBooks all have a cover page that's an 
8.5x11 graphic, then in back of that page is a list of my books, then the next 
page is the title page, and in back of that my copyright page (not well 
provided for by any document class I've seen, and then more mundain stuff like 
acks and deds and how to use this book and of course the TOC. No problem -- 
I fingerpaint the whole thing, and I like it just that way.

SteveT

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





Did something about indexes change between 1.5.x and 1.6.x?

2009-08-26 Thread Steve Litt
Hi all,

Indexing on several of my books failed after I moved from Mandriva/LyX1.5.x to 
Ubuntu/LyX1.6.x.

Here are some errors from the .ilg file:

=
This is makeindex, version 2.14 [02-Oct-2002] (kpathsea + Thai support).
Scanning style file ./rl_21.ist..done (2 attributes redefined, 0 ignored).
Scanning input file RL21.jqVMOhYaDS.idx
!! Input index error (file = RL21.jqVMOhYaDS.idx, line = 14):
   -- Extra `@' at position 10 of first argument.
!! Input index error (file = RL21.jqVMOhYaDS.idx, line = 15):
   -- Extra `@' at position 10 of first argument.
!! Input index error (file = RL21.jqVMOhYaDS.idx, line = 16):
   -- Extra `@' at position 20 of first argument.
=

And here are lines 12-16 of the .ind file. Note lines 12 and 13 produce no 
error, but are just included to exploit the differences:
=
\indexentry{Ph.D.|see{post graduate degree}}{i}
\indexentry{Cobol|hyperpage}{1}
\indexentry{college|(@college\textbar {}(}{2}
\indexentry{college|)@college\textbar{})}{2}
\indexentry{community college|(@community college\textbar {}(}{2}
=
In fact, line 14 that references college|( was the first index entry in the 
file 
to specify a range rather than this page like lines 12 and 13.

The following is the LyX file's entry corresponding to college|( and college|) 
and the material in between:
=
\begin_layout Subsection
\begin_inset LatexCommand index
name college|(

\end_inset

College
\end_layout

\begin_layout Standard
College is great for learning unchanging principles, and unchanging principles
 can be very handy in technological survival.
 However, college is an ineffective way to keep up with technology.
 College courses typically teach technology two to ten years old in a world
 with two year technology lifespans.
\begin_inset LatexCommand index
name college|)

\end_inset


\end_layout

=

Finally, the following is the contents of my makeidx config file, which is 
called rl_21.ist

=
suffix_2p  
delim_r --
=

So, before I devote 4 hours to troubleshooting, does anyone have any 
suggestions on what to try either to resolve the problem or how to narrow it 
down?

Thanks

SteveT

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





Re: Title page

2009-08-26 Thread Steve Litt
On Tuesday 25 August 2009 19:05:48 Axel wrote:
 Hey,

 I am a German law student, who is using Lyx for the first time. I am using
 article as document class, but I could change it if necessary. I have been
 able to solve some problems myself, but I can't find any satisfying answer
 to my momentary problem:

 How do I create a descent title page with centered Names, Titles, Dates,
 Professors etc. in different font sizes?

 Thanks already,

 Axel

You've given me the perfect opportunity to once again voice my belief that 
unlike a book's mainmatter, the frontmatter should be constructed of custom 
classes and ERT. Forget the Title class or the Maketitle macro. Pay no 
attention to what Document Class you're using. Just construct the whole 
\frontmatter manually, exactly how you want it, using custom environments and 
ERT (embedded LaTeX). That way you can have any fonts, and any elements, in 
any order, that you want on your title page. So the first thing in your 
document will be a size 
and weight command, and then the first line of your title, and then \\0.5in, 
and then the second line of your title, etc. Or, if you want the title spread 
vertically down the whole page, use \vfill commands. There are a million ways 
to do it so you can have anything in your frontmatter, including your title 
page, look exactly how you want it to look.

You think you have problems? Hah! My eBooks all have a cover page that's an 
8.5x11 graphic, then in back of that page is a list of my books, then the next 
page is the title page, and in back of that my copyright page (not well 
provided for by any document class I've seen, and then more mundain stuff like 
acks and deds and how to use this book and of course the TOC. No problem -- 
I fingerpaint the whole thing, and I like it just that way.

SteveT

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





Re: Did something about indexes change between 1.5.x and 1.6.x?

2009-08-26 Thread James C. Sutherland


So, before I devote 4 hours to troubleshooting, does anyone have any
suggestions on what to try either to resolve the problem or how to  
narrow it

down?


4 Hours!?  I thought you were the troubleshooting guru!
(Sorry - couldn't resist)
;-)



Sorry for the test messages

2009-08-26 Thread Steve Litt
Hi all,

Sorry for the test messages. Somewhere between 8/23 @14:00 and 8/24 @ 17:00 my 
posts stopped posting. They didn't even post to the archives. This problem was 
LyX list specific: lyx-users and lyx-devel but not my other mailing lists.

So I changed the SMTP server through which I send messages, did a couple test 
messages to verify that eliminated the symptom, and then posted back messages.

If there's anyone who can help me solve this incompatibility between the LyX 
lists and my bluehost SMTP, that would be great.

Thanks, and sorry for the test messages.

SteveT

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




Re: Did something about indexes change between 1.5.x and 1.6.x?

2009-08-26 Thread Steve Litt
On Wednesday 26 August 2009 12:51:51 James C. Sutherland wrote:
  So, before I devote 4 hours to troubleshooting, does anyone have any
  suggestions on what to try either to resolve the problem or how to
  narrow it
  down?

 4 Hours!?  I thought you were the troubleshooting guru!
 (Sorry - couldn't resist)
 ;-)

:-)

Reminds me of my mentor at the Pacific Stereo service department. When a fellow 
technician asked him how he fixed so many stereos every day, he said his 
fingers 
were like divining rods leading him to the bad transistor.

I still haven't gotten that divining rod thing down, so 4 hours is still my 
story and I'm still sticking to it :-)

But YOU can make it 10 minutes if you just tell me what changed about indexing 
between 1.5.x and 1.6.x. :-)

SteveT



Re: Did something about indexes change between 1.5.x and 1.6.x?

2009-08-26 Thread Jürgen Spitzmüller
Steve Litt wrote:
 Indexing on several of my books failed after I moved from Mandriva/LyX1.5.x
  to Ubuntu/LyX1.6.x.

What version of LyX exactly?

Could you provide a small example file (ideally both the original LyX 1.5 and 
the converted LyX 1.6 version)?

Jürgen


Re: Did something about indexes change between 1.5.x and 1.6.x?

2009-08-26 Thread Steve Litt
See my responses and example LyX file...

On Wednesday 26 August 2009 13:02:03 Jürgen Spitzmüller wrote:
 Steve Litt wrote:
  Indexing on several of my books failed after I moved from
  Mandriva/LyX1.5.x to Ubuntu/LyX1.6.x.

 What version of LyX exactly?
1.6.3:
==
sl...@mydesk:/d/at_mony/books$ lyx -version
LyX 1.6.3 (2009-06-03)
Built on Jul 14 2009, 08:43:32
Configuration
  Host type:i486-pc-linux-gnu
  Special build flags:  aiksaurus warnings  use-aspell use-ispell
  C   Compiler: gcc 
  C   Compiler LyX flags:
  C   Compiler flags:-g -O2
  C++ Compiler: g++ (4.3.3)
  C++ Compiler LyX flags:
  C++ Compiler flags:-g -O2
  Linker flags: 
  Linker user flags:-Wl,-Bsymbolic-functions -Wl,-z,defs -Wl,--as-
needed
  Qt 4 Frontend:
  Qt 4 version: 4.5.0
  Packaging:posix
  LyX binary dir:   /usr/bin
  LyX files dir:/usr/share/lyx

sl...@mydesk:/d/at_mony/books$
==


 Could you provide a small example file (ideally both the original LyX 1.5
 and the converted LyX 1.6 version)?

I no longer have 1.5.x, but it doesn't matter. From scratch I created a tiny 
LyX file using book document class, with one right here index entries, and 
two from here --- to here entries. Here's how you reproduce the symptom:

lyx --export latex index_bug_simp.lyx
latex index_bug_simp.tex
makeindex index_bug_simp.idx

Here is the resulting .ilg file -- note the errors where I had index ranges:
==
This is makeindex, version 2.14 [02-Oct-2002] (kpathsea + Thai support).
Scanning input file index_bug_simp.idx
!! Input index error (file = index_bug_simp.idx, line = 2):
   -- Extra `@' at position 12 of first argument.
!! Input index error (file = index_bug_simp.idx, line = 3):
   -- Extra `@' at position 12 of first argument.
!! Input index error (file = index_bug_simp.idx, line = 4):
   -- Extra `@' at position 12 of first argument.
!! Input index error (file = index_bug_simp.idx, line = 5):
   -- Extra `@' at position 12 of first argument.
done (1 entries accepted, 4 rejected).
Sorting entries...done (0 comparisons).
Generating output file index_bug_simp.inddone (5 lines written, 0 
warnings).
Output written in index_bug_simp.ind.
Transcript written in index_bug_simp.ilg.
==

And the following is the .idx file producing those errors. Note the 
misconfiguration of all index entries that were ranges:
==
\indexentry{chapter 1}{1}
\indexentry{chapter 2|(@chapter 2\textbar {}(}{2}
\indexentry{chapter 2|)@chapter 2\textbar{})}{2}
\indexentry{chapter 3|(@chapter 3\textbar {}(}{3}
\indexentry{chapter 3|)@chapter 3\textbar{})}{3}
==

How did the at sign (@) and \textbar get put in there? I specified no specific 
formatting.

Anyway, index_bug_simp.lyx is attached.

Thanks

SteveT




 Jürgen

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




index_bug_simp.lyx
Description: application/lyx


Re: Paragraph without linebreak

2009-08-26 Thread Uwe Stöhr

Axel schrieb:


I am looking for a way to create a linebreak after the caption I give in the
section paragraph. I want to use paragraphs like subsubsubsections. The
manual break screws up the table of contents. Is there a way to fix this in
the Latex preamble?


To prevent the TOC from being screwed up, you can use a short title for your section heading. A 
short title is inserted via the Insert menu; the LyX User's guide explains more about this.


Can you nevertheless provide a _small_ LyX example file what you want to do 
exactly?

regards Uwe


Re: Did something about indexes change between 1.5.x and 1.6.x?

2009-08-26 Thread Steve Litt
OK, I've researched it a little more, and during the lyx --export latex, LyX 
is converting a LyX idx inset containing chapter 2|( without the quotes to 
the following LaTeX:

\index{chapter 2|(@chapter 2\textbar{}(}

The stuff from the @ through the last ( is superflous and causes errors. I 
have two choices:

1) Get LyX to quit adding the stuff between the @ and the trailing ( or ) when 
converting from LyX to latex, or

2) Create a computer program to go through my entire LaTeX file after export, 
and remove all of those little extras. That would be incredibly kludgy and I'd 
prefer not do do it.

So does anyone know why LyX 1.6.3 adds the extraneous material on range index 
entries, and how I can turn off this behavior?

Thanks

SteveT


On Wednesday 26 August 2009 13:35:22 Steve Litt wrote:
 See my responses and example LyX file...

 On Wednesday 26 August 2009 13:02:03 Jürgen Spitzmüller wrote:
  Steve Litt wrote:
   Indexing on several of my books failed after I moved from
   Mandriva/LyX1.5.x to Ubuntu/LyX1.6.x.
 
  What version of LyX exactly?

 1.6.3:
 ==
 sl...@mydesk:/d/at_mony/books$ lyx -version
 LyX 1.6.3 (2009-06-03)
 Built on Jul 14 2009, 08:43:32
 Configuration
   Host type:i486-pc-linux-gnu
   Special build flags:  aiksaurus warnings  use-aspell use-ispell
   C   Compiler: gcc
   C   Compiler LyX flags:
   C   Compiler flags:-g -O2
   C++ Compiler: g++ (4.3.3)
   C++ Compiler LyX flags:
   C++ Compiler flags:-g -O2
   Linker flags:
   Linker user flags:-Wl,-Bsymbolic-functions -Wl,-z,defs
 -Wl,--as- needed
   Qt 4 Frontend:
   Qt 4 version: 4.5.0
   Packaging:posix
   LyX binary dir:   /usr/bin
   LyX files dir:/usr/share/lyx

 sl...@mydesk:/d/at_mony/books$
 ==

  Could you provide a small example file (ideally both the original LyX 1.5
  and the converted LyX 1.6 version)?

 I no longer have 1.5.x, but it doesn't matter. From scratch I created a
 tiny LyX file using book document class, with one right here index
 entries, and two from here --- to here entries. Here's how you reproduce
 the symptom:

 lyx --export latex index_bug_simp.lyx
 latex index_bug_simp.tex
 makeindex index_bug_simp.idx

 Here is the resulting .ilg file -- note the errors where I had index
 ranges: ==
 This is makeindex, version 2.14 [02-Oct-2002] (kpathsea + Thai support).
 Scanning input file index_bug_simp.idx
 !! Input index error (file = index_bug_simp.idx, line = 2):
-- Extra `@' at position 12 of first argument.
 !! Input index error (file = index_bug_simp.idx, line = 3):
-- Extra `@' at position 12 of first argument.
 !! Input index error (file = index_bug_simp.idx, line = 4):
-- Extra `@' at position 12 of first argument.
 !! Input index error (file = index_bug_simp.idx, line = 5):
-- Extra `@' at position 12 of first argument.
 done (1 entries accepted, 4 rejected).
 Sorting entries...done (0 comparisons).
 Generating output file index_bug_simp.inddone (5 lines written, 0
 warnings).
 Output written in index_bug_simp.ind.
 Transcript written in index_bug_simp.ilg.
 ==

 And the following is the .idx file producing those errors. Note the
 misconfiguration of all index entries that were ranges:
 ==
 \indexentry{chapter 1}{1}
 \indexentry{chapter 2|(@chapter 2\textbar {}(}{2}
 \indexentry{chapter 2|)@chapter 2\textbar{})}{2}
 \indexentry{chapter 3|(@chapter 3\textbar {}(}{3}
 \indexentry{chapter 3|)@chapter 3\textbar{})}{3}
 ==

 How did the at sign (@) and \textbar get put in there? I specified no
 specific formatting.

 Anyway, index_bug_simp.lyx is attached.

 Thanks

 SteveT

  Jürgen

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




Re: Did something about indexes change between 1.5.x and 1.6.x?

2009-08-26 Thread Vincent van Ravesteijn

Steve Litt schreef:
OK, I've researched it a little more, and during the lyx --export latex, LyX 
is converting a LyX idx inset containing chapter 2|( without the quotes to 
the following LaTeX:


\index{chapter 2|(@chapter 2\textbar{}(}

The stuff from the @ through the last ( is superflous and causes errors. I 
have two choices:


1) Get LyX to quit adding the stuff between the @ and the trailing ( or ) when 
converting from LyX to latex, or


2) Create a computer program to go through my entire LaTeX file after export, 
and remove all of those little extras. That would be incredibly kludgy and I'd 
prefer not do do it.


So does anyone know why LyX 1.6.3 adds the extraneous material on range index 
entries, and how I can turn off this behavior?
  


LyX adds the stuf _before_ the @ to ensure that the entries are sorted 
correctly. For example if you have \index{\LyX}, then this would be 
sorted on top of the list, not among the other index entries that start 
with an l. Therefore lyx outputs \index{...@\lyx}.


LyX does so whenever there is any character in the entry that is 
'escaped' or a macro. In your case, LyX clearly thinks that he has to 
translate | into \textbar{}... , but this is wrong.  LyX has learned to 
recognize the |.


Your testfile works perfectly for me with 1.6.3.


Vincent


persistent LaTeX source box

2009-08-26 Thread Derek Lamb

Hi,

I've been happily using LyX for several years, writing proposals, papers 
and dissertations, etc.  My RHEL5 system was just updated to LyX 1.6.3, 
and I find that the LaTeX Source box at the bottom of the screen is 
remarkably persistent.  Personally, I don't care about the LaTeX 
source--that's why I use LyX in the first place, so I would like to have 
this box not appear.  But whenever I open LyX, the box is present.  If I 
close the box, put LyX into fullscreen mode, then bring it back, the box 
reappears.


I've searched the mailing list, internal documenation, wiki, and general 
Google, but haven't been able to find instructions for something like 
LyX make view LaTeX Source box off by default.  I was using 1.5.x (6 
maybe?) before and didn't have this problem.  Is there a checkbox or 
config option somewhere I'm missing?


thanks,
Derek


Re: persistent LaTeX source box

2009-08-26 Thread Uwe Stöhr

Derek Lamb schrieb:

whenever I open LyX, the box is present.  If I 
close the box, put LyX into fullscreen mode, then bring it back, the box 
reappears.


I cannot reproduce this with LyX 1.6.4. Can you please nevertheless report it 
at?:
http://www.lyx.org/trac/wiki/BugTrackerHome
This assures a review of other developers (I'm only on Windows and it could be a Linux-only or Qt 
problem.)


thanks and regards
Uwe


fancyhead and removing footer page number

2009-08-26 Thread Paul Sutton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

I am due to start a Open university course shortly,  and part ofthe
requirement for this is to have page numbers at the top of the page.

I have enabled the fancyhdr pacakge and figured out how to do this fine,

1. How do I now remove the page number from the footer of the page.  I
have tried the slider thing under document set for numbering and this
doesn't seem to do it,
2. Is it possible to do

i have inserted ERT

\lhead{Student name - student number}
\chead{TMA 01}
\rhead{\thepage}

is it possible to have it display

page then the page number I tried using
\head{page}{\thepage} but this seems to fail.


On and one more question,  in the text layout under document settings if
I type 1.5 in to line spacing will it display as 1.5 line spacing
(another requirement),  as this is not listed as an option.  but it
comes under custom.  So I am guessing yes.

thanks for any help

if it helps

I am using LyX under ubuntu 8.10  1.5.6.


regards

Paul Sutton

- --
Paul Sutton
www.zleap.net
Support Open and ISO standard file formats ISO 26300 odf
http://www.odfalliance.org
Meetings 1st Saturday of the month - Shoreline, Paignton from 3pm
Software freedom day 2009 - Saturday 19th September 2009
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqVowAACgkQaggq1k2FJq3z+wCePZDYM8JKyrg5+JCzT6FCfMvg
nRMAn1AQGkE97nFQEnmhFvS0G65wJlph
=T4Rn
-END PGP SIGNATURE-


Re: fancyhead and removing footer page number

2009-08-26 Thread rgheck

On 08/26/2009 05:03 PM, Paul Sutton wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

I am due to start a Open university course shortly,  and part ofthe
requirement for this is to have page numbers at the top of the page.

I have enabled the fancyhdr pacakge and figured out how to do this fine,

1. How do I now remove the page number from the footer of the page.  I
have tried the slider thing under document set for numbering and this
doesn't seem to do it.

   

It's always a good idea to start your fancyhdr stuff with:

\fancyhf{}


to clear the defaults.


2. Is it possible to do

i have inserted ERT

\lhead{Student name - student number}
\chead{TMA 01}
\rhead{\thepage}

   
This should go in the preamble, under DocumentSettings, not in ERT. 
Unless you want it to take effect, say, in the middle of the document.



is it possible to have it display

page then the page number I tried using
\head{page}{\thepage} but this seems to fail.

   

\rhead{page \thepage} should do it.


On and one more question,  in the text layout under document settings if
I type 1.5 in to line spacing will it display as 1.5 line spacing
(another requirement),  as this is not listed as an option.  but it
comes under custom.  So I am guessing yes.

   

You should have OneHalf as an option. That means 1.5.

rh



LyX indexing anomaly

2009-08-26 Thread Steve Litt
Hi all,

My copy of LyX 1.6.3 errors out on indexing because when LyX exports to LaTeX, 
it outputs normal range type indexing entries (the ones ending in a pipe 
symbol and a parenthese) with something like this:

\index{mysection|(@mysection\textbar(}

It should have looked like this:

\index{mysection|(}

The extra stuff caused errors when the makeindex program was run on the .idx 
file.

Now here's where it gets complicated. I run LyX 1.6.3. So does Vincent van 
Ravesteijn, but Vincent's LyX doesn't insert the bad text. I've attached a 
tiny file, called index_bug_simp.lyx, that exhibits this problem on my system.

Because I have to send out eBooks tonight, I couldn't solve my LyX problem, 
but instead wrote a script to convert the TeX file output by LyX into a TeX 
file 
that makeindex can deal with. Here's my kludge, fixidx.sh:

==
#!/bin/bash
texfilename=$1
tempfilename=$1.temppp
rm -f $tempfilename
mv $texfilename $tempfilename


cat $tempfilename | sed -e s/|(@[^{]*textbar{}(/|(/g  | \
sed -e s/|)@[^{]*textbar{})/|)/g   $texfilename
==

The preceding is one of the most fragile and messy kludges I've ever written, 
and before too long I'd like to fix the root cause rather than kludging the 
symptom.

S

If anybody has trouble with indexing, please see if you have the extra text in 
the output of lyx --export latex, and if so try my kludge. When we get a few 
more systems exhibiting my problem, we can find commonalities to figure out the 
root cause.

Thanks

SteveT

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




index_bug_simp.lyx
Description: application/lyx


Fonts in toolbar - menu list, dropdown menu etc.. look a bit skinny and

2009-08-26 Thread M-L

Hello Everyone,

Running Debian Squeeze

I think this is a LyX problem, because all other proggys run on FVWM
don't present with a very skinny and flaky font in the toolbar, menu
list, drop down menu's and such

The title on the window is good and I think that's set by FVWM, but
all the other fonts mentioned, of the window surround crook.

Is this a LyX problem or do I have to go elsewhere?

Thank you,
Charlie
-- 
Registered Linux User:- 329524
***
We can never have enough of nature. We must be refreshed by the sight
of inexhaustible vigor, vast and titanic features, the sea-coast with
its wrecks, the wilderness with its living and its decaying trees, the
thunder-cloud, and the rain which lasts three weeks and produces
freshets. We need to witness our own limits transgressed, and some life
pasturing freely where we never
wander. .Henry David Thoreau

***
Debian GNU/Linux - just the best way to create magic
___


Re: bibliography with a multipart document

2009-08-26 Thread Guenter Milde
On 2009-08-25, Tino Langer wrote:
> Hello lyxers,

> I try to split my lyx-document to use a multipart document. When I
> combine all subdocuments into one main document using the command
> "include" all the cite references placed in the subdocument are [?]. I
> tried the solution found here, but I get the same results:

> http://wiki.lyx.org/FAQ/Unsorted#toc31

This toc applies only for older LyX versions (< 1.6)! 

> When I add an subdocument in the maindocument using the command "input"
> everything works fine. Is this a bug? I read that using the two
> insertation commands "include" and "input" results in different outputs
> (on the same page, on a new page).

There should be no difference between 'input' and 'include' regarding the
citations.

Instead, only documents that have (or include a document with) a
bibliography section will show the citations correctly in the output.

LaTeX cannot access the bibtex database defined in a sibling or in the
master if you compile a sub-document as standalone.

To overcome this restriction, I place a copy of the 'bibliography'
section into a branch in each sub-document and activate this branch in
the sub-documents but disable it in the master.

Günter




Title page

2009-08-26 Thread Axel
Hey,

I am a German law student, who is using Lyx for the first time. I am using
article as document class, but I could change it if necessary. I have been
able to solve some problems myself, but I can't find any satisfying answer
to my momentary problem:

How do I create a descent title page with centered Names, Titles, Dates,
Professors etc. in different font sizes?

Thanks already,

Axel


Error messages when using book (AMS) document class

2009-08-26 Thread Luca Carlon
Hi! I'm using without problems the book document class. However, I would like to
change it to book (AMS) but I get errors when trying to compile it. All the
errors are more or less like these:

 ...e provided value lies.}}{59}{algorithm.3.1}
  
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


 ...e provided value lies.}}{59}{algorithm.3.1}
  
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

Any idea what the problem could be? Thanks!



Re: multi page Algorithm Floats ?

2009-08-26 Thread Luca Carlon
Jaime Huerta Cepas  writes:

> 
> Hi all,
> 
> I wonder if there is any way of allowing Algorithm Float boxes to start in
> the middle of one page, and end in the next one. I'm using these kind of
> floats to include pieces of highlighted source code, so I guess text could
> be perfectly splitted.
> 
> Thanks!
> Jaime
> 

I tried to find a solution to this too, but it seems the only way is to manually
split the algorithm in two floats (this is what I do), or to use just the lyx
code paragraph style. Bye!



About "author" environment

2009-08-26 Thread Alessandro Casoni

Hi, I'm writing my PhD thesiswith lyx...
..and I have a simple question: in the "Title" page the alignment of 
author environment is centered, so i have changed my layout as the 
following:


Style Author
 Align   Right
 AlignPossible  Right

 Font
   Size  Large
 EndFont

This changes the layout under Lyx, but not the final product (PDF or DVI)...

Alessandro




Re: [ANNOUNCE] LyX 1.6.4 is released

2009-08-26 Thread E. Kaplan
I would also love to use this version, but I must admit that I am 
totally confused by what I found-- the links that are mentioned in 
Jurgen's announcement seem to contain sources that need to be compiled-- 
I could not find anything like setup.exe, etc.
Can someone post a clear set of instructions as to how one might install 
the new version?

Thanks,



Ehud Kaplan, 




Matthias Bußjäger wrote:

Great!

I would really like to use this version because of more stability. Currently
I use Lyx 1.6.3 to write my thesis.
Thereby I am very careful and would like to know if it might result in any
problem if I change my current version of Lyx?

Thanks in advance, Matthias



On Mon, Aug 24, 2009 at 1:28 PM, Jürgen Spitzmüller  wrote:

  

Public release of LyX version 1.6.4
===

We are pleased to announce the release of LyX 1.6.4. This is the fourth
maintenance release in the 1.6.x series. This release covers, amongst
many minor improvements, fixes to some rather severe issues, such as:

* A workaround to a nasty problem in recent Qt versions (Qt 4.5.0 up to
 4.5.2) that made LyX crash if the document included images that were
 scaled to certain sizes in the work area.
* Fixes to problems that might result in the loss of data.
* Many other stability improvements, thanks to a new debugging script that
 helped to reveal uncovered critical bugs.
* Further fixes to the LaTeX importer (tex2lyx) and the conversion of
 older LyX documents (lyx2lyx).

A detailed list of changes is appended below, remaining known problems
are listed in the file RELEASE-NOTES.

All users and distributors are urged to upgrade to this version.

In case you are wondering what LyX is, here is what
http://www.lyx.org/ has to say on the subject:

  LyX is a document processor that encourages an approach to writing
  based on the structure of your documents, not their appearance. It
  is released under a Free Software/Open Source license.

  LyX is for people that write and want their writing to look great,
  right out of the box. No more endless tinkering with formatting
  details, 'finger painting' font attributes or futzing around with
  page boundaries. You just write. In the background, Prof. Knuth's
  legendary TeX typesetting engine makes you look good.

  On screen, LyX looks like any word processor; its printed output --
  or richly cross-referenced PDF, just as readily produced -- looks
  like nothing else. Gone are the days of industrially bland .docs,
  all looking similarly not-quite-right, yet coming out unpredictably
  different on different printer drivers. Gone are the crashes
  'eating' your dissertation the evening before going to press.

  LyX is stable and fully featured. It is a multi-platform, fully
  internationalized application running natively on Unix/Linux, the
  Macintosh and modern Windows platforms.

You can download LyX 1.6.4 here (the .bz2 are compressed with bzip2,
which yields smaller files):

   ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.4.tar.gz
   ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.4.tar.bz2
   ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.6.4.tar.gz
   ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.6.4.tar.bz2

and it should propagate shortly to the following mirrors (which will
also host the .bz2 versions):

   ftp://ftp.lip6.fr/pub/lyx/stable/1.6.x/lyx-1.6.4.tar.gz
   http://lyx.cybermirror.org/stable/1.6.x/lyx-1.6.4.tar.gz

ftp://gd.tuwien.ac.at/publishing/tex/lyx/stable/1.6.x/lyx-1.6.4.tar.gz
   ftp://ftp.ntua.gr/pub/X11/LyX/stable/1.6.x/lyx-1.6.4.tar.gz

http://sunsite.icm.edu.pl/pub/unix/editors/lyx/stable/1.6.x/lyx-1.6.4.tar.gz
   http://lyx.mirror.fr/stable/1.6.x/lyx-1.6.4.tar.gz

Prebuilt binaries (rpms for Linux distributions, and Windows
installers) should soon be available at
   ftp://ftp.lyx.org/pub/lyx/bin/1.6.4/

NOTE that no Mac OS X binaries will be provided for this release, due to
a regression on this platform that was detected after 1.6.4 was released.
Expect a minor update that addresses this problem to be released soon.

If you already have the sources of the previous release, you may want to
apply
one of the following patches instead
   ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/patch-1.6.4.gz
   ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/patch-1.6.4.bz2

If you find what you think is a bug in LyX 1.6.4, you may either
e-mail the LyX developers' mailing list (lyx-devel  lists.lyx.org),
or open a bug report at http://bugzilla.lyx.org

If you're having trouble using the new version of LyX, or have a
question, first check out http://www.lyx.org/help/. If you can't find
the answer there, e-mail the LyX users' list (lyx-users  lists.lyx.org
).

Enjoy!

The LyX team.


What's new in version 1.6.4?


** Updates:
***

* DOCUMENT INPUT/OUTPUT

- LaTeX import (tex2lyx) was updated and now also supports:
 * 

Re: [ANNOUNCE] LyX 1.6.4 is released

2009-08-26 Thread Manveru
2009/8/26 E. Kaplan :
> I would also love to use this version, but I must admit that I am totally
> confused by what I found-- the links that are mentioned in Jurgen's
> announcement seem to contain sources that need to be compiled-- I could not
> find anything like setup.exe, etc.
> Can someone post a clear set of instructions as to how one might install the
> new version?
> Thanks,

Please read the announcement message carefully once again. It is
standardized message sent on every release and it always contains
links to directories with Windows installers! The only problem may
occur when you want to access them just after the announcement arrives
on the list. There is always a little lag between the time of
announcement and the time when Jürgen and Uwe put binaries on FTP
server.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: multi page Algorithm Floats ?

2009-08-26 Thread Jaime Huerta Cepas
True. It seems that Floats, by definition, cannot be split into two pages.
Given that I don't need a real float for inserting my example code snippets,
I found a better solution than manual separation of content.
I'm now using an environment that mimics an algorithm float:

 \newcounter{code}

\newenvironment{CodeEnv}[1] {

\stepcounter{code}

\vspace{1ex} \hrule \vspace{1ex}

\textbf{Example \thecode }

\vspace{1ex} \hrule \vspace{1ex}

#1

\vspace{1ex} \hrule

}


Then, you can do add things like this at any part of your document:
\begin{CodeEnv} MyCodeExample \end{CodeEnv}

Note that MyCodeExample can be a verbatim area, a "listing" code , or
similar stuff. In my case I'm inserting an ExternalProgramListing as
explained here: http://wiki.lyx.org/Examples/IncludeExternalProgramListing,
and it works great!.

I only miss captions

Jaime.


On Wed, Aug 26, 2009 at 9:22 AM, Luca Carlon  wrote:

> Jaime Huerta Cepas  writes:
>
> >
> > Hi all,
> >
> > I wonder if there is any way of allowing Algorithm Float boxes to start
> in
> > the middle of one page, and end in the next one. I'm using these kind of
> > floats to include pieces of highlighted source code, so I guess text
> could
> > be perfectly splitted.
> >
> > Thanks!
> > Jaime
> >
>
> I tried to find a solution to this too, but it seems the only way is to
> manually
> split the algorithm in two floats (this is what I do), or to use just the
> lyx
> code paragraph style. Bye!
>
>


-- 
=
Jaime Huerta-Cepas, Ph.D.
CRG-Centre for Genomic Regulation
Doctor Aiguader, 88
PRBB Building
08003 Barcelona, Spain
http://www.crg.es/comparative_genomics
=


Re: [ANNOUNCE] LyX 1.6.4 is released

2009-08-26 Thread Jürgen Spitzmüller
Manveru wrote:
> > I would also love to use this version, but I must admit that I am totally
> > confused by what I found-- the links that are mentioned in Jurgen's
> > announcement seem to contain sources that need to be compiled-- I could
> > not find anything like setup.exe, etc.
> > Can someone post a clear set of instructions as to how one might install
> > the new version?
> > Thanks,
> 
> Please read the announcement message carefully once again.

The crucial sentence is:

Prebuilt binaries (rpms for Linux distributions, and Windows
installers) should soon be available at
ftp://ftp.lyx.org/pub/lyx/bin/1.6.4/

The "soon" part depends on the free time of the volunteers who provide us with 
the binaries.

Anyway, all windows installers are on the server now. They should soon also 
appear on the mirror servers.

Jürgen


Re: [announce] LyXWinInstaller for LyX 1.6.4

2009-08-26 Thread H. Peter Gumm

Hi Uwe,

a few days ago I installed LyX+MikTex under Windows 7 (Enterprise 
Edition) using your "Altinstaller Complete" (i.e. LyX 1.6.3 plus MikTex) 
and to my great delight


  * It was a breeze - everything went smoothly*

Just, towards the end, when LyX starts "checking for installed packages" 
- one ought to suggest to users to go out for dinner. When after the 
dessert Lyx is checking : dont panic.


Thanks for a  great  installer,

Greetings,
H.Peter



Paragraph without linebreak

2009-08-26 Thread Axel
Hey,

I am looking for a way to create a linebreak after the caption I give in the
section paragraph. I want to use paragraphs like subsubsubsections. The
manual break screws up the table of contents. Is there a way to fix this in
the Latex preamble?

Thanks already,

Axel


Re: About "author" environment

2009-08-26 Thread Guenter Milde
On 2009-08-26, Alessandro Casoni wrote:
> Hi, I'm writing my PhD thesiswith lyx...
> ..and I have a simple question: in the "Title" page the alignment of 
> author environment is centered, so i have changed my layout as the 
> following:

> Style Author
>   Align   Right
>   AlignPossible  Right

>   Font
> Size  Large
>   EndFont

> This changes the layout under Lyx, but not the final product (PDF or DVI)...

Yes. (The layout files reflect what is possible with LaTeX, so if there
is no "AlignPossible Right" in the standard Author style, this has a
reason...)

To be seen in the final output, all changes to the layout files must be
accompagnied by changes to the exported LaTeX code.

See the `TeX FAQ`_ on how to customize the `style of document titles`_.

.. _TeX FAQ: http://www.tex.ac.uk/faq
.. _style of document titles:
   http://www.tex.ac.uk/cgi-bin/texfaq2html?label=titlsty

Günter



pdfpages problem

2009-08-26 Thread Marcelo Acuña
Hello,
 I want to put a cover made in pdf file.
 I put \usepackage{pdfpages} in preamble
and Insert the file but I get
 Undefined control sequence 
error.
 How I can make that this works well?


Marcelo Acuña
 visitá mi sitio web http://www.aleph-uno.com.ar 
==


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Re: Title page

2009-08-26 Thread Marcelo Acuña
> Hey,
> 
> I am a German law student, who is using Lyx for the first
> time. I am using
> article as document class, but I could change it if
> necessary. I have been
> able to solve some problems myself, but I can't find any
> satisfying answer
> to my momentary problem:
> 
> How do I create a descent title page with centered Names,
> Titles, Dates,
> Professors etc. in different font sizes?

 Koma-script book style have some command for title page.
 But habitually another program for that is used.
Marcelo



  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Re: Title page

2009-08-26 Thread rgheck

On 08/25/2009 07:05 PM, Axel wrote:

Hey,

I am a German law student, who is using Lyx for the first time. I am using
article as document class, but I could change it if necessary. I have been
able to solve some problems myself, but I can't find any satisfying answer
to my momentary problem:

How do I create a descent title page with centered Names, Titles, Dates,
Professors etc. in different font sizes?

   
It sounds as if you are looking to make a title page for a dissertation 
or something of the sort. If so, then, as Marcelo mentioned, you are 
probably best off just to do this in OpenOffice or something, rather 
than to fight LaTeX with the formatting. I.e., if it's a one-time thing, 
then the effort needed to get LaTeX to do it isn't worth it.


That said, if you want a title page with the article format, you can put 
"titlepage" as a class option in Document>Settings. The book and report 
classes, both standard and koma-script, always provide title pages.


rh



Re: Error messages when using book (AMS) document class

2009-08-26 Thread rgheck

On 08/26/2009 03:20 AM, Luca Carlon wrote:

Hi! I'm using without problems the book document class. However, I would like to
change it to book (AMS) but I get errors when trying to compile it. All the
errors are more or less like these:

  ...e provided value lies.}}{59}{algorithm.3.1}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


  ...e provided value lies.}}{59}{algorithm.3.1}

A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

Any idea what the problem could be? Thanks!

   
Not offhand, no. What's the rest of the code there? If you look through 
View>Source (or just export to LaTeX), you ought to be able to figure 
out what's generating the offending code, at least.


rh




Re: Paragraph without linebreak

2009-08-26 Thread rgheck

On 08/26/2009 06:49 AM, Axel wrote:

Hey,

I am looking for a way to create a linebreak after the caption I give in the
section paragraph. I want to use paragraphs like subsubsubsections. The
manual break screws up the table of contents. Is there a way to fix this in
the Latex preamble?

   
Can you post a short example file, illustrating what you are trying to 
do? I'm not sure I understand.


rh



Re: pdfpages problem

2009-08-26 Thread Jürgen Spitzmüller
Marcelo Acuña wrote:
> I want to put a cover made in pdf file.
>  I put \usepackage{pdfpages} in preamble
> and Insert the file but I get
>  Undefined control sequence
> error.
>  How I can make that this works well?

Use the external inset. Insert > File > External Material and select 
"pdfpages".

Jürgen


test 20090...@12:36

2009-08-26 Thread Steve Litt
test 20090...@12:36 earth
-- 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt






test 20090...@12:36

2009-08-26 Thread Steve Litt
test 20090...@12:36 earth
-- 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt





Re: Distribute the title (frontmatter) over several lines separated with line space?

2009-08-26 Thread Steve Litt
On Monday 24 August 2009 17:20:23 Bjørn Liene Gundersen wrote:
> Hi,
>
> I am a new user with LyX, have previousely been using Scientific
> Workplace (SWP). I am using LyX 1.63 for Windows with the standard
> report template. In the frontmatter dialog in Scientific Workplace I
> normally use to paste a graphic/icon topmost and divide the title on
> lines with several spaces between them. Now I am trying to do the same
> with LyX without the same luck. How can I distribute the title
> (frontmatter) over two or more lines with line spaces between them?
> and how can I place a picture topmost in the title? is that possible
> as it is with SWP? Where can I read more about customizing the
> frontmatter?

Thank you Bjørn,

You've given me the perfect opportunity to once again voice my belief that 
unlike a book's mainmatter, the frontmatter should be constructed of custom 
classes and ERT. Forget the Title class or the Maketitle macro. Pay no 
attention to what Document Class you're using. Just construct the whole 
\frontmatter manually, exactly how you want it. So the first thing in your 
document will be the graphic and then something like ~\\1in, and then a size 
and weight command, and then the first line of your title, and then \\0.5in, 
and then the second line of your title, etc. Or, if you want the title spread 
vertically down the whole page, use \vfill commands. There are a million ways 
to do it so you can have anything in your frontmatter, including your title 
page, look exactly how you want it to look.

You think you have problems? Hah! My eBooks all have a cover page that's an 
8.5x11 graphic, then in back of that page is a list of my books, then the next 
page is the title page, and in back of that my copyright page (not well 
provided for by any document class I've seen, and then more mundain stuff like 
acks and deds and "how to use this book" and of course the TOC. No problem -- 
I fingerpaint the whole thing, and I like it just that way.

SteveT

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





Did something about indexes change between 1.5.x and 1.6.x?

2009-08-26 Thread Steve Litt
Hi all,

Indexing on several of my books failed after I moved from Mandriva/LyX1.5.x to 
Ubuntu/LyX1.6.x.

Here are some errors from the .ilg file:

=
This is makeindex, version 2.14 [02-Oct-2002] (kpathsea + Thai support).
Scanning style file ./rl_21.ist..done (2 attributes redefined, 0 ignored).
Scanning input file RL21.jqVMOhYaDS.idx
!! Input index error (file = RL21.jqVMOhYaDS.idx, line = 14):
   -- Extra `@' at position 10 of first argument.
!! Input index error (file = RL21.jqVMOhYaDS.idx, line = 15):
   -- Extra `@' at position 10 of first argument.
!! Input index error (file = RL21.jqVMOhYaDS.idx, line = 16):
   -- Extra `@' at position 20 of first argument.
=

And here are lines 12-16 of the .ind file. Note lines 12 and 13 produce no 
error, but are just included to exploit the differences:
=
\indexentry{Ph.D.|see{post graduate degree}}{i}
\indexentry{Cobol|hyperpage}{1}
\indexentry{college|(@college\textbar {}(}{2}
\indexentry{college|)@college\textbar{})}{2}
\indexentry{community college|(@community college\textbar {}(}{2}
=
In fact, line 14 that references college|( was the first index entry in the 
file 
to specify a range rather than "this page" like lines 12 and 13.

The following is the LyX file's entry corresponding to college|( and college|) 
and the material in between:
=
\begin_layout Subsection
\begin_inset LatexCommand index
name "college|("

\end_inset

College
\end_layout

\begin_layout Standard
College is great for learning unchanging principles, and unchanging principles
 can be very handy in technological survival.
 However, college is an ineffective way to keep up with technology.
 College courses typically teach technology two to ten years old in a world
 with two year technology lifespans.
\begin_inset LatexCommand index
name "college|)"

\end_inset


\end_layout

=

Finally, the following is the contents of my makeidx config file, which is 
called rl_21.ist

=
suffix_2p " "
delim_r "--"
=

So, before I devote 4 hours to troubleshooting, does anyone have any 
suggestions on what to try either to resolve the problem or how to narrow it 
down?

Thanks

SteveT

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





Re: Title page

2009-08-26 Thread Steve Litt
On Tuesday 25 August 2009 19:05:48 Axel wrote:
> Hey,
>
> I am a German law student, who is using Lyx for the first time. I am using
> article as document class, but I could change it if necessary. I have been
> able to solve some problems myself, but I can't find any satisfying answer
> to my momentary problem:
>
> How do I create a descent title page with centered Names, Titles, Dates,
> Professors etc. in different font sizes?
>
> Thanks already,
>
> Axel

You've given me the perfect opportunity to once again voice my belief that 
unlike a book's mainmatter, the frontmatter should be constructed of custom 
classes and ERT. Forget the Title class or the Maketitle macro. Pay no 
attention to what Document Class you're using. Just construct the whole 
\frontmatter manually, exactly how you want it, using custom environments and 
ERT (embedded LaTeX). That way you can have any fonts, and any elements, in 
any order, that you want on your title page. So the first thing in your 
document will be a size 
and weight command, and then the first line of your title, and then \\0.5in, 
and then the second line of your title, etc. Or, if you want the title spread 
vertically down the whole page, use \vfill commands. There are a million ways 
to do it so you can have anything in your frontmatter, including your title 
page, look exactly how you want it to look.

You think you have problems? Hah! My eBooks all have a cover page that's an 
8.5x11 graphic, then in back of that page is a list of my books, then the next 
page is the title page, and in back of that my copyright page (not well 
provided for by any document class I've seen, and then more mundain stuff like 
acks and deds and "how to use this book" and of course the TOC. No problem -- 
I fingerpaint the whole thing, and I like it just that way.

SteveT

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





Re: Did something about indexes change between 1.5.x and 1.6.x?

2009-08-26 Thread James C. Sutherland


So, before I devote 4 hours to troubleshooting, does anyone have any
suggestions on what to try either to resolve the problem or how to  
narrow it

down?


4 Hours!?  I thought you were the troubleshooting guru!
(Sorry - couldn't resist)
;-)



Sorry for the test messages

2009-08-26 Thread Steve Litt
Hi all,

Sorry for the test messages. Somewhere between 8/23 @14:00 and 8/24 @ 17:00 my 
posts stopped posting. They didn't even post to the archives. This problem was 
LyX list specific: lyx-users and lyx-devel but not my other mailing lists.

So I changed the SMTP server through which I send messages, did a couple test 
messages to verify that eliminated the symptom, and then posted back messages.

If there's anyone who can help me solve this incompatibility between the LyX 
lists and my bluehost SMTP, that would be great.

Thanks, and sorry for the test messages.

SteveT

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




Re: Did something about indexes change between 1.5.x and 1.6.x?

2009-08-26 Thread Steve Litt
On Wednesday 26 August 2009 12:51:51 James C. Sutherland wrote:
> > So, before I devote 4 hours to troubleshooting, does anyone have any
> > suggestions on what to try either to resolve the problem or how to
> > narrow it
> > down?
>
> 4 Hours!?  I thought you were the troubleshooting guru!
> (Sorry - couldn't resist)
> ;-)

:-)

Reminds me of my mentor at the Pacific Stereo service department. When a fellow 
technician asked him how he fixed so many stereos every day, he said his 
fingers 
were like divining rods leading him to the bad transistor.

I still haven't gotten that divining rod thing down, so 4 hours is still my 
story and I'm still sticking to it :-)

But YOU can make it 10 minutes if you just tell me what changed about indexing 
between 1.5.x and 1.6.x. :-)

SteveT



  1   2   >