Re: how to change the page numbering in lyx

2010-07-07 Thread pierrickuk

Hi, 

I did this in LyX on Linux, should work on any other platform:

1) Open one of the help files (like help -- Introduction)
2) Edit the documents settings (Document -- Settings...)
3) In the new window (LYX: Document Settings), Click on LaTeX Preamble
4) copy this part:

% the pages of the TOC is numbered roman
% and a pdf-bookmark for the TOC is added
\pagenumbering{roman}
\let\myTOC\tableofcontents
\renewcommand\tableofcontents{%
  \pdfbookmark[1]{\contentsname}{}
  \myTOC
  \cleardoublepage
  \pagenumbering{arabic} }
5) Paste it in the preamble of your document (open your document, document
settings etc.).

This worked for me using the following classes:
  * book (KOMA-Script)
  * book
  * article
  * report


If you want absolutely no page number for the TOC, maybe somebody else will
give you the solution... although I'm quite convinced I've encountered this
somewhere else on the net before.

-- 
View this message in context: 
http://lyx.475766.n2.nabble.com/how-to-change-the-page-numbering-in-lyx-tp5164889p5263764.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Symbol for wrapped lines in LyX-Code

2010-07-10 Thread pierrickuk

Hi there, 

I am posting this as 2 hours of searching got me nowhere so far.
I am writing some instructions manual to set up some software my company is
distributing.
For this I need to put some linux console commands for which I use the
LyX-code format. Everything is fine unless the line is too long and then get
wrapped. As some of our customer might not know much about linux, I am
afraid they might hit return at the end of the line.
So I am looking for a way to automatically indicate that the line is wrapped
to fit on a page (preferably by some special symbol not used in a
terminal/console).

Maybe there is some LaTeX package that would work, or some trick I am not
aware of... Or maybe I'm looking in the wrong direction here.

I'll keep on searching and post anything interesting here.

Thanks!


Symbol for wrapped lines in LyX-Code
-- 
View this message in context: 
http://lyx.475766.n2.nabble.com/Symbol-for-wrapped-lines-in-LyX-Code-tp5277467p5277467.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Symbol for wrapped lines in LyX-Code

2010-07-10 Thread pierrickuk

Hi all, 
I had some problems joining the mailing list, so following Nabble's
instructions, I re-posted again.

Meanwhile, some people provided some nice suggestions and solutions there:
http://thread.gmane.org/gmane.editors.lyx.general/64608

Have a look.

I myself will try on Monday

Thanks all
-- 
View this message in context: 
http://lyx.475766.n2.nabble.com/Symbol-for-wrapped-lines-in-LyX-Code-tp5277467p5277989.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: how to change the page numbering in lyx

2010-07-07 Thread pierrickuk

Hi, 

I did this in LyX on Linux, should work on any other platform:

1) Open one of the help files (like help -- Introduction)
2) Edit the documents settings (Document -- Settings...)
3) In the new window (LYX: Document Settings), Click on LaTeX Preamble
4) copy this part:

% the pages of the TOC is numbered roman
% and a pdf-bookmark for the TOC is added
\pagenumbering{roman}
\let\myTOC\tableofcontents
\renewcommand\tableofcontents{%
  \pdfbookmark[1]{\contentsname}{}
  \myTOC
  \cleardoublepage
  \pagenumbering{arabic} }
5) Paste it in the preamble of your document (open your document, document
settings etc.).

This worked for me using the following classes:
  * book (KOMA-Script)
  * book
  * article
  * report


If you want absolutely no page number for the TOC, maybe somebody else will
give you the solution... although I'm quite convinced I've encountered this
somewhere else on the net before.

-- 
View this message in context: 
http://lyx.475766.n2.nabble.com/how-to-change-the-page-numbering-in-lyx-tp5164889p5263764.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Symbol for wrapped lines in LyX-Code

2010-07-10 Thread pierrickuk

Hi there, 

