export table TOC

2006-01-09 Thread David Wolfson
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:

- None of the export options allow a page range to be set.
- If I export to PDF/DVI I can set a page range to print, but can't then print 
to a PDF
- If I export the master document as ASCII then I only get the text from the 
mater, none of the input files. 

Does anyone have any suggestions please?

Cheer,

Dave



Re: export table TOC

2006-01-09 Thread David Wolfson
On Monday 09 January 2006 11:43, Kevin Pfeiffer wrote:
 David Wolfson writes:
  - None of the export options allow a page range to be set.
  - If I export to PDF/DVI I can set a page range to print, but can't
  then print to a PDF

 Not sure whether these will help with your set up, but:
 With xdvi you can also save a page range as a PDF.

 Or with the whole document as a PDF you could (assuming availability)
 use Adobe Acrobat to extract the pages you need.

 -K
Kevin,

Thanks for the suggestions, they look like what I'm looking for but are you 
able to give a little more detail, or point me in the right direction for 
where to work these out though.

I'm using 'xdvik version 22.40y'  and it appears to be nothing more than a 
viewer, with no output or file options at all. I have adobe reader 7.0, which 
I guess isn't going to be able to do what you suggest acrobat can do.

I'm off to google in the meantime, but would appreciate any further guidance,

Dave



Re: export table TOC

2006-01-09 Thread David Wolfson
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?

Cheers,

Dave

example text from master.toc

[EMAIL PROTECTED] {english}
\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}




Re: export table TOC

2006-01-09 Thread David Wolfson
On Monday 09 January 2006 14:59, Kevin Pfeiffer wrote:
 Herbert Voss writes:
  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
 
  or create a LyX file, documentclass book and insert
  the toc.
 
   [EMAIL PROTECTED] {english}
 
  this line should be deleted.

 This worked like a charm (some of us like to play along at home). I
 chose Insert File - ASCII as lines, deleted the language line,
 selected all the text, and pressed Ctrl-L to convert the whole thing to
 an ERT. I then added TOC as a Chapter*.

 If David or someone else doesn't add this to the Wiki, I will.

I've added it to the wiki at:
http://wiki.lyx.org/pmwiki.php/Tips/AccessTableOfContentsAsASeperateDocument 

Please tweak it if you want!

Thanks again,

Dave


 -Kevin



export table TOC

2006-01-09 Thread David Wolfson
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:

- None of the export options allow a page range to be set.
- If I export to PDF/DVI I can set a page range to print, but can't then print 
to a PDF
- If I export the master document as ASCII then I only get the text from the 
mater, none of the input files. 

Does anyone have any suggestions please?

Cheer,

Dave



Re: export table TOC

2006-01-09 Thread David Wolfson
On Monday 09 January 2006 11:43, Kevin Pfeiffer wrote:
 David Wolfson writes:
  - None of the export options allow a page range to be set.
  - If I export to PDF/DVI I can set a page range to print, but can't
  then print to a PDF

 Not sure whether these will help with your set up, but:
 With xdvi you can also save a page range as a PDF.

 Or with the whole document as a PDF you could (assuming availability)
 use Adobe Acrobat to extract the pages you need.

 -K
Kevin,

Thanks for the suggestions, they look like what I'm looking for but are you 
able to give a little more detail, or point me in the right direction for 
where to work these out though.

I'm using 'xdvik version 22.40y'  and it appears to be nothing more than a 
viewer, with no output or file options at all. I have adobe reader 7.0, which 
I guess isn't going to be able to do what you suggest acrobat can do.

I'm off to google in the meantime, but would appreciate any further guidance,

Dave



Re: export table TOC

2006-01-09 Thread David Wolfson
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?

Cheers,

Dave

example text from master.toc

[EMAIL PROTECTED] {english}
\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}




Re: export table TOC

2006-01-09 Thread David Wolfson
On Monday 09 January 2006 14:59, Kevin Pfeiffer wrote:
 Herbert Voss writes:
  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
 
  or create a LyX file, documentclass book and insert
  the toc.
 
   [EMAIL PROTECTED] {english}
 
  this line should be deleted.

 This worked like a charm (some of us like to play along at home). I
 chose Insert File - ASCII as lines, deleted the language line,
 selected all the text, and pressed Ctrl-L to convert the whole thing to
 an ERT. I then added TOC as a Chapter*.

 If David or someone else doesn't add this to the Wiki, I will.

I've added it to the wiki at:
http://wiki.lyx.org/pmwiki.php/Tips/AccessTableOfContentsAsASeperateDocument 

Please tweak it if you want!

Thanks again,

Dave


 -Kevin



export table TOC

2006-01-09 Thread David Wolfson
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:

- None of the export options allow a page range to be set.
- If I export to PDF/DVI I can set a page range to print, but can't then print 
to a PDF
- If I export the master document as ASCII then I only get the text from the 
mater, none of the input files. 

Does anyone have any suggestions please?

Cheer,

Dave



Re: export table TOC

2006-01-09 Thread David Wolfson
On Monday 09 January 2006 11:43, Kevin Pfeiffer wrote:
> David Wolfson writes:
> > - None of the export options allow a page range to be set.
> > - If I export to PDF/DVI I can set a page range to print, but can't
> > then print to a PDF
>
> Not sure whether these will help with your set up, but:
> With xdvi you can also save a page range as a PDF.
>
> Or with the whole document as a PDF you could (assuming availability)
> use Adobe Acrobat to extract the pages you need.
>
> -K
Kevin,

Thanks for the suggestions, they look like what I'm looking for but are you 
able to give a little more detail, or point me in the right direction for 
where to work these out though.

I'm using 'xdvik version 22.40y'  and it appears to be nothing more than a 
viewer, with no output or file options at all. I have adobe reader 7.0, which 
I guess isn't going to be able to do what you suggest acrobat can do.

I'm off to google in the meantime, but would appreciate any further guidance,

Dave



Re: export table TOC

2006-01-09 Thread David Wolfson
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 .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?

Cheers,

Dave

example text from master.toc

[EMAIL PROTECTED] {english}
\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}




Re: export table TOC

2006-01-09 Thread David Wolfson
On Monday 09 January 2006 14:59, Kevin Pfeiffer wrote:
> Herbert Voss writes:
> > 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
> >
> > or create a LyX file, documentclass book and insert
> > the toc.
> >
> > > [EMAIL PROTECTED] {english}
> >
> > this line should be deleted.
>
> This worked like a charm (some of us like to "play along at home"). I
> chose "Insert File -> ASCII as lines", deleted the language line,
> selected all the text, and pressed Ctrl-L to convert the whole thing to
> an ERT. I then added "TOC" as a "Chapter*".
>
> If David or someone else doesn't add this to the Wiki, I will.

