Keeping text in sync at two locations in a document

2010-09-16 Thread Graham Smith
I have two timetables within the same document.

One is the main timetable which has the lecture title and a summary of
its content. The other is a summary timetable that goes on the back
page of the document, and just has the date and lecture title.

With Word I can use Bookmarks to auto-update the summary timetable
when I edit the main timetable. The dates are fixed so its only the
lecture titles that get edited and re-arranged.

Is there some way of doing this in Lyx.

Thanks,

Graham


Re: Float figures and wrapping text

2010-09-16 Thread Grahame Blackwood

On 15/09/10 20:20, Grahame Blackwood wrote:

Hi LyXers

I'm producing a document that needs some graphics to enliven the text. I
would also like the text to wrap round the graphics. However, as it
isn't an
academic document, the usual references, Figure 1, Figure 2 etc aren't
needed in the finished pdf.

Does anyone know if there is any way to prevent the references Figure 1,
2 etc appearing in the pdf?

Cheers

G


Hi LyXers

Thank you to Rob, Paul and Guenter for your solutions. They are just 
what I wanted to make my document less formal looking.


Cheers

G








Re: how to add a caption to a Box inset?

2010-09-16 Thread Justin Wood
I've been using this module and it's almost exactly what I need. I changed
the layout to NumberWithin = chapter to give me Box 1.1, 1.2, etc. But I
need to change a few other things... so here's a shopping list:

1. align the caption left, and set font parameters. Can I do that with
{caption} package somehow; if not, where in the LaTeX preamble is that
controlled? (Attempts to change, eg, kern8pt haven't worked.)

2. separate paragraphs with blank line the same as LyX does for normal text;
add blank line after Box caption too.

** 3. make use of cross references to the Box Float label. At the moment
this doesn't work with reference (/ref) or Formatted reference
(/prettyref) modes — both simply produce 'subsection ??'. Most importantly I
just want the reference to be 'Box 1.1', same as for figure floats; the
numbering is crucial.

I'm frustrated not to be able to figure this out for myself but so far LaTeX
is continuing to defeat me...

Thanks all!

On 3 September 2010 23:20, Jürgen Spitzmüller sp...@lyx.org wrote:

  Justin Wood wrote:
  Thanks for the help, Jürgen. I'm not that great with using LaTeX
 directly,
  but is this on the right track for the boxedminipage style?
  \usepackage{boxedminipage} in the preamble; then
 
   \begin{boxedminipage}[c]{1\columnwidth}
 
  \label{Box: hydrological cycle}Some text, blah blah\end{boxedminipage}
 
 
  I inserted that as Tex code within LyX. I get a box this way, but I, err,
  can't quite see how to use this with a float and/or get a caption (in the
  Box 1, or Box 1.1 format). Sorry...

 * Put the attached module in the layouts folder of your user directory
 (AboutLyX tells you where the user directory is, if there is no layouts
 folder yet, create it)

 * Restart LyX

 * Go to DocumentsSettings...Modules, select the module Boxed Float and
 hit
 Add

 You should not be able to select a framed float from InsertFloats. The
 float
 does not exactly look like you want (the caption is outside the box). If
 you
 want to have the caption inside the box, the following definition in your
 document preamble (while using the Boxed Float module) should help:

 \usepackage{framed}
 \newcommand\flo...@simplerule[2]{{\@f...@cfont #1 #2}\par}
 \renewcommand...@boxed{%
  \d...@fs@cfont{\bfseries}\l...@fs@capt\flo...@simplerule
   \d...@fs@pre{\begin{framed}}%
   \d...@fs@post{\end{framed}}%
   \d...@fs@mid{\kern8pt}%
   \l...@fs@iftopcapt\iftrue}

 HTH,
 Jürgen



formatting cross references — \ref, \prettyref, et c

2010-09-16 Thread Justin Wood
Is it possible to control the format of cross references to labels so that I
can specify the text prepended to the label number? I realise LyX
automagically adds 'chapter', 'section', 'subsection', and 'Figure', most of
which are fine. But normally I would prefer to simply use 'section' for
actual subsections too.

*Formatted reference* looks to be the place to do this, but I've not been
able to find \prettyref's implementation sufficiently documented for LyX,
and what I have found seems to strongly imply it's use should be avoided.
Nonetheless I tried inserting the \prettyref name definition to my LaTeX
preamble and it did work, but... the text is being prepended to the LyX
'section 1.1', 'subsection 1.1.1', etc, rather than *replacing* it.

Is use of formatted reference really supported, or is there some other way
to do this?

Thanks again.
~:Justin Wood:~
PhD candidate, *Energy  Engineering school*, Murdoch
Universityhttp://www.murdoch.edu.au/


Multiple chapters

2010-09-16 Thread RobyC.

Hi all,
I'm writing my thesis with Lyx and I'm organizing it in several chapters 
and a bibliography.


Every chapter have reference to the same bibliography but to cite 
bibliography entries I must include bibliography (generated by bibtex 
using referencer) in every chapter!
By this way I have several bibliography in my output and obviously I 
don't need it.


What can I do to cite bibliography entries without printing them at the 
end of every chapter?


I did also read the extended feature chapter of the Lyx guide. It 
suggest to include these strings in the preamble|:

||\usepackage{comment}

\includecomment{comment}

but isn't working anyway.

Thank you all
||
|


Re: Keeping text in sync at two locations in a document

2010-09-16 Thread Richard Heck

On 09/16/2010 03:06 AM, Graham Smith wrote:

I have two timetables within the same document.

One is the main timetable which has the lecture title and a summary of
its content. The other is a summary timetable that goes on the back
page of the document, and just has the date and lecture title.

With Word I can use Bookmarks to auto-update the summary timetable
when I edit the main timetable. The dates are fixed so its only the
lecture titles that get edited and re-arranged.

Is there some way of doing this in Lyx.

   
It can easily be done in LaTeX, by defining macros that contain the 
dates and titles and then using those more than once. You can do this in 
LyX, too, therefore, using ERT, but there's no native support for it. So 
e.g.:

\newcommand\datea{10 September 2010}
\newcommand\dateb{12 October 2010}
\newcommand\datec{20 November 2010}
\newcommand\titlea{Wow, What a Title!}
\newcommand\titleb{This Will Be Great}
\newcommand\titlec{Lorem Ipsum}
Put that where you like, e.g., in the preamble. If you want to be able 
to use LyX to edit the text part, then you can do this in the main body 
of the document:

[ERT]\newcommand\titlea{[/ERT]Now we're in LyX mode[ERT]}[/ERT]
You could also put these things in a separate child document and include 
it to keep from cluttering your main document with ERT.


Then in the tables:
[ERT]\datea{}[/ERT]
etc, where you need it. The braces are just to make sure nothing odd 
happens following the command.


Richard



Re: formatting cross references — \ref, \prettyref, etc

2010-09-16 Thread Richard Heck

On 09/16/2010 04:26 AM, Justin Wood wrote:
Is it possible to control the format of cross references to labels so 
that I can specify the text prepended to the label number? I realise 
LyX automagically adds 'chapter', 'section', 'subsection', and 
'Figure', most of which are fine. But normally I would prefer to 
simply use 'section' for actual subsections too.


/Formatted reference/ looks to be the place to do this, but I've not 
been able to find \prettyref's implementation sufficiently documented 
for LyX,



There's no special LyX documentation. We just use prettyref as LaTeX would.


and what I have found seems to strongly imply it's use should be avoided.

Where's that? There are some issues with prettyref, mostly to do with 
internationalization and babel support. That's why 2.0 will by default 
use refstyle instead, we hope.


Nonetheless I tried inserting the \prettyref name definition to my 
LaTeX preamble and it did work, but... the text is being prepended to 
the LyX 'section 1.1', 'subsection 1.1.1', etc, rather than 
/replacing/ it.


What prettyref command did you use? Prettyref itself predefines several 
of these things, but you should be able to redefine them yourself.


Richard



Re: Multiple chapters

2010-09-16 Thread Richard Heck

On 09/16/2010 04:54 AM, RobyC. wrote:

Hi all,
I'm writing my thesis with Lyx and I'm organizing it in several 
chapters and a bibliography.


Every chapter have reference to the same bibliography but to cite 
bibliography entries I must include bibliography (generated by bibtex 
using referencer) in every chapter!
By this way I have several bibliography in my output and obviously I 
don't need it.


What can I do to cite bibliography entries without printing them at 
the end of every chapter?


I assume you are including all these chapters in some master document. 
If you open the master document first, then LyX automatically opens all 
the chapters, and they will see the bibliography, which you can put 
wherever you like. I usually put that in the master document at the end.


What's probably happening is that you are opening the chapters directly. 
Now LyX doesn't see the master document, so it doesn't see the 
bibliography. This is what the default master document feature is for. 
Go to DocumentSettings, and in the Document Class pane, at the bottom, 
check the Select Master Document button. Then use the Browse button to 
find the master document. Now, when you open the chapter, it will know 
that it is a child of the master document, and LyX will open it and all 
its children, and all is well.


Richard



Re: Keeping text in sync at two locations in a document

2010-09-16 Thread Graham Smith
Richard

 It can easily be done in LaTeX, by defining macros that contain the dates
 and titles and then using those more than once. You can do this in LyX, too,

That is very clever, and exactly what I wanted. Indeed I can see scope
for this being useful for several other things as well.

many thanks,

Graham


Re: Keeping text in sync at two locations in a document

2010-09-16 Thread obregonmateo
On Thursday 16 September 2010, Richard Heck wrote:
 On 09/16/2010 03:06 AM, Graham Smith wrote:
  I have two timetables within the same document.
 

 snip 

  Is there some way of doing this in Lyx.
 
 
 It can easily be done in LaTeX, by defining macros that contain the 
 dates and titles and then using those more than once. You can do this in 
 LyX, too, therefore, using ERT, but there's no native support for it.

Yes there is native support for macros in lyx, but the name is misleading; they 
are called Math macros. [Menu | Insert | Math | Macros] will allow you to 
define the macro, in both LaTeX and how it should appear in LyX if you so 
desire. Then, to use it in your text, insert some Inline Math; type your macro 
name preceded with a back-slash.

This is instead of defining the LaTeX macros in your preamble, as per below 
(which also work just as well).

Mateo.

 So 
 e.g.:
  \newcommand\datea{10 September 2010}
  \newcommand\dateb{12 October 2010}
  \newcommand\datec{20 November 2010}
  \newcommand\titlea{Wow, What a Title!}
  \newcommand\titleb{This Will Be Great}
  \newcommand\titlec{Lorem Ipsum}
 Put that where you like, e.g., in the preamble. If you want to be able 
 to use LyX to edit the text part, then you can do this in the main body 
 of the document:
  [ERT]\newcommand\titlea{[/ERT]Now we're in LyX mode[ERT]}[/ERT]
 You could also put these things in a separate child document and include 
 it to keep from cluttering your main document with ERT.
 
 Then in the tables:
  [ERT]\datea{}[/ERT]
 etc, where you need it. The braces are just to make sure nothing odd 
 happens following the command.
 
 Richard
 
 


Re: Keeping text in sync at two locations in a document

2010-09-16 Thread Graham Smith
Mateo

 Yes there is native support for macros in lyx, but the name is misleading; 
 they are called Math macros. [Menu | Insert | Math | Macros] will allow you 
 to define the macro, in both LaTeX and how it should appear in LyX if you so 
 desire. Then, to use it in your text, insert some Inline Math; type your 
 macro name preceded with a back-slash.

 This is instead of defining the LaTeX macros in your preamble, as per below 
 (which also work just as well).

This is also useful to know, but in this instance having the code in
an ERT block at the beginning of the document works well, as I can
construct my timetable in this block and see dates etc in context have
it propagated through the document.  Next year I can then edit the
appropriate bits in the block and that part of the docment is updated.


Thanks,

Graham


ANNOUNCE: LyX version 2.0.0 (alpha 6)

2010-09-16 Thread Pavel Sanda
Public release of LyX version 2.0.0 (alpha 6)
=

We are pleased to announce the sixth alpha release of LyX 2.0.0.

Please note that this release is for testing purposes only and
users are encouraged to use the current 1.6 stable release for any
serious work. We are, however, grateful for any feedback regarding
the bugs and problems you will report to us.

Tarballs can be found at
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/ .
Binaries should follow soon.

LyX 2.0.0 will be culmination of more than 21 months of hard work
and you can find an overview of the new features here:
http://wiki.lyx.org/LyX/NewInLyX20

If you think you found a bug in LyX 2.0.0, either e-mail the LyX
developers' mailing list (lyx-devel at lists.lyx.org), or open a bug
report at http://www.lyx.org/trac/wiki/BugTrackerHome .
Please check that the bug was not already reported before you file
a new one.

We hope you will enjoy the result!

The LyX team.
http://www.lyx.org


Printing a beamer outline

2010-09-16 Thread Graham Smith
I have Beamer set up to create a main presentation plus a child document 
that produces an article (where I include additional article only 
text) that I use as a handout.


A change of policy means that we are now handing out just an outline 
of the main slide headings and the bullet points beneath them (no frames 
or graphics).


Easily done in PowerPoint (just print as an outline) which everyone else 
uses, but its not obvious to me how I do this with Lyx. The proper 
handout will be made available online, so I still need my existing 
article ouput.


I did wonder if there might be some way of setting up a second child 
document still with the beamer class, but with a print outline or 
maybe even a TOC option, but I can't see anything as simple as that.


Once again any suggestions gratefully received.

Thanks,

Graham




Re: ANNOUNCE: LyX version 2.0.0 (alpha 6)

2010-09-16 Thread Pavel Sanda
Pavel Sanda wrote:
 Public release of LyX version 2.0.0 (alpha 6)
 =
 
 We are pleased to announce the sixth alpha release of LyX 2.0.0.

some additional notes:

- since we are close to to beta - which should be basically just bugfixing -
  its the best time to contribute user's stuff (like modules) you consider
  worthy for lyx 2.0.

- for gentoo users around, there is rebutia overlay with prepared ebuilds
  with living version of stable branch 1.6 and devel releases of lyx.

pavel


Re: formatting cross references — \ref, \prettyref , etc

2010-09-16 Thread Justin Wood
On 16 September 2010 19:35, Richard Heck rgh...@comcast.net wrote:

  On 09/16/2010 04:26 AM, Justin Wood wrote:

 Is it possible to control the format of cross references to labels so that
 I can specify the text prepended to the label number? I realise LyX
 automagically adds 'chapter', 'section', 'subsection', and 'Figure', most of
 which are fine. But normally I would prefer to simply use 'section' for
 actual subsections too.

 *Formatted reference* looks to be the place to do this, but I've not been
 able to find \prettyref's implementation sufficiently documented for LyX,

  There's no special LyX documentation. We just use prettyref as LaTeX
 would.


Yes I appreciate that. (And I've since realised the problem is some sort of
conflict with the document class.)



 and what I have found seems to strongly imply it's use should be avoided.

  Where's that? There are some issues with prettyref, mostly to do with
 internationalization and babel support. That's why 2.0 will by default use
 refstyle instead, we hope.


Other than the passing mention in the User Guide and Customization help
files, mostly some 'robust' discussion on this group from a couple of years
ago which referred to prettyref being effectively unsupported. I might start
working with LyX 2.0 alpha now then actually (suitably forewarned and files
backed up of course).


 Nonetheless I tried inserting the \prettyref name definition to my LaTeX
 preamble and it did work, but... the text is being prepended to the LyX
 'section 1.1', 'subsection 1.1.1', etc, rather than *replacing* it.

  What prettyref command did you use? Prettyref itself predefines several of
 these things, but you should be able to redefine them yourself.


Just this in the preamble, as an example: \newrefformat{sub}{TEST \ref{#1}}

It outputs as 'TEST subsection x.y.z' — the original subsection remains in
place. But that was with a document class of *book (KOMA-script)*, the
thesis template[1].

I just tried it with a new file, all LyX defaults (article class), and the
override works as you'd expect, replacing 'subsection' with 'TEST'. And in
fact it works fine for the box float customisation has Jürgen helped me
with. So obviously the problem is within the *scrbook *document class? I
don't really know how to solve that at this point but at least I know where
to look...

Thanks Richard.

[1]
\documentclass[12pt,a4paper,english,british,intoc,bibtotoc,idxtotoc,BCOR10mm,titlepage,tablecaptionabove,
fleqn]{scrbook}


 Richard




a few questions regarding lyx

2010-09-16 Thread Dino Vliet
Hi folks,
 
I'm using the report (KOMA-script) document class to write my thesis and I 
don't know how to do the following things:
 
1) Subtitles: how to add the to my document?
2) I have two supervisors who's names need to be on the first page. I don 't 
want to add them with the Author class. What kind of options I have?
3) I need to add the logo's of the university and the company I work for to 
this first page. What is the best way to do that?
4) I have both an abstract and a dedication section. The title of them are not 
shown in the document. So you see two pages with text without titles 
(Dedication and Abstract). Can this be added and how do I accomplish that?
5) How to add an appendix? There is no environment for it.
 
Can somebody give me some guidelines?
 
Thanks
Dino
 
 


  

Re: Keeping text in sync at two locations in a document

2010-09-16 Thread Richard Heck



It can easily be done in LaTeX, by defining macros that contain the
dates and titles and then using those more than once. You can do this in
LyX, too, therefore, using ERT, but there's no native support for it.
 

Yes there is native support for macros in lyx, but the name is misleading; they 
are called Math macros. [Menu | Insert | Math | Macros] will allow you to 
define the macro, in both LaTeX and how it should appear in LyX if you so 
desire. Then, to use it in your text, insert some Inline Math; type your macro 
name preceded with a back-slash.

   
The downside to this is that they are math macros, rather than simple 
LaTeX macros. There's an open bug about providing general macro support.


RIchard



Re: Windows setup/directory structure

2010-09-16 Thread Jacob Bishop
Paul is right. You did ask, though, if there was a standard location for the
directory in Windows. I believe there is, but it's different between xp and
vista/w7. Mine on Windows 7 is:
C:\Users\Jacob\AppData\Roaming\MiKTeX\2.8\...
I'm not on my xp machine right now, but it's something like
C:\Documents and Settings\username\Application Data\MikTeX\2.8\...

MikTeX created those directories for local settings when I originally
installed it.

You can, of course set up a custom location via the MikTeX settings
interface, which you have to use anyway to run Refresh FNDB as Paul
explained.

I hope this adds a bit of information.

Jacob

On Wed, Sep 15, 2010 at 6:26 AM, Paul A. Rubin ru...@msu.edu wrote:

 On 9/14/2010 7:41 PM, Maria Gouskova wrote:


 I should add that they all used MikTeX, and we tried putting texmf in
 C:\ and also in the Program Files folder (I think basically as
 C:\Program Files\texmf).

 What confuses me is that in Mac OS, LyX finds all the stuff inside the
 texmf folder automaticallly after reconfiguring. Does this happen in
 Windows? If not, is there something that needs to be done inside LyX
 to help it find the correct texmf path? I am sure we missed something
 really obvious.


 If they are using MiKTeX:

 1.  They can run the MiKTeX Settings application (from the Start menu)
 and go to the Roots tab.  That lists the directories on the search path
 MiKTeX uses.  They can create their local texmf folder anywhere they want,
 then just add it to that tab (Add... button) and move it up to the top of
 the search chain.

 2.  After adding anything to their local texmf directory, they should run
 the Settings application, and on the General tab click Refresh FNDB (which
 runs texhash to update the LaTeX file databases).

 /Paul




Re: a few questions regarding lyx

2010-09-16 Thread Richard Heck

On 09/16/2010 10:21 AM, Dino Vliet wrote:

Hi folks,
I'm using the report (KOMA-script) document class to write my thesis 
and I don't know how to do the following things:

1) Subtitles: how to add the to my document?


