Re: Landscape document..........

2016-07-16 Thread Stephen GEORGE

Hi All,


On 17/07/16 08:41, Charlie wrote:

On Sat, 16 Jul 2016 19:48:28 + (UTC) "Paul A.Rubin ru...@msu.edu"
informed me of this:

> Charlie  ipstarmail.com.au> writes:

With a full page picture, landscape the picture goes out past the
right page, with the text landscape it actually pulls it
into the portrait boundary?
I may be of only limited help here. I couldn't open the PDF file
(Evince doesn't believe it's a PDF, and unfortunately I don't
have Acrobat Reader on the machine I'm using). I could open
the LyX file, but had to comment out the line loading the
tgbonoum package (which I don't have). Hopefully that doesn't
affect anything.

With that done, I could compile the test document (I used a couple of
different formats). It came out the way it was supposed to, but that
may not be the way you intended. You specified a custom size
of 17.78 cm height and 22.86 cm width. That defines a page
that is wider than it is tall. You also picked landscape
mode, which means the output should be 22.86 cm high and
17.78 cm wide (taller than wide), which the output was.

If you're trying to get output that's wider than tall, then either
specify a wide page size in portrait mode OR a narrow page
size in landscape mode, but not both.

The text did not run off the page for me, but it ran right up to the
edge of the page, consistent with your specifying zero
margins on all sides.

Paul

Wow!

I just checked the document and it was 17.78 cm height and 22.86 cm
wide. Not the other way round.

But you reckon it was 22.86 cm hight and 17.78 wide which would be
portrait? That's weird.

Maybe others might quickly look at that document and inform me that
they see what you see as well. That would mean my system LyX is really
wrong and it may have to be purged and reinstalled?

I did specify landscape, but I suppose you saw that when you looked in
the Document->settings->Page format->orientation

Well there you go. I wouldn't use adobe acrobat reader fortunately. But
I might test it with that on a friends machine.

Thanks for your input.

Stay well,
Charlie

I was able to open the pdf file using evince 3.18.2, to me it was 
portrait orientation text wrapping at page boundaries.
My version of lyx is too old to open the .lyx file, .. so opened it with 
a text editor and found.


\paperorientation landscape

\paperwidth 22.86cm
\paperheight 17.78cm

So Paul if I read your reply correctly  you are suggesting in landscape 
mode the \paperwidth attribute defines how tall the page is and the 
\paperheight attribute indicates how wide the page is and the source of 
the problem?.


So if I may ask
   1)  \paperwidth & \paperheight define the page as the printer sees it?
   2)  and landscape and portrait defines to latex how to print the 
text on that page?


... curious

Steve



Re: Question #2: Printed results from LyX

2013-08-30 Thread Stephen George

On 30/08/2013 1:49 PM, Ken Springer wrote:

On 8/29/13 8:08 PM, Steve Litt wrote:

When doing stochastic screening, the ideal is to screen at the same 
dpi as the final printing device.  Next best is an even multiple.  
I.E. screen at 300 dpi for printing on a 600 dpi printer.  You also 
have to decide on the finished physical size of the graphic before you 
start.


I used to use the regular graphic in all the drafts.  When I was 
satisfied with everything, then I applied the stochastic screen.



I just searched Inscape+stochastic screening and got a bunch of
useless stuff including an anti-Obama site (what, how'd Google do
that?). Then I did the same thing for LaTeX, nothing ontopic for us.
Same thing with Computer monitors. One site said most inkjet printers
use stochastic screening.


I suspect all home printers and laser printers now have some kind of 
stochastic screening routines in their printer drivers.  But, I've not 
tested the idea.




An interesting discussion, but a question about Stochastic screening 
from someone who has only just heard of it.


Is this screening  something done at print driver level, and not a 
screen applied to the graphic itself prior to importing? ... therefore 
the same pdf file could be printed both with and without stochastic 
screening if the printer/driver support it?


Steve


Re: Question #2: Printed results from LyX

2013-08-30 Thread Stephen George

On 30/08/2013 1:49 PM, Ken Springer wrote:

On 8/29/13 8:08 PM, Steve Litt wrote:

When doing stochastic screening, the ideal is to screen at the same 
dpi as the final printing device.  Next best is an even multiple.  
I.E. screen at 300 dpi for printing on a 600 dpi printer.  You also 
have to decide on the finished physical size of the graphic before you 
start.


I used to use the regular graphic in all the drafts.  When I was 
satisfied with everything, then I applied the stochastic screen.