I've added it to the wiki at:
http://wiki.lyx.org/pmwiki.php/Tips/AccessTableOfContentsAsASeperateDocument 

Please tweak it if you want!

Thanks again,

Dave

>
> -Kevin



Version Control and multipart documents

2005-11-09 Thread David Wolfson
I'm writing a large document, so have a master document with a number of 
include files. This all works well, and I normally load the master document 
and load the individual files from within it.

Having completed first drafts of some parts of the document, I'm now trying to 
use version control. I've installed rcs and tried it on a test document and 
it appears to work fine. The problem comes when I try to combine the two. 

Having registered a document, if I load it from the master it is locked, but 
has no version history, and cannot be unlocked from lyx. I'm guessing this is 
something to do with where rcs logs the changes, but I can't see any relevant 
looking 'rcs' file/folder.

Have I goofed? Is this a bug? Is using RCS in this way not possible?

Any help greatly appreciated,

Dave



Re: Version Control and multipart documents

2005-11-09 Thread David Wolfson
JMarc,
 David Having registered a document, if I load it from the master it
 David is locked, but has no version history, and cannot be unlocked
 David from lyx. I'm guessing this is something to do with where rcs
 David logs the changes, but I can't see any relevant looking 'rcs'
 David file/folder.

 Would that be bug 1744?
 http://bugzilla.lyx.org/show_bug.cgi?id=1744

Yes, it would appear that it is. Sorry, bugzilla's not in my mental list of 
'places to look for help'.

I know someone proposed a fix, but I lost it...
There's no indication of a fix on there, but I've never delved into bugzilla 
so don't really know what the setup is.

Anyhow, at least now I know.

Thanks,

Dave



Version Control and multipart documents

2005-11-09 Thread David Wolfson
I'm writing a large document, so have a master document with a number of 
include files. This all works well, and I normally load the master document 
and load the individual files from within it.

Having completed first drafts of some parts of the document, I'm now trying to 
use version control. I've installed rcs and tried it on a test document and 
it appears to work fine. The problem comes when I try to combine the two. 

Having registered a document, if I load it from the master it is locked, but 
has no version history, and cannot be unlocked from lyx. I'm guessing this is 
something to do with where rcs logs the changes, but I can't see any relevant 
looking 'rcs' file/folder.

Have I goofed? Is this a bug? Is using RCS in this way not possible?

Any help greatly appreciated,

Dave



Re: Version Control and multipart documents

2005-11-09 Thread David Wolfson
JMarc,
 David Having registered a document, if I load it from the master it
 David is locked, but has no version history, and cannot be unlocked
 David from lyx. I'm guessing this is something to do with where rcs
 David logs the changes, but I can't see any relevant looking 'rcs'
 David file/folder.

 Would that be bug 1744?
 http://bugzilla.lyx.org/show_bug.cgi?id=1744

Yes, it would appear that it is. Sorry, bugzilla's not in my mental list of 
'places to look for help'.

I know someone proposed a fix, but I lost it...
There's no indication of a fix on there, but I've never delved into bugzilla 
so don't really know what the setup is.

Anyhow, at least now I know.

Thanks,

Dave



Version Control and multipart documents

2005-11-09 Thread David Wolfson
I'm writing a large document, so have a master document with a number of 
include files. This all works well, and I normally load the master document 
and load the individual files from within it.

Having completed first drafts of some parts of the document, I'm now trying to 
use version control. I've installed rcs and tried it on a test document and 
it appears to work fine. The problem comes when I try to combine the two. 

Having registered a document, if I load it from the master it is locked, but 
has no version history, and cannot be unlocked from lyx. I'm guessing this is 
something to do with where rcs logs the changes, but I can't see any relevant 
looking 'rcs' file/folder.

Have I goofed? Is this a bug? Is using RCS in this way not possible?

Any help greatly appreciated,

Dave



Re: Version Control and multipart documents

2005-11-09 Thread David Wolfson
JMarc,
> David> Having registered a document, if I load it from the master it
> David> is locked, but has no version history, and cannot be unlocked
> David> from lyx. I'm guessing this is something to do with where rcs
> David> logs the changes, but I can't see any relevant looking 'rcs'
> David> file/folder.
>
> Would that be bug 1744?
> http://bugzilla.lyx.org/show_bug.cgi?id=1744

Yes, it would appear that it is. Sorry, bugzilla's not in my mental list of 
'places to look for help'.

>I know someone proposed a fix, but I lost it...
There's no indication of a fix on there, but I've never delved into bugzilla 
so don't really know what the setup is.

Anyhow, at least now I know.

Thanks,

Dave



Re: Symbols for a figure key - adding a new font solved

2005-11-02 Thread David Wolfson
Stephen,

On Wednesday 02 November 2005 04:07, Stephen Harris wrote:
 I downloaded the entire zip package and installed it in /usr/ifsym
 since I wasn't sure what the proper path was. I copied texmf.dvi,
 the test file, to the same directory. Then ran xdvi texmf.dvi and
 in displayed properly. Before getting the ifsym package I got the
 same error message you did. So it should work once the paths are
 ok. So it is a relief to know the package isn't broken.
As soon as I read this I realised that it was probably a path problem. Not 
knowing any better, I had installed the font to '/usr/local/share/texmf/' 
rather than '/usr/share/texmf/'. I removed that installation, rehashed, and 
carried out the instructions I mentioned earlier in the thread:
http://www.tug.org/pipermail/tugindia/2001-August/56.html

Another 'texhash' and and all is well; dvis and pdfs display find, from the 
comand line and lyx.

Paul - I hope this solves the problem for you too...

Thanks for solving the problem and educating in the ways of the texmf path,

Dave



Re: Symbols for a figure key - adding a new font solved

2005-11-02 Thread David Wolfson
Stephen,

On Wednesday 02 November 2005 04:07, Stephen Harris wrote:
 I downloaded the entire zip package and installed it in /usr/ifsym
 since I wasn't sure what the proper path was. I copied texmf.dvi,
 the test file, to the same directory. Then ran xdvi texmf.dvi and
 in displayed properly. Before getting the ifsym package I got the
 same error message you did. So it should work once the paths are
 ok. So it is a relief to know the package isn't broken.
As soon as I read this I realised that it was probably a path problem. Not 
knowing any better, I had installed the font to '/usr/local/share/texmf/' 
rather than '/usr/share/texmf/'. I removed that installation, rehashed, and 
carried out the instructions I mentioned earlier in the thread:
http://www.tug.org/pipermail/tugindia/2001-August/56.html

Another 'texhash' and and all is well; dvis and pdfs display find, from the 
comand line and lyx.

Paul - I hope this solves the problem for you too...

