David Wolfson wrote:
Herbert Voss wrote:

David Wolfson wrote:

I'm writing up my PhD thesis using lyx, and am have a master document
with each chapter as an input file. This all works ok, but I need to
produce and outline of the overall document structure. I'd hoped to do
this by exporting the contents pages in isolation somehow, but haven't
been able to find a way to do this. Heres what I've tried:

run LyX and don't close it, then go into the temporary
directory /tmp/lyx....
There you'll find all important files. The toc is in <file>.toc
rename this file to whatever you want. Now you can use it as
usual with \input


This looks to be a good way forward. I've found the file, and all the information appears to be there, but I haven't yet succeded in a good output from it. I've put an example of some of the text below, but I'm not sure quite what this is. It doesn't work including it as an \input file, or as ERT or lyx-code.
Do you know what this is, and how I can get lyx to process it correctly?

build a small LaTeX document
\documentclass[10pt,english]{book}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}

\begin{document}

\chapter*{Contents}
\contentsline {chapter}{\numberline {1}Introduction}{1}
\contentsline {section}{\numberline {1.1}Aims}{1}
\contentsline {chapter}{\numberline {2}Background}{2}
\contentsline {section}{\numberline {2.1}Shaken Baby Syndrome}{2}
\contentsline {section}{\numberline {2.2}Anatomy of the Head and Neck}{3}
\contentsline {subsection}{\numberline {2.2.1}Skull}{3}
\contentsline {subsection}{\numberline {2.2.2}Brain}{3}
\contentsline {subsection}{\numberline {2.2.3}Meninges}{6}
\contentsline {subsection}{\numberline {2.2.4}Neck}{6}
\contentsline {paragraph}{Skeletal}{6}
\contentsline {paragraph}{Muscular}{8}
\contentsline {section}{\numberline {2.3}Techniques for Biomechanical
Investigation}{10}
\contentsline {subsection}{\numberline {2.3.1}Anthropometric Test Dummies}{10}
\contentsline {subsection}{\numberline {2.3.2}Rigid Body Modelling}{11}
\contentsline {subsection}{\numberline {2.3.3}Physical Modelling}{12}
\contentsline {section}{\numberline {2.4}Brain Injury Mechanisms}{13}
\contentsline {subsection}{\numberline {2.4.1}Penetration Injuries}{13}
\contentsline {subsection}{\numberline {2.4.2}Contact Injuries}{13}
\contentsline {subsection}{\numberline {2.4.3}Acceleration Injuries}{14}

\end{document}

or create a LyX file, documentclass book and insert
the toc.

[EMAIL PROTECTED] {english}

this line should be deleted.

Herbert

Reply via email to