I just searched Inscape+stochastic screening and got a bunch of
useless stuff including an anti-Obama site (what, how'd Google do
that?). Then I did the same thing for LaTeX, nothing ontopic for us.
Same thing with Computer monitors. One site said most inkjet printers
use stochastic screening.


I suspect all home printers and laser printers now have some kind of 
stochastic screening routines in their printer drivers.  But, I've not 
tested the idea.




An interesting discussion, but a question about Stochastic screening 
from someone who has only just heard of it.


Is this screening  something done at print driver level, and not a 
screen applied to the graphic itself prior to importing? ... therefore 
the same pdf file could be printed both with and without stochastic 
screening if the printer/driver support it?


Steve


Re: Question #2: Printed results from LyX

2013-08-30 Thread Stephen George

On 30/08/2013 1:49 PM, Ken Springer wrote:

On 8/29/13 8:08 PM, Steve Litt wrote:

When doing stochastic screening, the ideal is to screen at the same 
dpi as the final printing device.  Next best is an even multiple.  
I.E. screen at 300 dpi for printing on a 600 dpi printer.  You also 
have to decide on the finished physical size of the graphic before you 
start.


I used to use the regular graphic in all the drafts.  When I was 
satisfied with everything, then I applied the stochastic screen.



I just searched Inscape+"stochastic screening" and got a bunch of
useless stuff including an anti-Obama site (what, how'd Google do
that?). Then I did the same thing for LaTeX, nothing ontopic for us.
Same thing with "Computer monitors". One site said most inkjet printers
use stochastic screening.


I suspect all home printers and laser printers now have some kind of 
stochastic screening routines in their printer drivers.  But, I've not 
tested the idea.




An interesting discussion, but a question about Stochastic screening 
from someone who has only just heard of it.


Is this screening  something done at print driver level, and not a 
screen applied to the graphic itself prior to importing? ... therefore 
the same pdf file could be printed both with and without stochastic 
screening if the printer/driver support it?


Steve


Re: Anyone know of a best-seller written in LyX

2013-06-11 Thread Stephen George

On 12/06/2013 1:02 AM, Dr Eberhard Lisse wrote:

of course he's right, but then he can google what DILLIGAF stands
for :-)-O

No he can't, with comments like
/open source programs have great appeal for people who want to tinker 
with computers but almost none for those who actually want to do 
something./


He would not be able to use Google as it is running open source 
programs, and he wouldn't use it as it's against his principles.

http://en.wikipedia.org/wiki/Google_platform
///Servers are //commodity-class 
http://en.wikipedia.org/wiki/Commodity_computingx86 
http://en.wikipedia.org/wiki/X86PCs 
http://en.wikipedia.org/wiki/Personal_computer//running customized 
versions of //Linux http://en.wikipedia.org/wiki/Linux//./


Further to that, finding a book with good amazon ranking would also be 
useless, as Amazon is also running open source, so he also would NOT use 
that service.

http://news.cnet.com/2100-1001-275155.html

In fact he probably doesn't do much web surfing with the open source 
Apache dominating the HTTP internet server market

http://en.wikipedia.org/wiki/Apache_HTTP_Server
/Since April 1996 Apache has been the most popular HTTP server software 
in use. As of December 2012 Apache was estimated to serve 63.7% of all 
active //websites http://en.wikipedia.org/wiki/Website//and 58.49% of 
the top servers across all domains//

/
There is a big chance the writers forum were he made those comments is 
also powered by an open source program.


Sorry for the outburst, I just can't believe how polarised some people 
are against open source programs.
Personally I dont think you should feed him with fuel, just let it drop 
and continue on with your own life using the programs you enjoy, I dont 
think you have anything to prove. (but I do understand the sense of 
outrage after hearing the comments)


Steve



Re: Anyone know of a best-seller written in LyX

2013-06-11 Thread Stephen George

On 12/06/2013 1:02 AM, Dr Eberhard Lisse wrote:

of course he's right, but then he can google what DILLIGAF stands
for :-)-O

No he can't, with comments like
/open source programs have great appeal for people who want to tinker 
with computers but almost none for those who actually want to do 
something./


He would not be able to use Google as it is running open source 
programs, and he wouldn't use it as it's against his principles.

http://en.wikipedia.org/wiki/Google_platform
///Servers are //commodity-class 
http://en.wikipedia.org/wiki/Commodity_computingx86 
http://en.wikipedia.org/wiki/X86PCs 
http://en.wikipedia.org/wiki/Personal_computer//running customized 
versions of //Linux http://en.wikipedia.org/wiki/Linux//./