Thanks for solving the problem and educating in the ways of the texmf path,

Dave



Re: Symbols for a figure key - adding a new font

2005-11-02 Thread David Wolfson
Stephen,

On Wednesday 02 November 2005 04:07, Stephen Harris wrote:
> I downloaded the entire zip package and installed it in /usr/ifsym
> since I wasn't sure what the proper path was. I copied texmf.dvi,
> the test file, to the same directory. Then ran "xdvi texmf.dvi" and
> in displayed properly. Before getting the ifsym package I got the
> same error message you did. So it should work once the paths are
> ok. So it is a relief to know the package isn't broken.
As soon as I read this I realised that it was probably a path problem. Not 
knowing any better, I had installed the font to '/usr/local/share/texmf/' 
rather than '/usr/share/texmf/'. I removed that installation, rehashed, and 
carried out the instructions I mentioned earlier in the thread:
http://www.tug.org/pipermail/tugindia/2001-August/56.html

Another 'texhash' and and all is well; dvis and pdfs display find, from the 
comand line and lyx.

Paul - I hope this solves the problem for you too...

Thanks for solving the problem and educating in the ways of the texmf path,

Dave



Re: Symbols for a figure key - adding a new font

2005-11-01 Thread David Wolfson
On Monday 31 October 2005 21:33, Paul A. Rubin wrote:
 David Wolfson wrote:
 Unfortunately, the output was not as I'd hope. Instead of getting a
 triangle, I have an 'a' in the DVI,

 LaTeX writes out a DVI file which contains a command to load the ifgeo10
 font.  When your DVI viewer (xdvi) tries to load the document, it
 discovers that the ifgeo10 font does not (yet) exist in your font
 directories, so it tries to run mktexpk to generate the specific font
 files.  

This is the conclusion I was coming to last night. 

 You might want to ask on comp.text.tex whether anyone there can figure
 out why metafont is failing.

Good idea - I've just done this here:
http://groups.google.co.uk/group/comp.text.tex/browse_thread/thread/8bfbc83797cdb706/f5531355b8a93b38?hl=en#f5531355b8a93b38

If you want to follow any replies. 

I'll let you know if I have a breakthrough,

Dave



Re: Symbols for a figure key - adding a new font

2005-11-01 Thread David Wolfson
On Monday 31 October 2005 21:33, Paul A. Rubin wrote:
 David Wolfson wrote:
 Unfortunately, the output was not as I'd hope. Instead of getting a
 triangle, I have an 'a' in the DVI,

 LaTeX writes out a DVI file which contains a command to load the ifgeo10
 font.  When your DVI viewer (xdvi) tries to load the document, it
 discovers that the ifgeo10 font does not (yet) exist in your font
 directories, so it tries to run mktexpk to generate the specific font
 files.  

This is the conclusion I was coming to last night. 

 You might want to ask on comp.text.tex whether anyone there can figure
 out why metafont is failing.

Good idea - I've just done this here:
http://groups.google.co.uk/group/comp.text.tex/browse_thread/thread/8bfbc83797cdb706/f5531355b8a93b38?hl=en#f5531355b8a93b38

If you want to follow any replies. 

I'll let you know if I have a breakthrough,

Dave



Re: Symbols for a figure key - adding a new font

2005-11-01 Thread David Wolfson
On Monday 31 October 2005 21:33, Paul A. Rubin wrote:
> David Wolfson wrote:
> >>Unfortunately, the output was not as I'd hope. Instead of getting a
> >>triangle, I have an 'a' in the DVI,
>
> LaTeX writes out a DVI file which contains a command to load the ifgeo10
> font.  When your DVI viewer (xdvi) tries to load the document, it
> discovers that the ifgeo10 font does not (yet) exist in your font
> directories, so it tries to run mktexpk to generate the specific font
> files.  

This is the conclusion I was coming to last night. 

> You might want to ask on comp.text.tex whether anyone there can figure
> out why metafont is failing.

Good idea - I've just done this here:
http://groups.google.co.uk/group/comp.text.tex/browse_thread/thread/8bfbc83797cdb706/f5531355b8a93b38?hl=en#f5531355b8a93b38

If you want to follow any replies. 

I'll let you know if I have a breakthrough,

Dave



Re: Symbols for a figure key - adding a new font

2005-10-31 Thread David Wolfson
Paul,

Thanks for the reply - sorry not to get back to you sooner, I took the 
weeekend off!

Paul A. Rubin wrote:
 David Wolfson wrote:
  I tried adding \usepackage{ifsym} in the preamamble,

 I think you need \usepackage[geometry]{ifsym} to get \FilledTriangleUp.

  surprised to hear that I get another error:
  LaTeX Error: File `ifsym.sty' not found.

 This would suggest that ifsym is not properly installed.  Did you (a)
 install it and (b) update your TeX file database?  If so, try 'kpsewhich
 ifsym.sty' from a shell to see if the system knows where to find it.
a) not that I'm aware of! I think this is what I really need some guidance on. 
Do I need to install it on the system, as part of Tex/LaTex/Lyx? Is there a 
'howto' out there I should look at?

b) again, a newbie Tex breakdown?

# kpsewhich ifsym.sty

gives no output :-|

 FWIW, I had no trouble installing ifsym (MiKTeX), and no problem
 compiling a LyX document containing \FilledTriangleUp (meaning it
 generated the DVI file), but Metafont choked trying to generate the
 necessary fonts.  It seems to think there is a syntax error in either
 ifgeo10.mf or (more likely) ifgeo.gen, which the former includes.
er - ok. I'll have to google some of the terms here, but I get the impression 
you saying it worked - nearly.

Cheers,

Dave

PS off to check the local library for The LaTeX Companion, I guess I have some 
reading to get up to speed



Re: Symbols for a figure key - adding a new font

2005-10-31 Thread David Wolfson
Paul,

 This would suggest that ifsym is not properly installed.  Did you (a)
 install it and (b) update your TeX file database?  If so, try 'kpsewhich
 ifsym.sty' from a shell to see if the system knows where to find it.


  Is there a
  'howto' out there I should look at?

 Have a gander at
 http://groups.google.com/group/comp.text.tex/browse_thread/thread/74e0c7f14
63c2800/63afac8d94f2a096%2363afac8d94f2a096?sa=Xoi=groupsrstart=0num=3
Thanks - I'll be bookmarking that group...

 The ifsym package should include a Postscript file named ifsym.ps, which
 is the manual (in German). 
ah. I've found the file OK, now to wait for the German speaking girlfriend to 
get home ;-)

 Section 2 explains where to store the 
 pieces, after which you have to rebuild the TeX file database (see the
 URL above).
I'll let you know how I get on,

Thanks,

Dave



Re: Symbols for a figure key - adding a new font

2005-10-31 Thread David Wolfson
OK, I've had some luck getting it installed, but working is another matter...

  This would suggest that ifsym is not properly installed.  Did you (a)
  install it and (b) update your TeX file database?  If so, try
   'kpsewhich ifsym.sty' from a shell to see if the system knows where to
   find it.
I now get:
/usr/local/share/texmf/tex/latex/ifsym/ifsym.sty

  Have a gander at
  http://groups.google.com/group/comp.text.tex/browse_thread/thread/74e0c7f
 14
  63c2800/63afac8d94f2a096%2363afac8d94f2a096?sa=Xoi=groupsrstart=0num=3

 Thanks - I'll be bookmarking that group...
I had a search through the group and found this:
http://groups.google.com/group/comp.text.tex/browse_thread/thread/3a3cf8a882c381f0/f95bb70317f65139?q=install+fontrnum=3#f95bb70317f65139

I followed the instructions on the URL in the above post to:
http://www.tug.org/pipermail/tugindia/2001-August/56.html

which were similar to the instructions in the .ps file you described. I ran 
texhash on a simple Tex file, and got an error:
kpathsea: Running mktexmf ifgeo10
! I can't find file `ifgeo10'.
* ...=ljfour; mag:=1; nonstopmode; input ifgeo10

