Re: Import von Excel-Tabellen in Lyx

2010-07-28 Thread Liviu Andronic
On Tue, 27 Jul 2010 18:32:27 +0200
Yago diazd...@ono.com wrote:

 You can also use the LaTeX2RTF freeware program.
 
Open-source, I believe. Some may get picky on the differences from
freeware. 
Liviu


Re: Import von Excel-Tabellen in Lyx

2010-07-28 Thread Liviu Andronic
On Tue, 27 Jul 2010 10:16:00 -0400
Tennessee Carmel-Veilleux tennessee.carmelveill...@gmail.com wrote:
 To import a table in LyX, you have to use the Import submenu of the
 File menu. There, you can import a CSV file (comma-separated
 values) which Excel can write. This will create a new LyX file with
 the table in it. From there you can cut and paste it.
 
Other than the CSV route, there was some recent discussions about
incorporating an external inset for spreadsheets. Search the archives
for more info. 
Liviu



Re: Import von Excel-Tabellen in Lyx

2010-07-28 Thread Yago

Open-source, of course...
- Original Message - 
From: Liviu Andronic landronim...@gmail.com

To: lyx-users@lists.lyx.org
Sent: Wednesday, July 28, 2010 10:10 AM
Subject: Re: Import von Excel-Tabellen in Lyx



On Tue, 27 Jul 2010 18:32:27 +0200
Yago diazd...@ono.com wrote:


You can also use the LaTeX2RTF freeware program.


Open-source, I believe. Some may get picky on the differences from
freeware. 
Liviu


Re: table of contents and pdf hyperrefs

2010-07-28 Thread Tennessee Carmel-Veilleux
On 28 July 2010 01:23, Alex Leith alexgle...@gmail.com wrote:

 Hi all

 I am writing my thesis in LyX and I am using koma-script report template. I
 have most things working really well, it is great, but I have two things
 which arent.

 1/ I want to have my TOC, LOT and LOF all to appear in the table of
 contents and to be in the PDF, is this possible.


Basically, you have to give class options (Document:Settings:Document
Class:Class Options:Custom) that tell KOMA-Script to include these.

The options are:
listof=totoc
bibliography=totoc or =totocnumbered (to have it numbered in sequence as a
chapter).

So in your case you would have:
listof=totoc,bibliography=totoc

in the custom options box.

See the screencast here (2 minutes) for the effect:
http://screencast.com/t/ODQ3MDc3O

See section 3.1.5 of the KOMA-Script manual for a full description of these
TOC options:
http://www.tex.ac.uk/CTAN/macros/latex/contrib/koma-script/scrguien.pdf.



 2/ My appendices are in the TOC but when you click them it goes to chapter
 1 for APp A, chapter 2 for APP B etc. This is the case for in text and the
 PDF index.


This does not happen with my KOMA-Script documents. Maybe it is a problem of
one of the packages that you are using which redefines some aspects of the
Chapter command in the case of appendixes. It's hard to tell... Maybe
someone else has an answer on that one :)

Best regards,