What kind of subtitle do you mean? For the entire document?

2) I have two supervisors who's names need to be on the first page. I 
don 't want to add them with the Author class. What kind of options I 
have?


The koma-script class doesn't support this. You might look into using 
one of the thesis classes that are around. Most of them do. 
Alternatively, as Steve Litt always suggests, you might just make the 
titlepage in OpenOffice or something and not spend time trying to get it 
looking right in LyX.


3) I need to add the logo's of the university and the company I work 
for to this first page. What is the best way to do that?



Same suggestion here.

4) I have both an abstract and a dedication section. The title of them 
are not shown in the document. So you see two pages with text without 
titles (Dedication and Abstract). Can this be added and how do I 
accomplish that?


See section 3.1.6 of the Koma-script documentation. Looks like you want 
the document option: abstracton, which you can add under 
DocumentSettings. I don't see a way to add anything to the dedication page.



5) How to add an appendix? There is no environment for it.


DocumentStart Appendix Here. Then add chapters or whatever.

Richard


Can somebody give me some guidelines?
Thanks
Dino






Re: ANNOUNCE: LyX version 2.0.0 (alpha 6)

2010-09-16 Thread Marcelo Acuña
 Tarballs can be found at
 ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/

What is LyX-2.0.0alpha6+qt4.dmg?

Marcelo





Re: ANNOUNCE: LyX version 2.0.0 (alpha 6)

2010-09-16 Thread Walter van Holst
On Thu, 16 Sep 2010 08:33:08 -0700 (PDT), Marcelo Acuña
mv...@yahoo.com.ar wrote:
 Tarballs can be found at
 ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/
 
 What is LyX-2.0.0alpha6+qt4.dmg?

That is for those among us who sacrifice loads of money on their
translucent white altars of Steve, the demi-god with the Reality
Distortion Field, cultists of OS X.

Regards,

 Walter


Fwd: Re: captionbeside lyx Koma book: summary

2010-09-16 Thread Wolfgang Engelmann
Thanks to Mukhtars instructions I managed to use the captionbeside package 
correctly. I thought I should report to the list, since at some parts I asked 
him directly.

Add to your preamble

\newcommand{\CapBesBeg}{%
 \setcapindent*{0em}
 \let\MyCaption\caption
 \renewcommand{\caption}{\begin{captionbeside}}}

\newcommand{\CapBesEnd}{% 
 \end{captionbeside}
 \setcapindent{0em}
 \let\caption\MyCaption}

and then in the document include your figure as follows

\begin{figure}
\CapBesBeg\caption[Short Caption]{\label{fig:label}Long Caption}
[o]\includegraphics{figures/filename}\CapBesEnd
\end{figure}

This sounds easy, but I had some difficulties in LyX. Therefore the following

1- The figure in the float has to be below the caption text. 
2- The \CapBesBeg and \CapBesEnd have to be in ERT (ctr-l) and have to be 
inside the float. 
3- The legend and one of the options [l],[r],[i],[o] have to precede the
figure (\includegraphics command) and in ERT. The options determine the 
placement of the legend and the figure: 
l  left
r right
i  inner margin in two-sided layout
o  outer margin in two-sided layout
4- For the other figure floats which are not captionbeside-controlled, I had 
difficulties with the 
\setcapindent{0mm} 
in my preamble -this prevents a caption indent, e.g.
Abbildung 3.27: Eine wachsende Polypeptidkette (rot und blau) erhält ihre 
sekundäre
instead of
Abbildung 3.27: Eine wachsende Polypeptidkette (rot und blau) erhält 
  ihre sekundäre...
To make \setcapindent{0mm} work in the non-captionbeside-controlled captions 
it has to be inserted AFTER the
\newcommand{\CapBesBeg}{%
 \setcapindent*{0em}
 \let\MyCaption\caption
 \renewcommand{\caption}{\begin{captionbeside}}}

\newcommand{\CapBesEnd}{% 
 \end{captionbeside}
 \setcapindent{0em}
 \let\caption\MyCaption}
Otherwise it is apparently conflicting with the captionbeside package

5-  I had several figures below each other in a float with just one caption.
Vertical space and a line break between them is not respected by the
captionbeside environment. One has to place the figures in a minipage 
environment. The target size (e.g. 40% of textwidth) has to be specified in 
the minipage environment (settingswidthtextwidth%) and not 
in the figures themselves. The figures must be scaled to \textwidth in 
order to avoid scaling twice.

I am thankful to Mukhtar and most of the remarks above are from his Mails.

Wolfgang


Re: a few questions regarding lyx

2010-09-16 Thread Uwe Stöhr

Am 16.09.2010 16:34, schrieb Richard Heck:


I'm using the report (KOMA-script) document class to write my thesis
and I don't know how to do the following things:
1) Subtitles: how to add the to my document?


LyX 1.6.8 will support KOMA-scripts subtitles. For now you can add them 
by adding the following command in TeX-code to your document:


\subtitle{your subtitle}

in a standard paragraph below the title.


2) I have two supervisors who's names need to be on the first page. I
don 't want to add them with the Author class. What kind of options I
have?