so I ran:
mktexmf ifsysm

This appeared to generate a metafont file, which one placed in the texmf tree 
(and after another texhash) appeared to sort all the LaTex errors. I then 
included the package in a Lyx file preamble( \usepackage[geometry]{ifsym}), 
and \FilledTriangleUp in ERT and again this ran fine.

Unfortunately, the output was not as I'd hope. Instead of getting a triangle, 
I have an 'a' in the DVI, and nothing in pdf. This is the same processing 
through LyX or LaTeX on the command line.

Is this a similar problem to the one you described before?
Metafont choked trying to generate the 
necessary fonts.  It seems to think there is a syntax error in either 
ifgeo10.mf or (more likely) ifgeo.gen, which the former includes.

Thanks for all the help. I've learnt a lot about installing a package now, but 
it would be nice if we could get it to work. Are there any more guru tips to 
get this going please?


Dave



Re: Symbols for a figure key - adding a new font

2005-10-31 Thread David Wolfson
I've just donr dome more p[oking and got a couple of updates.

 Unfortunately, the output was not as I'd hope. Instead of getting a
 triangle, I have an 'a' in the DVI, and nothing in pdf. This is the same
 processing through LyX or LaTeX on the command line.

This appears to be a problem with mktexpk, as if I look at the outputs from 
xdvi (rather than running it from gui), I get:
mktexpk: don't know how to create bitmap font for ifgeo10.
kpathsea: Appending font creation commands to missfont.log.
xdvi: Can't find font ifgeo10; using Type1 version of cmr10 instead.

So as I understand it LaTeX now understand ifsym ok and writes the dvi, but 
whatever tries to read the dvi (dvips?) doesn't. Does that sound right? 

Back off to google,

Dave



Re: Symbols for a figure key - adding a new font

2005-10-31 Thread David Wolfson
Paul,

Thanks for the reply - sorry not to get back to you sooner, I took the 
weeekend off!

Paul A. Rubin wrote:
 David Wolfson wrote:
  I tried adding \usepackage{ifsym} in the preamamble,

 I think you need \usepackage[geometry]{ifsym} to get \FilledTriangleUp.

  surprised to hear that I get another error:
  LaTeX Error: File `ifsym.sty' not found.

 This would suggest that ifsym is not properly installed.  Did you (a)
 install it and (b) update your TeX file database?  If so, try 'kpsewhich
 ifsym.sty' from a shell to see if the system knows where to find it.
a) not that I'm aware of! I think this is what I really need some guidance on. 
Do I need to install it on the system, as part of Tex/LaTex/Lyx? Is there a 
'howto' out there I should look at?

b) again, a newbie Tex breakdown?

# kpsewhich ifsym.sty

gives no output :-|

 FWIW, I had no trouble installing ifsym (MiKTeX), and no problem
 compiling a LyX document containing \FilledTriangleUp (meaning it
 generated the DVI file), but Metafont choked trying to generate the
 necessary fonts.  It seems to think there is a syntax error in either
 ifgeo10.mf or (more likely) ifgeo.gen, which the former includes.
er - ok. I'll have to google some of the terms here, but I get the impression 
you saying it worked - nearly.

Cheers,

Dave

PS off to check the local library for The LaTeX Companion, I guess I have some 
reading to get up to speed



Re: Symbols for a figure key - adding a new font

2005-10-31 Thread David Wolfson
Paul,

 This would suggest that ifsym is not properly installed.  Did you (a)
 install it and (b) update your TeX file database?  If so, try 'kpsewhich
 ifsym.sty' from a shell to see if the system knows where to find it.


  Is there a
  'howto' out there I should look at?

 Have a gander at
 http://groups.google.com/group/comp.text.tex/browse_thread/thread/74e0c7f14
63c2800/63afac8d94f2a096%2363afac8d94f2a096?sa=Xoi=groupsrstart=0num=3
Thanks - I'll be bookmarking that group...

 The ifsym package should include a Postscript file named ifsym.ps, which
 is the manual (in German). 
ah. I've found the file OK, now to wait for the German speaking girlfriend to 
get home ;-)

 Section 2 explains where to store the 
 pieces, after which you have to rebuild the TeX file database (see the
 URL above).
I'll let you know how I get on,

Thanks,

Dave



Re: Symbols for a figure key - adding a new font

2005-10-31 Thread David Wolfson
OK, I've had some luck getting it installed, but working is another matter...

  This would suggest that ifsym is not properly installed.  Did you (a)
  install it and (b) update your TeX file database?  If so, try
   'kpsewhich ifsym.sty' from a shell to see if the system knows where to
   find it.
I now get:
/usr/local/share/texmf/tex/latex/ifsym/ifsym.sty

  Have a gander at
  http://groups.google.com/group/comp.text.tex/browse_thread/thread/74e0c7f
 14
  63c2800/63afac8d94f2a096%2363afac8d94f2a096?sa=Xoi=groupsrstart=0num=3

 Thanks - I'll be bookmarking that group...
I had a search through the group and found this:
http://groups.google.com/group/comp.text.tex/browse_thread/thread/3a3cf8a882c381f0/f95bb70317f65139?q=install+fontrnum=3#f95bb70317f65139

I followed the instructions on the URL in the above post to:
http://www.tug.org/pipermail/tugindia/2001-August/56.html

which were similar to the instructions in the .ps file you described. I ran 
texhash on a simple Tex file, and got an error:
kpathsea: Running mktexmf ifgeo10
! I can't find file `ifgeo10'.
* ...=ljfour; mag:=1; nonstopmode; input ifgeo10