Further to that, finding a book with good amazon ranking would also be 
useless, as Amazon is also running open source, so he also would NOT use 
that service.

http://news.cnet.com/2100-1001-275155.html

In fact he probably doesn't do much web surfing with the open source 
Apache dominating the HTTP internet server market

http://en.wikipedia.org/wiki/Apache_HTTP_Server
/Since April 1996 Apache has been the most popular HTTP server software 
in use. As of December 2012 Apache was estimated to serve 63.7% of all 
active //websites http://en.wikipedia.org/wiki/Website//and 58.49% of 
the top servers across all domains//

/
There is a big chance the writers forum were he made those comments is 
also powered by an open source program.


Sorry for the outburst, I just can't believe how polarised some people 
are against open source programs.
Personally I dont think you should feed him with fuel, just let it drop 
and continue on with your own life using the programs you enjoy, I dont 
think you have anything to prove. (but I do understand the sense of 
outrage after hearing the comments)


Steve



Re: Anyone know of a best-seller written in LyX

2013-06-11 Thread Stephen George

On 12/06/2013 1:02 AM, Dr Eberhard Lisse wrote:

of course he's right, but then he can google what DILLIGAF stands
for :-)-O

No he can't, with comments like
/"open source programs have great appeal for people who want to tinker 
with computers but almost none for those who actually want to do 
something."/


He would not be able to use Google as it is running open source 
programs, and he wouldn't use it as it's against his principles.

http://en.wikipedia.org/wiki/Google_platform
/"//Servers are //commodity-class 
x86 
PCs 
//running customized 
versions of //Linux //."/


Further to that, finding a book with good amazon ranking would also be 
useless, as Amazon is also running open source, so he also would NOT use 
that service.

http://news.cnet.com/2100-1001-275155.html

In fact he probably doesn't do much web surfing with the open source 
Apache dominating the HTTP internet server market

http://en.wikipedia.org/wiki/Apache_HTTP_Server
/"Since April 1996 Apache has been the most popular HTTP server software 
in use. As of December 2012 Apache was estimated to serve 63.7% of all 
active //websites //and 58.49% of 
the top servers across all domains"//

/
There is a big chance the writers forum were he made those comments is 
also powered by an open source program.


Sorry for the outburst, I just can't believe how polarised some people 
are against open source programs.
Personally I dont think you should feed him with fuel, just let it drop 
and continue on with your own life using the programs you enjoy, I dont 
think you have anything to prove. (but I do understand the sense of 
outrage after hearing the comments)


Steve



Re: Problems with Windows installation [solved]

2013-02-06 Thread Stephen George

Hi Les,


On 7/02/2013 2:49 AM, Les Denham wrote:

Yesterday I had a friend call me for advice on a Windows XP
installation of Lyx. He had been using LyX for several years without
any problems, and had just updated to 2.0.5.1. Now he could work in
LyX, but could not generate a PDF output. He is running Windows XP on a
netbook.

Had a similar problem myself just recently.
Had an installation of MikTex/Lyx on my Win7 computer at work.
Had
Lyx 2.0.3-1
MikTex 2.9.4407 (from March last year)

Worked fine in converting my Lyx documents into pdf's