Tennessee Carmel-Veilleux, EIT
Electrical engineering masters student, ETS (http://www.etsmtl.ca)
Project AREXIMAS (http://areximas.etsmtl.ca)



 Thanks for you time,

 Alex

 --
 Alex Leith
 Surveying and Spatial Sciences
 University of Tasmania
 email: alexgle...@gmail.com
 mobile: 0419189050



Re: Lyx mailing list: problem with fancyhdr

2010-07-28 Thread Stefan Zorn
Hi all,

 Additionally I have a small question which I could not find in the
 forum: Occasionally (4 lines in 100 pages) a line overwrites the right
 margin. It seems that, this are lines with very long words. How can I
 manual force a line break in this case?

Use InsertFormattingHyphenation Point to insert a soft hyphen (as 
WordPerfect used to call it). This will tell TeX that it is OK to break the 
line there.

rh

Problem solved thank you very much Richard!


 Hi all,

 I have a problem wih the fancyhdr package. I use lyx version 1.6.5.
 In order to add the title of the chapter in the top line and the
 pagenumber at the bottom of the page (both for even numbered pages in
 the right corner and for odd numbered pages in the left corner), I
 used the header:

 \usepackage{fancyhdr}

 \pagestyle{fancy}

 \fancyhead{}  % clear all header fields
 \fancyhead[LO,RE]{\leftmark}
 \fancyfoot{}  % clear all footer fields
 \fancyfoot[LO,RE]{\thepage}
 \renewcommand{\headrulewidth}{0.4pt}

 It works perfectly fine. However, the first page of each chapter is
 unchanged. I want to change the position of this pages to the left or
 right position and no header. To this end I used in the header the
 command:

 \pagestyle{fancyplain}
 \fancyhead{}  % clear all header fields
 \fancyfoot{}  % clear all footer fields
 \fancyfoot[LO,RE]{\thepage}

 If I put this in the header in front of the \pagestyle{fancy}
 commands, the first chapter page looks like the following ones but
 without a line in the top.
 If I put it in the header after the \pagestyle{fancy} commands, the
 first chapter page looks as I intended (no header, the pagenumber
 moved to the left/right corner). However, the other pages got only a
 line in the header without the chaptername.

 What is wrong?

Maybe the question was a bit to complicated, so I try to ask easier:

I use the document class report.
How would you define with the fancyhdr package or in an other way,
that in the first pages of the chapters the pagenumbers are printed
for even numbered pages in the lower right corner and for odd numbered
pages in the lower left corner?

Thank you very much for your help!

Kind regards!

Stefan


Getting RevTeX 4.1 layout to work

2010-07-28 Thread Daniel Joshua Stark
Dear All,

I'm using LyX 1.6.7 on Mac OS X 10.6.4.  

I've installed the revtex4-1.layout file in /Library/Application 
Support/LyX-1.6/layouts 

I use the 2009 Tex Live distribution of MacTeX and it is up-to-date.  When I 
check in texmf-dist/tex/latex/revtex, revtex4-1.cls is present.  

I've run sudo texhash several times and have reconfigured LyX several times.  
However, whenever I try to select Article (REVTeX 4.1) in Lyx, I get the 
following error:  The document class revtex4-1 could not be loaded. 

I'm at a lost as to why it is not loading.  Any help would be greatly 
appreciated.

Confused,

Daniel Stark
PhD Candidate 
✦ Physics and Astronomy   BRC 721, MS-142   Rice University   6500 Main Street  
 Houston TX 77030   USA
✦ Ph: +1-713-348-3129  Fx:  +1-713-348-8099

In physics, you don't have to go around making trouble for yourself - nature 
does it for you. - Frank Wilczek
I think physicists are the Peter Pans of the human race. They never grow up and 
they keep their curiosity. - Isidor Isaac Rabi



Re: Getting RevTeX 4.1 layout to work

2010-07-28 Thread Richard Heck

On 07/28/2010 03:44 PM, Daniel Joshua Stark wrote:

Dear All,

I'm using LyX 1.6.7 on Mac OS X 10.6.4.

I've installed the revtex4-1.layout file in /Library/Application
Support/LyX-1.6/layouts

I use the 2009 Tex Live distribution of MacTeX and it is up-to-date.
 When I check in texmf-dist/tex/latex/revtex, revtex4-1.cls is present.

I've run sudo texhash several times and have reconfigured LyX several
times.  However, whenever I try to select Article (REVTeX 4.1) in
Lyx, I get the following error:  The document class revtex4-1 could
not be loaded.

I'm at a lost as to why it is not loading.  Any help would be greatly
appreciated.

The error message is saying that the layout file could not be loaded. If 
you've downloaded the layout file from the wiki here:

http://wiki.lyx.org/Layouts/Revtex4-1
then the problem is that this is for LyX 2.0, not for LyX 1.6.x. I've 
added a note to that effect to the wiki.


The error messages for this kind of thing will be more informative in 2.0.

Richard



How to view outline mode without clicking the table of contents?

2010-07-28 Thread Steve Litt
Hi all,

I have LyX 1.6.4 on Ubuntu 9.10.

How do I view outline mode without clicking the table of contents? I know it's 
a dumb question with a simple answer, but I've crawled all over the menus and 
done some Googling and can't find it. Could somebody please enlighten me?

The problem with clicking on the table of contents is I have a somewhat long 
book with the contents neither on page 1 nor on the last page, so I have to go 
and find the contents to click them. This happens every time I bring up a new 
LyX session. It would be a lot easier if I knew how to access outline mode 
from the menu system.

Thanks

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



Re: How to view outline mode without clicking the table of contents?

2010-07-28 Thread Liviu Andronic
Steve

On Wed, 28 Jul 2010 17:26:21 -0400
Steve Litt sl...@troubleshooters.com wrote:
 How do I view outline mode without clicking the table of contents? I
 know it's a dumb question with a simple answer, but I've crawled all
 over the menus and done some Googling and can't find it. Could
 somebody please enlighten me?
 
Are you talking about Document  Outline or the book-like Toggle
outline button to the right of Insert table? 
Liviu


Re: table of contents and pdf hyperrefs

2010-07-28 Thread Alex Leith
On Wed, Jul 28, 2010 at 9:27 PM, Tennessee Carmel-Veilleux 
tennessee.carmelveill...@gmail.com wrote:


 On 28 July 2010 01:23, Alex Leith alexgle...@gmail.com wrote:

 Hi all

 I am writing my thesis in LyX and I am using koma-script report template.
 I have most things working really well, it is great, but I have two things
 which arent.

 1/ I want to have my TOC, LOT and LOF all to appear in the table of
 contents and to be in the PDF, is this possible.


 Basically, you have to give class options (Document:Settings:Document
 Class:Class Options:Custom) that tell KOMA-Script to include these.

 The options are:
 listof=totoc
 bibliography=totoc or =totocnumbered (to have it numbered in sequence as
 a chapter).

 So in your case you would have:
 listof=totoc,bibliography=totoc

 in the custom options box.

 See the screencast here (2 minutes) for the effect:
 http://screencast.com/t/ODQ3MDc3O

 See section 3.1.5 of the KOMA-Script manual for a full description of these
 TOC options:
 http://www.tex.ac.uk/CTAN/macros/latex/contrib/koma-script/scrguien.pdf.



 2/ My appendices are in the TOC but when you click them it goes to chapter
 1 for APp A, chapter 2 for APP B etc. This is the case for in text and the
 PDF index.


 This does not happen with my KOMA-Script documents. Maybe it is a problem
 of one of the packages that you are using which redefines some aspects of
 the Chapter command in the case of appendixes. It's hard to tell... Maybe
 someone else has an answer on that one :)

 Best regards,

 Tennessee Carmel-Veilleux, EIT
 Electrical engineering masters student, ETS (http://www.etsmtl.ca)
 Project AREXIMAS (http://areximas.etsmtl.ca)



 Thanks for you time,

 Alex

 --
 Alex Leith
 Surveying and Spatial Sciences
 University of Tasmania
 email: alexgle...@gmail.com
 mobile: 0419189050



Thanks Tennessee

I am guessing, now, that the chapter command has been changed by fancychap
and that this has somehow changed the behaviour of the links for the
appendices. I removed it from the preable and that has fixed that problem.

Just now I changed the options of koma-script to listof=toc, and the list of
figures and tables are included in the TOC, but the table of contents itself
is not still... Any ideas?

Cheers,

Alex

-- 
Alex Leith
Surveying and Spatial Sciences
University of Tasmania
email: alexgle...@gmail.com
mobile: 0419189050


OT: Statistics book created with LyX/Sweave

2010-07-28 Thread Liviu Andronic
Dear all
To increase the noise level, G. Jay Kerns recently published an
Introduction to Probability and Statistics Using R book [1] that was
generated using LyX with Sweave. The book and the source files are
available to download. 

Regards
Liviu

[1] http://ipsur.r-forge.r-project.org/book/index.php
[2] http://ipsur.r-forge.r-project.org/book/downloads.php


Re: OT: Statistics book created with LyX/Sweave

2010-07-28 Thread Rich Shepard

On Wed, 28 Jul 2010, Liviu Andronic wrote:


To increase the noise level, G. Jay Kerns recently published an
Introduction to Probability and Statistics Using R book [1] that was
generated using LyX with Sweave. The book and the source files are
available to download.


Liviu,

  This looks like a great tool to teach probability and statistics, R,
LaTeX, LyX, and Sweave. That's a lot of value from a single document. Kudos
to Jay.

Rich


Re: Lyx mailing list: problem with fancyhdr

2010-07-28 Thread Charlie
On Wed, 28 Jul 2010 19:27:49 + Stefan Zorn
wintige...@googlemail.com shared this with is all on the Lyx users
list:

 Additionally I have a small question which I could not find in the
 forum: Occasionally (4 lines in 100 pages) a line overwrites the
 right margin. It seems that, this are lines with very long words.
 How can I manual force a line break in this case?  

Use InsertFormattingHyphenation Point to insert a soft hyphen (as
WordPerfect used to call it). This will tell TeX that it is OK to
break the line there.  

rh   

Thought that might work for me Richard - but doesn't:

Using Debian Squeeze - LyX version 1.6.7 - book (KOMA-Script)

and in the preamble - \hyphenpenalty=1 - \widowpenalty=1000

So I have always done the hyphenating manually in the few instances
where it's not done for me, usually in email headers copied into LyX.

Be well,
Charlie
-- 
Registered Linux User:- 329524
***
Better not to begin. Once you begin, better to finish it.
---BUDDHIST SAYING

***
Debian, just the best way to create magic
___


Re: How to view outline mode without clicking the table of contents?

2010-07-28 Thread Steve Litt
On Wednesday 28 July 2010 17:46:16 Liviu Andronic wrote:
 Steve
 
 On Wed, 28 Jul 2010 17:26:21 -0400
 
 Steve Litt sl...@troubleshooters.com wrote:
  How do I view outline mode without clicking the table of contents? I
  know it's a dumb question with a simple answer, but I've crawled all
  over the menus and done some Googling and can't find it. Could
  somebody please enlighten me?
 
 Are you talking about Document  Outline 

Yes! Thank you Liviu!

I told you it was a dumb question, but I couldn't find it myself even after an 
hour of looking. I just couldn't accept it wouldn't be in the View menu.

Anyway, thanks, you've made my job a lot easier.

SteveT

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



Re: How to view outline mode without clicking the table of contents?

2010-07-28 Thread Liviu Andronic
On Wed, 28 Jul 2010 19:03:46 -0400
Steve Litt sl...@troubleshooters.com wrote:
 I told you it was a dumb question, but I couldn't find it myself even
 after an hour of looking. I just couldn't accept it wouldn't be in
 the View menu.
 
Most welcome. :) I also think Outline would be better off in View. 
Liviu


Re: table of contents and pdf hyperrefs

2010-07-28 Thread Alex Leith
On Thu, Jul 29, 2010 at 9:24 AM, Tennessee Carmel-Veilleux 
tennessee.carmelveill...@gmail.com wrote:

 To find something listed in the table of contents, you need to be looking
 at the table of contents. Thus, you don't need to list where it is, since by
 definition, you are there when you are consulting it :) It makes no
 typographical sense.

 If you ABSOLUTELY need it (and it will look weird, but whatever), you could
 force it with ERT:

 \addcontentsline{toc}{chapter}{Table of Contents}

 as LaTeX code just before the Table of Contents inset. See attached
 screenshot.





 On 28 July 2010 18:01, Alex Leith alexgle...@gmail.com wrote:

 I am guessing, now, that the chapter command has been changed by
 fancychap and that this has somehow changed the behaviour of the links for
 the appendices. I removed it from the preable and that has fixed that
 problem.

 Very possible.


 Just now I changed the options of koma-script to listof=toc, and the list
 of figures and tables are included in the TOC, but the table of contents
 itself is not still... Any ideas?

 To find something listed in the table of contents, you need to be looking
 at the table of contents. Thus, you don't need to list where it is, since by
 definition, you are there when you are consulting it :) It makes no
 typographical sense.

 If you ABSOLUTELY need it (and it will look weird, but whatever), you could
 force it with ERT:

 \addcontentsline{toc}{chapter}{Table of Contents}

 as LaTeX code just before the Table of Contents inset. See attached
 screenshot. Hope this helps.


 Best regards,

 Tennessee Carmel-Veilleux, EIT
 Electrical engineering masters student, ETS (http://www.etsmtl.ca)
 Project AREXIMAS (http://areximas.etsmtl.ca)


Hi again

Ok, I see what you mean, that does seem weird. But what about in the pdf
index (see attached screenshot) I would expect that I should be able to move
to the TOC from here, right?

Alex

-- 
Alex Leith
Surveying and Spatial Sciences
University of Tasmania
email: alexgle...@gmail.com
mobile: 0419189050
attachment: Screen shot 2010-07-29 at 9.33.16 AM.png

Re: table of contents and pdf hyperrefs

2010-07-28 Thread Tennessee Carmel-Veilleux
On 28 July 2010 19:35, Alex Leith alexgle...@gmail.com wrote:



 On Thu, Jul 29, 2010 at 9:24 AM, Tennessee Carmel-Veilleux 
 tennessee.carmelveill...@gmail.com wrote:


 \addcontentsline{toc}{chapter}{Table of Contents}

 as LaTeX code just before the Table of Contents inset. See attached
 screenshot. Hope this helps.

 Hi again

 Ok, I see what you mean, that does seem weird. But what about in the pdf
 index (see attached screenshot) I would expect that I should be able to move
 to the TOC from here, right?


I understand what you mean :) To have only a link in the PDF bookmarks, use:

\pdfbookmark[0]{Table of Contents}{toc}

in LaTeX code just before the Table of Contents (basically replacing
\addcontentsline{toc}{chapter}
{Table of Contents} that I mentionned in the previous reply).

This way, the table of contents appears in the PDF bookmarks, but not in the
table of contents itself.

Best regards,

Tennessee Carmel-Veilleux, EIT
Electrical engineering masters student, ETS (http://www.etsmtl.ca)
Project AREXIMAS (http://areximas.etsmtl.ca)


Re: table of contents and pdf hyperrefs

2010-07-28 Thread Alex Leith
On Thu, Jul 29, 2010 at 10:07 AM, Tennessee Carmel-Veilleux 
tennessee.carmelveill...@gmail.com wrote:

 On 28 July 2010 19:35, Alex Leith alexgle...@gmail.com wrote:



 On Thu, Jul 29, 2010 at 9:24 AM, Tennessee Carmel-Veilleux 
 tennessee.carmelveill...@gmail.com wrote:


 \addcontentsline{toc}{chapter}{Table of Contents}

 as LaTeX code just before the Table of Contents inset. See attached
 screenshot. Hope this helps.

 Hi again

 Ok, I see what you mean, that does seem weird. But what about in the pdf
 index (see attached screenshot) I would expect that I should be able to move
 to the TOC from here, right?


 I understand what you mean :) To have only a link in the PDF bookmarks,
 use:

 \pdfbookmark[0]{Table of Contents}{toc}

 in LaTeX code just before the Table of Contents (basically replacing
 \addcontentsline{toc}{chapter}
 {Table of Contents} that I mentionned in the previous reply).

 This way, the table of contents appears in the PDF bookmarks, but not in
 the table of contents itself.


 Best regards,

 Tennessee Carmel-Veilleux, EIT
 Electrical engineering masters student, ETS (http://www.etsmtl.ca)
 Project AREXIMAS (http://areximas.etsmtl.ca)


Fantastic! Thank you so much. I really like writing in LyX, but some of
these things are hard to discover. Have a good day/night whatever!

Alex


-- 
Alex Leith
Surveying and Spatial Sciences
University of Tasmania
email: alexgle...@gmail.com
mobile: 0419189050


Re: moderncv class broken?

2010-07-28 Thread Nathan Tomlin
Hmm, I got moderncv to work on a computer running windows 7, both lyx
versions 1.6.5 and 1.6.7 work. However, it still doesn't work on two
different machines running windows XP - Lyx versions 1.6.5, 1.6.6.1 and
1.6.7 all give the same error. Miktex is updated on all machines. I
installed Lyx using the alternative windows installer
(altinstaller-complete) on all machines.

I've attached a test lyx file. Anyone else have trouble with this file on
XP?

-nathan


On Tue, Jul 13, 2010 at 9:31 AM, Nathan Tomlin nathan.a.tom...@gmail.comwrote:

 I used the moderncv class in Lyx to make my CV 2 years ago, but now with
 newer versions of lyx and moderncv, I can't get it to work anymore. The
 problem seems to be with the preamble line:
 \AtBeginDocument{\maketitle}

 When I remove that, I get a pdf, but it doesn't have the title stuff. I
 tried the example file and get the same error. I am using Lyx 1.6.6.1,
 moderncv 0.8, windows XP.

 thanks for any help,
 Nathan



test.lyx
Description: Binary data


Re: Import von Excel-Tabellen in Lyx

2010-07-28 Thread Liviu Andronic
On Tue, 27 Jul 2010 18:32:27 +0200
Yago diazd...@ono.com wrote:

 You can also use the LaTeX2RTF freeware program.
 
Open-source, I believe. Some may get picky on the differences from
freeware. 
Liviu


Re: Import von Excel-Tabellen in Lyx

2010-07-28 Thread Liviu Andronic
On Tue, 27 Jul 2010 10:16:00 -0400
Tennessee Carmel-Veilleux tennessee.carmelveill...@gmail.com wrote:
 To import a table in LyX, you have to use the Import submenu of the
 File menu. There, you can import a CSV file (comma-separated
 values) which Excel can write. This will create a new LyX file with
 the table in it. From there you can cut and paste it.
 
Other than the CSV route, there was some recent discussions about
incorporating an external inset for spreadsheets. Search the archives
for more info. 
Liviu



Re: Import von Excel-Tabellen in Lyx

2010-07-28 Thread Yago

Open-source, of course...
- Original Message - 
From: Liviu Andronic landronim...@gmail.com

To: lyx-users@lists.lyx.org
Sent: Wednesday, July 28, 2010 10:10 AM
Subject: Re: Import von Excel-Tabellen in Lyx



On Tue, 27 Jul 2010 18:32:27 +0200
Yago diazd...@ono.com wrote:


You can also use the LaTeX2RTF freeware program.


Open-source, I believe. Some may get picky on the differences from
freeware. 
Liviu


Re: table of contents and pdf hyperrefs

2010-07-28 Thread Tennessee Carmel-Veilleux
On 28 July 2010 01:23, Alex Leith alexgle...@gmail.com wrote:

 Hi all

 I am writing my thesis in LyX and I am using koma-script report template. I
 have most things working really well, it is great, but I have two things
 which arent.

 1/ I want to have my TOC, LOT and LOF all to appear in the table of
 contents and to be in the PDF, is this possible.


Basically, you have to give class options (Document:Settings:Document
Class:Class Options:Custom) that tell KOMA-Script to include these.

The options are:
listof=totoc
bibliography=totoc or =totocnumbered (to have it numbered in sequence as a
chapter).

So in your case you would have:
listof=totoc,bibliography=totoc

in the custom options box.

See the screencast here (2 minutes) for the effect:
http://screencast.com/t/ODQ3MDc3O

See section 3.1.5 of the KOMA-Script manual for a full description of these
TOC options:
http://www.tex.ac.uk/CTAN/macros/latex/contrib/koma-script/scrguien.pdf.



 2/ My appendices are in the TOC but when you click them it goes to chapter
 1 for APp A, chapter 2 for APP B etc. This is the case for in text and the
 PDF index.


This does not happen with my KOMA-Script documents. Maybe it is a problem of
one of the packages that you are using which redefines some aspects of the
Chapter command in the case of appendixes. It's hard to tell... Maybe
someone else has an answer on that one :)

Best regards,

Tennessee Carmel-Veilleux, EIT
Electrical engineering masters student, ETS (http://www.etsmtl.ca)
Project AREXIMAS (http://areximas.etsmtl.ca)



 Thanks for you time,

 Alex

 --
 Alex Leith
 Surveying and Spatial Sciences
 University of Tasmania
 email: alexgle...@gmail.com
 mobile: 0419189050



Re: Lyx mailing list: problem with fancyhdr

2010-07-28 Thread Stefan Zorn
Hi all,

 Additionally I have a small question which I could not find in the
 forum: Occasionally (4 lines in 100 pages) a line overwrites the right
 margin. It seems that, this are lines with very long words. How can I
 manual force a line break in this case?

Use InsertFormattingHyphenation Point to insert a soft hyphen (as 
WordPerfect used to call it). This will tell TeX that it is OK to break the 
line there.

rh

Problem solved thank you very much Richard!


 Hi all,

 I have a problem wih the fancyhdr package. I use lyx version 1.6.5.
 In order to add the title of the chapter in the top line and the
 pagenumber at the bottom of the page (both for even numbered pages in
 the right corner and for odd numbered pages in the left corner), I
 used the header:

 \usepackage{fancyhdr}

 \pagestyle{fancy}

 \fancyhead{}  % clear all header fields
 \fancyhead[LO,RE]{\leftmark}
 \fancyfoot{}  % clear all footer fields
 \fancyfoot[LO,RE]{\thepage}
 \renewcommand{\headrulewidth}{0.4pt}

 It works perfectly fine. However, the first page of each chapter is
 unchanged. I want to change the position of this pages to the left or
 right position and no header. To this end I used in the header the
 command:

 \pagestyle{fancyplain}
 \fancyhead{}  % clear all header fields
 \fancyfoot{}  % clear all footer fields
 \fancyfoot[LO,RE]{\thepage}

 If I put this in the header in front of the \pagestyle{fancy}
 commands, the first chapter page looks like the following ones but
 without a line in the top.
 If I put it in the header after the \pagestyle{fancy} commands, the
 first chapter page looks as I intended (no header, the pagenumber
 moved to the left/right corner). However, the other pages got only a
 line in the header without the chaptername.

 What is wrong?

Maybe the question was a bit to complicated, so I try to ask easier:

I use the document class report.
How would you define with the fancyhdr package or in an other way,
that in the first pages of the chapters the pagenumbers are printed
for even numbered pages in the lower right corner and for odd numbered
pages in the lower left corner?

Thank you very much for your help!

Kind regards!

Stefan


Getting RevTeX 4.1 layout to work

2010-07-28 Thread Daniel Joshua Stark
Dear All,

I'm using LyX 1.6.7 on Mac OS X 10.6.4.  

I've installed the revtex4-1.layout file in /Library/Application 
Support/LyX-1.6/layouts 

I use the 2009 Tex Live distribution of MacTeX and it is up-to-date.  When I 
check in texmf-dist/tex/latex/revtex, revtex4-1.cls is present.  

I've run sudo texhash several times and have reconfigured LyX several times.  
However, whenever I try to select Article (REVTeX 4.1) in Lyx, I get the 
following error:  The document class revtex4-1 could not be loaded. 

I'm at a lost as to why it is not loading.  Any help would be greatly 
appreciated.

Confused,

Daniel Stark
PhD Candidate 
✦ Physics and Astronomy   BRC 721, MS-142   Rice University   6500 Main Street  
 Houston TX 77030   USA
✦ Ph: +1-713-348-3129  Fx:  +1-713-348-8099

In physics, you don't have to go around making trouble for yourself - nature 
does it for you. - Frank Wilczek
I think physicists are the Peter Pans of the human race. They never grow up and 
they keep their curiosity. - Isidor Isaac Rabi



Re: Getting RevTeX 4.1 layout to work

2010-07-28 Thread Richard Heck

On 07/28/2010 03:44 PM, Daniel Joshua Stark wrote:

Dear All,

I'm using LyX 1.6.7 on Mac OS X 10.6.4.

I've installed the revtex4-1.layout file in /Library/Application
Support/LyX-1.6/layouts

I use the 2009 Tex Live distribution of MacTeX and it is up-to-date.
 When I check in texmf-dist/tex/latex/revtex, revtex4-1.cls is present.

I've run sudo texhash several times and have reconfigured LyX several
times.  However, whenever I try to select Article (REVTeX 4.1) in
Lyx, I get the following error:  The document class revtex4-1 could
not be loaded.

I'm at a lost as to why it is not loading.  Any help would be greatly
appreciated.

The error message is saying that the layout file could not be loaded. If 
you've downloaded the layout file from the wiki here:

http://wiki.lyx.org/Layouts/Revtex4-1
then the problem is that this is for LyX 2.0, not for LyX 1.6.x. I've 
added a note to that effect to the wiki.


The error messages for this kind of thing will be more informative in 2.0.

Richard



How to view outline mode without clicking the table of contents?

2010-07-28 Thread Steve Litt
Hi all,

I have LyX 1.6.4 on Ubuntu 9.10.

How do I view outline mode without clicking the table of contents? I know it's 
a dumb question with a simple answer, but I've crawled all over the menus and 
done some Googling and can't find it. Could somebody please enlighten me?

The problem with clicking on the table of contents is I have a somewhat long 
book with the contents neither on page 1 nor on the last page, so I have to go 
and find the contents to click them. This happens every time I bring up a new 
LyX session. It would be a lot easier if I knew how to access outline mode 
from the menu system.

Thanks

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



Re: How to view outline mode without clicking the table of contents?

2010-07-28 Thread Liviu Andronic
Steve

On Wed, 28 Jul 2010 17:26:21 -0400
Steve Litt sl...@troubleshooters.com wrote:
 How do I view outline mode without clicking the table of contents? I
 know it's a dumb question with a simple answer, but I've crawled all
 over the menus and done some Googling and can't find it. Could
 somebody please enlighten me?
 
Are you talking about Document  Outline or the book-like Toggle
outline button to the right of Insert table? 
Liviu


Re: table of contents and pdf hyperrefs

2010-07-28 Thread Alex Leith
On Wed, Jul 28, 2010 at 9:27 PM, Tennessee Carmel-Veilleux 
tennessee.carmelveill...@gmail.com wrote:


 On 28 July 2010 01:23, Alex Leith alexgle...@gmail.com wrote:

 Hi all

 I am writing my thesis in LyX and I am using koma-script report template.
 I have most things working really well, it is great, but I have two things
 which arent.

 1/ I want to have my TOC, LOT and LOF all to appear in the table of
 contents and to be in the PDF, is this possible.


 Basically, you have to give class options (Document:Settings:Document
 Class:Class Options:Custom) that tell KOMA-Script to include these.

 The options are:
 listof=totoc
 bibliography=totoc or =totocnumbered (to have it numbered in sequence as
 a chapter).

 So in your case you would have:
 listof=totoc,bibliography=totoc

 in the custom options box.

 See the screencast here (2 minutes) for the effect:
 http://screencast.com/t/ODQ3MDc3O

 See section 3.1.5 of the KOMA-Script manual for a full description of these
 TOC options:
 http://www.tex.ac.uk/CTAN/macros/latex/contrib/koma-script/scrguien.pdf.



 2/ My appendices are in the TOC but when you click them it goes to chapter
 1 for APp A, chapter 2 for APP B etc. This is the case for in text and the
 PDF index.


 This does not happen with my KOMA-Script documents. Maybe it is a problem
 of one of the packages that you are using which redefines some aspects of
 the Chapter command in the case of appendixes. It's hard to tell... Maybe
 someone else has an answer on that one :)

 Best regards,

 Tennessee Carmel-Veilleux, EIT
 Electrical engineering masters student, ETS (http://www.etsmtl.ca)
 Project AREXIMAS (http://areximas.etsmtl.ca)



 Thanks for you time,

 Alex

 --
 Alex Leith
 Surveying and Spatial Sciences
 University of Tasmania
 email: alexgle...@gmail.com
 mobile: 0419189050



Thanks Tennessee

I am guessing, now, that the chapter command has been changed by fancychap
and that this has somehow changed the behaviour of the links for the
appendices. I removed it from the preable and that has fixed that problem.

Just now I changed the options of koma-script to listof=toc, and the list of
figures and tables are included in the TOC, but the table of contents itself
is not still... Any ideas?

Cheers,

Alex

-- 
Alex Leith
Surveying and Spatial Sciences
University of Tasmania
email: alexgle...@gmail.com
mobile: 0419189050


OT: Statistics book created with LyX/Sweave

2010-07-28 Thread Liviu Andronic
Dear all
To increase the noise level, G. Jay Kerns recently published an
Introduction to Probability and Statistics Using R book [1] that was
generated using LyX with Sweave. The book and the source files are
available to download. 

Regards
Liviu

[1] http://ipsur.r-forge.r-project.org/book/index.php
[2] http://ipsur.r-forge.r-project.org/book/downloads.php


Re: OT: Statistics book created with LyX/Sweave

2010-07-28 Thread Rich Shepard

On Wed, 28 Jul 2010, Liviu Andronic wrote:


To increase the noise level, G. Jay Kerns recently published an
Introduction to Probability and Statistics Using R book [1] that was
generated using LyX with Sweave. The book and the source files are
available to download.


Liviu,

  This looks like a great tool to teach probability and statistics, R,
LaTeX, LyX, and Sweave. That's a lot of value from a single document. Kudos
to Jay.

Rich


Re: Lyx mailing list: problem with fancyhdr

2010-07-28 Thread Charlie
On Wed, 28 Jul 2010 19:27:49 + Stefan Zorn
wintige...@googlemail.com shared this with is all on the Lyx users
list:

 Additionally I have a small question which I could not find in the
 forum: Occasionally (4 lines in 100 pages) a line overwrites the
 right margin. It seems that, this are lines with very long words.
 How can I manual force a line break in this case?  

Use InsertFormattingHyphenation Point to insert a soft hyphen (as
WordPerfect used to call it). This will tell TeX that it is OK to
break the line there.  

rh   

Thought that might work for me Richard - but doesn't:

Using Debian Squeeze - LyX version 1.6.7 - book (KOMA-Script)

and in the preamble - \hyphenpenalty=1 - \widowpenalty=1000

So I have always done the hyphenating manually in the few instances
where it's not done for me, usually in email headers copied into LyX.

Be well,
Charlie
-- 
Registered Linux User:- 329524
***
Better not to begin. Once you begin, better to finish it.
---BUDDHIST SAYING

***
Debian, just the best way to create magic
___


Re: How to view outline mode without clicking the table of contents?

2010-07-28 Thread Steve Litt
On Wednesday 28 July 2010 17:46:16 Liviu Andronic wrote:
 Steve
 
 On Wed, 28 Jul 2010 17:26:21 -0400
 
 Steve Litt sl...@troubleshooters.com wrote:
  How do I view outline mode without clicking the table of contents? I
  know it's a dumb question with a simple answer, but I've crawled all
  over the menus and done some Googling and can't find it. Could
  somebody please enlighten me?
 
 Are you talking about Document  Outline 

Yes! Thank you Liviu!

I told you it was a dumb question, but I couldn't find it myself even after an 
hour of looking. I just couldn't accept it wouldn't be in the View menu.

Anyway, thanks, you've made my job a lot easier.

SteveT

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



Re: How to view outline mode without clicking the table of contents?

2010-07-28 Thread Liviu Andronic
On Wed, 28 Jul 2010 19:03:46 -0400
Steve Litt sl...@troubleshooters.com wrote:
 I told you it was a dumb question, but I couldn't find it myself even
 after an hour of looking. I just couldn't accept it wouldn't be in
 the View menu.
 
Most welcome. :) I also think Outline would be better off in View. 
Liviu


Re: table of contents and pdf hyperrefs

2010-07-28 Thread Alex Leith
On Thu, Jul 29, 2010 at 9:24 AM, Tennessee Carmel-Veilleux 
tennessee.carmelveill...@gmail.com wrote:

 To find something listed in the table of contents, you need to be looking
 at the table of contents. Thus, you don't need to list where it is, since by
 definition, you are there when you are consulting it :) It makes no
 typographical sense.

 If you ABSOLUTELY need it (and it will look weird, but whatever), you could
 force it with ERT:

 \addcontentsline{toc}{chapter}{Table of Contents}

 as LaTeX code just before the Table of Contents inset. See attached
 screenshot.





 On 28 July 2010 18:01, Alex Leith alexgle...@gmail.com wrote:

 I am guessing, now, that the chapter command has been changed by
 fancychap and that this has somehow changed the behaviour of the links for
 the appendices. I removed it from the preable and that has fixed that
 problem.

 Very possible.


 Just now I changed the options of koma-script to listof=toc, and the list
 of figures and tables are included in the TOC, but the table of contents
 itself is not still... Any ideas?

 To find something listed in the table of contents, you need to be looking
 at the table of contents. Thus, you don't need to list where it is, since by
 definition, you are there when you are consulting it :) It makes no
 typographical sense.

 If you ABSOLUTELY need it (and it will look weird, but whatever), you could
 force it with ERT:

 \addcontentsline{toc}{chapter}{Table of Contents}

 as LaTeX code just before the Table of Contents inset. See attached
 screenshot. Hope this helps.


 Best regards,

 Tennessee Carmel-Veilleux, EIT
 Electrical engineering masters student, ETS (http://www.etsmtl.ca)
 Project AREXIMAS (http://areximas.etsmtl.ca)


Hi again

Ok, I see what you mean, that does seem weird. But what about in the pdf
index (see attached screenshot) I would expect that I should be able to move
to the TOC from here, right?

Alex

-- 
Alex Leith
Surveying and Spatial Sciences
University of Tasmania
email: alexgle...@gmail.com
mobile: 0419189050
attachment: Screen shot 2010-07-29 at 9.33.16 AM.png

Re: table of contents and pdf hyperrefs

2010-07-28 Thread Tennessee Carmel-Veilleux
On 28 July 2010 19:35, Alex Leith alexgle...@gmail.com wrote:



 On Thu, Jul 29, 2010 at 9:24 AM, Tennessee Carmel-Veilleux 
 tennessee.carmelveill...@gmail.com wrote:


 \addcontentsline{toc}{chapter}{Table of Contents}

 as LaTeX code just before the Table of Contents inset. See attached
 screenshot. Hope this helps.

 Hi again

 Ok, I see what you mean, that does seem weird. But what about in the pdf
 index (see attached screenshot) I would expect that I should be able to move
 to the TOC from here, right?


I understand what you mean :) To have only a link in the PDF bookmarks, use:

\pdfbookmark[0]{Table of Contents}{toc}

in LaTeX code just before the Table of Contents (basically replacing
\addcontentsline{toc}{chapter}
{Table of Contents} that I mentionned in the previous reply).

This way, the table of contents appears in the PDF bookmarks, but not in the
table of contents itself.

Best regards,

Tennessee Carmel-Veilleux, EIT
Electrical engineering masters student, ETS (http://www.etsmtl.ca)
Project AREXIMAS (http://areximas.etsmtl.ca)


Re: table of contents and pdf hyperrefs

2010-07-28 Thread Alex Leith
On Thu, Jul 29, 2010 at 10:07 AM, Tennessee Carmel-Veilleux 
tennessee.carmelveill...@gmail.com wrote:

 On 28 July 2010 19:35, Alex Leith alexgle...@gmail.com wrote:



 On Thu, Jul 29, 2010 at 9:24 AM, Tennessee Carmel-Veilleux 
 tennessee.carmelveill...@gmail.com wrote:


 \addcontentsline{toc}{chapter}{Table of Contents}

 as LaTeX code just before the Table of Contents inset. See attached
 screenshot. Hope this helps.

 Hi again

 Ok, I see what you mean, that does seem weird. But what about in the pdf
 index (see attached screenshot) I would expect that I should be able to move
 to the TOC from here, right?


 I understand what you mean :) To have only a link in the PDF bookmarks,
 use:

 \pdfbookmark[0]{Table of Contents}{toc}

 in LaTeX code just before the Table of Contents (basically replacing
 \addcontentsline{toc}{chapter}
 {Table of Contents} that I mentionned in the previous reply).

 This way, the table of contents appears in the PDF bookmarks, but not in
 the table of contents itself.


 Best regards,

 Tennessee Carmel-Veilleux, EIT
 Electrical engineering masters student, ETS (http://www.etsmtl.ca)
 Project AREXIMAS (http://areximas.etsmtl.ca)


Fantastic! Thank you so much. I really like writing in LyX, but some of
these things are hard to discover. Have a good day/night whatever!

Alex


-- 
Alex Leith
Surveying and Spatial Sciences
University of Tasmania
email: alexgle...@gmail.com
mobile: 0419189050


Re: moderncv class broken?

2010-07-28 Thread Nathan Tomlin
Hmm, I got moderncv to work on a computer running windows 7, both lyx
versions 1.6.5 and 1.6.7 work. However, it still doesn't work on two
different machines running windows XP - Lyx versions 1.6.5, 1.6.6.1 and
1.6.7 all give the same error. Miktex is updated on all machines. I
installed Lyx using the alternative windows installer
(altinstaller-complete) on all machines.

I've attached a test lyx file. Anyone else have trouble with this file on
XP?

-nathan


On Tue, Jul 13, 2010 at 9:31 AM, Nathan Tomlin nathan.a.tom...@gmail.comwrote:

 I used the moderncv class in Lyx to make my CV 2 years ago, but now with
 newer versions of lyx and moderncv, I can't get it to work anymore. The
 problem seems to be with the preamble line:
 \AtBeginDocument{\maketitle}

 When I remove that, I get a pdf, but it doesn't have the title stuff. I
 tried the example file and get the same error. I am using Lyx 1.6.6.1,
 moderncv 0.8, windows XP.

 thanks for any help,
 Nathan



test.lyx
Description: Binary data


Re: Import von Excel-Tabellen in Lyx

2010-07-28 Thread Liviu Andronic
On Tue, 27 Jul 2010 18:32:27 +0200
"Yago"  wrote:

> You can also use the LaTeX2RTF freeware program.
> 
Open-source, I believe. Some may get picky on the differences from
freeware. 
Liviu


Re: Import von Excel-Tabellen in Lyx

2010-07-28 Thread Liviu Andronic
On Tue, 27 Jul 2010 10:16:00 -0400
Tennessee Carmel-Veilleux  wrote:
> To import a table in LyX, you have to use the Import submenu of the
> File menu. There, you can import a "CSV" file (comma-separated
> values) which Excel can write. This will create a new LyX file with
> the table in it. From there you can cut and paste it.
> 
Other than the CSV route, there was some recent discussions about
incorporating an external inset for spreadsheets. Search the archives
for more info. 
Liviu



Re: Import von Excel-Tabellen in Lyx

2010-07-28 Thread Yago

Open-source, of course...
- Original Message - 
From: "Liviu Andronic" 

To: 
Sent: Wednesday, July 28, 2010 10:10 AM
Subject: Re: Import von Excel-Tabellen in Lyx



On Tue, 27 Jul 2010 18:32:27 +0200
"Yago"  wrote:


You can also use the LaTeX2RTF freeware program.


Open-source, I believe. Some may get picky on the differences from
freeware. 
Liviu


Re: table of contents and pdf hyperrefs

2010-07-28 Thread Tennessee Carmel-Veilleux
On 28 July 2010 01:23, Alex Leith  wrote:

> Hi all
>
> I am writing my thesis in LyX and I am using koma-script report template. I
> have most things working really well, it is great, but I have two things
> which arent.
>
> 1/ I want to have my TOC, LOT and LOF all to appear in the table of
> contents and to be in the PDF, is this possible.
>

Basically, you have to give class options (Document:Settings:Document
Class:Class Options:Custom) that tell KOMA-Script to include these.

The options are:
listof=totoc
bibliography=totoc or =totocnumbered (to have it "numbered" in sequence as a
chapter).

So in your case you would have:
listof=totoc,bibliography=totoc

in the custom options box.

See the screencast here (2 minutes) for the effect:
http://screencast.com/t/ODQ3MDc3O

See section 3.1.5 of the KOMA-Script manual for a full description of these
TOC options:
http://www.tex.ac.uk/CTAN/macros/latex/contrib/koma-script/scrguien.pdf.



> 2/ My appendices are in the TOC but when you click them it goes to chapter
> 1 for APp A, chapter 2 for APP B etc. This is the case for in text and the
> PDF index.
>
>
This does not happen with my KOMA-Script documents. Maybe it is a problem of
one of the packages that you are using which redefines some aspects of the
Chapter command in the case of appendixes. It's hard to tell... Maybe
someone else has an answer on that one :)

Best regards,

Tennessee Carmel-Veilleux, EIT
Electrical engineering masters student, ETS (http://www.etsmtl.ca)
Project AREXIMAS (http://areximas.etsmtl.ca)



> Thanks for you time,
>
> Alex
>
> --
> Alex Leith
> Surveying and Spatial Sciences
> University of Tasmania
> email: alexgle...@gmail.com
> mobile: 0419189050
>


Re: Lyx mailing list: problem with fancyhdr

2010-07-28 Thread Stefan Zorn
Hi all,

>> Additionally I have a small question which I could not find in the
>> forum: Occasionally (4 lines in 100 pages) a line overwrites the right
>> margin. It seems that, this are lines with very long words. How can I
>> manual force a line break in this case?

>Use Insert>Formatting>Hyphenation Point to insert a "soft hyphen" (as 
>WordPerfect used to call it). This will tell TeX that it is OK to break the 
>line there.

>rh

Problem solved thank you very much Richard!


>> Hi all,
>>
>> I have a problem wih the fancyhdr package. I use lyx version 1.6.5.
>> In order to add the title of the chapter in the top line and the
>> pagenumber at the bottom of the page (both for even numbered pages in
>> the right corner and for odd numbered pages in the left corner), I
>> used the header:
>>
>> \usepackage{fancyhdr}
>>
>> \pagestyle{fancy}
>>
>> \fancyhead{}  % clear all header fields
>> \fancyhead[LO,RE]{\leftmark}
>> \fancyfoot{}  % clear all footer fields
>> \fancyfoot[LO,RE]{\thepage}
>> \renewcommand{\headrulewidth}{0.4pt}
>>
>> It works perfectly fine. However, the first page of each chapter is
>> unchanged. I want to change the position of this pages to the left or
>> right position and no header. To this end I used in the header the
>> command:
>>
>> \pagestyle{fancyplain}
>> \fancyhead{}  % clear all header fields
>> \fancyfoot{}  % clear all footer fields
>> \fancyfoot[LO,RE]{\thepage}
>>
>> If I put this in the header in front of the \pagestyle{fancy}
>> commands, the first chapter page looks like the following ones but
>> without a line in the top.
>> If I put it in the header after the \pagestyle{fancy} commands, the
>> first chapter page looks as I intended (no header, the pagenumber
>> moved to the left/right corner). However, the other pages got only a
>> line in the header without the chaptername.
>>
>> What is wrong?

Maybe the question was a bit to complicated, so I try to ask easier:

I use the document class "report".
How would you define with the fancyhdr package or in an other way,
that in the first pages of the chapters the pagenumbers are printed
for even numbered pages in the lower right corner and for odd numbered
pages in the lower left corner?

Thank you very much for your help!

Kind regards!

Stefan


Getting RevTeX 4.1 layout to work

2010-07-28 Thread Daniel Joshua Stark
Dear All,

I'm using LyX 1.6.7 on Mac OS X 10.6.4.  

I've installed the revtex4-1.layout file in /Library/Application 
Support/LyX-1.6/layouts 

I use the 2009 Tex Live distribution of MacTeX and it is up-to-date.  When I 
check in texmf-dist/tex/latex/revtex, revtex4-1.cls is present.  

I've run sudo texhash several times and have reconfigured LyX several times.  
However, whenever I try to select "Article (REVTeX 4.1)" in Lyx, I get the 
following error:  "The document class revtex4-1 could not be loaded." 

I'm at a lost as to why it is not loading.  Any help would be greatly 
appreciated.

Confused,

Daniel Stark
PhD Candidate 
✦ Physics and Astronomy   BRC 721, MS-142   Rice University   6500 Main Street  
 Houston TX 77030   USA
✦ Ph: +1-713-348-3129  Fx:  +1-713-348-8099

In physics, you don't have to go around making trouble for yourself - nature 
does it for you. - Frank Wilczek
I think physicists are the Peter Pans of the human race. They never grow up and 
they keep their curiosity. - Isidor Isaac Rabi



Re: Getting RevTeX 4.1 layout to work

2010-07-28 Thread Richard Heck

On 07/28/2010 03:44 PM, Daniel Joshua Stark wrote:

Dear All,

I'm using LyX 1.6.7 on Mac OS X 10.6.4.

I've installed the revtex4-1.layout file in /Library/Application
Support/LyX-1.6/layouts

I use the 2009 Tex Live distribution of MacTeX and it is up-to-date.
 When I check in texmf-dist/tex/latex/revtex, revtex4-1.cls is present.

I've run sudo texhash several times and have reconfigured LyX several
times.  However, whenever I try to select "Article (REVTeX 4.1)" in
Lyx, I get the following error:  "The document class revtex4-1 could
not be loaded."

I'm at a lost as to why it is not loading.  Any help would be greatly
appreciated.

The error message is saying that the layout file could not be loaded. If 
you've downloaded the layout file from the wiki here:

http://wiki.lyx.org/Layouts/Revtex4-1
then the problem is that this is for LyX 2.0, not for LyX 1.6.x. I've 
added a note to that effect to the wiki.


The error messages for this kind of thing will be more informative in 2.0.

Richard



How to view outline mode without clicking the table of contents?

2010-07-28 Thread Steve Litt
Hi all,

I have LyX 1.6.4 on Ubuntu 9.10.

How do I view outline mode without clicking the table of contents? I know it's 
a dumb question with a simple answer, but I've crawled all over the menus and 
done some Googling and can't find it. Could somebody please enlighten me?

The problem with clicking on the table of contents is I have a somewhat long 
book with the contents neither on page 1 nor on the last page, so I have to go 
and find the contents to click them. This happens every time I bring up a new 
LyX session. It would be a lot easier if I knew how to access outline mode 
from the menu system.

Thanks

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



Re: How to view outline mode without clicking the table of contents?

2010-07-28 Thread Liviu Andronic
Steve

On Wed, 28 Jul 2010 17:26:21 -0400
Steve Litt  wrote:
> How do I view outline mode without clicking the table of contents? I
> know it's a dumb question with a simple answer, but I've crawled all
> over the menus and done some Googling and can't find it. Could
> somebody please enlighten me?
> 
Are you talking about Document > Outline or the book-like "Toggle
outline" button to the right of "Insert table"? 
Liviu


Re: table of contents and pdf hyperrefs

2010-07-28 Thread Alex Leith
On Wed, Jul 28, 2010 at 9:27 PM, Tennessee Carmel-Veilleux <
tennessee.carmelveill...@gmail.com> wrote:

>
> On 28 July 2010 01:23, Alex Leith  wrote:
>
>> Hi all
>>
>> I am writing my thesis in LyX and I am using koma-script report template.
>> I have most things working really well, it is great, but I have two things
>> which arent.
>>
>> 1/ I want to have my TOC, LOT and LOF all to appear in the table of
>> contents and to be in the PDF, is this possible.
>>
>
> Basically, you have to give class options (Document:Settings:Document
> Class:Class Options:Custom) that tell KOMA-Script to include these.
>
> The options are:
> listof=totoc
> bibliography=totoc or =totocnumbered (to have it "numbered" in sequence as
> a chapter).
>
> So in your case you would have:
> listof=totoc,bibliography=totoc
>
> in the custom options box.
>
> See the screencast here (2 minutes) for the effect:
> http://screencast.com/t/ODQ3MDc3O
>
> See section 3.1.5 of the KOMA-Script manual for a full description of these
> TOC options:
> http://www.tex.ac.uk/CTAN/macros/latex/contrib/koma-script/scrguien.pdf.
>
>
>
>> 2/ My appendices are in the TOC but when you click them it goes to chapter
>> 1 for APp A, chapter 2 for APP B etc. This is the case for in text and the
>> PDF index.
>>
>>
> This does not happen with my KOMA-Script documents. Maybe it is a problem
> of one of the packages that you are using which redefines some aspects of
> the Chapter command in the case of appendixes. It's hard to tell... Maybe
> someone else has an answer on that one :)
>
> Best regards,
>
> Tennessee Carmel-Veilleux, EIT
> Electrical engineering masters student, ETS (http://www.etsmtl.ca)
> Project AREXIMAS (http://areximas.etsmtl.ca)
>
>
>
>> Thanks for you time,
>>
>> Alex
>>
>> --
>> Alex Leith
>> Surveying and Spatial Sciences
>> University of Tasmania
>> email: alexgle...@gmail.com
>> mobile: 0419189050
>>
>
>
Thanks Tennessee

I am guessing, now, that the chapter command has been changed by "fancychap"
and that this has somehow changed the behaviour of the links for the
appendices. I removed it from the preable and that has fixed that problem.

Just now I changed the options of koma-script to listof=toc, and the list of
figures and tables are included in the TOC, but the table of contents itself
is not still... Any ideas?

Cheers,

Alex

-- 
Alex Leith
Surveying and Spatial Sciences
University of Tasmania
email: alexgle...@gmail.com
mobile: 0419189050


OT: Statistics book created with LyX/Sweave

2010-07-28 Thread Liviu Andronic
Dear all
To increase the noise level, G. Jay Kerns recently published an
"Introduction to Probability and Statistics Using R" book [1] that was
generated using LyX with Sweave. The book and the source files are
available to download. 

Regards
Liviu

[1] http://ipsur.r-forge.r-project.org/book/index.php
[2] http://ipsur.r-forge.r-project.org/book/downloads.php


Re: OT: Statistics book created with LyX/Sweave

2010-07-28 Thread Rich Shepard

On Wed, 28 Jul 2010, Liviu Andronic wrote:


To increase the noise level, G. Jay Kerns recently published an
"Introduction to Probability and Statistics Using R" book [1] that was
generated using LyX with Sweave. The book and the source files are
available to download.


Liviu,

  This looks like a great tool to teach probability and statistics, R,
LaTeX, LyX, and Sweave. That's a lot of value from a single document. Kudos
to Jay.

Rich


Re: Lyx mailing list: problem with fancyhdr

2010-07-28 Thread Charlie
On Wed, 28 Jul 2010 19:27:49 + Stefan Zorn
 shared this with is all on the Lyx users
list:

>>> Additionally I have a small question which I could not find in the
>>> forum: Occasionally (4 lines in 100 pages) a line overwrites the
>>> right margin. It seems that, this are lines with very long words.
>>> How can I manual force a line break in this case?  
>
>>Use Insert>Formatting>Hyphenation Point to insert a "soft hyphen" (as
>>WordPerfect used to call it). This will tell TeX that it is OK to
>>break the line there.  
>
>>rh   

Thought that might work for me Richard - but doesn't:

Using Debian Squeeze - LyX version 1.6.7 - book (KOMA-Script)

and in the preamble - \hyphenpenalty=1 - \widowpenalty=1000

So I have always done the hyphenating manually in the few instances
where it's not done for me, usually in email headers copied into LyX.

Be well,
Charlie
-- 
Registered Linux User:- 329524
***
Better not to begin. Once you begin, better to finish it.
---BUDDHIST SAYING

***
Debian, just the best way to create magic
___


Re: How to view outline mode without clicking the table of contents?

2010-07-28 Thread Steve Litt
On Wednesday 28 July 2010 17:46:16 Liviu Andronic wrote:
> Steve
> 
> On Wed, 28 Jul 2010 17:26:21 -0400
> 
> Steve Litt  wrote:
> > How do I view outline mode without clicking the table of contents? I
> > know it's a dumb question with a simple answer, but I've crawled all
> > over the menus and done some Googling and can't find it. Could
> > somebody please enlighten me?
> 
> Are you talking about Document > Outline 

Yes! Thank you Liviu!

I told you it was a dumb question, but I couldn't find it myself even after an 
hour of looking. I just couldn't accept it wouldn't be in the View menu.

Anyway, thanks, you've made my job a lot easier.

SteveT

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



Re: How to view outline mode without clicking the table of contents?

2010-07-28 Thread Liviu Andronic
On Wed, 28 Jul 2010 19:03:46 -0400
Steve Litt  wrote:
> I told you it was a dumb question, but I couldn't find it myself even
> after an hour of looking. I just couldn't accept it wouldn't be in
> the View menu.
> 
Most welcome. :) I also think Outline would be better off in View. 
Liviu


Re: table of contents and pdf hyperrefs

2010-07-28 Thread Alex Leith
On Thu, Jul 29, 2010 at 9:24 AM, Tennessee Carmel-Veilleux <
tennessee.carmelveill...@gmail.com> wrote:

> To find something listed in the table of contents, you need to be looking
> at the table of contents. Thus, you don't need to list where it is, since by
> definition, you are there when you are consulting it :) It makes no
> typographical sense.
>
> If you ABSOLUTELY need it (and it will look weird, but whatever), you could
> force it with ERT:
>
> \addcontentsline{toc}{chapter}{Table of Contents}
>
> as LaTeX code just before the Table of Contents inset. See attached
> screenshot.
>
>
>
>
>
> On 28 July 2010 18:01, Alex Leith  wrote:
>
>> I am guessing, now, that the chapter command has been changed by
>> "fancychap" and that this has somehow changed the behaviour of the links for
>> the appendices. I removed it from the preable and that has fixed that
>> problem.
>>
>> Very possible.
>
>
>> Just now I changed the options of koma-script to listof=toc, and the list
>> of figures and tables are included in the TOC, but the table of contents
>> itself is not still... Any ideas?
>>
>> To find something listed in the table of contents, you need to be looking
> at the table of contents. Thus, you don't need to list where it is, since by
> definition, you are there when you are consulting it :) It makes no
> typographical sense.
>
> If you ABSOLUTELY need it (and it will look weird, but whatever), you could
> force it with ERT:
>
> \addcontentsline{toc}{chapter}{Table of Contents}
>
> as LaTeX code just before the Table of Contents inset. See attached
> screenshot. Hope this helps.
>
>
> Best regards,
>
> Tennessee Carmel-Veilleux, EIT
> Electrical engineering masters student, ETS (http://www.etsmtl.ca)
> Project AREXIMAS (http://areximas.etsmtl.ca)
>
>
Hi again

Ok, I see what you mean, that does seem weird. But what about in the pdf
index (see attached screenshot) I would expect that I should be able to move
to the TOC from here, right?

Alex

-- 
Alex Leith
Surveying and Spatial Sciences
University of Tasmania
email: alexgle...@gmail.com
mobile: 0419189050
<>

Re: table of contents and pdf hyperrefs

2010-07-28 Thread Tennessee Carmel-Veilleux
On 28 July 2010 19:35, Alex Leith  wrote:

>
>
> On Thu, Jul 29, 2010 at 9:24 AM, Tennessee Carmel-Veilleux <
> tennessee.carmelveill...@gmail.com> wrote:
>
>>
>> \addcontentsline{toc}{chapter}{Table of Contents}
>>
>> as LaTeX code just before the Table of Contents inset. See attached
>> screenshot. Hope this helps.
>>
>> Hi again
>
> Ok, I see what you mean, that does seem weird. But what about in the pdf
> index (see attached screenshot) I would expect that I should be able to move
> to the TOC from here, right?
>
>
I understand what you mean :) To have only a link in the PDF bookmarks, use:

\pdfbookmark[0]{Table of Contents}{toc}

in LaTeX code just before the Table of Contents (basically replacing
\addcontentsline{toc}{chapter}
{Table of Contents} that I mentionned in the previous reply).

This way, the table of contents appears in the PDF bookmarks, but not in the
table of contents itself.

Best regards,

Tennessee Carmel-Veilleux, EIT
Electrical engineering masters student, ETS (http://www.etsmtl.ca)
Project AREXIMAS (http://areximas.etsmtl.ca)


Re: table of contents and pdf hyperrefs

2010-07-28 Thread Alex Leith
On Thu, Jul 29, 2010 at 10:07 AM, Tennessee Carmel-Veilleux <
tennessee.carmelveill...@gmail.com> wrote:

> On 28 July 2010 19:35, Alex Leith  wrote:
>
>>
>>
>> On Thu, Jul 29, 2010 at 9:24 AM, Tennessee Carmel-Veilleux <
>> tennessee.carmelveill...@gmail.com> wrote:
>>
>>>
>>> \addcontentsline{toc}{chapter}{Table of Contents}
>>>
>>> as LaTeX code just before the Table of Contents inset. See attached
>>> screenshot. Hope this helps.
>>>
>>> Hi again
>>
>> Ok, I see what you mean, that does seem weird. But what about in the pdf
>> index (see attached screenshot) I would expect that I should be able to move
>> to the TOC from here, right?
>>
>>
> I understand what you mean :) To have only a link in the PDF bookmarks,
> use:
>
> \pdfbookmark[0]{Table of Contents}{toc}
>
> in LaTeX code just before the Table of Contents (basically replacing
> \addcontentsline{toc}{chapter}
> {Table of Contents} that I mentionned in the previous reply).
>
> This way, the table of contents appears in the PDF bookmarks, but not in
> the table of contents itself.
>
>
> Best regards,
>
> Tennessee Carmel-Veilleux, EIT
> Electrical engineering masters student, ETS (http://www.etsmtl.ca)
> Project AREXIMAS (http://areximas.etsmtl.ca)
>
>
Fantastic! Thank you so much. I really like writing in LyX, but some of
these things are hard to discover. Have a good day/night whatever!

Alex


-- 
Alex Leith
Surveying and Spatial Sciences
University of Tasmania
email: alexgle...@gmail.com
mobile: 0419189050


Re: moderncv class broken?

2010-07-28 Thread Nathan Tomlin
Hmm, I got moderncv to work on a computer running windows 7, both lyx
versions 1.6.5 and 1.6.7 work. However, it still doesn't work on two
different machines running windows XP - Lyx versions 1.6.5, 1.6.6.1 and
1.6.7 all give the same error. Miktex is updated on all machines. I
installed Lyx using the alternative windows installer
(altinstaller-complete) on all machines.

I've attached a test lyx file. Anyone else have trouble with this file on
XP?

-nathan


On Tue, Jul 13, 2010 at 9:31 AM, Nathan Tomlin wrote:

> I used the moderncv class in Lyx to make my CV 2 years ago, but now with
> newer versions of lyx and moderncv, I can't get it to work anymore. The
> problem seems to be with the preamble line:
> \AtBeginDocument{\maketitle}
>
> When I remove that, I get a pdf, but it doesn't have the title stuff. I
> tried the example file and get the same error. I am using Lyx 1.6.6.1,
> moderncv 0.8, windows XP.
>
> thanks for any help,
> Nathan
>


test.lyx
Description: Binary data