so I ran:
mktexmf ifsysm

This appeared to generate a metafont file, which one placed in the texmf tree 
(and after another texhash) appeared to sort all the LaTex errors. I then 
included the package in a Lyx file preamble( \usepackage[geometry]{ifsym}), 
and \FilledTriangleUp in ERT and again this ran fine.

Unfortunately, the output was not as I'd hope. Instead of getting a triangle, 
I have an 'a' in the DVI, and nothing in pdf. This is the same processing 
through LyX or LaTeX on the command line.

Is this a similar problem to the one you described before?
Metafont choked trying to generate the 
necessary fonts.  It seems to think there is a syntax error in either 
ifgeo10.mf or (more likely) ifgeo.gen, which the former includes.

Thanks for all the help. I've learnt a lot about installing a package now, but 
it would be nice if we could get it to work. Are there any more guru tips to 
get this going please?


Dave



Re: Symbols for a figure key - adding a new font

2005-10-31 Thread David Wolfson
I've just donr dome more p[oking and got a couple of updates.

 Unfortunately, the output was not as I'd hope. Instead of getting a
 triangle, I have an 'a' in the DVI, and nothing in pdf. This is the same
 processing through LyX or LaTeX on the command line.

This appears to be a problem with mktexpk, as if I look at the outputs from 
xdvi (rather than running it from gui), I get:
mktexpk: don't know how to create bitmap font for ifgeo10.
kpathsea: Appending font creation commands to missfont.log.
xdvi: Can't find font ifgeo10; using Type1 version of cmr10 instead.

So as I understand it LaTeX now understand ifsym ok and writes the dvi, but 
whatever tries to read the dvi (dvips?) doesn't. Does that sound right? 

Back off to google,

Dave



Re: Symbols for a figure key - adding a new font

2005-10-31 Thread David Wolfson
Paul,

Thanks for the reply - sorry not to get back to you sooner, I took the 
weeekend off!

Paul A. Rubin wrote:
> David Wolfson wrote:
> > I tried adding \usepackage{ifsym} in the preamamble,
>
> I think you need \usepackage[geometry]{ifsym} to get \FilledTriangleUp.

> > surprised to hear that I get another error:
> > LaTeX Error: File `ifsym.sty' not found.
>
> This would suggest that ifsym is not properly installed.  Did you (a)
> install it and (b) update your TeX file database?  If so, try 'kpsewhich
> ifsym.sty' from a shell to see if the system knows where to find it.
a) not that I'm aware of! I think this is what I really need some guidance on. 
Do I need to install it on the system, as part of Tex/LaTex/Lyx? Is there a 
'howto' out there I should look at?

b) again, a newbie Tex breakdown?

# kpsewhich ifsym.sty

gives no output :-|

> FWIW, I had no trouble installing ifsym (MiKTeX), and no problem
> compiling a LyX document containing \FilledTriangleUp (meaning it
> generated the DVI file), but Metafont choked trying to generate the
> necessary fonts.  It seems to think there is a syntax error in either
> ifgeo10.mf or (more likely) ifgeo.gen, which the former includes.
er - ok. I'll have to google some of the terms here, but I get the impression 
you saying it worked - nearly.

Cheers,

Dave

PS off to check the local library for The LaTeX Companion, I guess I have some 
reading to get up to speed



Re: Symbols for a figure key - adding a new font

2005-10-31 Thread David Wolfson
Paul,

> >>This would suggest that ifsym is not properly installed.  Did you (a)
> >>install it and (b) update your TeX file database?  If so, try 'kpsewhich
> >>ifsym.sty' from a shell to see if the system knows where to find it.
>
>
> > Is there a
> > 'howto' out there I should look at?
>
> Have a gander at
> http://groups.google.com/group/comp.text.tex/browse_thread/thread/74e0c7f14
>63c2800/63afac8d94f2a096%2363afac8d94f2a096?sa=X=groupsr=0=3
Thanks - I'll be bookmarking that group...

> The ifsym package should include a Postscript file named ifsym.ps, which
> is the manual (in German). 
ah. I've found the file OK, now to wait for the German speaking girlfriend to 
get home ;-)

> Section 2 explains where to store the 
> pieces, after which you have to rebuild the TeX file database (see the
> URL above).
I'll let you know how I get on,

Thanks,

Dave



Re: Symbols for a figure key - adding a new font

2005-10-31 Thread David Wolfson
OK, I've had some luck getting it installed, but working is another matter...

> > >>This would suggest that ifsym is not properly installed.  Did you (a)
> > >>install it and (b) update your TeX file database?  If so, try
> > >> 'kpsewhich ifsym.sty' from a shell to see if the system knows where to
> > >> find it.
I now get:
/usr/local/share/texmf/tex/latex/ifsym/ifsym.sty

> > Have a gander at
> > http://groups.google.com/group/comp.text.tex/browse_thread/thread/74e0c7f
> >14
> > 63c2800/63afac8d94f2a096%2363afac8d94f2a096?sa=X=groupsr=0=3
>
> Thanks - I'll be bookmarking that group...
I had a search through the group and found this:
http://groups.google.com/group/comp.text.tex/browse_thread/thread/3a3cf8a882c381f0/f95bb70317f65139?q=install+font=3#f95bb70317f65139

I followed the instructions on the URL in the above post to:
http://www.tug.org/pipermail/tugindia/2001-August/56.html

which were similar to the instructions in the .ps file you described. I ran 
texhash on a simple Tex file, and got an error:
kpathsea: Running mktexmf ifgeo10
! I can't find file `ifgeo10'.
<*> ...=ljfour; mag:=1; nonstopmode; input ifgeo10

so I ran:
mktexmf ifsysm

This appeared to generate a metafont file, which one placed in the texmf tree 
(and after another texhash) appeared to sort all the LaTex errors. I then 
included the package in a Lyx file preamble( \usepackage[geometry]{ifsym}), 
and \FilledTriangleUp in ERT and again this ran fine.

Unfortunately, the output was not as I'd hope. Instead of getting a triangle, 
I have an 'a' in the DVI, and nothing in pdf. This is the same processing 
through LyX or LaTeX on the command line.

Is this a similar problem to the one you described before?
>Metafont choked trying to generate the 
>necessary fonts.  It seems to think there is a syntax error in either 
>ifgeo10.mf or (more likely) ifgeo.gen, which the former includes.

Thanks for all the help. I've learnt a lot about installing a package now, but 
it would be nice if we could get it to work. Are there any more guru tips to 
get this going please?