I am posting this as 2 hours of searching got me nowhere so far.
I am writing some instructions manual to set up some software my company is
distributing.
For this I need to put some linux console commands for which I use the
LyX-code format. Everything is fine unless the line is too long and then get
wrapped. As some of our customer might not know much about linux, I am
afraid they might hit return at the end of the line.
So I am looking for a way to automatically indicate that the line is wrapped
to fit on a page (preferably by some special symbol not used in a
terminal/console).

Maybe there is some LaTeX package that would work, or some trick I am not
aware of... Or maybe I'm looking in the wrong direction here.

I'll keep on searching and post anything interesting here.

Thanks!


Symbol for wrapped lines in LyX-Code
-- 
View this message in context: 
http://lyx.475766.n2.nabble.com/Symbol-for-wrapped-lines-in-LyX-Code-tp5277467p5277467.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Symbol for wrapped lines in LyX-Code

2010-07-10 Thread pierrickuk

Hi all, 
I had some problems joining the mailing list, so following Nabble's
instructions, I re-posted again.

Meanwhile, some people provided some nice suggestions and solutions there:
http://thread.gmane.org/gmane.editors.lyx.general/64608

Have a look.

I myself will try on Monday

Thanks all
-- 
View this message in context: 
http://lyx.475766.n2.nabble.com/Symbol-for-wrapped-lines-in-LyX-Code-tp5277467p5277989.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: how to change the page numbering in lyx

2010-07-07 Thread pierrickuk

Hi, 

I did this in LyX on Linux, should work on any other platform:

1) Open one of the help files (like help --> Introduction)
2) Edit the documents settings (Document --> Settings...)
3) In the new window (LYX: Document Settings), Click on LaTeX Preamble
4) copy this part:

% the pages of the TOC is numbered roman
% and a pdf-bookmark for the TOC is added
\pagenumbering{roman}
\let\myTOC\tableofcontents
\renewcommand\tableofcontents{%
  \pdfbookmark[1]{\contentsname}{}
  \myTOC
  \cleardoublepage
  \pagenumbering{arabic} }
5) Paste it in the preamble of your document (open your document, document
settings etc.).

This worked for me using the following classes:
  * book (KOMA-Script)
  * book
  * article
  * report


If you want absolutely no page number for the TOC, maybe somebody else will
give you the solution... although I'm quite convinced I've encountered this
somewhere else on the net before.

-- 
View this message in context: 
http://lyx.475766.n2.nabble.com/how-to-change-the-page-numbering-in-lyx-tp5164889p5263764.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Symbol for wrapped lines in LyX-Code

2010-07-10 Thread pierrickuk

Hi there, 

I am posting this as 2 hours of searching got me nowhere so far.
I am writing some instructions manual to set up some software my company is
distributing.
For this I need to put some linux console commands for which I use the
LyX-code format. Everything is fine unless the line is too long and then get
wrapped. As some of our customer might not know much about linux, I am
afraid they might hit return at the end of the line.
So I am looking for a way to automatically indicate that the line is wrapped
to fit on a page (preferably by some special symbol not used in a
terminal/console).

Maybe there is some LaTeX package that would work, or some trick I am not
aware of... Or maybe I'm looking in the wrong direction here.

I'll keep on searching and post anything interesting here.

Thanks!


Symbol for wrapped lines in LyX-Code
-- 
View this message in context: 
http://lyx.475766.n2.nabble.com/Symbol-for-wrapped-lines-in-LyX-Code-tp5277467p5277467.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Symbol for wrapped lines in LyX-Code

2010-07-10 Thread pierrickuk

Hi all, 
I had some problems joining the mailing list, so following Nabble's
instructions, I re-posted again.

Meanwhile, some people provided some nice suggestions and solutions there:
http://thread.gmane.org/gmane.editors.lyx.general/64608

Have a look.

I myself will try on Monday

Thanks all
-- 
View this message in context: 
http://lyx.475766.n2.nabble.com/Symbol-for-wrapped-lines-in-LyX-Code-tp5277467p5277989.html
Sent from the LyX - Users mailing list archive at Nabble.com.