Re: TOC (newbie question)

2010-01-17 Thread stephen's mailinglist account
>> I can do it with ERT is there a LyX or other more elegant way?
>>
>>
>> ERT way adds following
>> \setcounter{section}{0}
>> after subsequent section headers.  I guess you could redefine \part in
>> latex preamble or put into a module even and use it as a custom inset?
>>
>>
>
> \makeatletter
>
> \...@addtoreset{section}{part}
>
> \makeatother
>
> rh
>
>
>

That is a better way

-- 
Stephen


Re: White pages after some chapters using KOMA script book

2010-01-15 Thread stephen's mailinglist account
2010/1/15 Richard Brown rich...@guidedelearning.com:
 Hello again.

 I'm struggling still, though I can now see some progress...
 But my problem now is that I have an unwanted empty white page after
 some, but not all, chapters. I can't see any logic as to why, either in
 my input ms or in the output dvi. What should I be looking for, anfd how
 can I change this?

 Grateful as always for your time and input.

 Richard


Is this to do with two page settings so that new chapters start on the right?


-- 
Stephen


Re: Making only one page landscape while the rest is portrait

2010-01-15 Thread stephen's mailinglist account
in raw LaTeX there is a package pdflscape which allows you to set an
environment (\begin{landscape}..\end{landscape}. Content in between is
rotated, but headers and footers are left as per normal.
I have used this with a rotated supertabular which stetched over a few
pages. Don't know whether lyX can implement.  may need some ERT

2010/1/15 Richard Brown rich...@guidedelearning.com:
 Hello yet again.

 I have a big table in my ms, which can only fit on the page if I put it
 in landscape mode. How do I do this for just one page, leaving the rest
 as portrait which is fine? I'm using Koma script Book and the table was
 generated by using insert  float  table

 Thanks again.

 Richard






-- 
Stephen


Re: Making only one page landscape while the rest is portrait

2010-01-15 Thread stephen's mailinglist account
It work for a table I had in a Komascript book

in latex preamble insert \usepackage{pdflscape}
then use ERT (ctrl-l) before and after table to insert
\begin{landscape} and \end{landscape}repectively

2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com:
 in raw LaTeX there is a package pdflscape which allows you to set an
 environment (\begin{landscape}..\end{landscape}. Content in between is
 rotated, but headers and footers are left as per normal.
 I have used this with a rotated supertabular which stetched over a few
 pages. Don't know whether lyX can implement.  may need some ERT

 2010/1/15 Richard Brown rich...@guidedelearning.com:
 Hello yet again.

 I have a big table in my ms, which can only fit on the page if I put it
 in landscape mode. How do I do this for just one page, leaving the rest
 as portrait which is fine? I'm using Koma script Book and the table was
 generated by using insert  float  table

 Thanks again.

 Richard






 --
 Stephen




-- 
Stephen


Re: Making only one page landscape while the rest is portrait

2010-01-15 Thread stephen's mailinglist account
2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com:
 It work for a table I had in a Komascript book

 in latex preamble insert \usepackage{pdflscape}
 then use ERT (ctrl-l) before and after table to insert
 \begin{landscape} and \end{landscape}repectively


 2010/1/15 Richard Brown rich...@guidedelearning.com:
 Hello yet again.

 I have a big table in my ms, which can only fit on the page if I put it
 in landscape mode. How do I do this for just one page, leaving the rest
 as portrait which is fine? I'm using Koma script Book and the table was
 generated by using insert  float  table

 Thanks again.

 Richard

I'm interested to know if there is a more 'LyX' way of doing this

-- 
Stephen


Re: Making only one page landscape while the rest is portrait

2010-01-15 Thread stephen's mailinglist account
Confession time: when it worked well I did it without a float.  I am
going to look at the thread on longtables and see if I can get it to
work with some of the ideas from there

2010/1/15 Richard Brown rich...@guidedelearning.com:
 Thanks for those replies. I tried this, and it compiles without
 problems: however,the table is printed off the page to the right, except
 for the first column.

 On Fri, 2010-01-15 at 12:49 +, stephen's mailinglist account wrote:
 It work for a table I had in a Komascript book

 in latex preamble insert \usepackage{pdflscape}
 then use ERT (ctrl-l) before and after table to insert
 \begin{landscape} and \end{landscape}repectively

 2010/1/15 stephen's mailinglist account 
 stephen4mailingli...@googlemail.com:
  in raw LaTeX there is a package pdflscape which allows you to set an
  environment (\begin{landscape}..\end{landscape}. Content in between is
  rotated, but headers and footers are left as per normal.
  I have used this with a rotated supertabular which stetched over a few
  pages. Don't know whether lyX can implement.  may need some ERT
 
  2010/1/15 Richard Brown rich...@guidedelearning.com:
  Hello yet again.
 
  I have a big table in my ms, which can only fit on the page if I put it
  in landscape mode. How do I do this for just one page, leaving the rest
  as portrait which is fine? I'm using Koma script Book and the table was
  generated by using insert  float  table
 
  Thanks again.
 
  Richard
 
 
 
 
 
 
  --
  Stephen
 








-- 
Stephen


Re: Making only one page landscape while the rest is portrait

2010-01-15 Thread stephen's mailinglist account
 SteveT,

  In my book there is one table that is wide but short. I set that one page
 in landscape orientation while all other pages are in portrait orientation.
 Worked just fine.

 Rich


How did you do that ?- I have used ERT

-- 
Stephen


Re: Making only one page landscape while the rest is portrait

2010-01-15 Thread stephen's mailinglist account
I have checked across in the thread on floats, sub-floats SOLVED.

If you surround your table with some ERT
\afterpage{\clearpage
...
table here
...
}
One can then choose the option to rotate the table from the dialogue
box.  This moves the table onto its own page, but this behaves as a
float because the text continues on the previous page, and onto the
page after the table.
Perhaps we are making it altogether too complicated because one could
just insert the float and rotate the whole table using the dialogue
box.
I think I couldn't see the wood for the trees because my test table
was a long table.



2010/1/15 Rich Shepard rshep...@appl-ecosys.com:
 On Fri, 15 Jan 2010, stephen's mailinglist account wrote:

 How did you do that ?- I have used ERT

  I probably used ERT, too. It's been about 5 years now and I don't see
 anything in the .lyx file, but I can see the results in the printed book.

 Rich




-- 
Stephen


Re: floats and subfloats with longtables SOLVED

2010-01-15 Thread stephen's mailinglist account
2010/1/15 Rob Oakes lyx-de...@oak-tree.us:
 Dear Daniel, Liviu and Other LyX Users,

 Daniel and Liviu, thank you very much for the recommendations and for the 
 link.  I've been experimenting with the \afterpage package all morning, and I 
 am very happy to report that it works famously.  I am able to exactly the 
 type of behavior that I wanted by using the \afterpage{\clearpage LongTable} 
 macro.

 Because I've never been a huge fan of using ERT in LyX documents (at least no 
 more than is necessary), I decided to create a custom inset that would 
 automatically place long tables at the top of a new page, while maintaining 
 the wrapping of the text.

 The attached module is a first run at that inset.  I've been testing it on a 
 couple of rather complicated documents, and it works exactly like I want it 
 to.  I'm relatively sure that I'll come across bugs and other such stuff, so 
 I'm sure that it will get posted to my website at some point.

 I am forwarding it to the group in the hope that others will find it useful.

 Cheers,

 Rob Oakes


that seems to work very well thank you very much.  Float the long
table to the top of a page.  Table breaks and text continues after
table finishes on second page.

module can also be modified for putting longtables sideways on a page
change preamble to this
\usepackage{afterpage}
\usepackage{pdflscape}
\newcommand{\longtablelandscapepage}[1]{%
\afterpage{\clearpage\begin{landscape} 
{#1}\end{landscape}}}


-- 
Stephen


Re: floats and subfloats with longtables SOLVED

2010-01-15 Thread stephen's mailinglist account
Can more than one inset layout be placed in a module? Or does this
(landscape longtable) have to be a second module?

2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com:
 2010/1/15 Rob Oakes lyx-de...@oak-tree.us:
 Dear Daniel, Liviu and Other LyX Users,

 Daniel and Liviu, thank you very much for the recommendations and for the 
 link.  I've been experimenting with the \afterpage package all morning, and 
 I am very happy to report that it works famously.  I am able to exactly the 
 type of behavior that I wanted by using the \afterpage{\clearpage LongTable} 
 macro.

 Because I've never been a huge fan of using ERT in LyX documents (at least 
 no more than is necessary), I decided to create a custom inset that would 
 automatically place long tables at the top of a new page, while maintaining 
 the wrapping of the text.

 The attached module is a first run at that inset.  I've been testing it on a 
 couple of rather complicated documents, and it works exactly like I want it 
 to.  I'm relatively sure that I'll come across bugs and other such stuff, so 
 I'm sure that it will get posted to my website at some point.

 I am forwarding it to the group in the hope that others will find it useful.

 Cheers,

 Rob Oakes


 that seems to work very well thank you very much.  Float the long
 table to the top of a page.  Table breaks and text continues after
 table finishes on second page.

 module can also be modified for putting longtables sideways on a page
 change preamble to this
                \usepackage{afterpage}
                \usepackage{pdflscape}
                \newcommand{\longtablelandscapepage}[1]{%
                        \afterpage{\clearpage\begin{landscape} 
 {#1}\end{landscape}}}


 --
 Stephen




-- 
Stephen


Re: White pages after some chapters using KOMA script book

2010-01-15 Thread stephen's mailinglist account
2010/1/15 Richard Brown rich...@guidedelearning.com:
 Hello again.

 I'm struggling still, though I can now see some progress...
 But my problem now is that I have an unwanted empty white page after
 some, but not all, chapters. I can't see any logic as to why, either in
 my input ms or in the output dvi. What should I be looking for, anfd how
 can I change this?

 Grateful as always for your time and input.

 Richard


Is this to do with two page settings so that new chapters start on the right?


-- 
Stephen


Re: Making only one page landscape while the rest is portrait

2010-01-15 Thread stephen's mailinglist account
in raw LaTeX there is a package pdflscape which allows you to set an
environment (\begin{landscape}..\end{landscape}. Content in between is
rotated, but headers and footers are left as per normal.
I have used this with a rotated supertabular which stetched over a few
pages. Don't know whether lyX can implement.  may need some ERT

2010/1/15 Richard Brown rich...@guidedelearning.com:
 Hello yet again.

 I have a big table in my ms, which can only fit on the page if I put it
 in landscape mode. How do I do this for just one page, leaving the rest
 as portrait which is fine? I'm using Koma script Book and the table was
 generated by using insert  float  table

 Thanks again.

 Richard






-- 
Stephen


Re: Making only one page landscape while the rest is portrait

2010-01-15 Thread stephen's mailinglist account
It work for a table I had in a Komascript book

in latex preamble insert \usepackage{pdflscape}
then use ERT (ctrl-l) before and after table to insert
\begin{landscape} and \end{landscape}repectively

2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com:
 in raw LaTeX there is a package pdflscape which allows you to set an
 environment (\begin{landscape}..\end{landscape}. Content in between is
 rotated, but headers and footers are left as per normal.
 I have used this with a rotated supertabular which stetched over a few
 pages. Don't know whether lyX can implement.  may need some ERT

 2010/1/15 Richard Brown rich...@guidedelearning.com:
 Hello yet again.

 I have a big table in my ms, which can only fit on the page if I put it
 in landscape mode. How do I do this for just one page, leaving the rest
 as portrait which is fine? I'm using Koma script Book and the table was
 generated by using insert  float  table

 Thanks again.

 Richard






 --
 Stephen




-- 
Stephen


Re: Making only one page landscape while the rest is portrait

2010-01-15 Thread stephen's mailinglist account
2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com:
 It work for a table I had in a Komascript book

 in latex preamble insert \usepackage{pdflscape}
 then use ERT (ctrl-l) before and after table to insert
 \begin{landscape} and \end{landscape}repectively


 2010/1/15 Richard Brown rich...@guidedelearning.com:
 Hello yet again.

 I have a big table in my ms, which can only fit on the page if I put it
 in landscape mode. How do I do this for just one page, leaving the rest
 as portrait which is fine? I'm using Koma script Book and the table was
 generated by using insert  float  table

 Thanks again.

 Richard

I'm interested to know if there is a more 'LyX' way of doing this

-- 
Stephen


Re: Making only one page landscape while the rest is portrait

2010-01-15 Thread stephen's mailinglist account
Confession time: when it worked well I did it without a float.  I am
going to look at the thread on longtables and see if I can get it to
work with some of the ideas from there

2010/1/15 Richard Brown rich...@guidedelearning.com:
 Thanks for those replies. I tried this, and it compiles without
 problems: however,the table is printed off the page to the right, except
 for the first column.

 On Fri, 2010-01-15 at 12:49 +, stephen's mailinglist account wrote:
 It work for a table I had in a Komascript book

 in latex preamble insert \usepackage{pdflscape}
 then use ERT (ctrl-l) before and after table to insert
 \begin{landscape} and \end{landscape}repectively

 2010/1/15 stephen's mailinglist account 
 stephen4mailingli...@googlemail.com:
  in raw LaTeX there is a package pdflscape which allows you to set an
  environment (\begin{landscape}..\end{landscape}. Content in between is
  rotated, but headers and footers are left as per normal.
  I have used this with a rotated supertabular which stetched over a few
  pages. Don't know whether lyX can implement.  may need some ERT
 
  2010/1/15 Richard Brown rich...@guidedelearning.com:
  Hello yet again.
 
  I have a big table in my ms, which can only fit on the page if I put it
  in landscape mode. How do I do this for just one page, leaving the rest
  as portrait which is fine? I'm using Koma script Book and the table was
  generated by using insert  float  table
 
  Thanks again.
 
  Richard
 
 
 
 
 
 
  --
  Stephen
 








-- 
Stephen


Re: Making only one page landscape while the rest is portrait

2010-01-15 Thread stephen's mailinglist account
 SteveT,

  In my book there is one table that is wide but short. I set that one page
 in landscape orientation while all other pages are in portrait orientation.
 Worked just fine.

 Rich


How did you do that ?- I have used ERT

-- 
Stephen


Re: Making only one page landscape while the rest is portrait

2010-01-15 Thread stephen's mailinglist account
I have checked across in the thread on floats, sub-floats SOLVED.

If you surround your table with some ERT
\afterpage{\clearpage
...
table here
...
}
One can then choose the option to rotate the table from the dialogue
box.  This moves the table onto its own page, but this behaves as a
float because the text continues on the previous page, and onto the
page after the table.
Perhaps we are making it altogether too complicated because one could
just insert the float and rotate the whole table using the dialogue
box.
I think I couldn't see the wood for the trees because my test table
was a long table.



2010/1/15 Rich Shepard rshep...@appl-ecosys.com:
 On Fri, 15 Jan 2010, stephen's mailinglist account wrote:

 How did you do that ?- I have used ERT

  I probably used ERT, too. It's been about 5 years now and I don't see
 anything in the .lyx file, but I can see the results in the printed book.

 Rich




-- 
Stephen


Re: floats and subfloats with longtables SOLVED

2010-01-15 Thread stephen's mailinglist account
2010/1/15 Rob Oakes lyx-de...@oak-tree.us:
 Dear Daniel, Liviu and Other LyX Users,

 Daniel and Liviu, thank you very much for the recommendations and for the 
 link.  I've been experimenting with the \afterpage package all morning, and I 
 am very happy to report that it works famously.  I am able to exactly the 
 type of behavior that I wanted by using the \afterpage{\clearpage LongTable} 
 macro.

 Because I've never been a huge fan of using ERT in LyX documents (at least no 
 more than is necessary), I decided to create a custom inset that would 
 automatically place long tables at the top of a new page, while maintaining 
 the wrapping of the text.

 The attached module is a first run at that inset.  I've been testing it on a 
 couple of rather complicated documents, and it works exactly like I want it 
 to.  I'm relatively sure that I'll come across bugs and other such stuff, so 
 I'm sure that it will get posted to my website at some point.

 I am forwarding it to the group in the hope that others will find it useful.

 Cheers,

 Rob Oakes


that seems to work very well thank you very much.  Float the long
table to the top of a page.  Table breaks and text continues after
table finishes on second page.

module can also be modified for putting longtables sideways on a page
change preamble to this
\usepackage{afterpage}
\usepackage{pdflscape}
\newcommand{\longtablelandscapepage}[1]{%
\afterpage{\clearpage\begin{landscape} 
{#1}\end{landscape}}}


-- 
Stephen


Re: floats and subfloats with longtables SOLVED

2010-01-15 Thread stephen's mailinglist account
Can more than one inset layout be placed in a module? Or does this
(landscape longtable) have to be a second module?

2010/1/15 stephen's mailinglist account stephen4mailingli...@googlemail.com:
 2010/1/15 Rob Oakes lyx-de...@oak-tree.us:
 Dear Daniel, Liviu and Other LyX Users,

 Daniel and Liviu, thank you very much for the recommendations and for the 
 link.  I've been experimenting with the \afterpage package all morning, and 
 I am very happy to report that it works famously.  I am able to exactly the 
 type of behavior that I wanted by using the \afterpage{\clearpage LongTable} 
 macro.

 Because I've never been a huge fan of using ERT in LyX documents (at least 
 no more than is necessary), I decided to create a custom inset that would 
 automatically place long tables at the top of a new page, while maintaining 
 the wrapping of the text.

 The attached module is a first run at that inset.  I've been testing it on a 
 couple of rather complicated documents, and it works exactly like I want it 
 to.  I'm relatively sure that I'll come across bugs and other such stuff, so 
 I'm sure that it will get posted to my website at some point.

 I am forwarding it to the group in the hope that others will find it useful.

 Cheers,

 Rob Oakes


 that seems to work very well thank you very much.  Float the long
 table to the top of a page.  Table breaks and text continues after
 table finishes on second page.

 module can also be modified for putting longtables sideways on a page
 change preamble to this
                \usepackage{afterpage}
                \usepackage{pdflscape}
                \newcommand{\longtablelandscapepage}[1]{%
                        \afterpage{\clearpage\begin{landscape} 
 {#1}\end{landscape}}}


 --
 Stephen




-- 
Stephen


Re: White pages after some chapters using KOMA script book

2010-01-15 Thread stephen's mailinglist account
2010/1/15 Richard Brown :
> Hello again.
>
> I'm struggling still, though I can now see some progress...
> But my problem now is that I have an unwanted empty white page after
> some, but not all, chapters. I can't see any logic as to why, either in
> my input ms or in the output dvi. What should I be looking for, anfd how
> can I change this?
>
> Grateful as always for your time and input.
>
> Richard
>
>
Is this to do with two page settings so that new chapters start on the right?


-- 
Stephen


Re: Making only one page landscape while the rest is portrait

2010-01-15 Thread stephen's mailinglist account
in raw LaTeX there is a package pdflscape which allows you to set an
environment (\begin{landscape}..\end{landscape}. Content in between is
rotated, but headers and footers are left as per normal.
I have used this with a rotated supertabular which stetched over a few
pages. Don't know whether lyX can implement.  may need some ERT

2010/1/15 Richard Brown :
> Hello yet again.
>
> I have a big table in my ms, which can only fit on the page if I put it
> in landscape mode. How do I do this for just one page, leaving the rest
> as portrait which is fine? I'm using Koma script Book and the table was
> generated by using insert > float > table
>
> Thanks again.
>
> Richard
>
>
>



-- 
Stephen


Re: Making only one page landscape while the rest is portrait

2010-01-15 Thread stephen's mailinglist account
It work for a table I had in a Komascript book

in latex preamble insert \usepackage{pdflscape}
then use ERT (ctrl-l) before and after table to insert
\begin{landscape} and \end{landscape}repectively

2010/1/15 stephen's mailinglist account <stephen4mailingli...@googlemail.com>:
> in raw LaTeX there is a package pdflscape which allows you to set an
> environment (\begin{landscape}..\end{landscape}. Content in between is
> rotated, but headers and footers are left as per normal.
> I have used this with a rotated supertabular which stetched over a few
> pages. Don't know whether lyX can implement.  may need some ERT
>
> 2010/1/15 Richard Brown <rich...@guidedelearning.com>:
>> Hello yet again.
>>
>> I have a big table in my ms, which can only fit on the page if I put it
>> in landscape mode. How do I do this for just one page, leaving the rest
>> as portrait which is fine? I'm using Koma script Book and the table was
>> generated by using insert > float > table
>>
>> Thanks again.
>>
>> Richard
>>
>>
>>
>
>
>
> --
> Stephen
>



-- 
Stephen


Re: Making only one page landscape while the rest is portrait

2010-01-15 Thread stephen's mailinglist account
2010/1/15 stephen's mailinglist account <stephen4mailingli...@googlemail.com>:
> It work for a table I had in a Komascript book
>
> in latex preamble insert \usepackage{pdflscape}
> then use ERT (ctrl-l) before and after table to insert
> \begin{landscape} and \end{landscape}repectively
>
>
>> 2010/1/15 Richard Brown <rich...@guidedelearning.com>:
>>> Hello yet again.
>>>
>>> I have a big table in my ms, which can only fit on the page if I put it
>>> in landscape mode. How do I do this for just one page, leaving the rest
>>> as portrait which is fine? I'm using Koma script Book and the table was
>>> generated by using insert > float > table
>>>
>>> Thanks again.
>>>
>>> Richard

I'm interested to know if there is a more 'LyX' way of doing this

-- 
Stephen


Re: Making only one page landscape while the rest is portrait

2010-01-15 Thread stephen's mailinglist account
Confession time: when it worked well I did it without a float.  I am
going to look at the thread on longtables and see if I can get it to
work with some of the ideas from there

2010/1/15 Richard Brown <rich...@guidedelearning.com>:
> Thanks for those replies. I tried this, and it compiles without
> problems: however,the table is printed off the page to the right, except
> for the first column.
>
> On Fri, 2010-01-15 at 12:49 +, stephen's mailinglist account wrote:
>> It work for a table I had in a Komascript book
>>
>> in latex preamble insert \usepackage{pdflscape}
>> then use ERT (ctrl-l) before and after table to insert
>> \begin{landscape} and \end{landscape}repectively
>>
>> 2010/1/15 stephen's mailinglist account 
>> <stephen4mailingli...@googlemail.com>:
>> > in raw LaTeX there is a package pdflscape which allows you to set an
>> > environment (\begin{landscape}..\end{landscape}. Content in between is
>> > rotated, but headers and footers are left as per normal.
>> > I have used this with a rotated supertabular which stetched over a few
>> > pages. Don't know whether lyX can implement.  may need some ERT
>> >
>> > 2010/1/15 Richard Brown <rich...@guidedelearning.com>:
>> >> Hello yet again.
>> >>
>> >> I have a big table in my ms, which can only fit on the page if I put it
>> >> in landscape mode. How do I do this for just one page, leaving the rest
>> >> as portrait which is fine? I'm using Koma script Book and the table was
>> >> generated by using insert > float > table
>> >>
>> >> Thanks again.
>> >>
>> >> Richard
>> >>
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > Stephen
>> >
>>
>>
>>
>
>



-- 
Stephen


Re: Making only one page landscape while the rest is portrait

2010-01-15 Thread stephen's mailinglist account
> SteveT,
>
>  In my book there is one table that is wide but short. I set that one page
> in landscape orientation while all other pages are in portrait orientation.
> Worked just fine.
>
> Rich
>

How did you do that ?- I have used ERT

-- 
Stephen


Re: Making only one page landscape while the rest is portrait

2010-01-15 Thread stephen's mailinglist account
I have checked across in the thread on floats, sub-floats SOLVED.

If you surround your table with some ERT
\afterpage{\clearpage
...
table here
...
}
One can then choose the option to rotate the table from the dialogue
box.  This moves the table onto its own page, but this behaves as a
float because the text continues on the previous page, and onto the
page after the table.
Perhaps we are making it altogether too complicated because one could
just insert the float and rotate the whole table using the dialogue
box.
I think I couldn't see the wood for the trees because my test table
was a long table.



2010/1/15 Rich Shepard <rshep...@appl-ecosys.com>:
> On Fri, 15 Jan 2010, stephen's mailinglist account wrote:
>
>> How did you do that ?- I have used ERT
>
>  I probably used ERT, too. It's been about 5 years now and I don't see
> anything in the .lyx file, but I can see the results in the printed book.
>
> Rich
>



-- 
Stephen


Re: floats and subfloats with longtables SOLVED

2010-01-15 Thread stephen's mailinglist account
2010/1/15 Rob Oakes :
> Dear Daniel, Liviu and Other LyX Users,
>
> Daniel and Liviu, thank you very much for the recommendations and for the 
> link.  I've been experimenting with the \afterpage package all morning, and I 
> am very happy to report that it works famously.  I am able to exactly the 
> type of behavior that I wanted by using the \afterpage{\clearpage LongTable} 
> macro.
>
> Because I've never been a huge fan of using ERT in LyX documents (at least no 
> more than is necessary), I decided to create a custom inset that would 
> automatically place long tables at the top of a new page, while maintaining 
> the wrapping of the text.
>
> The attached module is a first run at that inset.  I've been testing it on a 
> couple of rather complicated documents, and it works exactly like I want it 
> to.  I'm relatively sure that I'll come across bugs and other such stuff, so 
> I'm sure that it will get posted to my website at some point.
>
> I am forwarding it to the group in the hope that others will find it useful.
>
> Cheers,
>
> Rob Oakes
>

that seems to work very well thank you very much.  Float the long
table to the top of a page.  Table breaks and text continues after
table finishes on second page.

module can also be modified for putting longtables sideways on a page
change preamble to this
\usepackage{afterpage}
\usepackage{pdflscape}
\newcommand{\longtablelandscapepage}[1]{%
\afterpage{\clearpage\begin{landscape} 
{#1}\end{landscape}}}


-- 
Stephen


Re: floats and subfloats with longtables SOLVED

2010-01-15 Thread stephen's mailinglist account
Can more than one inset layout be placed in a module? Or does this
(landscape longtable) have to be a second module?

2010/1/15 stephen's mailinglist account <stephen4mailingli...@googlemail.com>:
> 2010/1/15 Rob Oakes <lyx-de...@oak-tree.us>:
>> Dear Daniel, Liviu and Other LyX Users,
>>
>> Daniel and Liviu, thank you very much for the recommendations and for the 
>> link.  I've been experimenting with the \afterpage package all morning, and 
>> I am very happy to report that it works famously.  I am able to exactly the 
>> type of behavior that I wanted by using the \afterpage{\clearpage LongTable} 
>> macro.
>>
>> Because I've never been a huge fan of using ERT in LyX documents (at least 
>> no more than is necessary), I decided to create a custom inset that would 
>> automatically place long tables at the top of a new page, while maintaining 
>> the wrapping of the text.
>>
>> The attached module is a first run at that inset.  I've been testing it on a 
>> couple of rather complicated documents, and it works exactly like I want it 
>> to.  I'm relatively sure that I'll come across bugs and other such stuff, so 
>> I'm sure that it will get posted to my website at some point.
>>
>> I am forwarding it to the group in the hope that others will find it useful.
>>
>> Cheers,
>>
>> Rob Oakes
>>
>
> that seems to work very well thank you very much.  Float the long
> table to the top of a page.  Table breaks and text continues after
> table finishes on second page.
>
> module can also be modified for putting longtables sideways on a page
> change preamble to this
>                \usepackage{afterpage}
>                \usepackage{pdflscape}
>                \newcommand{\longtablelandscapepage}[1]{%
>                        \afterpage{\clearpage\begin{landscape} 
> {#1}\end{landscape}}}
>
>
> --
> Stephen
>



-- 
Stephen


Re: index without letters and Nomenclature

2010-01-14 Thread stephen's mailinglist account
On Wed, Jan 13, 2010 at 1:48 PM, Enrico Guastaldi
enrico.guasta...@gmail.com wrote:
 Dear Stephen,
 Actually I cannot report a problem, because nothing happens when I click the
 button Create PDF after inserting Nomenclature entry and Nomenclature
 List.
 Should I do some procedure to report the problem, such as bug track or
 whatsoever log file?
 Thanks anyway.
 Cheers,
 Enrico.


 

 can you post something that reproduces your nomenclature problem?

 --
 Stephen



Personally to classify it as a bug I would need to be able to
replicate the problem and without a file that fails for you I can
neither replicate it, nor troubleshoot.

I presume you can make pdfs anyway before you tried adding a nomenclature.

-- 
Stephen


Re: index without letters and Nomenclature

2010-01-14 Thread stephen's mailinglist account
On Wed, Jan 13, 2010 at 1:48 PM, Enrico Guastaldi
enrico.guasta...@gmail.com wrote:
 Dear Stephen,
 Actually I cannot report a problem, because nothing happens when I click the
 button Create PDF after inserting Nomenclature entry and Nomenclature
 List.
 Should I do some procedure to report the problem, such as bug track or
 whatsoever log file?
 Thanks anyway.
 Cheers,
 Enrico.


 

 can you post something that reproduces your nomenclature problem?

 --
 Stephen



Personally to classify it as a bug I would need to be able to
replicate the problem and without a file that fails for you I can
neither replicate it, nor troubleshoot.

I presume you can make pdfs anyway before you tried adding a nomenclature.

-- 
Stephen


Re: index without letters and Nomenclature

2010-01-14 Thread stephen's mailinglist account
On Wed, Jan 13, 2010 at 1:48 PM, Enrico Guastaldi
 wrote:
> Dear Stephen,
> Actually I cannot report a problem, because nothing happens when I click the
> button "Create PDF" after inserting Nomenclature entry and Nomenclature
> List.
> Should I do some procedure to report the problem, such as bug track or
> whatsoever log file?
> Thanks anyway.
> Cheers,
> Enrico.


>> >
>>
>> can you post something that reproduces your nomenclature problem?
>>
>> --
>> Stephen
>
>

Personally to classify it as a bug I would need to be able to
replicate the problem and without a file that fails for you I can
neither replicate it, nor troubleshoot.

I presume you can make pdfs anyway before you tried adding a nomenclature.

-- 
Stephen


Re: index without letters and Nomenclature

2010-01-13 Thread stephen's mailinglist account
On Wed, Jan 13, 2010 at 9:28 AM, Enrico Guastaldi
enrico.guasta...@gmail.com wrote:
 Dear list member,
 I'm a new Lyx 1.6.4 user under Linux (Kubuntu 9.10), and I think Lyx is
 amazing!
 I'm writing a tech book and I need to some hint concerning to final Index
 and others about Nomenclature.
 When I tag some word as Index entry and I put at the end of the document the
 Index list, I obtain something like this:

 This was the major question, but I've another for you.
 If I insert some nomenclature entry in the body and the nomenclature list
 either at the beginning (after the toc) or at the end of the document, Lyx
 does not create the pdf at all: no pdf, no errors, nothing!

 Could anyone help me?

 Thanks a lot in advance!

 Cheers,

 Enrico Guastaldi


can you post something that reproduces your nomenclature problem?

--
Stephen


Re: index without letters and Nomenclature

2010-01-13 Thread stephen's mailinglist account
On Wed, Jan 13, 2010 at 9:28 AM, Enrico Guastaldi
enrico.guasta...@gmail.com wrote:
 Dear list member,
 I'm a new Lyx 1.6.4 user under Linux (Kubuntu 9.10), and I think Lyx is
 amazing!
 I'm writing a tech book and I need to some hint concerning to final Index
 and others about Nomenclature.
 When I tag some word as Index entry and I put at the end of the document the
 Index list, I obtain something like this:

 This was the major question, but I've another for you.
 If I insert some nomenclature entry in the body and the nomenclature list
 either at the beginning (after the toc) or at the end of the document, Lyx
 does not create the pdf at all: no pdf, no errors, nothing!

 Could anyone help me?

 Thanks a lot in advance!

 Cheers,

 Enrico Guastaldi


can you post something that reproduces your nomenclature problem?

--
Stephen


Re: index without letters and Nomenclature

2010-01-13 Thread stephen's mailinglist account
On Wed, Jan 13, 2010 at 9:28 AM, Enrico Guastaldi
 wrote:
> Dear list member,
> I'm a new Lyx 1.6.4 user under Linux (Kubuntu 9.10), and I think Lyx is
> amazing!
> I'm writing a tech book and I need to some hint concerning to final Index
> and others about Nomenclature.
> When I tag some word as Index entry and I put at the end of the document the
> "Index list", I obtain something like this:

> This was the major question, but I've another for you.
> If I insert some nomenclature entry in the body and the nomenclature list
> either at the beginning (after the toc) or at the end of the document, Lyx
> does not create the pdf at all: no pdf, no errors, nothing!
>
> Could anyone help me?
>
> Thanks a lot in advance!
>
> Cheers,
>
> Enrico Guastaldi
>

can you post something that reproduces your nomenclature problem?

--
Stephen


Definition/description list - more than one word for the definition term

2010-01-07 Thread stephen's mailinglist account
Is it possible to create a definition list in LyX where the definition
term or thing being defined is for more than one word without
resorting to ERT?
In LaTeX this would be something like
 \begin{description}
 \item[OneWord] First item
 \item[Two words] Second item
 \end{description}

I can do this by inserting the two words in ERT (i.e. {Two Words}) - I
just wondered if there was a 'Lyx' way

-- 
Stephen


Re: Definition/description list - more than one word for the definition term

2010-01-07 Thread stephen's mailinglist account
On Thu, Jan 7, 2010 at 1:05 PM, Guenter Milde mi...@users.berlios.de wrote:
 On 2010-01-07, stephen's mailinglist account wrote:
 Is it possible to create a definition list in LyX where the definition
 term or thing being defined is for more than one word without
 resorting to ERT?

 I can do this by inserting the two words in ERT (i.e. {Two Words}) - I
 just wondered if there was a 'Lyx' way

 The LyX way is using a protected space (Ctrl-Space or
 InsertFormatting).

 (IMV, this is a hack too. I'd prefer a TAB as end definition term
 start definition text marker/key.)

 Günter


Thanks - it might still be a hack, but it is a cleaner hack


-- 
Stephen


Definition/description list - more than one word for the definition term

2010-01-07 Thread stephen's mailinglist account
Is it possible to create a definition list in LyX where the definition
term or thing being defined is for more than one word without
resorting to ERT?
In LaTeX this would be something like
 \begin{description}
 \item[OneWord] First item
 \item[Two words] Second item
 \end{description}

I can do this by inserting the two words in ERT (i.e. {Two Words}) - I
just wondered if there was a 'Lyx' way

-- 
Stephen


Re: Definition/description list - more than one word for the definition term

2010-01-07 Thread stephen's mailinglist account
On Thu, Jan 7, 2010 at 1:05 PM, Guenter Milde mi...@users.berlios.de wrote:
 On 2010-01-07, stephen's mailinglist account wrote:
 Is it possible to create a definition list in LyX where the definition
 term or thing being defined is for more than one word without
 resorting to ERT?

 I can do this by inserting the two words in ERT (i.e. {Two Words}) - I
 just wondered if there was a 'Lyx' way

 The LyX way is using a protected space (Ctrl-Space or
 InsertFormatting).

 (IMV, this is a hack too. I'd prefer a TAB as end definition term
 start definition text marker/key.)

 Günter


Thanks - it might still be a hack, but it is a cleaner hack


-- 
Stephen


Definition/description list - more than one word for the definition term

2010-01-07 Thread stephen's mailinglist account
Is it possible to create a definition list in LyX where the definition
term or thing being defined is for more than one word without
resorting to ERT?
In LaTeX this would be something like
 \begin{description}
 \item[OneWord] First item
 \item[Two words] Second item
 \end{description}

I can do this by inserting the two words in ERT (i.e. {Two Words}) - I
just wondered if there was a 'Lyx' way

-- 
Stephen


Re: Definition/description list - more than one word for the definition term

2010-01-07 Thread stephen's mailinglist account
On Thu, Jan 7, 2010 at 1:05 PM, Guenter Milde <mi...@users.berlios.de> wrote:
> On 2010-01-07, stephen's mailinglist account wrote:
>> Is it possible to create a definition list in LyX where the definition
>> term or thing being defined is for more than one word without
>> resorting to ERT?
>
>> I can do this by inserting the two words in ERT (i.e. {Two Words}) - I
>> just wondered if there was a 'Lyx' way
>
> The LyX way is using a protected space (Ctrl-Space or
> Insert>Formatting).
>
> (IMV, this is a hack too. I'd prefer a TAB as "end definition term
> start definition text" marker/key.)
>
> Günter
>
>
Thanks - it might still be a hack, but it is a cleaner hack


-- 
Stephen


Fwd: organisation as author not cited properly

2009-12-07 Thread stephen's mailinglist account
On Mon, Dec 7, 2009 at 10:18 PM, Graham M Smith
graham.sm...@myotis.co.ukwrote:

 I have a bibtex file created in Jabref

 The entry in the author field is {R Development Core Team} but  Lyx is
 citing it as  Team (2009).

 As I understand it, the curly brackets around the name should stop the
 contents being parsed like this.

 Can I fix this.

 Graham


 --
 --
 Graham M Smith
 graham.sm...@myotis.co.uk



 I copied the reference from your (cross) post in the R mailing list

Mine appears in Lyx as Team2009 (if I use plainnat) , but when I make the
Pdf file I get it appearing as R Development Core Team

@MANUAL{R2009,
  title = {R: A Language and Environment for Statistical Computing},
  author = {{R Development Core Team}},
  organization = {R Foundation for Statistical Computing},
  address = {Vienna, Austria},
  year = {2009},
  note = {{ISBN} 3-900051-07-0},
  owner = {graham},
  timestamp = {2009.12.06},
  url = {http://www.R-project.org}
 }


I set bibliography formating to be plain
Following is copied from final, pdf

1 here is a sample reference file.
 I use R[1]
 References
 [1] R Development Core Team. R: A Language and Environment for Statistical
 Computing. R Foundation for Statistical Computing, Vienna, Austria,
 2009.
 ISBN 3-900051-07-0.


I am using Lyx 1.6.2

what bibliography style are you using?

Stephen


Fwd: organisation as author not cited properly

2009-12-07 Thread stephen's mailinglist account
On Mon, Dec 7, 2009 at 10:18 PM, Graham M Smith
graham.sm...@myotis.co.ukwrote:

 I have a bibtex file created in Jabref

 The entry in the author field is {R Development Core Team} but  Lyx is
 citing it as  Team (2009).

 As I understand it, the curly brackets around the name should stop the
 contents being parsed like this.

 Can I fix this.

 Graham


 --
 --
 Graham M Smith
 graham.sm...@myotis.co.uk



 I copied the reference from your (cross) post in the R mailing list

Mine appears in Lyx as Team2009 (if I use plainnat) , but when I make the
Pdf file I get it appearing as R Development Core Team

@MANUAL{R2009,
  title = {R: A Language and Environment for Statistical Computing},
  author = {{R Development Core Team}},
  organization = {R Foundation for Statistical Computing},
  address = {Vienna, Austria},
  year = {2009},
  note = {{ISBN} 3-900051-07-0},
  owner = {graham},
  timestamp = {2009.12.06},
  url = {http://www.R-project.org}
 }


I set bibliography formating to be plain
Following is copied from final, pdf

1 here is a sample reference file.
 I use R[1]
 References
 [1] R Development Core Team. R: A Language and Environment for Statistical
 Computing. R Foundation for Statistical Computing, Vienna, Austria,
 2009.
 ISBN 3-900051-07-0.


I am using Lyx 1.6.2

what bibliography style are you using?

Stephen


Fwd: organisation as author not cited properly

2009-12-07 Thread stephen's mailinglist account
On Mon, Dec 7, 2009 at 10:18 PM, Graham M Smith
wrote:

> I have a bibtex file created in Jabref
>
> The entry in the author field is {R Development Core Team} but  Lyx is
> citing it as  Team (2009).
>
> As I understand it, the curly brackets around the name should stop the
> contents being parsed like this.
>
> Can I fix this.
>
> Graham
>
>
> --
> --
> Graham M Smith
> graham.sm...@myotis.co.uk
>
>
>
> I copied the reference from your (cross) post in the R mailing list

Mine appears in Lyx as Team2009 (if I use plainnat) , but when I make the
Pdf file I get it appearing as R Development Core Team

@MANUAL{R2009,
>  title = {R: A Language and Environment for Statistical Computing},
>  author = {{R Development Core Team}},
>  organization = {R Foundation for Statistical Computing},
>  address = {Vienna, Austria},
>  year = {2009},
>  note = {{ISBN} 3-900051-07-0},
>  owner = {graham},
>  timestamp = {2009.12.06},
>  url = {http://www.R-project.org}
> }
>

I set bibliography formating to be plain
Following is copied from final, pdf

1 here is a sample reference file.
> I use R[1]
> References
> [1] R Development Core Team. R: A Language and Environment for Statistical
> Computing. R Foundation for Statistical Computing, Vienna, Austria,
> 2009.
> ISBN 3-900051-07-0.
>

I am using Lyx 1.6.2

what bibliography style are you using?

Stephen


Re: Lyx portable

2009-11-28 Thread stephen's mailinglist account
On Sat, Nov 28, 2009 at 10:33 AM, Matthias Schmidt gm_schm...@yahoo.dewrote:

 Hello,

 I want to use Lyx from an usb-stick.

 MiKTeX I found as a portable version on
 http://www.miktex.org/portable/ .
 ImageMagick ist availlable as a zip-file on
 http://image_magick.veidrodis.com/image_magick/.

 Now Lyx: Is there anywhere a current portable version of Lyx? There
 has been an older one on http://portableapps.com/node/9880, but the
 linked website is no more accessible.
 Or is it possibe, just to copy the lyx-folder from my lyx-installation
 on my c-drive to the stick? Did someone try, if it works?

 Try Lytex - http://code.google.com/p/lytex/
this gives you Lyx with a LaTeX distribution

there is the Lyx wiki for other information
http://wiki.lyx.org/Windows/PortableInstallation


Re: Lyx portable

2009-11-28 Thread stephen's mailinglist account
On Sat, Nov 28, 2009 at 10:33 AM, Matthias Schmidt gm_schm...@yahoo.dewrote:

 Hello,

 I want to use Lyx from an usb-stick.

 MiKTeX I found as a portable version on
 http://www.miktex.org/portable/ .
 ImageMagick ist availlable as a zip-file on
 http://image_magick.veidrodis.com/image_magick/.

 Now Lyx: Is there anywhere a current portable version of Lyx? There
 has been an older one on http://portableapps.com/node/9880, but the
 linked website is no more accessible.
 Or is it possibe, just to copy the lyx-folder from my lyx-installation
 on my c-drive to the stick? Did someone try, if it works?

 Try Lytex - http://code.google.com/p/lytex/
this gives you Lyx with a LaTeX distribution

there is the Lyx wiki for other information
http://wiki.lyx.org/Windows/PortableInstallation


Re: Lyx portable

2009-11-28 Thread stephen's mailinglist account
On Sat, Nov 28, 2009 at 10:33 AM, Matthias Schmidt wrote:

> Hello,
>
> I want to use Lyx from an usb-stick.
>
> MiKTeX I found as a portable version on
> http://www.miktex.org/portable/ .
> ImageMagick ist availlable as a zip-file on
> http://image_magick.veidrodis.com/image_magick/.
>
> Now Lyx: Is there anywhere a current portable version of Lyx? There
> has been an older one on http://portableapps.com/node/9880, but the
> linked website is no more accessible.
> Or is it possibe, just to copy the lyx-folder from my lyx-installation
> on my c-drive to the stick? Did someone try, if it works?
>
> Try Lytex - http://code.google.com/p/lytex/
this gives you Lyx with a LaTeX distribution

there is the Lyx wiki for other information
http://wiki.lyx.org/Windows/PortableInstallation


Re: Making TOC page 1

2009-11-23 Thread stephen's mailinglist account
On Mon, Nov 23, 2009 at 8:56 AM, Christian Hemmer
christian.hem...@web.dewrote:


 hey stephen,

 I am using Report (Koma script) - do you think it's gonna work there too?

 Just to know whether I got it all right:
 1. I will insert \frontmatter at the beginning of my document (After the
 titlepage)
 2. After the title page I will have my abstract etc.
 3. Before starting with my TOC, I will insert another tex command
 \mainmatter and hopefully it will start counting in arabic numbers...

 Is that ok?

 Thank you very much for your help. I really want to get my thesis started
 in lyx, but it's not that easy for beginners... :)
   --
 *Von:* stephen's mailinglist account 
 stephen4mailingli...@googlemail.com
 *Gesendet:* 23.11.09 07:37:35
 *An:* Christian Hemmer
 *CC:* lyx-users@lists.lyx.org
 *Betreff:* Re: Making TOC page 1




 On Sun, Nov 22, 2009 at 9:39 PM, Christian Hemmer christian.hem...@web.de
  wrote:

 Hey,
 I would like my pagecounting beginning at the TOC, so that the document
 starts with the roman numbers (I, II, III, ...) but as soon as it reaches
 the TOC it should start with the latin ones (1, 2, 3, 4, ...).
 Does anyone have an idea how I could get this started?

 Thank you very much!
 ___
 Preisknaller: WEB.DE http://web.de/ DSL Flatrate für nur 16,99
 Euro/mtl.!
 http://produkte.web.de/go/02/

 I have just tried this with the book class/layout

 To get it to work I used some ERT.  I inserted rontmatter then had some
 titles etc. Then I put in the command mainmatter and followed this with the
 TOC.

 It seemed to work.

 Hope this helps

 Stephen



GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
 Jetzt freischalten unter *http://movieflat.web.de*http://movieflat.web.de/



I am not sure how you would set that up for koma-script report class.  It
does not natively recognise \frontmatter and \mainmatter.
 You could try a koma-book class where it would work, but you may need to
define your own abstract environment as book does not use abstract normally.
Or you could put the text below into the preamble (or use it in your own
layout file) - I found it in a Leeds University Thesis class file.
%ROMANPAGES
%
% The romanpages environment set the page numbering to lowercase roman one
% for the contents and figures lists. It also resets
% page-numbering for the remainder of the dissertation (arabic, starting at
1).
\newenvironment{romanpages}
{\setcounter{page}{1}
  \renewcommand{\thepage}{\roman{page}}}
{\newpage\renewcommand{\thepage}{\arabic{page}}\setcounter{page}{1}}

Once you have this in the preamble you can start the document with some ERT
(\begin{romanpages}) and then \end{romanpages}
Insert your abstract (and title) between these commands, and the TOC after.

If this is used in a custom layout file (and the enviroment set up) you
should be able to select it from the drop down environments.


Re: Making TOC page 1

2009-11-23 Thread stephen's mailinglist account
On Mon, Nov 23, 2009 at 8:56 AM, Christian Hemmer
christian.hem...@web.dewrote:


 hey stephen,

 I am using Report (Koma script) - do you think it's gonna work there too?

 Just to know whether I got it all right:
 1. I will insert \frontmatter at the beginning of my document (After the
 titlepage)
 2. After the title page I will have my abstract etc.
 3. Before starting with my TOC, I will insert another tex command
 \mainmatter and hopefully it will start counting in arabic numbers...

 Is that ok?

 Thank you very much for your help. I really want to get my thesis started
 in lyx, but it's not that easy for beginners... :)
   --
 *Von:* stephen's mailinglist account 
 stephen4mailingli...@googlemail.com
 *Gesendet:* 23.11.09 07:37:35
 *An:* Christian Hemmer
 *CC:* lyx-users@lists.lyx.org
 *Betreff:* Re: Making TOC page 1




 On Sun, Nov 22, 2009 at 9:39 PM, Christian Hemmer christian.hem...@web.de
  wrote:

 Hey,
 I would like my pagecounting beginning at the TOC, so that the document
 starts with the roman numbers (I, II, III, ...) but as soon as it reaches
 the TOC it should start with the latin ones (1, 2, 3, 4, ...).
 Does anyone have an idea how I could get this started?

 Thank you very much!
 ___
 Preisknaller: WEB.DE http://web.de/ DSL Flatrate für nur 16,99
 Euro/mtl.!
 http://produkte.web.de/go/02/

 I have just tried this with the book class/layout

 To get it to work I used some ERT.  I inserted rontmatter then had some
 titles etc. Then I put in the command mainmatter and followed this with the
 TOC.

 It seemed to work.

 Hope this helps

 Stephen



GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
 Jetzt freischalten unter *http://movieflat.web.de*http://movieflat.web.de/



I am not sure how you would set that up for koma-script report class.  It
does not natively recognise \frontmatter and \mainmatter.
 You could try a koma-book class where it would work, but you may need to
define your own abstract environment as book does not use abstract normally.
Or you could put the text below into the preamble (or use it in your own
layout file) - I found it in a Leeds University Thesis class file.
%ROMANPAGES
%
% The romanpages environment set the page numbering to lowercase roman one
% for the contents and figures lists. It also resets
% page-numbering for the remainder of the dissertation (arabic, starting at
1).
\newenvironment{romanpages}
{\setcounter{page}{1}
  \renewcommand{\thepage}{\roman{page}}}
{\newpage\renewcommand{\thepage}{\arabic{page}}\setcounter{page}{1}}

Once you have this in the preamble you can start the document with some ERT
(\begin{romanpages}) and then \end{romanpages}
Insert your abstract (and title) between these commands, and the TOC after.

If this is used in a custom layout file (and the enviroment set up) you
should be able to select it from the drop down environments.


Re: Making TOC page 1

2009-11-23 Thread stephen's mailinglist account
On Mon, Nov 23, 2009 at 8:56 AM, Christian Hemmer
<christian.hem...@web.de>wrote:

>
> hey stephen,
>
> I am using Report (Koma script) - do you think it's gonna work there too?
>
> Just to know whether I got it all right:
> 1. I will insert \frontmatter at the beginning of my document (After the
> titlepage)
> 2. After the title page I will have my abstract etc.
> 3. Before starting with my TOC, I will insert another tex command
> \mainmatter and hopefully it will start counting in arabic numbers...
>
> Is that ok?
>
> Thank you very much for your help. I really want to get my thesis started
> in lyx, but it's not that easy for beginners... :)
>   ------
> *Von:* "stephen's mailinglist account" <
> stephen4mailingli...@googlemail.com>
> *Gesendet:* 23.11.09 07:37:35
> *An:* Christian Hemmer
> *CC:* lyx-users@lists.lyx.org
> *Betreff:* Re: Making TOC page 1
>
>
>
>
> On Sun, Nov 22, 2009 at 9:39 PM, Christian Hemmer <christian.hem...@web.de
> > wrote:
>
>> Hey,
>> I would like my pagecounting beginning at the TOC, so that the document
>> starts with the roman numbers (I, II, III, ...) but as soon as it reaches
>> the TOC it should start with the latin ones (1, 2, 3, 4, ...).
>> Does anyone have an idea how I could get this started?
>>
>> Thank you very much!
>> ___
>> Preisknaller: WEB.DE <http://web.de/> DSL Flatrate für nur 16,99
>> Euro/mtl.!
>> http://produkte.web.de/go/02/
>>
>> I have just tried this with the book class/layout
>
> To get it to work I used some ERT.  I inserted rontmatter then had some
> titles etc. Then I put in the command mainmatter and followed this with the
> TOC.
>
> It seemed to work.
>
> Hope this helps
>
> Stephen
>
>
>
>GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
> Jetzt freischalten unter *http://movieflat.web.de*<http://movieflat.web.de/>
>
>

I am not sure how you would set that up for koma-script report class.  It
does not natively recognise \frontmatter and \mainmatter.
 You could try a koma-book class where it would work, but you may need to
define your own abstract environment as book does not use abstract normally.
Or you could put the text below into the preamble (or use it in your own
layout file) - I found it in a Leeds University Thesis class file.
%ROMANPAGES
%
% The romanpages environment set the page numbering to lowercase roman one
% for the contents and figures lists. It also resets
% page-numbering for the remainder of the dissertation (arabic, starting at
1).
\newenvironment{romanpages}
{\setcounter{page}{1}
  \renewcommand{\thepage}{\roman{page}}}
{\newpage\renewcommand{\thepage}{\arabic{page}}\setcounter{page}{1}}

Once you have this in the preamble you can start the document with some ERT
(\begin{romanpages}) and then \end{romanpages}
Insert your abstract (and title) between these commands, and the TOC after.

If this is used in a custom layout file (and the enviroment set up) you
should be able to select it from the drop down environments.


Re: Making TOC page 1

2009-11-22 Thread stephen's mailinglist account
On Sun, Nov 22, 2009 at 9:39 PM, Christian Hemmer
christian.hem...@web.dewrote:

 Hey,
 I would like my pagecounting beginning at the TOC, so that the document
 starts with the roman numbers (I, II, III, ...) but as soon as it reaches
 the TOC it should start with the latin ones (1, 2, 3, 4, ...).
 Does anyone have an idea how I could get this started?

 Thank you very much!
 ___
 Preisknaller: WEB.DE DSL Flatrate für nur 16,99 Euro/mtl.!
 http://produkte.web.de/go/02/

 I have just tried this with the book class/layout

To get it to work I used some ERT.  I inserted \frontmatter then had some
titles etc. Then I put in the command \mainmatter and followed this with the
TOC.
It seemed to work.

Hope this helps

Stephen


Re: Making TOC page 1

2009-11-22 Thread stephen's mailinglist account
On Sun, Nov 22, 2009 at 9:39 PM, Christian Hemmer
christian.hem...@web.dewrote:

 Hey,
 I would like my pagecounting beginning at the TOC, so that the document
 starts with the roman numbers (I, II, III, ...) but as soon as it reaches
 the TOC it should start with the latin ones (1, 2, 3, 4, ...).
 Does anyone have an idea how I could get this started?

 Thank you very much!
 ___
 Preisknaller: WEB.DE DSL Flatrate für nur 16,99 Euro/mtl.!
 http://produkte.web.de/go/02/

 I have just tried this with the book class/layout

To get it to work I used some ERT.  I inserted \frontmatter then had some
titles etc. Then I put in the command \mainmatter and followed this with the
TOC.
It seemed to work.

Hope this helps

Stephen


Re: Making TOC page 1

2009-11-22 Thread stephen's mailinglist account
On Sun, Nov 22, 2009 at 9:39 PM, Christian Hemmer
wrote:

> Hey,
> I would like my pagecounting beginning at the TOC, so that the document
> starts with the roman numbers (I, II, III, ...) but as soon as it reaches
> the TOC it should start with the latin ones (1, 2, 3, 4, ...).
> Does anyone have an idea how I could get this started?
>
> Thank you very much!
> ___
> Preisknaller: WEB.DE DSL Flatrate für nur 16,99 Euro/mtl.!
> http://produkte.web.de/go/02/
>
> I have just tried this with the book class/layout

To get it to work I used some ERT.  I inserted \frontmatter then had some
titles etc. Then I put in the command \mainmatter and followed this with the
TOC.
It seemed to work.

Hope this helps

Stephen


<    1   2   3