Re: Landscape document..........
Stephen GEORGE optusnet.com.au> writes: > > 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? Essentially, yes. If I specify a paper height of 11" and a paper width of 8.5" (US letter size), that indicates that I expect to print on tall/narrow paper. LyX passes page dimensions and landscape v. portrait to the geometry package. Functionally, the geometry package interprets landscape v. portrait as rotate/do not rotate the text. So flipping the paper width and height is essentially equivalent to switching the portrait/landscape decision, provided that you also swap margins when flipping paper dimensions. Paul
Re: Landscape document..........
Am Sonntag, 17. Juli 2016 um 13:28:40, schrieb Dr Eberhard W Lisse > You are welcome. > > I like to leave the default page sizes as determined by LaTeX (in my case A4) > and I only mess with the margins very little (using DIV in Komascript), > unless I have really special cases. > > That way Portrait and Landscape work very well, by just clicking the switch. > > el > > > On 17 Jul 2016, at 12:44, Charlie wrote: > > > > > > On Sun, 17 Jul 2016 11:13:41 +0200 Dr mentioned this: > >Re: Landscape document... > > > >> You switched the Height and Width around in > >> > >>Document Settings -> Page Layouts. > >> > >> > >> > > > > From my keyboard: > > > > Hello el, > > > > No. That's how they are. I just placed the sizes into the Height > > and Width locations as they are presented. > > > > See attached. This is obviously wrong. > > > > Are you suggesting that height actually means width and vise versa? > > > > Height means the width of the page? > > > > You are quite correct. > > > > That works in fact. It would seem the height of the page is the width > > of the page if you indicate "landscape". > > > > How confusing is that, for me at any rate. But then I'm not clever, so > > it's counter intuitive, for me at least. > > We had similar problems with latex 'longtable', which we name now 'multi-page table'. Maybe we should rename here height and width to 'paper-length' and 'paper-width' or such. > > So the height remains the height if you turn the page with the > > landscape incantation. > > > > Okay, thank you for your help. It's much appreciated. I will try, when > > I have time, to leave it as portrait and just put in the dimensions. Not > > use landscape at all. > > > > Again, thank you, > > Charlie > > > > > >East Gippsland Wildlife Rehabilitators Inc.. > > http://www.egwildlife.com.au/ > > Kornel signature.asc Description: This is a digitally signed message part.
Re: Landscape document..........
You are welcome. I like to leave the default page sizes as determined by LaTeX (in my case A4) and I only mess with the margins very little (using DIV in Komascript), unless I have really special cases. That way Portrait and Landscape work very well, by just clicking the switch. el -- Sent from Dr Lisse's iPad mini 4 > On 17 Jul 2016, at 12:44, Charlie wrote: > > > On Sun, 17 Jul 2016 11:13:41 +0200 Dr mentioned this: >Re: Landscape document... > >> You switched the Height and Width around in >> >>Document Settings -> Page Layouts. >> >> >> > > From my keyboard: > > Hello el, > > No. That's how they are. I just placed the sizes into the Height > and Width locations as they are presented. > > See attached. This is obviously wrong. > > Are you suggesting that height actually means width and vise versa? > > Height means the width of the page? > > You are quite correct. > > That works in fact. It would seem the height of the page is the width > of the page if you indicate "landscape". > > How confusing is that, for me at any rate. But then I'm not clever, so > it's counter intuitive, for me at least. > > > So the height remains the height if you turn the page with the > landscape incantation. > > Okay, thank you for your help. It's much appreciated. I will try, when > I have time, to leave it as portrait and just put in the dimensions. Not > use landscape at all. > > Again, thank you, > Charlie > > >East Gippsland Wildlife Rehabilitators Inc.. > http://www.egwildlife.com.au/ > > -- >Registered Linux User:- 329524 >*** > >The art of government is to make two-thirds of a nation pay all >it possibly can pay for the benefit of the other >third. ...Voltaire > >*** > >Debian GNU/Linux - Magic indeed. > >- >
Re: Landscape document..........
On Sun, 17 Jul 2016 11:13:41 +0200 Dr mentioned this: Re: Landscape document... > You switched the Height and Width around in > > Document Settings -> Page Layouts. > > > From my keyboard: Hello el, No. That's how they are. I just placed the sizes into the Height and Width locations as they are presented. See attached. This is obviously wrong. Are you suggesting that height actually means width and vise versa? Height means the width of the page? You are quite correct. That works in fact. It would seem the height of the page is the width of the page if you indicate "landscape". How confusing is that, for me at any rate. But then I'm not clever, so it's counter intuitive, for me at least. So the height remains the height if you turn the page with the landscape incantation. Okay, thank you for your help. It's much appreciated. I will try, when I have time, to leave it as portrait and just put in the dimensions. Not use landscape at all. Again, thank you, Charlie East Gippsland Wildlife Rehabilitators Inc.. http://www.egwildlife.com.au/ -- Registered Linux User:- 329524 *** The art of government is to make two-thirds of a nation pay all it possibly can pay for the benefit of the other third. ...Voltaire *** Debian GNU/Linux - Magic indeed. -
Re: Landscape document..........
You switched the Height and Width around in Document Settings -> Page Layouts. el On 2016-07-17 00: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: >> >>> >>> >>> On Thu, 14 Jul 2016 19:29:55 + (UTC) "Paul A.Rubin rubin >>> msu.edu" informed me of this: >>> >>> > Can you post a minimal example of this (both .lyx >>> > and .pdf >>> files)? >>> >>> Quickly did this as I had time, but previously only did in full page >>> pictures. This time just text - please see the custom size [...]
Re: Landscape document..........
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: Landscape document..........
On Sat, 16 Jul 2016 19:48:28 + (UTC) "Paul A.Rubin ru...@msu.edu" informed me of this: > Charlie ipstarmail.com.au> writes: > > > > > > > On Thu, 14 Jul 2016 19:29:55 + (UTC) "Paul A.Rubin rubin > > msu.edu" informed me of this: > > > > > Can you post a minimal example of this (both .lyx > > > and .pdf > > files)? > > > > Quickly did this as I had time, but previously only did in full page > > pictures. This time just text - please see the custom size. > > > > Quickly tried it in Memoir and Koma- article. Result the same. > > > > 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 -- Registered Linux User:- 329524 *** True friendship can afford true knowledge. It does not depend on darkness and ignorance. ..Henry David Thoreau *** Debian GNU/Linux - Magic indeed. -
Re: Landscape document..........
Charlie ipstarmail.com.au> writes: > > > On Thu, 14 Jul 2016 19:29:55 + (UTC) "Paul A.Rubin rubin msu.edu" > informed me of this: > > > Can you post a minimal example of this (both .lyx and .pdf > files)? > > Quickly did this as I had time, but previously only did in full page > pictures. This time just text - please see the custom size. > > Quickly tried it in Memoir and Koma- article. Result the same. > > 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
Re: Landscape document..........
On Thu, 14 Jul 2016 19:29:55 + (UTC) "Paul A.Rubin ru...@msu.edu" informed me of this: > Can you post a minimal example of this (both .lyx and .pdf files)? Quickly did this as I had time, but previously only did in full page pictures. This time just text - please see the custom size. Quickly tried it in Memoir and Koma- article. Result the same. 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? Thanks for looking at this, Charlie -- Registered Linux User:- 329524 *** Everything is for the best in this best of possible worlds. ...Voltaire *** Debian GNU/Linux - Magic indeed. - lyx-test.lyx Description: application/lyx lyx-test.pdf Description: Adobe PDF document
Re: Landscape document..........
On Thu, 14 Jul 2016 19:29:55 + (UTC) "Paul A.Rubin ru...@msu.edu" informed me of this: > Charlie ipstarmail.com.au> writes: > > > > > > Trying to write a document in landscape mode, but when I convert it > > to a .pdf file with Okular. > > > > It presents with portrait and runs off the right of the page. Even > > if I specify the custom height and width of the pages. > > > > Can you post a minimal example of this (both .lyx and .pdf files)? > Also, although I'm not sure it should matter, how do you > generate the PDF file from LyX (dvipdfm, LuaTeX, pdflatex, > ps2pdf, ...)? > > Paul > > Sorry there is no minimum full page graphics in fact. PDF (graphics) -> EPS = pdftops PDF (pdflatex) -> PDF (cropped) = pdfcrop PDF (pdflatex) -> PDF (lower resolution) = python PDF (postscript) -> postscript = pdftops And more of the same. No matter. I can work round it, I just thought there might be a better easier way. It works the way I described and might help others if they are having problems. Thanks at any rate. Charlie -- Registered Linux User:- 329524 *** Write while the heat is in you. The writer who postpones the recording of his thoughts uses an iron which has cooled to burn a hole with. He cannot inflame the minds of his audience. .Henry David Thoreau *** Debian GNU/Linux - Magic indeed. -
Re: Landscape document..........
Charlie ipstarmail.com.au> writes: > > Trying to write a document in landscape mode, but when I convert it to > a .pdf file with Okular. > > It presents with portrait and runs off the right of the page. Even if I > specify the custom height and width of the pages. > Can you post a minimal example of this (both .lyx and .pdf files)? Also, although I'm not sure it should matter, how do you generate the PDF file from LyX (dvipdfm, LuaTeX, pdflatex, ps2pdf, ...)? Paul
Landscape document..........
From my keyboard: Using Debian testing [stretch] LyX Version 2.2.0 Qt Version (run-time): 4.8.7 Qt Version (compile-time): 4.8.7 Trying to write a document in landscape mode, but when I convert it to a .pdf file with Okular. It presents with portrait and runs off the right of the page. Even if I specify the custom height and width of the pages. To rule out Okular I have created the file as landscape in LibreOffice and it showed up as predicted with Okular. Tried both with evince. Lyx file showed in portrait mode .pdf in both. The LibreOffice showed as landscape as it should. To make it work in Lyx had to place: \usepackage{pdflscape} in the preamble and [ERT in document] \begin{landscape} and \end{landscape} at the end. Can someone tell me the right way to do this? Thank you. Charlie East Gippsland Wildlife Rehabilitators Inc.. http://www.egwildlife.com.au/ -- Registered Linux User:- 329524 *** Love must be as much a light, as it is a flame..Henry David Thoreau *** Debian GNU/Linux - Magic indeed. -
Re: Landscape document: what am I missing?
Well, of course now that I'm trying to reproduce it, I can't. :-( ... no, actually it's :-). I'm wondering if at some point I didn't change the PDF generator, as Steve Litt points out in another message. Well, it works so if I see it again I'll send the document. Thanks! L On Fri, 11 Jan 2008 10:02:46 -0500, Bennett Helm wrote: > On Jan 11, 2008, at 9:54 AM, Laurent Duperval wrote: > >> Nobody knows? :-( >> >> L > > It works for me. Perhaps you can provide more details on your setup > (and even a minimal example file that fails) that might help someone > figure out what's going wrong for you. > > Bennett > >> On Thu, 10 Jan 2008 01:29:42 +, Laurent Duperval wrote: >> >>> Hi, >>> >>> I am trying to print a landscape document. Hoewever, when I view a >>> PDF or >>> DVI document, it shows up in portrait. >>> >>> If it matters any, I am using a longtable in my document. >>> >>> L -- Prenez la parole en public en étant Speak to an audience while being moins nerveux et plus convaincant! less nervous and more convincing! Abonnez-vous au bulletin gratuit! Sign up for the free newsletter! http://www.duperval.com (514) 902-0186
Re: Landscape document: what am I missing?
On Wednesday 09 January 2008 20:29, Laurent Duperval wrote: > Hi, > > I am trying to print a landscape document. Hoewever, when I view a PDF or > DVI document, it shows up in portrait. > > If it matters any, I am using a longtable in my document. > > L This might help: http://www.troubleshooters.com/linux/gs.htm#_Making_a_Landscape_PDF SteveT Steve Litt Books written in LyX: Troubleshooting Techniques of the Successful Technologist Twenty Eight Tales of Troubleshooting Troubleshooting: Just the Facts
Re: Landscape document: what am I missing?
On Jan 11, 2008, at 9:54 AM, Laurent Duperval wrote: Nobody knows? :-( L It works for me. Perhaps you can provide more details on your setup (and even a minimal example file that fails) that might help someone figure out what's going wrong for you. Bennett On Thu, 10 Jan 2008 01:29:42 +, Laurent Duperval wrote: Hi, I am trying to print a landscape document. Hoewever, when I view a PDF or DVI document, it shows up in portrait. If it matters any, I am using a longtable in my document. L
Re: Landscape document: what am I missing?
Nobody knows? :-( L On Thu, 10 Jan 2008 01:29:42 +, Laurent Duperval wrote: > Hi, > > I am trying to print a landscape document. Hoewever, when I view a PDF or > DVI document, it shows up in portrait. > > If it matters any, I am using a longtable in my document. > > L > > -- Prenez la parole en public en étant Speak to an audience while being moins nerveux et plus convaincant! less nervous and more convincing! Abonnez-vous au bulletin gratuit! Sign up for the free newsletter! http://www.duperval.com (514) 902-0186
Landscape document: what am I missing?
Hi, I am trying to print a landscape document. Hoewever, when I view a PDF or DVI document, it shows up in portrait. If it matters any, I am using a longtable in my document. L -- Prenez la parole en public en étant Speak to an audience while being moins nerveux et plus convaincant! less nervous and more convincing! Abonnez-vous au bulletin gratuit! Sign up for the free newsletter! http://www.duperval.com (514) 902-0186