The koma-script class doesn't support this.


Not with a special command, but you can nevertheless design the title 
page as you like also with KOMA-script.



You might look into using one of the thesis classes that are around.


Like this one I created for my university (which uses KOMA-script):
http://fkurth.de/uwest/LyX/ThesisTemplate/Diss-Template-IMTEK.zip

In this template you can add the revisers, coat of arms or whatever you 
want to have on the title page to the section in the Publishers 
environment



3) I need to add the logo's of the university and the company I work
for to this first page. What is the best way to do that?


See my above mentioned thesis template.

regards Uwe


Re: Fwd: Re: captionbeside lyx Koma book: summary

2010-09-16 Thread Uwe Stöhr

Am 16.09.2010 18:30, schrieb Wolfgang Engelmann:


Thanks to Mukhtars instructions I managed to use the captionbeside package
correctly.


I haven't followed this thread. In case you tested the method I 
described in sec. 3.10 Caption Placement of the EmbeddedObjects manual 
and you found conflicts, can you please report them that I can fix them?


thanks and regards
Uwe


Re: Printing a beamer outline

2010-09-16 Thread Richard Heck

On 09/16/2010 09:21 AM, Graham Smith wrote:

I have Beamer set up to create a main presentation plus a child
document that produces an article (where I include additional
article only text) that I use as a handout.

A change of policy means that we are now handing out just an outline
of the main slide headings and the bullet points beneath them (no
frames or graphics).

Easily done in PowerPoint (just print as an outline) which everyone
else uses, but its not obvious to me how I do this with Lyx. The
proper handout will be made available online, so I still need my
existing article ouput.

I did wonder if there might be some way of setting up a second child
document still with the beamer class, but with a print outline or
maybe even a TOC option, but I can't see anything as simple as that.

I'm not sure I fully understand what you want. What do you mean by the 
bullet points beneath them? I think of bullet points as things on the 
slides, so that's presumably not what you mean.


If it's just a matter of omitting certain things, then you could use 
branches to do this.


If the idea is to print an outline with the frame titles as bullet 
points under the section headings, then I don't think Beamer has an 
option for this. But it could be done by redefining a few things.


rh



Re: Printing a beamer outline

2010-09-16 Thread Graham Smith
Richard,


 I'm not sure I fully understand what you want. What do you mean by the
 bullet points beneath them? I think of bullet points as things on the
 slides, so that's presumably not what you mean.

 If you have a presentation file with no additional article notes or
graphics and print out a Beamer article as a handout you get an
outline of the presentation, with each frame title as a heading and
the text contained in  the frame under the frame title. This is what I
am describing as an outline.

But  I have graphics and additional article only text in the
presentation, which is currently also printed as part of the Beamer
Article. I would like to be able to:

1. Print out the Beamer presentation
2. Print out a Beamer article with the additional article only text
and graphics.
3. Print out a Beamer Article that excludes the article only text and
graphics, and only has the text that is included in the presentation
(without the frames)

Does that make any more sense?

Thanks,

Graham


Re: a few questions regarding lyx

2010-09-16 Thread Steve Litt
On Thursday 16 September 2010 10:21:11 Dino Vliet wrote:
 Hi folks,
  
 I'm using the report (KOMA-script) document class to write my thesis and I
  don't know how to do the following things: 
 1) Subtitles: how to add the to my document?
 2) I have two supervisors who's names need to be on the first page. I don
  't want to add them with the Author class. What kind of options I have? 3)
  I need to add the logo's of the university and the company I work for to
  this first page. What is the best way to do that? 4) I have both an
  abstract and a dedication section. The title of them are not shown in the
  document. So you see two pages with text without titles (Dedication and
  Abstract). Can this be added and how do I accomplish that? 5) How to add
  an appendix? There is no environment for it.
  
 Can somebody give me some guidelines?
  
 Thanks
 Dino

Hi Dino,

You've given me the opportunity to espouse my monthly fingerpaint the 
frontmatter rant...

Because questions like yours consistently pop up (in my work in addition to 
what I read on lyx-users), I consistently recommend that a document's front 
matter be done with custom environments and/or ERT (Evil Red Text, insert 
LaTeX), etc). That way you can make every element of your title, copyright, 
and other front pages EXACTLY how you want them. IMHO relying on your document 
class and trying to wrestle it into submission is walking the trail of tears.

SteveT

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



Re: Printing a beamer outline

2010-09-16 Thread RGH

On 09/16/2010 03:29 PM, Graham Smith wrote:

Richard,


   

I'm not sure I fully understand what you want. What do you mean by the
bullet points beneath them? I think of bullet points as things on the
slides, so that's presumably not what you mean.
 

  If you have a presentation file with no additional article notes or
graphics and print out a Beamer article as a handout you get an
outline of the presentation, with each frame title as a heading and
the text contained in  the frame under the frame title. This is what I
am describing as an outline.

But  I have graphics and additional article only text in the
presentation, which is currently also printed as part of the Beamer
Article. I would like to be able to:

1. Print out the Beamer presentation
2. Print out a Beamer article with the additional article only text
and graphics.
3. Print out a Beamer Article that excludes the article only text and
graphics, and only has the text that is included in the presentation
(without the frames)

Does that make any more sense?

   
OK. I've not done this with beamer, so let me ask another question: How 
do you enter the article only text? I.e., using what environment? Better 
yet, if you could post a very simple file that demonstrated this, then 
it should be fairly easy to figure out how to disable those bits.


Richard



Re: Printing a beamer outline

2010-09-16 Thread Graham Smith
Richard,

Thanks for  persisting with this.

The text is added in an ERT box.

\modearticle {text inserted between brackets will only print in the
article and not the presentation}

Graphics are added just with the insert graphics menu.

It is beginning to look that this may well end up rather complicated.
I wonder if your original idea of using branches might be the
solution.

I will put together a file, but I'm on the wrong computer at the moment.

Graham


How to create a layout file?

2010-09-16 Thread emant777

This might be an obvious question but I can't figure out how to make the
layout file itself. 
I was reading  http://wiki.lyx.org/Layouts/CreatingLayouts
and I want to type something like this into the file: 
**
#% Do not delete the line below; configure depends on this  
#  \DeclareLaTeXClass[acmsiggraph]{ACM SigGraph}

# Read the definitions from article.layout
Input article.layout
***
but I can't figure out how to create the file into which I am supposed to
type this. Please help. Thank you.


-- 
View this message in context: 
http://lyx.475766.n2.nabble.com/How-to-create-a-layout-file-tp5541048p5541048.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How to create a layout file?

2010-09-16 Thread Rob Oakes
Layout files are just simple text files that have been saved with the .layout 
extensions.  You then place this file in the layouts subdirectory of your LyX 
user directory.

(To see where your LyX user directory is located, simply click on Help  About, 
or if using Mac, Application Menu  About.)

There are some good links from the LyX Wiki (which you reference), though I 
would also take a look  at Steve Litt's guides to layouts.  There's some very 
helpful advice there.  About a year ago, I wrote a small series that looks at 
creating layouts and various ways of customizing LyX.  You can find those 
articles (and a few other LaTeX related things) at:

http://blog.oak-tree.us/index.php/writing/latex

If you have any specific questions, you can always post those here as well.  To 
my knowledge, all the developers subscribe to the users list and they are all 
very nice people.

Cheers,

Rob

On Sep 16, 2010, at 6:58 PM, emant777 wrote:

 
 This might be an obvious question but I can't figure out how to make the
 layout file itself. 
 I was reading  http://wiki.lyx.org/Layouts/CreatingLayouts
 and I want to type something like this into the file: 
 **
 #% Do not delete the line below; configure depends on this  
 #  \DeclareLaTeXClass[acmsiggraph]{ACM SigGraph}
 
 # Read the definitions from article.layout
 Input article.layout
 ***
 but I can't figure out how to create the file into which I am supposed to
 type this. Please help. Thank you.
 
 
 -- 
 View this message in context: 
 http://lyx.475766.n2.nabble.com/How-to-create-a-layout-file-tp5541048p5541048.html
 Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Printing a beamer outline

2010-09-16 Thread Graham Smith
I wonder  if a child document that only contained a TOC might work, if
that's possible.

Graham


Keeping text in sync at two locations in a document

2010-09-16 Thread Graham Smith
I have two timetables within the same document.

One is the main timetable which has the lecture title and a summary of
its content. The other is a summary timetable that goes on the back
page of the document, and just has the date and lecture title.

With Word I can use Bookmarks to auto-update the summary timetable
when I edit the main timetable. The dates are fixed so its only the
lecture titles that get edited and re-arranged.

Is there some way of doing this in Lyx.

Thanks,

Graham


Re: Float figures and wrapping text

2010-09-16 Thread Grahame Blackwood

On 15/09/10 20:20, Grahame Blackwood wrote:

Hi LyXers

I'm producing a document that needs some graphics to enliven the text. I
would also like the text to wrap round the graphics. However, as it
isn't an
academic document, the usual references, Figure 1, Figure 2 etc aren't
needed in the finished pdf.

Does anyone know if there is any way to prevent the references Figure 1,
2 etc appearing in the pdf?

Cheers

G


Hi LyXers

Thank you to Rob, Paul and Guenter for your solutions. They are just 
what I wanted to make my document less formal looking.


Cheers

G








Re: how to add a caption to a Box inset?

2010-09-16 Thread Justin Wood
I've been using this module and it's almost exactly what I need. I changed
the layout to NumberWithin = chapter to give me Box 1.1, 1.2, etc. But I
need to change a few other things... so here's a shopping list:

1. align the caption left, and set font parameters. Can I do that with
{caption} package somehow; if not, where in the LaTeX preamble is that
controlled? (Attempts to change, eg, kern8pt haven't worked.)

2. separate paragraphs with blank line the same as LyX does for normal text;
add blank line after Box caption too.

** 3. make use of cross references to the Box Float label. At the moment
this doesn't work with reference (/ref) or Formatted reference
(/prettyref) modes — both simply produce 'subsection ??'. Most importantly I
just want the reference to be 'Box 1.1', same as for figure floats; the
numbering is crucial.

I'm frustrated not to be able to figure this out for myself but so far LaTeX
is continuing to defeat me...

Thanks all!

On 3 September 2010 23:20, Jürgen Spitzmüller sp...@lyx.org wrote:

  Justin Wood wrote:
  Thanks for the help, Jürgen. I'm not that great with using LaTeX
 directly,
  but is this on the right track for the boxedminipage style?
  \usepackage{boxedminipage} in the preamble; then
 
   \begin{boxedminipage}[c]{1\columnwidth}
 
  \label{Box: hydrological cycle}Some text, blah blah\end{boxedminipage}
 
 
  I inserted that as Tex code within LyX. I get a box this way, but I, err,
  can't quite see how to use this with a float and/or get a caption (in the
  Box 1, or Box 1.1 format). Sorry...

 * Put the attached module in the layouts folder of your user directory
 (AboutLyX tells you where the user directory is, if there is no layouts
 folder yet, create it)

 * Restart LyX

 * Go to DocumentsSettings...Modules, select the module Boxed Float and
 hit
 Add

 You should not be able to select a framed float from InsertFloats. The
 float
 does not exactly look like you want (the caption is outside the box). If
 you
 want to have the caption inside the box, the following definition in your
 document preamble (while using the Boxed Float module) should help:

 \usepackage{framed}
 \newcommand\flo...@simplerule[2]{{\@f...@cfont #1 #2}\par}
 \renewcommand...@boxed{%
  \d...@fs@cfont{\bfseries}\l...@fs@capt\flo...@simplerule
   \d...@fs@pre{\begin{framed}}%
   \d...@fs@post{\end{framed}}%
   \d...@fs@mid{\kern8pt}%
   \l...@fs@iftopcapt\iftrue}

 HTH,
 Jürgen



formatting cross references — \ref, \prettyref, et c

2010-09-16 Thread Justin Wood
Is it possible to control the format of cross references to labels so that I
can specify the text prepended to the label number? I realise LyX
automagically adds 'chapter', 'section', 'subsection', and 'Figure', most of
which are fine. But normally I would prefer to simply use 'section' for
actual subsections too.

*Formatted reference* looks to be the place to do this, but I've not been
able to find \prettyref's implementation sufficiently documented for LyX,
and what I have found seems to strongly imply it's use should be avoided.
Nonetheless I tried inserting the \prettyref name definition to my LaTeX
preamble and it did work, but... the text is being prepended to the LyX
'section 1.1', 'subsection 1.1.1', etc, rather than *replacing* it.

Is use of formatted reference really supported, or is there some other way
to do this?

Thanks again.
~:Justin Wood:~
PhD candidate, *Energy  Engineering school*, Murdoch
Universityhttp://www.murdoch.edu.au/


Multiple chapters

2010-09-16 Thread RobyC.

Hi all,
I'm writing my thesis with Lyx and I'm organizing it in several chapters 
and a bibliography.


Every chapter have reference to the same bibliography but to cite 
bibliography entries I must include bibliography (generated by bibtex 
using referencer) in every chapter!
By this way I have several bibliography in my output and obviously I 
don't need it.


What can I do to cite bibliography entries without printing them at the 
end of every chapter?


I did also read the extended feature chapter of the Lyx guide. It 
suggest to include these strings in the preamble|:

||\usepackage{comment}

\includecomment{comment}

but isn't working anyway.

Thank you all
||
|


Re: Keeping text in sync at two locations in a document

2010-09-16 Thread Richard Heck

On 09/16/2010 03:06 AM, Graham Smith wrote:

I have two timetables within the same document.

One is the main timetable which has the lecture title and a summary of
its content. The other is a summary timetable that goes on the back
page of the document, and just has the date and lecture title.

With Word I can use Bookmarks to auto-update the summary timetable
when I edit the main timetable. The dates are fixed so its only the
lecture titles that get edited and re-arranged.

Is there some way of doing this in Lyx.

   
It can easily be done in LaTeX, by defining macros that contain the 
dates and titles and then using those more than once. You can do this in 
LyX, too, therefore, using ERT, but there's no native support for it. So 
e.g.:

\newcommand\datea{10 September 2010}
\newcommand\dateb{12 October 2010}
\newcommand\datec{20 November 2010}
\newcommand\titlea{Wow, What a Title!}
\newcommand\titleb{This Will Be Great}
\newcommand\titlec{Lorem Ipsum}
Put that where you like, e.g., in the preamble. If you want to be able 
to use LyX to edit the text part, then you can do this in the main body 
of the document:

[ERT]\newcommand\titlea{[/ERT]Now we're in LyX mode[ERT]}[/ERT]
You could also put these things in a separate child document and include 
it to keep from cluttering your main document with ERT.


Then in the tables:
[ERT]\datea{}[/ERT]
etc, where you need it. The braces are just to make sure nothing odd 
happens following the command.


Richard



Re: formatting cross references — \ref, \prettyref, etc

2010-09-16 Thread Richard Heck

On 09/16/2010 04:26 AM, Justin Wood wrote:
Is it possible to control the format of cross references to labels so 
that I can specify the text prepended to the label number? I realise 
LyX automagically adds 'chapter', 'section', 'subsection', and 
'Figure', most of which are fine. But normally I would prefer to 
simply use 'section' for actual subsections too.


/Formatted reference/ looks to be the place to do this, but I've not 
been able to find \prettyref's implementation sufficiently documented 
for LyX,



There's no special LyX documentation. We just use prettyref as LaTeX would.


and what I have found seems to strongly imply it's use should be avoided.

Where's that? There are some issues with prettyref, mostly to do with 
internationalization and babel support. That's why 2.0 will by default 
use refstyle instead, we hope.


Nonetheless I tried inserting the \prettyref name definition to my 
LaTeX preamble and it did work, but... the text is being prepended to 
the LyX 'section 1.1', 'subsection 1.1.1', etc, rather than 
/replacing/ it.


What prettyref command did you use? Prettyref itself predefines several 
of these things, but you should be able to redefine them yourself.


Richard



Re: Multiple chapters

2010-09-16 Thread Richard Heck

On 09/16/2010 04:54 AM, RobyC. wrote:

Hi all,
I'm writing my thesis with Lyx and I'm organizing it in several 
chapters and a bibliography.


Every chapter have reference to the same bibliography but to cite 
bibliography entries I must include bibliography (generated by bibtex 
using referencer) in every chapter!
By this way I have several bibliography in my output and obviously I 
don't need it.


What can I do to cite bibliography entries without printing them at 
the end of every chapter?


I assume you are including all these chapters in some master document. 
If you open the master document first, then LyX automatically opens all 
the chapters, and they will see the bibliography, which you can put 
wherever you like. I usually put that in the master document at the end.


What's probably happening is that you are opening the chapters directly. 
Now LyX doesn't see the master document, so it doesn't see the 
bibliography. This is what the default master document feature is for. 
Go to DocumentSettings, and in the Document Class pane, at the bottom, 
check the Select Master Document button. Then use the Browse button to 
find the master document. Now, when you open the chapter, it will know 
that it is a child of the master document, and LyX will open it and all 
its children, and all is well.


Richard



Re: Keeping text in sync at two locations in a document

2010-09-16 Thread Graham Smith
Richard

 It can easily be done in LaTeX, by defining macros that contain the dates
 and titles and then using those more than once. You can do this in LyX, too,

That is very clever, and exactly what I wanted. Indeed I can see scope
for this being useful for several other things as well.

many thanks,

Graham


Re: Keeping text in sync at two locations in a document

2010-09-16 Thread obregonmateo
On Thursday 16 September 2010, Richard Heck wrote:
 On 09/16/2010 03:06 AM, Graham Smith wrote:
  I have two timetables within the same document.
 

 snip 

  Is there some way of doing this in Lyx.
 
 
 It can easily be done in LaTeX, by defining macros that contain the 
 dates and titles and then using those more than once. You can do this in 
 LyX, too, therefore, using ERT, but there's no native support for it.

Yes there is native support for macros in lyx, but the name is misleading; they 
are called Math macros. [Menu | Insert | Math | Macros] will allow you to 
define the macro, in both LaTeX and how it should appear in LyX if you so 
desire. Then, to use it in your text, insert some Inline Math; type your macro 
name preceded with a back-slash.

This is instead of defining the LaTeX macros in your preamble, as per below 
(which also work just as well).

Mateo.

 So 
 e.g.:
  \newcommand\datea{10 September 2010}
  \newcommand\dateb{12 October 2010}
  \newcommand\datec{20 November 2010}
  \newcommand\titlea{Wow, What a Title!}
  \newcommand\titleb{This Will Be Great}
  \newcommand\titlec{Lorem Ipsum}
 Put that where you like, e.g., in the preamble. If you want to be able 
 to use LyX to edit the text part, then you can do this in the main body 
 of the document:
  [ERT]\newcommand\titlea{[/ERT]Now we're in LyX mode[ERT]}[/ERT]
 You could also put these things in a separate child document and include 
 it to keep from cluttering your main document with ERT.
 
 Then in the tables:
  [ERT]\datea{}[/ERT]
 etc, where you need it. The braces are just to make sure nothing odd 
 happens following the command.
 
 Richard
 
 


Re: Keeping text in sync at two locations in a document

2010-09-16 Thread Graham Smith
Mateo

 Yes there is native support for macros in lyx, but the name is misleading; 
 they are called Math macros. [Menu | Insert | Math | Macros] will allow you 
 to define the macro, in both LaTeX and how it should appear in LyX if you so 
 desire. Then, to use it in your text, insert some Inline Math; type your 
 macro name preceded with a back-slash.

 This is instead of defining the LaTeX macros in your preamble, as per below 
 (which also work just as well).

This is also useful to know, but in this instance having the code in
an ERT block at the beginning of the document works well, as I can
construct my timetable in this block and see dates etc in context have
it propagated through the document.  Next year I can then edit the
appropriate bits in the block and that part of the docment is updated.


Thanks,

Graham


ANNOUNCE: LyX version 2.0.0 (alpha 6)

2010-09-16 Thread Pavel Sanda
Public release of LyX version 2.0.0 (alpha 6)
=

We are pleased to announce the sixth alpha release of LyX 2.0.0.

Please note that this release is for testing purposes only and
users are encouraged to use the current 1.6 stable release for any
serious work. We are, however, grateful for any feedback regarding
the bugs and problems you will report to us.

Tarballs can be found at
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/ .
Binaries should follow soon.

LyX 2.0.0 will be culmination of more than 21 months of hard work
and you can find an overview of the new features here:
http://wiki.lyx.org/LyX/NewInLyX20

If you think you found a bug in LyX 2.0.0, either e-mail the LyX
developers' mailing list (lyx-devel at lists.lyx.org), or open a bug
report at http://www.lyx.org/trac/wiki/BugTrackerHome .
Please check that the bug was not already reported before you file
a new one.

We hope you will enjoy the result!

The LyX team.
http://www.lyx.org


Printing a beamer outline

2010-09-16 Thread Graham Smith
I have Beamer set up to create a main presentation plus a child document 
that produces an article (where I include additional article only 
text) that I use as a handout.


A change of policy means that we are now handing out just an outline 
of the main slide headings and the bullet points beneath them (no frames 
or graphics).


Easily done in PowerPoint (just print as an outline) which everyone else 
uses, but its not obvious to me how I do this with Lyx. The proper 
handout will be made available online, so I still need my existing 
article ouput.


I did wonder if there might be some way of setting up a second child 
document still with the beamer class, but with a print outline or 
maybe even a TOC option, but I can't see anything as simple as that.


Once again any suggestions gratefully received.

Thanks,

Graham




Re: ANNOUNCE: LyX version 2.0.0 (alpha 6)

2010-09-16 Thread Pavel Sanda
Pavel Sanda wrote:
 Public release of LyX version 2.0.0 (alpha 6)
 =
 
 We are pleased to announce the sixth alpha release of LyX 2.0.0.

some additional notes:

- since we are close to to beta - which should be basically just bugfixing -
  its the best time to contribute user's stuff (like modules) you consider
  worthy for lyx 2.0.

- for gentoo users around, there is rebutia overlay with prepared ebuilds
  with living version of stable branch 1.6 and devel releases of lyx.

pavel


Re: formatting cross references — \ref, \prettyref , etc

2010-09-16 Thread Justin Wood
On 16 September 2010 19:35, Richard Heck rgh...@comcast.net wrote:

  On 09/16/2010 04:26 AM, Justin Wood wrote:

 Is it possible to control the format of cross references to labels so that
 I can specify the text prepended to the label number? I realise LyX
 automagically adds 'chapter', 'section', 'subsection', and 'Figure', most of
 which are fine. But normally I would prefer to simply use 'section' for
 actual subsections too.

 *Formatted reference* looks to be the place to do this, but I've not been
 able to find \prettyref's implementation sufficiently documented for LyX,

  There's no special LyX documentation. We just use prettyref as LaTeX
 would.


Yes I appreciate that. (And I've since realised the problem is some sort of
conflict with the document class.)



 and what I have found seems to strongly imply it's use should be avoided.

  Where's that? There are some issues with prettyref, mostly to do with
 internationalization and babel support. That's why 2.0 will by default use
 refstyle instead, we hope.


Other than the passing mention in the User Guide and Customization help
files, mostly some 'robust' discussion on this group from a couple of years
ago which referred to prettyref being effectively unsupported. I might start
working with LyX 2.0 alpha now then actually (suitably forewarned and files
backed up of course).


 Nonetheless I tried inserting the \prettyref name definition to my LaTeX
 preamble and it did work, but... the text is being prepended to the LyX
 'section 1.1', 'subsection 1.1.1', etc, rather than *replacing* it.

  What prettyref command did you use? Prettyref itself predefines several of
 these things, but you should be able to redefine them yourself.


Just this in the preamble, as an example: \newrefformat{sub}{TEST \ref{#1}}

It outputs as 'TEST subsection x.y.z' — the original subsection remains in
place. But that was with a document class of *book (KOMA-script)*, the
thesis template[1].

I just tried it with a new file, all LyX defaults (article class), and the
override works as you'd expect, replacing 'subsection' with 'TEST'. And in
fact it works fine for the box float customisation has Jürgen helped me
with. So obviously the problem is within the *scrbook *document class? I
don't really know how to solve that at this point but at least I know where
to look...

Thanks Richard.

[1]
\documentclass[12pt,a4paper,english,british,intoc,bibtotoc,idxtotoc,BCOR10mm,titlepage,tablecaptionabove,
fleqn]{scrbook}


 Richard




a few questions regarding lyx

2010-09-16 Thread Dino Vliet
Hi folks,
 
I'm using the report (KOMA-script) document class to write my thesis and I 
don't know how to do the following things:
 
1) Subtitles: how to add the to my document?
2) I have two supervisors who's names need to be on the first page. I don 't 
want to add them with the Author class. What kind of options I have?
3) I need to add the logo's of the university and the company I work for to 
this first page. What is the best way to do that?
4) I have both an abstract and a dedication section. The title of them are not 
shown in the document. So you see two pages with text without titles 
(Dedication and Abstract). Can this be added and how do I accomplish that?
5) How to add an appendix? There is no environment for it.
 
Can somebody give me some guidelines?
 
Thanks
Dino
 
 


  

Re: Keeping text in sync at two locations in a document

2010-09-16 Thread Richard Heck



It can easily be done in LaTeX, by defining macros that contain the
dates and titles and then using those more than once. You can do this in
LyX, too, therefore, using ERT, but there's no native support for it.
 

Yes there is native support for macros in lyx, but the name is misleading; they 
are called Math macros. [Menu | Insert | Math | Macros] will allow you to 
define the macro, in both LaTeX and how it should appear in LyX if you so 
desire. Then, to use it in your text, insert some Inline Math; type your macro 
name preceded with a back-slash.

   
The downside to this is that they are math macros, rather than simple 
LaTeX macros. There's an open bug about providing general macro support.


RIchard



Re: Windows setup/directory structure

2010-09-16 Thread Jacob Bishop
Paul is right. You did ask, though, if there was a standard location for the
directory in Windows. I believe there is, but it's different between xp and
vista/w7. Mine on Windows 7 is:
C:\Users\Jacob\AppData\Roaming\MiKTeX\2.8\...
I'm not on my xp machine right now, but it's something like
C:\Documents and Settings\username\Application Data\MikTeX\2.8\...

MikTeX created those directories for local settings when I originally
installed it.

You can, of course set up a custom location via the MikTeX settings
interface, which you have to use anyway to run Refresh FNDB as Paul
explained.

I hope this adds a bit of information.

Jacob

On Wed, Sep 15, 2010 at 6:26 AM, Paul A. Rubin ru...@msu.edu wrote:

 On 9/14/2010 7:41 PM, Maria Gouskova wrote:


 I should add that they all used MikTeX, and we tried putting texmf in
 C:\ and also in the Program Files folder (I think basically as
 C:\Program Files\texmf).

 What confuses me is that in Mac OS, LyX finds all the stuff inside the
 texmf folder automaticallly after reconfiguring. Does this happen in
 Windows? If not, is there something that needs to be done inside LyX
 to help it find the correct texmf path? I am sure we missed something
 really obvious.


 If they are using MiKTeX:

 1.  They can run the MiKTeX Settings application (from the Start menu)
 and go to the Roots tab.  That lists the directories on the search path
 MiKTeX uses.  They can create their local texmf folder anywhere they want,
 then just add it to that tab (Add... button) and move it up to the top of
 the search chain.

 2.  After adding anything to their local texmf directory, they should run
 the Settings application, and on the General tab click Refresh FNDB (which
 runs texhash to update the LaTeX file databases).

 /Paul




Re: a few questions regarding lyx

2010-09-16 Thread Richard Heck

On 09/16/2010 10:21 AM, Dino Vliet wrote:

Hi folks,
I'm using the report (KOMA-script) document class to write my thesis 
and I don't know how to do the following things:

1) Subtitles: how to add the to my document?