Upgraded both MikTex and Lyx
Lyx 2.0.5.1
MikTex -  updated packages only (something I hadn't done in a while)

Now I could not create pdf's
Seemed to be getting errors that some packages where not installed - but 
everything was working before?

I re-checked that the packages were up to date in MikTex.
Then I checked the settings on MikTex, and I had the setting
Install-Missing-packages-on-fly set for YES

But still I could not generate pdf's, .. recheck Lyx function 
Tools-Reconfigure

   restart Lyx app - no pdf's
   restart PC - no pdf's


So I tried another file (the User's Guide, doc/UserGuide.lyx). This
also worked without any errors, but I observed that before generating
the PDF MikTeX downloaded some additional packages.


Dont know why but I changed MikTex setting
Install-Missing-packages-on-fly set to ASK-ME-FIRST

Next time I tried to generate a pdf, dialogs boxes started popping up 
asking if to install package, . of course I answered yes.

I guess there was about 5~10 packages installed, then my pdf came out.

Can generate all my lyx files on that PC now.

I am left to speculate what happened, and why automatic and prompted 
updates on fly behaved differently. My only thought was being a work PC 
they have security policies that may have somehow interfered.
Also why did I all of a sudden I need new packages without changing 
anything in my Lyx files, was that because of new dependencies during 
the MikTex update or did the new version of Lyx require the new packages?


Since you found a different work around for what seemed like a similar 
problem (not downloading missing packages properly), I thought I share 
my experience.


Steve


Re: Problems with Windows installation [solved]

2013-02-06 Thread Stephen George

Hi Les,


On 7/02/2013 2:49 AM, Les Denham wrote:

Yesterday I had a friend call me for advice on a Windows XP
installation of Lyx. He had been using LyX for several years without
any problems, and had just updated to 2.0.5.1. Now he could work in
LyX, but could not generate a PDF output. He is running Windows XP on a
netbook.

Had a similar problem myself just recently.
Had an installation of MikTex/Lyx on my Win7 computer at work.
Had
Lyx 2.0.3-1
MikTex 2.9.4407 (from March last year)

Worked fine in converting my Lyx documents into pdf's

Upgraded both MikTex and Lyx
Lyx 2.0.5.1
MikTex -  updated packages only (something I hadn't done in a while)

Now I could not create pdf's
Seemed to be getting errors that some packages where not installed - but 
everything was working before?

I re-checked that the packages were up to date in MikTex.
Then I checked the settings on MikTex, and I had the setting
Install-Missing-packages-on-fly set for YES

But still I could not generate pdf's, .. recheck Lyx function 
Tools-Reconfigure

   restart Lyx app - no pdf's
   restart PC - no pdf's


So I tried another file (the User's Guide, doc/UserGuide.lyx). This
also worked without any errors, but I observed that before generating
the PDF MikTeX downloaded some additional packages.


Dont know why but I changed MikTex setting
Install-Missing-packages-on-fly set to ASK-ME-FIRST

Next time I tried to generate a pdf, dialogs boxes started popping up 
asking if to install package, . of course I answered yes.

I guess there was about 5~10 packages installed, then my pdf came out.

Can generate all my lyx files on that PC now.

I am left to speculate what happened, and why automatic and prompted 
updates on fly behaved differently. My only thought was being a work PC 
they have security policies that may have somehow interfered.
Also why did I all of a sudden I need new packages without changing 
anything in my Lyx files, was that because of new dependencies during 
the MikTex update or did the new version of Lyx require the new packages?


Since you found a different work around for what seemed like a similar 
problem (not downloading missing packages properly), I thought I share 
my experience.


Steve


Re: Problems with Windows installation [solved]

2013-02-06 Thread Stephen George

Hi Les,


On 7/02/2013 2:49 AM, Les Denham wrote:

Yesterday I had a friend call me for advice on a Windows XP
installation of Lyx. He had been using LyX for several years without
any problems, and had just updated to 2.0.5.1. Now he could work in
LyX, but could not generate a PDF output. He is running Windows XP on a
netbook.

Had a similar problem myself just recently.
Had an installation of MikTex/Lyx on my Win7 computer at work.
Had
Lyx 2.0.3-1
MikTex 2.9.4407 (from March last year)

Worked fine in converting my Lyx documents into pdf's

Upgraded both MikTex and Lyx
Lyx 2.0.5.1
MikTex -  updated packages only (something I hadn't done in a while)

Now I could not create pdf's
Seemed to be getting errors that some packages where not installed - but 
everything was working before?

I re-checked that the packages were up to date in MikTex.
Then I checked the settings on MikTex, and I had the setting
Install-Missing-packages-on-fly set for YES

But still I could not generate pdf's, .. recheck Lyx function 
Tools->Reconfigure

   restart Lyx app - no pdf's
   restart PC - no pdf's


So I tried another file (the User's Guide, doc/UserGuide.lyx). This
also worked without any errors, but I observed that before generating
the PDF MikTeX downloaded some additional packages.


Dont know why but I changed MikTex setting
Install-Missing-packages-on-fly set to ASK-ME-FIRST

Next time I tried to generate a pdf, dialogs boxes started popping up 
asking if to install package, . of course I answered yes.

I guess there was about 5~10 packages installed, then my pdf came out.

Can generate all my lyx files on that PC now.

I am left to speculate what happened, and why automatic and prompted 
updates on fly behaved differently. My only thought was being a work PC 
they have security policies that may have somehow interfered.
Also why did I all of a sudden I need new packages without changing 
anything in my Lyx files, was that because of new dependencies during 
the MikTex update or did the new version of Lyx require the new packages?


Since you found a different work around for what seemed like a similar 
problem (not downloading missing packages properly), I thought I share 
my experience.


Steve


Re: Lyx file format ?

2011-07-13 Thread Stephen George

On 13/07/2011 12:31 PM, steve_...@optusnet.com.au wrote:


Hi,

I am wondering if it is conceivable to generate (with a script) Lyx files, that 
can be later opened in Lyx to perform final editing/touch-ups before generating 
my final book?

Is their some documentation on the Lyx file format somewhere?
Will the Lyx format be easier or harder to manage than dealing directly with 
Latex format?

Thanks
Steve


Thanks everyone for the great hints.

A couple of you asked what I intend to do (how complicated).

I'll be dragging data from a data base populated with genealogy data. 
It's not fully formulated in my mind yet, but I see:

-  for each person a new section
- sub sections for various details of the person (marriages, children, 
notes etc)

- maybe a table to summarize  various details of a person (life events)
- possibly the inclusion of a picture if the records contains a picture.

I was considering targeting Lyx as the generated files rather than 
Latex, as I will need to tweak the data, and potentially add more 
details, introductions, explanations etc. that are not included in the 
data base. I was wanting to use the pull from the data base as a 
starting base to which I need to do more work.
As pointed out by Trevor I could import Latex files to lyx, this is 
under consideration but I would still need to generate the Latex files. 
In the mean time I've been playing around with the lyx2lyx python code 
and created a simple class that can write basic lyx files, I might try 
and push this a bit more and see if I can get the elements of lyx that 
I'll need to use to work.


Thanks again to everyone for the suggestions
Steve



Re: Lyx file format ?

2011-07-13 Thread Stephen George

On 13/07/2011 12:31 PM, steve_...@optusnet.com.au wrote:


Hi,

I am wondering if it is conceivable to generate (with a script) Lyx files, that 
can be later opened in Lyx to perform final editing/touch-ups before generating 
my final book?

Is their some documentation on the Lyx file format somewhere?
Will the Lyx format be easier or harder to manage than dealing directly with 
Latex format?

Thanks
Steve


Thanks everyone for the great hints.

A couple of you asked what I intend to do (how complicated).

I'll be dragging data from a data base populated with genealogy data. 
It's not fully formulated in my mind yet, but I see:

-  for each person a new section
- sub sections for various details of the person (marriages, children, 
notes etc)

- maybe a table to summarize  various details of a person (life events)
- possibly the inclusion of a picture if the records contains a picture.

I was considering targeting Lyx as the generated files rather than 
Latex, as I will need to tweak the data, and potentially add more 
details, introductions, explanations etc. that are not included in the 
data base. I was wanting to use the pull from the data base as a 
starting base to which I need to do more work.
As pointed out by Trevor I could import Latex files to lyx, this is 
under consideration but I would still need to generate the Latex files. 
In the mean time I've been playing around with the lyx2lyx python code 
and created a simple class that can write basic lyx files, I might try 
and push this a bit more and see if I can get the elements of lyx that 
I'll need to use to work.


Thanks again to everyone for the suggestions
Steve



Re: Lyx file format ?

2011-07-13 Thread Stephen George

On 13/07/2011 12:31 PM, steve_...@optusnet.com.au wrote:


Hi,

I am wondering if it is conceivable to generate (with a script) Lyx files, that 
can be later opened in Lyx to perform final editing/touch-ups before generating 
my final book?

Is their some documentation on the Lyx file format somewhere?
Will the Lyx format be easier or harder to manage than dealing directly with 
Latex format?

Thanks
Steve


Thanks everyone for the great hints.

A couple of you asked what I intend to do (how complicated).

I'll be dragging data from a data base populated with genealogy data. 
It's not fully formulated in my mind yet, but I see:

-  for each person a new section
- sub sections for various details of the person (marriages, children, 
notes etc)

- maybe a table to summarize  various details of a person (life events)
- possibly the inclusion of a picture if the records contains a picture.

I was considering targeting Lyx as the generated files rather than 
Latex, as I will need to tweak the data, and potentially add more 
details, introductions, explanations etc. that are not included in the 
data base. I was wanting to use the pull from the data base as a 
starting base to which I need to do more work.
As pointed out by Trevor I could import Latex files to lyx, this is 
under consideration but I would still need to generate the Latex files. 
In the mean time I've been playing around with the lyx2lyx python code 
and created a simple class that can write basic lyx files, I might try 
and push this a bit more and see if I can get the elements of lyx that 
I'll need to use to work.


Thanks again to everyone for the suggestions
Steve



Tufte book layout - title ?

2010-02-12 Thread Stephen George


Hi,

I'm a newbie to Lyx, and was playing with the Tufte book class.

I'm a little confused,
I downloaded Lyx Example File from 
http://wiki.lyx.org/Layouts/Tufte-book#toc1


When I try to create a pdf of the example file, I got an error about the 
title (using windows and Lyx 1..6.5)

(LaTeX Error: Can be used only in preamble.)
\title{Tufte Examples}

Your command was ignored.

Type I command return to replace it with another command,

or return to continue without it.


When I download and try to build the pdf using Debian, the build works 
fine, and has the title in the resultant pdf.



I am guessing my miktex install is missing some package.


So my question, is how do I work out what package is missing for a lyx 
file, so I can install it.

note: my miktex _IS_ setup to install missing packages on the fly.


Any idea why my lyx (on windows) doesn't accept the title as valid ?

Thanks

- Steve



Re: Tufte book layout - title ?

2010-02-12 Thread Stephen George

Thankyou Uwe and Rob for your replies.

I feel a bit more at ease to know it is a known problem.

I did the MikTex update as Uwe suggested. Unfortunatly it didn't help. 
(I didn't see any Tufte in the download list)
I then download the zip file from code.google tufte-latex-3.5.0.zip - 
the files in the zip were the same as the MikTek installation - still no 
good.


I then got the latest from the SVN repro (revision 144) copied into the 
MikTex directory, and finally success - my windows could compile the 
example file to a .pdf  Title and all.



My last question, .. Is it OK to copy files into the MikTeK directory 
like that, and they wont interfere with subsequent updates I might run 
on MikTek in the future, what risks do I run by leaving it this way?.


Thanks for the help
- Steve


Rob Oakes wrote:

Hi Stephen,

You may need to get the most recent version from the tufte-latex source code
repository.  I'm not sure that the MikTeX version has been updated
(http://code.google.com/p/tufte-latex/).  Also, the issue still persists
when compiling documents with xelatex.

For xelatex users, the problem can be circumvented by using the nols
option.  But this requires that you manually set up letterspacing and fonts
using \fontspec.  It also messes up the all-caps styling of headers and
footers.

The best bet might be to downgrade to the 3.0 version.  It also has a couple
of bugs (most obnoxious being screwed up figure numbering), but it is much
less temperamental.  


Just my two cents, though.

Rob

-Original Message-
From: Stephen George [mailto:steve_...@optusnet.com.au] 
Sent: Friday, February 12, 2010 2:37 AM

To: lyx
Subject: Tufte book layout - title ?


Hi,

I'm a newbie to Lyx, and was playing with the Tufte book class.

I'm a little confused,
I downloaded Lyx Example File from
http://wiki.lyx.org/Layouts/Tufte-book#toc1

When I try to create a pdf of the example file, I got an error about the
title (using windows and Lyx 1..6.5) (LaTeX Error: Can be used only in
preamble.) \title{Tufte Examples}

Your command was ignored.

Type I command return to replace it with another command,

or return to continue without it.


When I download and try to build the pdf using Debian, the build works fine,
and has the title in the resultant pdf.


I am guessing my miktex install is missing some package.


So my question, is how do I work out what package is missing for a lyx 
file, so I can install it.

 note: my miktex _IS_ setup to install missing packages on the fly.


Any idea why my lyx (on windows) doesn't accept the title as valid ?

Thanks

- Steve

  




No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.435 / Virus Database: 271.1.1/2682 - Release Date: 02/11/10 16:09:00


  




Tufte book layout - title ?

2010-02-12 Thread Stephen George


Hi,

I'm a newbie to Lyx, and was playing with the Tufte book class.

I'm a little confused,
I downloaded Lyx Example File from 
http://wiki.lyx.org/Layouts/Tufte-book#toc1


When I try to create a pdf of the example file, I got an error about the 
title (using windows and Lyx 1..6.5)

(LaTeX Error: Can be used only in preamble.)
\title{Tufte Examples}

Your command was ignored.

Type I command return to replace it with another command,

or return to continue without it.


When I download and try to build the pdf using Debian, the build works 
fine, and has the title in the resultant pdf.



I am guessing my miktex install is missing some package.


So my question, is how do I work out what package is missing for a lyx 
file, so I can install it.

note: my miktex _IS_ setup to install missing packages on the fly.


Any idea why my lyx (on windows) doesn't accept the title as valid ?

Thanks

- Steve



Re: Tufte book layout - title ?

2010-02-12 Thread Stephen George

Thankyou Uwe and Rob for your replies.

I feel a bit more at ease to know it is a known problem.

I did the MikTex update as Uwe suggested. Unfortunatly it didn't help. 
(I didn't see any Tufte in the download list)
I then download the zip file from code.google tufte-latex-3.5.0.zip - 
the files in the zip were the same as the MikTek installation - still no 
good.


I then got the latest from the SVN repro (revision 144) copied into the 
MikTex directory, and finally success - my windows could compile the 
example file to a .pdf  Title and all.



My last question, .. Is it OK to copy files into the MikTeK directory 
like that, and they wont interfere with subsequent updates I might run 
on MikTek in the future, what risks do I run by leaving it this way?.


Thanks for the help
- Steve


Rob Oakes wrote:

Hi Stephen,

You may need to get the most recent version from the tufte-latex source code
repository.  I'm not sure that the MikTeX version has been updated
(http://code.google.com/p/tufte-latex/).  Also, the issue still persists
when compiling documents with xelatex.

For xelatex users, the problem can be circumvented by using the nols
option.  But this requires that you manually set up letterspacing and fonts
using \fontspec.  It also messes up the all-caps styling of headers and
footers.

The best bet might be to downgrade to the 3.0 version.  It also has a couple
of bugs (most obnoxious being screwed up figure numbering), but it is much
less temperamental.  


Just my two cents, though.

Rob

-Original Message-
From: Stephen George [mailto:steve_...@optusnet.com.au] 
Sent: Friday, February 12, 2010 2:37 AM

To: lyx
Subject: Tufte book layout - title ?


Hi,

I'm a newbie to Lyx, and was playing with the Tufte book class.

I'm a little confused,
I downloaded Lyx Example File from
http://wiki.lyx.org/Layouts/Tufte-book#toc1

When I try to create a pdf of the example file, I got an error about the
title (using windows and Lyx 1..6.5) (LaTeX Error: Can be used only in
preamble.) \title{Tufte Examples}

Your command was ignored.

Type I command return to replace it with another command,

or return to continue without it.


When I download and try to build the pdf using Debian, the build works fine,
and has the title in the resultant pdf.


I am guessing my miktex install is missing some package.


So my question, is how do I work out what package is missing for a lyx 
file, so I can install it.

 note: my miktex _IS_ setup to install missing packages on the fly.


Any idea why my lyx (on windows) doesn't accept the title as valid ?

Thanks

- Steve

  




No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.435 / Virus Database: 271.1.1/2682 - Release Date: 02/11/10 16:09:00


  




Tufte book layout - title ?

2010-02-12 Thread Stephen George


Hi,

I'm a newbie to Lyx, and was playing with the Tufte book class.

I'm a little confused,
I downloaded Lyx Example File from 
http://wiki.lyx.org/Layouts/Tufte-book#toc1


When I try to create a pdf of the example file, I got an error about the 
title (using windows and Lyx 1..6.5)

(LaTeX Error: Can be used only in preamble.)
\title{Tufte Examples}

Your command was ignored.

Type I   to replace it with another command,

or  to continue without it.


When I download and try to build the pdf using Debian, the build works 
fine, and has the title in the resultant pdf.



I am guessing my miktex install is missing some package.


So my question, is how do I work out what package is missing for a lyx 
file, so I can install it.

note: my miktex _IS_ setup to install missing packages on the fly.


Any idea why my lyx (on windows) doesn't accept the title as valid ?

Thanks

- Steve



Re: Tufte book layout - title ?

2010-02-12 Thread Stephen George

Thankyou Uwe and Rob for your replies.

I feel a bit more at ease to know it is a known problem.

I did the MikTex update as Uwe suggested. Unfortunatly it didn't help. 
(I didn't see any Tufte in the download list)
I then download the zip file from code.google tufte-latex-3.5.0.zip - 
the files in the zip were the same as the MikTek installation - still no 
good.


I then got the latest from the SVN repro (revision 144) copied into the 
MikTex directory, and finally success - my windows could compile the 
example file to a .pdf  Title and all.



My last question, .. Is it OK to copy files into the MikTeK directory 
like that, and they wont interfere with subsequent updates I might run 
on MikTek in the future, what risks do I run by leaving it this way?.


Thanks for the help
- Steve


Rob Oakes wrote:

Hi Stephen,

You may need to get the most recent version from the tufte-latex source code
repository.  I'm not sure that the MikTeX version has been updated
(http://code.google.com/p/tufte-latex/).  Also, the issue still persists
when compiling documents with xelatex.

For xelatex users, the problem can be circumvented by using the "nols"
option.  But this requires that you manually set up letterspacing and fonts
using \fontspec.  It also messes up the all-caps styling of headers and
footers.

The best bet might be to downgrade to the 3.0 version.  It also has a couple
of bugs (most obnoxious being screwed up figure numbering), but it is much
less temperamental.  


Just my two cents, though.

Rob

-Original Message-----
From: Stephen George [mailto:steve_...@optusnet.com.au] 
Sent: Friday, February 12, 2010 2:37 AM

To: lyx
Subject: Tufte book layout - title ?


Hi,

I'm a newbie to Lyx, and was playing with the Tufte book class.

I'm a little confused,
I downloaded Lyx Example File from
http://wiki.lyx.org/Layouts/Tufte-book#toc1

When I try to create a pdf of the example file, I got an error about the
title (using windows and Lyx 1..6.5) (LaTeX Error: Can be used only in
preamble.) \title{Tufte Examples}

Your command was ignored.

Type I   to replace it with another command,

or  to continue without it.


When I download and try to build the pdf using Debian, the build works fine,
and has the title in the resultant pdf.


I am guessing my miktex install is missing some package.


So my question, is how do I work out what package is missing for a lyx 
file, so I can install it.

 note: my miktex _IS_ setup to install missing packages on the fly.


Any idea why my lyx (on windows) doesn't accept the title as valid ?

Thanks

- Steve

  




No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.435 / Virus Database: 271.1.1/2682 - Release Date: 02/11/10 16:09:00


  




Multiple files for book

2010-01-05 Thread Stephen George


Hi,

I'm a new comer to Lyx, and reading some of the tute and skim reading 
topics of interest the rest.


I'm still left with a question. (hope I didn't miss it)

If creating a book with a couple hundred pages, do I put it all in one 
big lyx file, or do I split it across multiple files (say one file per 
chapter), and somehow pull each chapter into book with some sort of 
include command?


I know other programs would suggest the multiple document way so you 
don't have to scroll around a single massive file looking for the area 
you want to work on, however the navigator in Lyx would seem to mitigate 
that effect.


I just want to understand the Lyx way of structuring a large book.

I'm guessing if Lyx does support  files for each chapter, then the 
navigator would not 'span' the multiple files allowing jumping from 
chapter to chapter?


Also the book will have a large number of images, do you usually put 
them all in one directory or put them in some sort of hierarchical 
directory structure.


Any suggestions would be appreciated.

Thanks
Steve


Multiple files for book

2010-01-05 Thread Stephen George


Hi,

I'm a new comer to Lyx, and reading some of the tute and skim reading 
topics of interest the rest.


I'm still left with a question. (hope I didn't miss it)

If creating a book with a couple hundred pages, do I put it all in one 
big lyx file, or do I split it across multiple files (say one file per 
chapter), and somehow pull each chapter into book with some sort of 
include command?


I know other programs would suggest the multiple document way so you 
don't have to scroll around a single massive file looking for the area 
you want to work on, however the navigator in Lyx would seem to mitigate 
that effect.


I just want to understand the Lyx way of structuring a large book.

I'm guessing if Lyx does support  files for each chapter, then the 
navigator would not 'span' the multiple files allowing jumping from 
chapter to chapter?


Also the book will have a large number of images, do you usually put 
them all in one directory or put them in some sort of hierarchical 
directory structure.


Any suggestions would be appreciated.

Thanks
Steve


Multiple files for book

2010-01-05 Thread Stephen George


Hi,

I'm a new comer to Lyx, and reading some of the tute and skim reading 
topics of interest the rest.


I'm still left with a question. (hope I didn't miss it)

If creating a book with a couple hundred pages, do I put it all in one 
big lyx file, or do I split it across multiple files (say one file per 
chapter), and somehow pull each chapter into book with some sort of 
include command?


I know other programs would suggest the multiple document way so you 
don't have to scroll around a single massive file looking for the area 
you want to work on, however the navigator in Lyx would seem to mitigate 
that effect.


I just want to understand the Lyx way of structuring a large book.

I'm guessing if Lyx does support  files for each chapter, then the 
navigator would not 'span' the multiple files allowing jumping from 
chapter to chapter?


Also the book will have a large number of images, do you usually put 
them all in one directory or put them in some sort of hierarchical 
directory structure.


Any suggestions would be appreciated.

Thanks
Steve