Dave



Re: Symbols for a figure key - adding a new font

2005-10-31 Thread David Wolfson
I've just donr dome more p[oking and got a couple of updates.

> Unfortunately, the output was not as I'd hope. Instead of getting a
> triangle, I have an 'a' in the DVI, and nothing in pdf. This is the same
> processing through LyX or LaTeX on the command line.

This appears to be a problem with mktexpk, as if I look at the outputs from 
xdvi (rather than running it from gui), I get:
mktexpk: don't know how to create bitmap font for ifgeo10.
kpathsea: Appending font creation commands to missfont.log.
xdvi: Can't find font ifgeo10; using Type1 version of cmr10 instead.

So as I understand it LaTeX now understand ifsym ok and writes the dvi, but 
whatever tries to read the dvi (dvips?) doesn't. Does that sound right? 

Back off to google,

Dave



Symbols for a figure key - adding a new font

2005-10-27 Thread David Wolfson
Hi,

Through the wonders of wine, I've managed to get some figures from an old 
excel sheet added into a lyx file as floats, but need to add symbol 
definitions in the caption. I've found most of the symbols listed as part of 
the ifsym font in the 'comprehensive list of LATEX fonts' from CTAN, but 
can't get them to work. For example, I need a filled triangle but adding 
\FilledTriangleUp as ERT gives an error:

Undefined control sequence.
 \FilledTriangleUp

I tried adding \usepackage{ifsym} in the preamamble, and I guess you'll not be 
surprised to hear that I get another error:
LaTeX Error: File `ifsym.sty' not found.
 \usepackage
{babel}^^M
*** (cannot \read from terminal in nonstop modes)

So I'm guessing that I need to install another font. I've found ifsym at CTAN:
ftp://tug.ctan.org/pub/tex-archive/fonts/ifsym/

but have no idea what to do with it!

I've been looking round the archives/google/CTAN, and have found the rather 
intimidating (103 pages) of 'the font installation guide':
ftp://tug.ctan.org/pub/tex-archive/info/Type1fonts/fontinstallationguide/fontinstallationguide.pdf
 
and some information in the TEX FAQ:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instfont

which goes right over my head! Do I need to go through all this with Lyx, or 
can someone point me in the right direction please?

I'm using Lyx1.3.5 installed from rpm on mandrake10.1...

Thanks very much,

Dave



Symbols for a figure key - adding a new font

2005-10-27 Thread David Wolfson
Hi,

Through the wonders of wine, I've managed to get some figures from an old 
excel sheet added into a lyx file as floats, but need to add symbol 
definitions in the caption. I've found most of the symbols listed as part of 
the ifsym font in the 'comprehensive list of LATEX fonts' from CTAN, but 
can't get them to work. For example, I need a filled triangle but adding 
\FilledTriangleUp as ERT gives an error:

Undefined control sequence.
 \FilledTriangleUp

I tried adding \usepackage{ifsym} in the preamamble, and I guess you'll not be 
surprised to hear that I get another error:
LaTeX Error: File `ifsym.sty' not found.
 \usepackage
{babel}^^M
*** (cannot \read from terminal in nonstop modes)

So I'm guessing that I need to install another font. I've found ifsym at CTAN:
ftp://tug.ctan.org/pub/tex-archive/fonts/ifsym/

but have no idea what to do with it!

I've been looking round the archives/google/CTAN, and have found the rather 
intimidating (103 pages) of 'the font installation guide':
ftp://tug.ctan.org/pub/tex-archive/info/Type1fonts/fontinstallationguide/fontinstallationguide.pdf
 
and some information in the TEX FAQ:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instfont

which goes right over my head! Do I need to go through all this with Lyx, or 
can someone point me in the right direction please?

I'm using Lyx1.3.5 installed from rpm on mandrake10.1...

Thanks very much,

Dave



Symbols for a figure key - adding a new font

2005-10-27 Thread David Wolfson
Hi,

Through the wonders of wine, I've managed to get some figures from an old 
excel sheet added into a lyx file as floats, but need to add symbol 
definitions in the caption. I've found most of the symbols listed as part of 
the ifsym font in the 'comprehensive list of LATEX fonts' from CTAN, but 
can't get them to work. For example, I need a filled triangle but adding 
\FilledTriangleUp as ERT gives an error:

Undefined control sequence.
 \FilledTriangleUp