What kind of subtitle do you mean? For the entire document?

2) I have two supervisors who's names need to be on the first page. I 
don 't want to add them with the Author class. What kind of options I 
have?


The koma-script class doesn't support this. You might look into using 
one of the thesis classes that are around. Most of them do. 
Alternatively, as Steve Litt always suggests, you might just make the 
titlepage in OpenOffice or something and not spend time trying to get it 
looking right in LyX.


3) I need to add the logo's of the university and the company I work 
for to this first page. What is the best way to do that?



Same suggestion here.

4) I have both an abstract and a dedication section. The title of them 
are not shown in the document. So you see two pages with text without 
titles (Dedication and Abstract). Can this be added and how do I 
accomplish that?


See section 3.1.6 of the Koma-script documentation. Looks like you want 
the document option: abstracton, which you can add under 
DocumentSettings. I don't see a way to add anything to the dedication page.



5) How to add an appendix? There is no environment for it.


DocumentStart Appendix Here. Then add chapters or whatever.

Richard


Can somebody give me some guidelines?
Thanks
Dino






Re: ANNOUNCE: LyX version 2.0.0 (alpha 6)

2010-09-16 Thread Marcelo Acuña
 Tarballs can be found at
 ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/

What is LyX-2.0.0alpha6+qt4.dmg?

Marcelo





Re: ANNOUNCE: LyX version 2.0.0 (alpha 6)

2010-09-16 Thread Walter van Holst
On Thu, 16 Sep 2010 08:33:08 -0700 (PDT), Marcelo Acuña
mv...@yahoo.com.ar wrote:
 Tarballs can be found at
 ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/
 
 What is LyX-2.0.0alpha6+qt4.dmg?

That is for those among us who sacrifice loads of money on their
translucent white altars of Steve, the demi-god with the Reality
Distortion Field, cultists of OS X.

Regards,

 Walter


Fwd: Re: captionbeside lyx Koma book: summary

2010-09-16 Thread Wolfgang Engelmann
Thanks to Mukhtars instructions I managed to use the captionbeside package 
correctly. I thought I should report to the list, since at some parts I asked 
him directly.

Add to your preamble

\newcommand{\CapBesBeg}{%
 \setcapindent*{0em}
 \let\MyCaption\caption
 \renewcommand{\caption}{\begin{captionbeside}}}

\newcommand{\CapBesEnd}{% 
 \end{captionbeside}
 \setcapindent{0em}
 \let\caption\MyCaption}

and then in the document include your figure as follows

\begin{figure}
\CapBesBeg\caption[Short Caption]{\label{fig:label}Long Caption}
[o]\includegraphics{figures/filename}\CapBesEnd
\end{figure}

This sounds easy, but I had some difficulties in LyX. Therefore the following

1- The figure in the float has to be below the caption text. 
2- The \CapBesBeg and \CapBesEnd have to be in ERT (ctr-l) and have to be 
inside the float. 
3- The legend and one of the options [l],[r],[i],[o] have to precede the
figure (\includegraphics command) and in ERT. The options determine the 
placement of the legend and the figure: 
l  left
r right
i  inner margin in two-sided layout
o  outer margin in two-sided layout
4- For the other figure floats which are not captionbeside-controlled, I had 
difficulties with the 
\setcapindent{0mm} 
in my preamble -this prevents a caption indent, e.g.
Abbildung 3.27: Eine wachsende Polypeptidkette (rot und blau) erhält ihre 
sekundäre
instead of
Abbildung 3.27: Eine wachsende Polypeptidkette (rot und blau) erhält 
  ihre sekundäre...
To make \setcapindent{0mm} work in the non-captionbeside-controlled captions 
it has to be inserted AFTER the
\newcommand{\CapBesBeg}{%
 \setcapindent*{0em}
 \let\MyCaption\caption
 \renewcommand{\caption}{\begin{captionbeside}}}

\newcommand{\CapBesEnd}{% 
 \end{captionbeside}
 \setcapindent{0em}
 \let\caption\MyCaption}
Otherwise it is apparently conflicting with the captionbeside package

5-  I had several figures below each other in a float with just one caption.
Vertical space and a line break between them is not respected by the
captionbeside environment. One has to place the figures in a minipage 
environment. The target size (e.g. 40% of textwidth) has to be specified in 
the minipage environment (settingswidthtextwidth%) and not 
in the figures themselves. The figures must be scaled to \textwidth in 
order to avoid scaling twice.

I am thankful to Mukhtar and most of the remarks above are from his Mails.

Wolfgang


Re: a few questions regarding lyx

2010-09-16 Thread Uwe Stöhr

Am 16.09.2010 16:34, schrieb Richard Heck:


I'm using the report (KOMA-script) document class to write my thesis
and I don't know how to do the following things:
1) Subtitles: how to add the to my document?


LyX 1.6.8 will support KOMA-scripts subtitles. For now you can add them 
by adding the following command in TeX-code to your document:


\subtitle{your subtitle}

in a standard paragraph below the title.


2) I have two supervisors who's names need to be on the first page. I
don 't want to add them with the Author class. What kind of options I
have?


The koma-script class doesn't support this.


Not with a special command, but you can nevertheless design the title 
page as you like also with KOMA-script.



You might look into using one of the thesis classes that are around.


Like this one I created for my university (which uses KOMA-script):
http://fkurth.de/uwest/LyX/ThesisTemplate/Diss-Template-IMTEK.zip

In this template you can add the revisers, coat of arms or whatever you 
want to have on the title page to the section in the Publishers 
environment



3) I need to add the logo's of the university and the company I work
for to this first page. What is the best way to do that?


See my above mentioned thesis template.

regards Uwe


Re: Fwd: Re: captionbeside lyx Koma book: summary

2010-09-16 Thread Uwe Stöhr

Am 16.09.2010 18:30, schrieb Wolfgang Engelmann:


Thanks to Mukhtars instructions I managed to use the captionbeside package
correctly.


I haven't followed this thread. In case you tested the method I 
described in sec. 3.10 Caption Placement of the EmbeddedObjects manual 
and you found conflicts, can you please report them that I can fix them?


thanks and regards
Uwe


Re: Printing a beamer outline

2010-09-16 Thread Richard Heck

On 09/16/2010 09:21 AM, Graham Smith wrote:

I have Beamer set up to create a main presentation plus a child
document that produces an article (where I include additional
article only text) that I use as a handout.

A change of policy means that we are now handing out just an outline
of the main slide headings and the bullet points beneath them (no
frames or graphics).

Easily done in PowerPoint (just print as an outline) which everyone
else uses, but its not obvious to me how I do this with Lyx. The
proper handout will be made available online, so I still need my
existing article ouput.

I did wonder if there might be some way of setting up a second child
document still with the beamer class, but with a print outline or
maybe even a TOC option, but I can't see anything as simple as that.

I'm not sure I fully understand what you want. What do you mean by the 
bullet points beneath them? I think of bullet points as things on the 
slides, so that's presumably not what you mean.


If it's just a matter of omitting certain things, then you could use 
branches to do this.


If the idea is to print an outline with the frame titles as bullet 
points under the section headings, then I don't think Beamer has an 
option for this. But it could be done by redefining a few things.


rh



Re: Printing a beamer outline

2010-09-16 Thread Graham Smith
Richard,


 I'm not sure I fully understand what you want. What do you mean by the
 bullet points beneath them? I think of bullet points as things on the
 slides, so that's presumably not what you mean.

 If you have a presentation file with no additional article notes or
graphics and print out a Beamer article as a handout you get an
outline of the presentation, with each frame title as a heading and
the text contained in  the frame under the frame title. This is what I
am describing as an outline.

But  I have graphics and additional article only text in the
presentation, which is currently also printed as part of the Beamer
Article. I would like to be able to:

1. Print out the Beamer presentation
2. Print out a Beamer article with the additional article only text
and graphics.
3. Print out a Beamer Article that excludes the article only text and
graphics, and only has the text that is included in the presentation
(without the frames)

Does that make any more sense?

Thanks,

Graham


Re: a few questions regarding lyx

2010-09-16 Thread Steve Litt
On Thursday 16 September 2010 10:21:11 Dino Vliet wrote:
 Hi folks,
  
 I'm using the report (KOMA-script) document class to write my thesis and I
  don't know how to do the following things: 
 1) Subtitles: how to add the to my document?
 2) I have two supervisors who's names need to be on the first page. I don
  't want to add them with the Author class. What kind of options I have? 3)
  I need to add the logo's of the university and the company I work for to
  this first page. What is the best way to do that? 4) I have both an
  abstract and a dedication section. The title of them are not shown in the
  document. So you see two pages with text without titles (Dedication and
  Abstract). Can this be added and how do I accomplish that? 5) How to add
  an appendix? There is no environment for it.
  
 Can somebody give me some guidelines?
  
 Thanks
 Dino

Hi Dino,

You've given me the opportunity to espouse my monthly fingerpaint the 
frontmatter rant...

Because questions like yours consistently pop up (in my work in addition to 
what I read on lyx-users), I consistently recommend that a document's front 
matter be done with custom environments and/or ERT (Evil Red Text, insert 
LaTeX), etc). That way you can make every element of your title, copyright, 
and other front pages EXACTLY how you want them. IMHO relying on your document 
class and trying to wrestle it into submission is walking the trail of tears.