I tried adding \usepackage{ifsym} in the preamamble, and I guess you'll not be 
surprised to hear that I get another error:
LaTeX Error: File `ifsym.sty' not found.
 \usepackage
{babel}^^M
*** (cannot \read from terminal in nonstop modes)

So I'm guessing that I need to install another font. I've found ifsym at CTAN:
ftp://tug.ctan.org/pub/tex-archive/fonts/ifsym/

but have no idea what to do with it!

I've been looking round the archives/google/CTAN, and have found the rather 
intimidating (103 pages) of 'the font installation guide':
ftp://tug.ctan.org/pub/tex-archive/info/Type1fonts/fontinstallationguide/fontinstallationguide.pdf
 
and some information in the TEX FAQ:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instfont

which goes right over my head! Do I need to go through all this with Lyx, or 
can someone point me in the right direction please?

I'm using Lyx1.3.5 installed from rpm on mandrake10.1...

Thanks very much,

Dave



Re: lyx-code - date-insert

2005-10-14 Thread David Wolfson
Cheers for the reply Christian,

On Thursday 13 October 2005 18:50, [EMAIL PROTECTED] wrote:
  Anyway, the first of these problems is with inserting a date. I do the
  occasion print out and would like to include the current date when I do.

 Hang on... you actually want to have the current date in the printout???
 (One of the most frequent questions is how to *not* get the date:-)

My first response was 'really! the date gets put in anyway?' Then I tried the 
ERT you suggested and suddenly I get two dates... For now that's perfect, but 
I have a horrible feeling I'll be trawling the archives to find out how to 
get rid of it soon!

Thanks for guidance on my first foray into ERT,

Dave



Re: lyx-code - date-insert

2005-10-14 Thread David Wolfson
Cheers for the reply Christian,

On Thursday 13 October 2005 18:50, [EMAIL PROTECTED] wrote:
  Anyway, the first of these problems is with inserting a date. I do the
  occasion print out and would like to include the current date when I do.

 Hang on... you actually want to have the current date in the printout???
 (One of the most frequent questions is how to *not* get the date:-)

My first response was 'really! the date gets put in anyway?' Then I tried the 
ERT you suggested and suddenly I get two dates... For now that's perfect, but 
I have a horrible feeling I'll be trawling the archives to find out how to 
get rid of it soon!

Thanks for guidance on my first foray into ERT,

Dave



Re: lyx-code - date-insert

2005-10-14 Thread David Wolfson
Cheers for the reply Christian,

On Thursday 13 October 2005 18:50, [EMAIL PROTECTED] wrote:
> > Anyway, the first of these problems is with inserting a date. I do the
> > occasion print out and would like to include the current date when I do.
>
> Hang on... you actually want to have the current date in the printout???
> (One of the most frequent questions is how to *not* get the date:-)

My first response was 'really! the date gets put in anyway?' Then I tried the 
ERT you suggested and suddenly I get two dates... For now that's perfect, but 
I have a horrible feeling I'll be trawling the archives to find out how to 
get rid of it soon!

Thanks for guidance on my first foray into ERT,

Dave



lyx-code - date-insert

2005-10-13 Thread David Wolfson
hello lyx-list,

I've just subscribed having had a trawl through the wiki (but not found the 
answer to my problem), so  a quick intro seems in order. I'm currently trying 
to write up and engineering thesis in lyx, having migrated to linux for all 
but a few apps in the last couple of years. Having not had any trainning 
pre-se, I'm into ugly scripting hacks and a big fan of mailing lists (the 
local lug in nottingham is *very* active and really helpful). 

So far I seem to have got my various chapter documents interacting sensbily 
and a have been really impressed with the look of the documents (they're just 
laking text and that's my problem!). However, the more reading round I do and 
the closer to having to sort out final layout, the more I fear I'm going to 
have to start using ERT and the like, so I might be after some hint and tips 
to get going in the next couple of months...

Anyway, the first of these problems is with inserting a date. I do the 
occasion print out and would like to include the current date when I do . I 
found some of the lyx-codes described in the wiki, and by adding 
'date-insert' and formating as lyxCode I get the current date nicely in the 
page :-) However I then get a page with nothing but 'date-insert' after it!

Have I gone about this the right way? If so, how do I get rid of the actual 
lyx-code text?

I'm using Version 1.3.5 on madrake 10.1 community...

Thanks in advance for any help/advice,

Dave



lyx-code - date-insert

2005-10-13 Thread David Wolfson
hello lyx-list,

I've just subscribed having had a trawl through the wiki (but not found the 
answer to my problem), so  a quick intro seems in order. I'm currently trying 
to write up and engineering thesis in lyx, having migrated to linux for all 
but a few apps in the last couple of years. Having not had any trainning 
pre-se, I'm into ugly scripting hacks and a big fan of mailing lists (the 
local lug in nottingham is *very* active and really helpful). 

So far I seem to have got my various chapter documents interacting sensbily 
and a have been really impressed with the look of the documents (they're just 
laking text and that's my problem!). However, the more reading round I do and 
the closer to having to sort out final layout, the more I fear I'm going to 
have to start using ERT and the like, so I might be after some hint and tips 
to get going in the next couple of months...

Anyway, the first of these problems is with inserting a date. I do the 
occasion print out and would like to include the current date when I do . I 
found some of the lyx-codes described in the wiki, and by adding 
'date-insert' and formating as lyxCode I get the current date nicely in the 
page :-) However I then get a page with nothing but 'date-insert' after it!

Have I gone about this the right way? If so, how do I get rid of the actual 
lyx-code text?

I'm using Version 1.3.5 on madrake 10.1 community...

Thanks in advance for any help/advice,

Dave



lyx-code - date-insert

2005-10-13 Thread David Wolfson
hello lyx-list,

I've just subscribed having had a trawl through the wiki (but not found the 
answer to my problem), so  a quick intro seems in order. I'm currently trying 
to write up and engineering thesis in lyx, having migrated to linux for all 
but a few apps in the last couple of years. Having not had any trainning 
pre-se, I'm into ugly scripting hacks and a big fan of mailing lists (the 
local lug in nottingham is *very* active and really helpful). 

So far I seem to have got my various chapter documents interacting sensbily 
and a have been really impressed with the look of the documents (they're just 
laking text and that's my problem!). However, the more reading round I do and 
the closer to having to sort out final layout, the more I fear I'm going to 
have to start using ERT and the like, so I might be after some hint and tips 
to get going in the next couple of months...

Anyway, the first of these problems is with inserting a date. I do the 
occasion print out and would like to include the current date when I do . I 
found some of the lyx-codes described in the wiki, and by adding 
'date-insert' and formating as lyxCode I get the current date nicely in the 
page :-) However I then get a page with nothing but 'date-insert' after it!

Have I gone about this the right way? If so, how do I get rid of the actual 
lyx-code text?

I'm using Version 1.3.5 on madrake 10.1 community...

Thanks in advance for any help/advice,

Dave



Re: Printing problem

2004-10-08 Thread david wolfson
Thanks for the replys.
First off, I tried the 'hit the print button, not just enter' and had no 
luck. Would've been nice though...

Going into a bit more detail then.  When I hit print, the default 
printer is found ok, and its name is in the 'printer' box. However, when 
I hit the 'print' button, there's not a 'sending to print' progress bar; 
the menu just closes. To my mind this means it's not spooling (NB it's a 
network printer on another machine running CUPS, but works fine from 
other apps). 

The 'output, printer' section of the 'preferences' menu also displays 
the correct name for the default printer.  Adapt output is checked, and 
the printer command is 'dvips'.  The options look reasonable compared to 
those from the dvips man page (I'll list them below).  The only 
difference is the the spool command is 'lp' rather than 'lpr', but 
either of these options work from the command line, and neither option 
works when I change them.

One thing I have spotted is the a warning from dvips when I print from 
the command line:

$ dvips -f test.dvi -P HP2300
dvips: warning: no config file for `HP2300'
This is dvips(k) 5.86 Copyright 1999 Radical Eye Software 
(www.radicaleye.com)
' TeX output 2004.10.08:1016' - | lpr -PHP2300

I know nothing about dvips, other than that lyx wants to use it to 
control print output, so I maybe need to have a look at this if it's 
important...?

Let me know if there are any more details I can provide.  Is there a way 
to get a debug output from lyx?

Cheers,
Dave
prefs-output-printer options:
Printer name: HP2300
adapt output: checked
even pages: -B
odd pages: -A
Page range: -pp
collated: -C
Copies: -c
Landscape: -t landscape
Reverse: -r
to file: -o
to printer: -P
Extra options:
file extension: .ps
spool prefix: -d
spool command: lp
paper size: -T
Paper type: -t
This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


Re: Printing problem

2004-10-08 Thread david wolfson
I think I have solved this. I was using a rather aged version of tetex 
(1.0. something), but after some google bashing, managed to beat some 
version 2 rpms into working, and can now print. 

Can't help thinking I have some more learning to do though...
Next game is gbib, but that'll be a whole new thread!
Thanks for the help,
Dave
This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