SteveT

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



Re: Printing a beamer outline

2010-09-16 Thread RGH

On 09/16/2010 03:29 PM, Graham Smith wrote:

Richard,


   

I'm not sure I fully understand what you want. What do you mean by the
bullet points beneath them? I think of bullet points as things on the
slides, so that's presumably not what you mean.
 

  If you have a presentation file with no additional article notes or
graphics and print out a Beamer article as a handout you get an
outline of the presentation, with each frame title as a heading and
the text contained in  the frame under the frame title. This is what I
am describing as an outline.

But  I have graphics and additional article only text in the
presentation, which is currently also printed as part of the Beamer
Article. I would like to be able to:

1. Print out the Beamer presentation
2. Print out a Beamer article with the additional article only text
and graphics.
3. Print out a Beamer Article that excludes the article only text and
graphics, and only has the text that is included in the presentation
(without the frames)

Does that make any more sense?

   
OK. I've not done this with beamer, so let me ask another question: How 
do you enter the article only text? I.e., using what environment? Better 
yet, if you could post a very simple file that demonstrated this, then 
it should be fairly easy to figure out how to disable those bits.


Richard



Re: Printing a beamer outline

2010-09-16 Thread Graham Smith
Richard,

Thanks for  persisting with this.

The text is added in an ERT box.

\modearticle {text inserted between brackets will only print in the
article and not the presentation}

Graphics are added just with the insert graphics menu.

It is beginning to look that this may well end up rather complicated.
I wonder if your original idea of using branches might be the
solution.

I will put together a file, but I'm on the wrong computer at the moment.

Graham


How to create a layout file?

2010-09-16 Thread emant777

This might be an obvious question but I can't figure out how to make the
layout file itself. 
I was reading  http://wiki.lyx.org/Layouts/CreatingLayouts
and I want to type something like this into the file: 
**
#% Do not delete the line below; configure depends on this  
#  \DeclareLaTeXClass[acmsiggraph]{ACM SigGraph}

# Read the definitions from article.layout
Input article.layout
***
but I can't figure out how to create the file into which I am supposed to
type this. Please help. Thank you.


-- 
View this message in context: 
http://lyx.475766.n2.nabble.com/How-to-create-a-layout-file-tp5541048p5541048.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How to create a layout file?

2010-09-16 Thread Rob Oakes
Layout files are just simple text files that have been saved with the .layout 
extensions.  You then place this file in the layouts subdirectory of your LyX 
user directory.

(To see where your LyX user directory is located, simply click on Help  About, 
or if using Mac, Application Menu  About.)

There are some good links from the LyX Wiki (which you reference), though I 
would also take a look  at Steve Litt's guides to layouts.  There's some very 
helpful advice there.  About a year ago, I wrote a small series that looks at 
creating layouts and various ways of customizing LyX.  You can find those 
articles (and a few other LaTeX related things) at:

http://blog.oak-tree.us/index.php/writing/latex

If you have any specific questions, you can always post those here as well.  To 
my knowledge, all the developers subscribe to the users list and they are all 
very nice people.

Cheers,

Rob

On Sep 16, 2010, at 6:58 PM, emant777 wrote:

 
 This might be an obvious question but I can't figure out how to make the
 layout file itself. 
 I was reading  http://wiki.lyx.org/Layouts/CreatingLayouts
 and I want to type something like this into the file: 
 **
 #% Do not delete the line below; configure depends on this  
 #  \DeclareLaTeXClass[acmsiggraph]{ACM SigGraph}
 
 # Read the definitions from article.layout
 Input article.layout
 ***
 but I can't figure out how to create the file into which I am supposed to
 type this. Please help. Thank you.
 
 
 -- 
 View this message in context: 
 http://lyx.475766.n2.nabble.com/How-to-create-a-layout-file-tp5541048p5541048.html
 Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Printing a beamer outline

2010-09-16 Thread Graham Smith
I wonder  if a child document that only contained a TOC might work, if
that's possible.

Graham


Keeping text in sync at two locations in a document

2010-09-16 Thread Graham Smith
I have two timetables within the same document.

One is the main timetable which has the lecture title and a summary of
its content. The other is a summary timetable that goes on the back
page of the document, and just has the date and lecture title.

With Word I can use" Bookmarks" to auto-update the summary timetable
when I edit the main timetable. The dates are fixed so its only the
lecture titles that get edited and re-arranged.

Is there some way of doing this in Lyx.

Thanks,

Graham


Re: Float figures and wrapping text

2010-09-16 Thread Grahame Blackwood

On 15/09/10 20:20, Grahame Blackwood wrote:

Hi LyXers

I'm producing a document that needs some graphics to enliven the text. I
would also like the text to wrap round the graphics. However, as it
isn't an
academic document, the usual references, Figure 1, Figure 2 etc aren't
needed in the finished pdf.

Does anyone know if there is any way to prevent the references Figure 1,
2 etc appearing in the pdf?

Cheers

G


Hi LyXers

Thank you to Rob, Paul and Guenter for your solutions. They are just 
what I wanted to make my document less formal looking.


Cheers

G








Re: how to add a caption to a Box inset?

2010-09-16 Thread Justin Wood
I've been using this module and it's almost exactly what I need. I changed
the layout to NumberWithin = chapter to give me Box 1.1, 1.2, etc. But I
need to change a few other things... so here's a shopping list:

1. align the caption left, and set font parameters. Can I do that with
{caption} package somehow; if not, where in the LaTeX preamble is that
controlled? (Attempts to change, eg, kern8pt haven't worked.)

2. separate paragraphs with blank line the same as LyX does for normal text;
add blank line after Box caption too.

** 3. make use of cross references to the Box Float label. At the moment
this doesn't work with  (/ref) or Formatted reference
(/prettyref) modes — both simply produce 'subsection ??'. Most importantly I
just want the reference to be 'Box 1.1', same as for figure floats; the
numbering is crucial.

I'm frustrated not to be able to figure this out for myself but so far LaTeX
is continuing to defeat me...

Thanks all!

On 3 September 2010 23:20, Jürgen Spitzmüller  wrote:

>  Justin Wood wrote:
> > Thanks for the help, Jürgen. I'm not that great with using LaTeX
> directly,
> > but is this on the right track for the boxedminipage style?
> > \usepackage{boxedminipage} in the preamble; then
> >
> >  \begin{boxedminipage}[c]{1\columnwidth}
> >
> > \label{Box: hydrological cycle}Some text, blah blah\end{boxedminipage}
> >
> >
> > I inserted that as Tex code within LyX. I get a box this way, but I, err,
> > can't quite see how to use this with a float and/or get a caption (in the
> > Box 1, or Box 1.1 format). Sorry...
>
> * Put the attached module in the layouts folder of your user directory
> (About>LyX tells you where the user directory is, if there is no layouts
> folder yet, create it)
>
> * Restart LyX
>
> * Go to Documents>Settings...>Modules, select the module "Boxed Float" and
> hit
> "Add"
>
> You should not be able to select a framed float from Insert>Floats. The
> float
> does not exactly look like you want (the caption is outside the box). If
> you
> want to have the caption inside the box, the following definition in your
> document preamble (while using the Boxed Float module) should help:
>
> \usepackage{framed}
> \newcommand\flo...@simplerule[2]{{\@f...@cfont #1 #2}\par}
> \renewcommand...@boxed{%
>  \d...@fs@cfont{\bfseries}\l...@fs@capt\flo...@simplerule
>   \d...@fs@pre{\begin{framed}}%
>   \d...@fs@post{\end{framed}}%
>   \d...@fs@mid{\kern8pt}%
>   \l...@fs@iftopcapt\iftrue}
>
> HTH,
> Jürgen
>


formatting cross references — \ref, \prettyref, et c

2010-09-16 Thread Justin Wood
Is it possible to control the format of cross references to labels so that I
can specify the text prepended to the label number? I realise LyX
automagically adds 'chapter', 'section', 'subsection', and 'Figure', most of
which are fine. But normally I would prefer to simply use 'section' for
actual subsections too.

*Formatted reference* looks to be the place to do this, but I've not been
able to find \prettyref's implementation sufficiently documented for LyX,
and what I have found seems to strongly imply it's use should be avoided.
Nonetheless I tried inserting the \prettyref name definition to my LaTeX
preamble and it did work, but... the text is being prepended to the LyX
'section 1.1', 'subsection 1.1.1', etc, rather than *replacing* it.

Is use of formatted reference really supported, or is there some other way
to do this?

Thanks again.
~:Justin Wood:~
PhD candidate, *Energy & Engineering school*, Murdoch
University


Multiple chapters

2010-09-16 Thread RobyC.

Hi all,
I'm writing my thesis with Lyx and I'm organizing it in several chapters 
and a bibliography.


Every chapter have reference to the same bibliography but to cite 
bibliography entries I must include bibliography (generated by bibtex 
using referencer) in every chapter!
By this way I have several bibliography in my output and obviously I 
don't need it.


What can I do to cite bibliography entries without printing them at the 
end of every chapter?


I did also read the "extended feature" chapter of the Lyx guide. It 
suggest to include these strings in the preamble|:

||\usepackage{comment}

\includecomment{comment}

but isn't working anyway.

Thank you all
||
|


Re: Keeping text in sync at two locations in a document

2010-09-16 Thread Richard Heck

On 09/16/2010 03:06 AM, Graham Smith wrote:

I have two timetables within the same document.

One is the main timetable which has the lecture title and a summary of
its content. The other is a summary timetable that goes on the back
page of the document, and just has the date and lecture title.

With Word I can use" Bookmarks" to auto-update the summary timetable
when I edit the main timetable. The dates are fixed so its only the
lecture titles that get edited and re-arranged.

Is there some way of doing this in Lyx.

   
It can easily be done in LaTeX, by defining macros that contain the 
dates and titles and then using those more than once. You can do this in 
LyX, too, therefore, using ERT, but there's no native support for it. So 
e.g.:

\newcommand\datea{10 September 2010}
\newcommand\dateb{12 October 2010}
\newcommand\datec{20 November 2010}
\newcommand\titlea{Wow, What a Title!}
\newcommand\titleb{This Will Be Great}
\newcommand\titlec{Lorem Ipsum}
Put that where you like, e.g., in the preamble. If you want to be able 
to use LyX to edit the text part, then you can do this in the main body 
of the document:

[ERT]\newcommand\titlea{[/ERT]Now we're in LyX mode[ERT]}[/ERT]
You could also put these things in a separate child document and include 
it to keep from cluttering your main document with ERT.


Then in the tables:
[ERT]\datea{}[/ERT]
etc, where you need it. The braces are just to make sure nothing odd 
happens following the command.


Richard



Re: formatting cross references — \ref, \prettyref, etc

2010-09-16 Thread Richard Heck

On 09/16/2010 04:26 AM, Justin Wood wrote:
Is it possible to control the format of cross references to labels so 
that I can specify the text prepended to the label number? I realise 
LyX automagically adds 'chapter', 'section', 'subsection', and 
'Figure', most of which are fine. But normally I would prefer to 
simply use 'section' for actual subsections too.


/Formatted reference/ looks to be the place to do this, but I've not 
been able to find \prettyref's implementation sufficiently documented 
for LyX,



There's no special LyX documentation. We just use prettyref as LaTeX would.


and what I have found seems to strongly imply it's use should be avoided.

Where's that? There are some issues with prettyref, mostly to do with 
internationalization and babel support. That's why 2.0 will by default 
use refstyle instead, we hope.


Nonetheless I tried inserting the \prettyref name definition to my 
LaTeX preamble and it did work, but... the text is being prepended to 
the LyX 'section 1.1', 'subsection 1.1.1', etc, rather than 
/replacing/ it.


What prettyref command did you use? Prettyref itself predefines several 
of these things, but you should be able to redefine them yourself.


Richard



Re: Multiple chapters

2010-09-16 Thread Richard Heck

On 09/16/2010 04:54 AM, RobyC. wrote:

Hi all,
I'm writing my thesis with Lyx and I'm organizing it in several 
chapters and a bibliography.


Every chapter have reference to the same bibliography but to cite 
bibliography entries I must include bibliography (generated by bibtex 
using referencer) in every chapter!
By this way I have several bibliography in my output and obviously I 
don't need it.


What can I do to cite bibliography entries without printing them at 
the end of every chapter?


I assume you are including all these chapters in some master document. 
If you open the master document first, then LyX automatically opens all 
the chapters, and they will "see" the bibliography, which you can put 
wherever you like. I usually put that in the master document at the end.


What's probably happening is that you are opening the chapters directly. 
Now LyX doesn't see the master document, so it doesn't see the 
bibliography. This is what the "default master document" feature is for. 
Go to Document>Settings, and in the Document Class pane, at the bottom, 
check the "Select Master Document" button. Then use the Browse button to 
find the master document. Now, when you open the chapter, it will know 
that it is a child of the master document, and LyX will open it and all 
its children, and all is well.


Richard



Re: Keeping text in sync at two locations in a document

2010-09-16 Thread Graham Smith
Richard

> It can easily be done in LaTeX, by defining macros that contain the dates
> and titles and then using those more than once. You can do this in LyX, too,

That is very clever, and exactly what I wanted. Indeed I can see scope
for this being useful for several other things as well.

many thanks,

Graham


Re: Keeping text in sync at two locations in a document

2010-09-16 Thread obregonmateo
On Thursday 16 September 2010, Richard Heck wrote:
> On 09/16/2010 03:06 AM, Graham Smith wrote:
> > I have two timetables within the same document.
> >

>< snip ><

> > Is there some way of doing this in Lyx.
> >
> >
> It can easily be done in LaTeX, by defining macros that contain the 
> dates and titles and then using those more than once. You can do this in 
> LyX, too, therefore, using ERT, but there's no native support for it.

Yes there is native support for macros in lyx, but the name is misleading; they 
are called Math macros. [Menu | Insert | Math | Macros] will allow you to 
define the macro, in both LaTeX and how it should appear in LyX if you so 
desire. Then, to use it in your text, insert some Inline Math; type your macro 
name preceded with a back-slash.

This is instead of defining the LaTeX macros in your preamble, as per below 
(which also work just as well).

Mateo.

> So 
> e.g.:
>  \newcommand\datea{10 September 2010}
>  \newcommand\dateb{12 October 2010}
>  \newcommand\datec{20 November 2010}
>  \newcommand\titlea{Wow, What a Title!}
>  \newcommand\titleb{This Will Be Great}
>  \newcommand\titlec{Lorem Ipsum}
> Put that where you like, e.g., in the preamble. If you want to be able 
> to use LyX to edit the text part, then you can do this in the main body 
> of the document:
>  [ERT]\newcommand\titlea{[/ERT]Now we're in LyX mode[ERT]}[/ERT]
> You could also put these things in a separate child document and include 
> it to keep from cluttering your main document with ERT.
> 
> Then in the tables:
>  [ERT]\datea{}[/ERT]
> etc, where you need it. The braces are just to make sure nothing odd 
> happens following the command.
> 
> Richard
> 
> 


Re: Keeping text in sync at two locations in a document

2010-09-16 Thread Graham Smith
Mateo

> Yes there is native support for macros in lyx, but the name is misleading; 
> they are called Math macros. [Menu | Insert | Math | Macros] will allow you 
> to define the macro, in both LaTeX and how it should appear in LyX if you so 
> desire. Then, to use it in your text, insert some Inline Math; type your 
> macro name preceded with a back-slash.
>
> This is instead of defining the LaTeX macros in your preamble, as per below 
> (which also work just as well).

This is also useful to know, but in this instance having the code in
an ERT block at the beginning of the document works well, as I can
construct my timetable in this block and see dates etc in context have
it propagated through the document.  Next year I can then edit the
appropriate bits in the block and that part of the docment is updated.


Thanks,

Graham


ANNOUNCE: LyX version 2.0.0 (alpha 6)

2010-09-16 Thread Pavel Sanda
Public release of LyX version 2.0.0 (alpha 6)
=

We are pleased to announce the sixth alpha release of LyX 2.0.0.

Please note that this release is for testing purposes only and
users are encouraged to use the current 1.6 stable release for any
serious work. We are, however, grateful for any feedback regarding
the bugs and problems you will report to us.

Tarballs can be found at
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/ .
Binaries should follow soon.

LyX 2.0.0 will be culmination of more than 21 months of hard work
and you can find an overview of the new features here:
http://wiki.lyx.org/LyX/NewInLyX20

If you think you found a bug in LyX 2.0.0, either e-mail the LyX
developers' mailing list (lyx-devel at lists.lyx.org), or open a bug
report at http://www.lyx.org/trac/wiki/BugTrackerHome .
Please check that the bug was not already reported before you file
a new one.

We hope you will enjoy the result!

The LyX team.
http://www.lyx.org


Printing a beamer outline

2010-09-16 Thread Graham Smith
I have Beamer set up to create a main presentation plus a child document 
that produces an article (where I include additional "article" only 
text) that I use as a handout.


A change of policy means that we are now handing out just an "outline" 
of the main slide headings and the bullet points beneath them (no frames 
or graphics).


Easily done in PowerPoint (just print as an outline) which everyone else 
uses, but its not obvious to me how I do this with Lyx. The "proper" 
handout will be made available online, so I still need my existing 
article ouput.


I did wonder if there might be some way of setting up a second child 
document still with the beamer class, but with a print "outline" or 
maybe even a TOC option, but I can't see anything as simple as that.


Once again any suggestions gratefully received.

Thanks,

Graham




Re: ANNOUNCE: LyX version 2.0.0 (alpha 6)

2010-09-16 Thread Pavel Sanda
Pavel Sanda wrote:
> Public release of LyX version 2.0.0 (alpha 6)
> =
> 
> We are pleased to announce the sixth alpha release of LyX 2.0.0.

some additional notes:

- since we are close to to beta - which should be basically just bugfixing -
  its the best time to contribute user's stuff (like modules) you consider
  worthy for lyx 2.0.

- for gentoo users around, there is rebutia overlay with prepared ebuilds
  with living version of stable branch 1.6 and devel releases of lyx.

pavel


Re: formatting cross references — \ref, \prettyref , etc

2010-09-16 Thread Justin Wood
On 16 September 2010 19:35, Richard Heck  wrote:

>  On 09/16/2010 04:26 AM, Justin Wood wrote:
>
> Is it possible to control the format of cross references to labels so that
> I can specify the text prepended to the label number? I realise LyX
> automagically adds 'chapter', 'section', 'subsection', and 'Figure', most of
> which are fine. But normally I would prefer to simply use 'section' for
> actual subsections too.
>
> *Formatted reference* looks to be the place to do this, but I've not been
> able to find \prettyref's implementation sufficiently documented for LyX,
>
>  There's no special LyX documentation. We just use prettyref as LaTeX
> would.
>

Yes I appreciate that. (And I've since realised the problem is some sort of
conflict with the document class.)


>
> and what I have found seems to strongly imply it's use should be avoided.
>
>  Where's that? There are some issues with prettyref, mostly to do with
> internationalization and babel support. That's why 2.0 will by default use
> refstyle instead, we hope.
>
>
Other than the passing mention in the User Guide and Customization help
files, mostly some 'robust' discussion on this group from a couple of years
ago which referred to prettyref being effectively unsupported. I might start
working with LyX 2.0 alpha now then actually (suitably forewarned and files
backed up of course).

>
> Nonetheless I tried inserting the \prettyref name definition to my LaTeX
> preamble and it did work, but... the text is being prepended to the LyX
> 'section 1.1', 'subsection 1.1.1', etc, rather than *replacing* it.
>
>  What prettyref command did you use? Prettyref itself predefines several of
> these things, but you should be able to redefine them yourself.
>

Just this in the preamble, as an example: \newrefformat{sub}{TEST \ref{#1}}

It outputs as 'TEST subsection x.y.z' — the original subsection remains in
place. But that was with a document class of *book (KOMA-script)*, the
thesis template[1].

I just tried it with a new file, all LyX defaults (article class), and the
override works as you'd expect, replacing 'subsection' with 'TEST'. And in
fact it works fine for the box float customisation has Jürgen helped me
with. So obviously the problem is within the *scrbook *document class? I
don't really know how to solve that at this point but at least I know where
to look...

Thanks Richard.

[1]
\documentclass[12pt,a4paper,english,british,intoc,bibtotoc,idxtotoc,BCOR10mm,titlepage,tablecaptionabove,
fleqn]{scrbook}

>
> Richard
>
>


a few questions regarding lyx

2010-09-16 Thread Dino Vliet
Hi folks,
 
I'm using the report (KOMA-script) document class to write my thesis and I 
don't know how to do the following things:
 
1) Subtitles: how to add the to my document?
2) I have two supervisors who's names need to be on the first page. I don 't 
want to add them with the Author class. What kind of options I have?
3) I need to add the logo's of the university and the company I work for to 
this first page. What is the best way to do that?
4) I have both an abstract and a dedication section. The title of them are not 
shown in the document. So you see two pages with text without titles 
(Dedication and Abstract). Can this be added and how do I accomplish that?
5) How to add an appendix? There is no environment for it.
 
Can somebody give me some guidelines?
 
Thanks
Dino
 
 


  

Re: Keeping text in sync at two locations in a document

2010-09-16 Thread Richard Heck



It can easily be done in LaTeX, by defining macros that contain the
dates and titles and then using those more than once. You can do this in
LyX, too, therefore, using ERT, but there's no native support for it.
 

Yes there is native support for macros in lyx, but the name is misleading; they 
are called Math macros. [Menu | Insert | Math | Macros] will allow you to 
define the macro, in both LaTeX and how it should appear in LyX if you so 
desire. Then, to use it in your text, insert some Inline Math; type your macro 
name preceded with a back-slash.

   
The downside to this is that they are math macros, rather than simple 
LaTeX macros. There's an open bug about providing general macro support.


RIchard



Re: Windows setup/directory structure

2010-09-16 Thread Jacob Bishop
Paul is right. You did ask, though, if there was a standard location for the
directory in Windows. I believe there is, but it's different between xp and
vista/w7. Mine on Windows 7 is:
C:\Users\Jacob\AppData\Roaming\MiKTeX\2.8\...
I'm not on my xp machine right now, but it's something like
C:\Documents and Settings\username\Application Data\MikTeX\2.8\...

MikTeX created those directories for local settings when I originally
installed it.

You can, of course set up a custom location via the MikTeX "settings"
interface, which you have to use anyway to run "Refresh FNDB" as Paul
explained.

I hope this adds a bit of information.

Jacob

On Wed, Sep 15, 2010 at 6:26 AM, Paul A. Rubin  wrote:

> On 9/14/2010 7:41 PM, Maria Gouskova wrote:
>
>
>> I should add that they all used MikTeX, and we tried putting texmf in
>> C:\ and also in the Program Files folder (I think basically as
>> C:\Program Files\texmf).
>>
>> What confuses me is that in Mac OS, LyX finds all the stuff inside the
>> texmf folder automaticallly after reconfiguring. Does this happen in
>> Windows? If not, is there something that needs to be done inside LyX
>> to help it find the correct texmf path? I am sure we missed something
>> really obvious.
>>
>>
> If they are using MiKTeX:
>
> 1.  They can run the MiKTeX "Settings" application (from the Start menu)
> and go to the "Roots" tab.  That lists the directories on the search path
> MiKTeX uses.  They can create their local texmf folder anywhere they want,
> then just add it to that tab (Add... button) and move it up to the top of
> the search chain.
>
> 2.  After adding anything to their local texmf directory, they should run
> the Settings application, and on the General tab click "Refresh FNDB" (which
> runs texhash to update the LaTeX file databases).
>
> /Paul
>
>


Re: a few questions regarding lyx

2010-09-16 Thread Richard Heck

On 09/16/2010 10:21 AM, Dino Vliet wrote:

Hi folks,
I'm using the report (KOMA-script) document class to write my thesis 
and I don't know how to do the following things:

1) Subtitles: how to add the to my document?


What kind of subtitle do you mean? For the entire document?

2) I have two supervisors who's names need to be on the first page. I 
don 't want to add them with the Author class. What kind of options I 
have?


The koma-script class doesn't support this. You might look into using 
one of the thesis classes that are around. Most of them do. 
Alternatively, as Steve Litt always suggests, you might just make the 
titlepage in OpenOffice or something and not spend time trying to get it 
looking right in LyX.


3) I need to add the logo's of the university and the company I work 
for to this first page. What is the best way to do that?



Same suggestion here.

4) I have both an abstract and a dedication section. The title of them 
are not shown in the document. So you see two pages with text without 
titles (Dedication and Abstract). Can this be added and how do I 
accomplish that?


See section 3.1.6 of the Koma-script documentation. Looks like you want 
the document option: abstracton, which you can add under 
Document>Settings. I don't see a way to add anything to the dedication page.



5) How to add an appendix? There is no environment for it.


Document>Start Appendix Here. Then add chapters or whatever.

Richard


Can somebody give me some guidelines?
Thanks
Dino






Re: ANNOUNCE: LyX version 2.0.0 (alpha 6)

2010-09-16 Thread Marcelo Acuña
> Tarballs can be found at
> ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/

What is LyX-2.0.0alpha6+qt4.dmg?

Marcelo





Re: ANNOUNCE: LyX version 2.0.0 (alpha 6)

2010-09-16 Thread Walter van Holst
On Thu, 16 Sep 2010 08:33:08 -0700 (PDT), Marcelo Acuña
 wrote:
>> Tarballs can be found at
>> ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/
> 
> What is LyX-2.0.0alpha6+qt4.dmg?

That is for those among us who sacrifice loads of money on their
translucent white altars of Steve, the demi-god with the Reality
Distortion Field, cultists of OS X.

Regards,

 Walter


Fwd: Re: captionbeside lyx Koma book: summary

2010-09-16 Thread Wolfgang Engelmann
Thanks to Mukhtars instructions I managed to use the captionbeside package 
correctly. I thought I should report to the list, since at some parts I asked 
him directly.

Add to your preamble

\newcommand{\CapBesBeg}{%
 \setcapindent*{0em}
 \let\MyCaption\caption
 \renewcommand{\caption}{\begin{captionbeside}}}

\newcommand{\CapBesEnd}{% 
 \end{captionbeside}
 \setcapindent{0em}
 \let\caption\MyCaption}

and then in the document include your figure as follows

\begin{figure}
\CapBesBeg\caption[Short Caption]{\label{fig:label}Long Caption}
[o]\includegraphics{figures/filename}\CapBesEnd
\end{figure}

This sounds easy, but I had some difficulties in LyX. Therefore the following

1- The figure in the float has to be below the caption text. 
2- The \CapBesBeg and \CapBesEnd have to be in ERT (ctr-l) and have to be 
inside the float. 
3- The legend and one of the options [l],[r],[i],[o] have to precede the
figure (\includegraphics command) and in ERT. The options determine the 
placement of the legend and the figure: 
l  left
r right
i  inner margin in two-sided layout
o  outer margin in two-sided layout
4- For the other figure floats which are not captionbeside-controlled, I had 
difficulties with the 
\setcapindent{0mm} 
in my preamble -this prevents a caption indent, e.g.
Abbildung 3.27: Eine wachsende Polypeptidkette (rot und blau) erhält ihre 
sekundäre
instead of
Abbildung 3.27: Eine wachsende Polypeptidkette (rot und blau) erhält 
  ihre sekundäre...
To make \setcapindent{0mm} work in the non-captionbeside-controlled captions 
it has to be inserted AFTER the
\newcommand{\CapBesBeg}{%
 \setcapindent*{0em}
 \let\MyCaption\caption
 \renewcommand{\caption}{\begin{captionbeside}}}

\newcommand{\CapBesEnd}{% 
 \end{captionbeside}
 \setcapindent{0em}
 \let\caption\MyCaption}
Otherwise it is apparently conflicting with the captionbeside package

5-  I had several figures below each other in a float with just one caption.
Vertical space and a line break between them is not respected by the
captionbeside environment. One has to place the figures in a minipage 
environment. The target size (e.g. 40% of textwidth) has to be specified in 
the minipage environment (settings>width>textwidth%) and not 
in the figures themselves. The figures must be scaled to \textwidth in 
order to avoid scaling twice.

I am thankful to Mukhtar and most of the remarks above are from his Mails.

Wolfgang


Re: a few questions regarding lyx

2010-09-16 Thread Uwe Stöhr

Am 16.09.2010 16:34, schrieb Richard Heck:


I'm using the report (KOMA-script) document class to write my thesis
and I don't know how to do the following things:
1) Subtitles: how to add the to my document?


LyX 1.6.8 will support KOMA-scripts subtitles. For now you can add them 
by adding the following command in TeX-code to your document:


\subtitle{your subtitle}

in a "standard" paragraph below the title.


2) I have two supervisors who's names need to be on the first page. I
don 't want to add them with the Author class. What kind of options I
have?


The koma-script class doesn't support this.


Not with a special command, but you can nevertheless design the title 
page as you like also with KOMA-script.



You might look into using one of the thesis classes that are around.


Like this one I created for my university (which uses KOMA-script):
http://fkurth.de/uwest/LyX/ThesisTemplate/Diss-Template-IMTEK.zip

In this template you can add the revisers, coat of arms or whatever you 
want to have on the title page to the section in the "Publishers" 
environment



3) I need to add the logo's of the university and the company I work
for to this first page. What is the best way to do that?


See my above mentioned thesis template.

regards Uwe


Re: Fwd: Re: captionbeside lyx Koma book: summary

2010-09-16 Thread Uwe Stöhr

Am 16.09.2010 18:30, schrieb Wolfgang Engelmann:


Thanks to Mukhtars instructions I managed to use the captionbeside package
correctly.


I haven't followed this thread. In case you tested the method I 
described in sec. 3.10 "Caption Placement" of the EmbeddedObjects manual 
and you found conflicts, can you please report them that I can fix them?


thanks and regards
Uwe


Re: Printing a beamer outline

2010-09-16 Thread Richard Heck

On 09/16/2010 09:21 AM, Graham Smith wrote:

I have Beamer set up to create a main presentation plus a child
document that produces an article (where I include additional
"article" only text) that I use as a handout.

A change of policy means that we are now handing out just an "outline"
of the main slide headings and the bullet points beneath them (no
frames or graphics).

Easily done in PowerPoint (just print as an outline) which everyone
else uses, but its not obvious to me how I do this with Lyx. The
"proper" handout will be made available online, so I still need my
existing article ouput.

I did wonder if there might be some way of setting up a second child
document still with the beamer class, but with a print "outline" or
maybe even a TOC option, but I can't see anything as simple as that.

I'm not sure I fully understand what you want. What do you mean by "the 
bullet points beneath them"? I think of bullet points as things on the 
slides, so that's presumably not what you mean.


If it's just a matter of omitting certain things, then you could use 
branches to do this.


If the idea is to print an outline with the frame titles as bullet 
points under the section headings, then I don't think Beamer has an 
option for this. But it could be done by redefining a few things.


rh



Re: Printing a beamer outline

2010-09-16 Thread Graham Smith
Richard,


> I'm not sure I fully understand what you want. What do you mean by "the
> bullet points beneath them"? I think of bullet points as things on the
> slides, so that's presumably not what you mean.

 If you have a presentation file with no additional "article" notes or
graphics and print out a Beamer article as a handout you get an
outline of the presentation, with each frame title as a heading and
the text contained in  the frame under the frame title. This is what I
am describing as an outline.

But  I have graphics and additional article only text in the
presentation, which is currently also printed as part of the Beamer
Article. I would like to be able to:

1. Print out the Beamer presentation
2. Print out a Beamer article with the additional article only text
and graphics.
3. Print out a Beamer Article that excludes the article only text and
graphics, and only has the text that is included in the presentation
(without the frames)

Does that make any more sense?

Thanks,

Graham


Re: a few questions regarding lyx

2010-09-16 Thread Steve Litt
On Thursday 16 September 2010 10:21:11 Dino Vliet wrote:
> Hi folks,
>  
> I'm using the report (KOMA-script) document class to write my thesis and I
>  don't know how to do the following things: 
> 1) Subtitles: how to add the to my document?
> 2) I have two supervisors who's names need to be on the first page. I don
>  't want to add them with the Author class. What kind of options I have? 3)
>  I need to add the logo's of the university and the company I work for to
>  this first page. What is the best way to do that? 4) I have both an
>  abstract and a dedication section. The title of them are not shown in the
>  document. So you see two pages with text without titles (Dedication and
>  Abstract). Can this be added and how do I accomplish that? 5) How to add
>  an appendix? There is no environment for it.
>  
> Can somebody give me some guidelines?
>  
> Thanks
> Dino

Hi Dino,

You've given me the opportunity to espouse my monthly "fingerpaint the 
frontmatter" rant...

Because questions like yours consistently pop up (in my work in addition to 
what I read on lyx-users), I consistently recommend that a document's front 
matter be done with custom environments and/or ERT (Evil Red Text, insert 
LaTeX), etc). That way you can make every element of your title, copyright, 
and other front pages EXACTLY how you want them. IMHO relying on your document 
class and trying to wrestle it into submission is walking the trail of tears.

SteveT

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



Re: Printing a beamer outline

2010-09-16 Thread RGH

On 09/16/2010 03:29 PM, Graham Smith wrote:

Richard,


   

I'm not sure I fully understand what you want. What do you mean by "the
bullet points beneath them"? I think of bullet points as things on the
slides, so that's presumably not what you mean.
 

  If you have a presentation file with no additional "article" notes or
graphics and print out a Beamer article as a handout you get an
outline of the presentation, with each frame title as a heading and
the text contained in  the frame under the frame title. This is what I
am describing as an outline.

But  I have graphics and additional article only text in the
presentation, which is currently also printed as part of the Beamer
Article. I would like to be able to:

1. Print out the Beamer presentation
2. Print out a Beamer article with the additional article only text
and graphics.
3. Print out a Beamer Article that excludes the article only text and
graphics, and only has the text that is included in the presentation
(without the frames)

Does that make any more sense?

   
OK. I've not done this with beamer, so let me ask another question: How 
do you enter the article only text? I.e., using what environment? Better 
yet, if you could post a very simple file that demonstrated this, then 
it should be fairly easy to figure out how to disable those bits.


Richard



Re: Printing a beamer outline

2010-09-16 Thread Graham Smith
Richard,

Thanks for  persisting with this.

The text is added in an ERT box.

\mode {text inserted between brackets will only print in the
article and not the presentation}

Graphics are added just with the insert graphics menu.

It is beginning to look that this may well end up rather complicated.
I wonder if your original idea of using branches might be the
solution.

I will put together a file, but I'm on the wrong computer at the moment.

Graham


How to create a layout file?

2010-09-16 Thread emant777

This might be an obvious question but I can't figure out how to make the
layout file itself. 
I was reading  http://wiki.lyx.org/Layouts/CreatingLayouts
and I want to type something like this into the file: 
**
#% Do not delete the line below; configure depends on this  
#  \DeclareLaTeXClass[acmsiggraph]{ACM SigGraph}

# Read the definitions from article.layout
Input article.layout
***
but I can't figure out how to create the file into which I am supposed to
type this. Please help. Thank you.


-- 
View this message in context: 
http://lyx.475766.n2.nabble.com/How-to-create-a-layout-file-tp5541048p5541048.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How to create a layout file?

2010-09-16 Thread Rob Oakes
Layout files are just simple text files that have been saved with the .layout 
extensions.  You then place this file in the "layouts" subdirectory of your LyX 
user directory.

(To see where your LyX user directory is located, simply click on Help > About, 
or if using Mac, Application Menu > About.)

There are some good links from the LyX Wiki (which you reference), though I 
would also take a look  at Steve Litt's guides to layouts.  There's some very 
helpful advice there.  About a year ago, I wrote a small series that looks at 
creating layouts and various ways of customizing LyX.  You can find those 
articles (and a few other LaTeX related things) at:

http://blog.oak-tree.us/index.php/writing/latex

If you have any specific questions, you can always post those here as well.  To 
my knowledge, all the developers subscribe to the users list and they are all 
very nice people.

Cheers,

Rob

On Sep 16, 2010, at 6:58 PM, emant777 wrote:

> 
> This might be an obvious question but I can't figure out how to make the
> layout file itself. 
> I was reading  http://wiki.lyx.org/Layouts/CreatingLayouts
> and I want to type something like this into the file: 
> **
> #% Do not delete the line below; configure depends on this  
> #  \DeclareLaTeXClass[acmsiggraph]{ACM SigGraph}
> 
> # Read the definitions from article.layout
> Input article.layout
> ***
> but I can't figure out how to create the file into which I am supposed to
> type this. Please help. Thank you.
> 
> 
> -- 
> View this message in context: 
> http://lyx.475766.n2.nabble.com/How-to-create-a-layout-file-tp5541048p5541048.html
> Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Printing a beamer outline

2010-09-16 Thread Graham Smith
I wonder  if a child document that only contained a TOC might work, if
that's possible.

Graham