Re: Printing problem

2004-10-08 Thread david wolfson
Thanks for the replys.
First off, I tried the 'hit the print button, not just enter' and had no 
luck. Would've been nice though...

Going into a bit more detail then.  When I hit print, the default 
printer is found ok, and its name is in the 'printer' box. However, when 
I hit the 'print' button, there's not a 'sending to print' progress bar; 
the menu just closes. To my mind this means it's not spooling (NB it's a 
network printer on another machine running CUPS, but works fine from 
other apps). 

The 'output, printer' section of the 'preferences' menu also displays 
the correct name for the default printer.  Adapt output is checked, and 
the printer command is 'dvips'.  The options look reasonable compared to 
those from the dvips man page (I'll list them below).  The only 
difference is the the spool command is 'lp' rather than 'lpr', but 
either of these options work from the command line, and neither option 
works when I change them.

One thing I have spotted is the a warning from dvips when I print from 
the command line:

$ dvips -f test.dvi -P HP2300
dvips: warning: no config file for `HP2300'
This is dvips(k) 5.86 Copyright 1999 Radical Eye Software 
(www.radicaleye.com)
' TeX output 2004.10.08:1016' - | lpr -PHP2300

I know nothing about dvips, other than that lyx wants to use it to 
control print output, so I maybe need to have a look at this if it's 
important...?

Let me know if there are any more details I can provide.  Is there a way 
to get a debug output from lyx?

Cheers,
Dave
prefs-output-printer options:
Printer name: HP2300
adapt output: checked
even pages: -B
odd pages: -A
Page range: -pp
collated: -C
Copies: -c
Landscape: -t landscape
Reverse: -r
to file: -o
to printer: -P
Extra options:
file extension: .ps
spool prefix: -d
spool command: lp
paper size: -T
Paper type: -t
This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


Re: Printing problem

2004-10-08 Thread david wolfson
I think I have solved this. I was using a rather aged version of tetex 
(1.0. something), but after some google bashing, managed to beat some 
version 2 rpms into working, and can now print. 

Can't help thinking I have some more learning to do though...
Next game is gbib, but that'll be a whole new thread!
Thanks for the help,
Dave
This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


Re: Printing problem

2004-10-08 Thread david wolfson
Thanks for the replys.
First off, I tried the 'hit the print button, not just enter' and had no 
luck. Would've been nice though...

Going into a bit more detail then.  When I hit print, the default 
printer is found ok, and its name is in the 'printer' box. However, when 
I hit the 'print' button, there's not a 'sending to print' progress bar; 
the menu just closes. To my mind this means it's not spooling (NB it's a 
network printer on another machine running CUPS, but works fine from 
other apps). 

The 'output, printer' section of the 'preferences' menu also displays 
the correct name for the default printer.  Adapt output is checked, and 
the printer command is 'dvips'.  The options look reasonable compared to 
those from the dvips man page (I'll list them below).  The only 
difference is the the spool command is 'lp' rather than 'lpr', but 
either of these options work from the command line, and neither option 
works when I change them.

One thing I have spotted is the a warning from dvips when I print from 
the command line:

$ dvips -f test.dvi -P HP2300
dvips: warning: no config file for `HP2300'
This is dvips(k) 5.86 Copyright 1999 Radical Eye Software 
(www.radicaleye.com)
' TeX output 2004.10.08:1016' -> | lpr -PHP2300

I know nothing about dvips, other than that lyx wants to use it to 
control print output, so I maybe need to have a look at this if it's 
important...?

Let me know if there are any more details I can provide.  Is there a way 
to get a debug output from lyx?

Cheers,
Dave
prefs-output-printer options:
Printer name: HP2300
adapt output: checked
even pages: -B
odd pages: -A
Page range: -pp
collated: -C
Copies: -c
Landscape: -t landscape
Reverse: -r
to file: -o
to printer: -P
Extra options:
file extension: .ps
spool prefix: -d
spool command: lp
paper size: -T
Paper type: -t
This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


Re: Printing problem

2004-10-08 Thread david wolfson
I think I have solved this. I was using a rather aged version of tetex 
(1.0. something), but after some google bashing, managed to beat some 
version 2 rpms into working, and can now print. 

Can't help thinking I have some more learning to do though...
Next game is gbib, but that'll be a whole new thread!
Thanks for the help,
Dave
This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


Printing problem

2004-10-07 Thread david wolfson
I've just migrated over to linux and no have to write a PhD thesis! LyX 
has been recomended to me, and having used it for a couple of documents, 
I think I am convinced.  BUT  I have one real problem; I can't get it to 
print.

I'm able to print to a .ps file, which I can then print out with an 'lpr'.
I can also export a .dvi that I can print with the 'dvips' command.
I can't print straight from lyx.
The help pages in the lyx version I've got aren't the most helpful 
(along the lines of 'well printing should be ok, and anyway, this is a 
lyx help, not a printing manual!'), and as everything seems to work 
independantly I'm inclined to think lyx isn't telling dvips/lpr the 
right things...

I'm using version 1.3.2 on redhat 9.
Any ideas gratefully recieved,
Dave
This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


Printing problem

2004-10-07 Thread david wolfson
I've just migrated over to linux and no have to write a PhD thesis! LyX 
has been recomended to me, and having used it for a couple of documents, 
I think I am convinced.  BUT  I have one real problem; I can't get it to 
print.

I'm able to print to a .ps file, which I can then print out with an 'lpr'.
I can also export a .dvi that I can print with the 'dvips' command.
I can't print straight from lyx.
The help pages in the lyx version I've got aren't the most helpful 
(along the lines of 'well printing should be ok, and anyway, this is a 
lyx help, not a printing manual!'), and as everything seems to work 
independantly I'm inclined to think lyx isn't telling dvips/lpr the 
right things...

I'm using version 1.3.2 on redhat 9.
Any ideas gratefully recieved,
Dave
This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


Printing problem

2004-10-07 Thread david wolfson
I've just migrated over to linux and no have to write a PhD thesis! LyX 
has been recomended to me, and having used it for a couple of documents, 
I think I am convinced.  BUT  I have one real problem; I can't get it to 
print.

I'm able to print to a .ps file, which I can then print out with an 'lpr'.
I can also export a .dvi that I can print with the 'dvips' command.
I can't print straight from lyx.
The help pages in the lyx version I've got aren't the most helpful 
(along the lines of 'well printing should be ok, and anyway, this is a 
lyx help, not a printing manual!'), and as everything seems to work 
independantly I'm inclined to think lyx isn't telling dvips/lpr the 
right things...

I'm using version 1.3.2 on redhat 9.
Any ideas gratefully recieved,
Dave
This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.