Re: last page odd Fedora Core 1 (follow-up)
Subject: Re: last page odd Fedora Core 1 (follow-up) From: Jane McKean [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: 21 Jul 2004 17:06:04 -0700 To answer some of my own questions: Two questions - (1) I want to have LyX generate PDFs where the last page is odd (e.g. the back cover in a two-sided document). I'm using \usepackage{pdfpages} to include PDFs for the front and back covers for our compiler manuals, and the content is set up as two-sided. Do I need to add some ERT to make this happen? This is what I did: (I'm using the book layout) I added (in ERT) \newpage \thispagestyle{empty} then in regular type, a protected space (C-space) then in ERT: \clear page This gave me a blank, empty page, so that I can have my PDF back cover end up on an even page (think about how it would print out, for this to make sense). More elegant solutions will be gratefully accepted. What about % redfinition of \cleardoublepage w an empty page [EMAIL PROTECTED] [EMAIL PROTECTED] \hbox{} \thispagestyle{empty} \newpage [EMAIL PROTECTED] % \AtEndDocument{\cleardoublepage} in the preamble ? This insures that all occurrences of \cleardoublepage work alike (empty even pages at chapter changes if needed). Easy to modify to insert some kind of Empty Page mention, sometimes requested in technical reports. -- Jean-Pierre
Re: last page odd
Jean-Pierre: Thank you for this suggestion. I want to be sure I understand what you are saying here. I would put this in the preamble: % redfinition of \cleardoublepage w an empty page \cleardoublepage \hbox{} \thispagestyle{empty} \newpage % \AtEndDocument{\cleardoublepage} Then would I need to insert anything into the text to be sure the empty page is before the ERT for including the PDF that is the back cover? Many thanks, --jane -- Jane McKean Technical Documentation PathScale, Inc.
Re: last page odd
Subject: Re: last page odd From: Jane McKean [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Date: 22 Jul 2004 11:53:53 -0700 Jean-Pierre: Thank you for this suggestion. I want to be sure I understand what you are saying here. I would put this in the preamble: % redfinition of \cleardoublepage w an empty page \cleardoublepage \hbox{} \thispagestyle{empty} \newpage % \AtEndDocument{\cleardoublepage} What I suggested is a *redefinition* of \cleaddoublepage to make even pages really empty: % redfinition of \cleardoublepage w an empty page [EMAIL PROTECTED] [EMAIL PROTECTED] \hbox{} \thispagestyle{empty} \newpage [EMAIL PROTECTED] Then \AtEndDocument{\cleardoublepage} provides an empty last even page if there is no last even page (i.e., the 'natural' last page of the document is odd). Without redefinition, you will get a last even page if needed, but with the current content of other extra even pages of the document (e.g page number, running headers ans footers). Now I understand better your need (builing a pdf file including an already available back cover in pdf), I suppose that the backcover file has two pages: odd empty, even with the backcover: - if you include the backcover with pdfpages and compile with pdftex or tex2pdf, you just need the redefinition of \cleardoublepage, \AtEndDocument{\cleardoublepage} is not needed - if you compile your doc without backcover (e.g. you build the pdf with latex then ps2pdf) and bind the document externally to the backcover with a dedicated bind utility, you need the \AtEndDocument{\cleardoublepage}. If you want only the last page empty (and other inner extra even pages as is), just use this: % definition of \clearemptydoublepage w an empty page [EMAIL PROTECTED] [EMAIL PROTECTED] \hbox{} \thispagestyle{empty} \newpage [EMAIL PROTECTED] and insert \clearemptydoublepage before \includepdf, or insert in the preamble: \AtEndDocument{\clearemptydoublepage} -- Jean-Pierre
Re: last page odd Fedora Core 1 (follow-up)
Subject: Re: last page odd Fedora Core 1 (follow-up) From: Jane McKean [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: 21 Jul 2004 17:06:04 -0700 To answer some of my own questions: Two questions - (1) I want to have LyX generate PDFs where the last page is odd (e.g. the back cover in a two-sided document). I'm using \usepackage{pdfpages} to include PDFs for the front and back covers for our compiler manuals, and the content is set up as two-sided. Do I need to add some ERT to make this happen? This is what I did: (I'm using the book layout) I added (in ERT) \newpage \thispagestyle{empty} then in regular type, a protected space (C-space) then in ERT: \clear page This gave me a blank, empty page, so that I can have my PDF back cover end up on an even page (think about how it would print out, for this to make sense). More elegant solutions will be gratefully accepted. What about % redfinition of \cleardoublepage w an empty page [EMAIL PROTECTED] [EMAIL PROTECTED] \hbox{} \thispagestyle{empty} \newpage [EMAIL PROTECTED] % \AtEndDocument{\cleardoublepage} in the preamble ? This insures that all occurrences of \cleardoublepage work alike (empty even pages at chapter changes if needed). Easy to modify to insert some kind of Empty Page mention, sometimes requested in technical reports. -- Jean-Pierre
Re: last page odd
Jean-Pierre: Thank you for this suggestion. I want to be sure I understand what you are saying here. I would put this in the preamble: % redfinition of \cleardoublepage w an empty page \cleardoublepage \hbox{} \thispagestyle{empty} \newpage % \AtEndDocument{\cleardoublepage} Then would I need to insert anything into the text to be sure the empty page is before the ERT for including the PDF that is the back cover? Many thanks, --jane -- Jane McKean Technical Documentation PathScale, Inc.
Re: last page odd
Subject: Re: last page odd From: Jane McKean [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Date: 22 Jul 2004 11:53:53 -0700 Jean-Pierre: Thank you for this suggestion. I want to be sure I understand what you are saying here. I would put this in the preamble: % redfinition of \cleardoublepage w an empty page \cleardoublepage \hbox{} \thispagestyle{empty} \newpage % \AtEndDocument{\cleardoublepage} What I suggested is a *redefinition* of \cleaddoublepage to make even pages really empty: % redfinition of \cleardoublepage w an empty page [EMAIL PROTECTED] [EMAIL PROTECTED] \hbox{} \thispagestyle{empty} \newpage [EMAIL PROTECTED] Then \AtEndDocument{\cleardoublepage} provides an empty last even page if there is no last even page (i.e., the 'natural' last page of the document is odd). Without redefinition, you will get a last even page if needed, but with the current content of other extra even pages of the document (e.g page number, running headers ans footers). Now I understand better your need (builing a pdf file including an already available back cover in pdf), I suppose that the backcover file has two pages: odd empty, even with the backcover: - if you include the backcover with pdfpages and compile with pdftex or tex2pdf, you just need the redefinition of \cleardoublepage, \AtEndDocument{\cleardoublepage} is not needed - if you compile your doc without backcover (e.g. you build the pdf with latex then ps2pdf) and bind the document externally to the backcover with a dedicated bind utility, you need the \AtEndDocument{\cleardoublepage}. If you want only the last page empty (and other inner extra even pages as is), just use this: % definition of \clearemptydoublepage w an empty page [EMAIL PROTECTED] [EMAIL PROTECTED] \hbox{} \thispagestyle{empty} \newpage [EMAIL PROTECTED] and insert \clearemptydoublepage before \includepdf, or insert in the preamble: \AtEndDocument{\clearemptydoublepage} -- Jean-Pierre
Re: last page odd & Fedora Core 1 (follow-up)
>>Subject: Re: last page odd & Fedora Core 1 (follow-up) >>From: Jane McKean <[EMAIL PROTECTED]> >>To: [EMAIL PROTECTED] >>Date: 21 Jul 2004 17:06:04 -0700 >> >>To answer some of my own questions: >> >> >>> Two questions - >>> >>> (1) I want to have LyX generate PDFs where the last page is odd (e.g. >>> the back cover in a two-sided document). I'm using \usepackage{pdfpages} >>> to include PDFs for the front and back covers for our compiler manuals, >>> and the content is set up as two-sided. Do I need to add some ERT to >>> make this happen? >> >>This is what I did: (I'm using the book layout) >>I added (in ERT) >>\newpage >>\thispagestyle{empty} >> >>then in regular type, a protected space (C-space) >> >>then in ERT: >>\clear page >> >>This gave me a blank, empty page, so that I can have my PDF back cover end up >>on an even page (think about how it would print out, for this to make sense). >>More elegant solutions will be gratefully accepted. What about % redfinition of \cleardoublepage w an empty page [EMAIL PROTECTED] [EMAIL PROTECTED] \hbox{} \thispagestyle{empty} \newpage [EMAIL PROTECTED] % \AtEndDocument{\cleardoublepage} in the preamble ? This insures that all occurrences of \cleardoublepage work alike (empty even pages at chapter changes if needed). Easy to modify to insert some kind of "Empty Page" mention, sometimes requested in technical reports. -- Jean-Pierre
Re: last page odd
Jean-Pierre: Thank you for this suggestion. I want to be sure I understand what you are saying here. I would put this in the preamble: % redfinition of \cleardoublepage w an empty page \cleardoublepage \hbox{} \thispagestyle{empty} \newpage % \AtEndDocument{\cleardoublepage} Then would I need to insert anything into the text to be sure the empty page is before the ERT for including the PDF that is the back cover? Many thanks, --jane -- Jane McKean Technical Documentation PathScale, Inc.
Re: last page odd
>>Subject: Re: last page odd >>From: Jane McKean <[EMAIL PROTECTED]> >>To: [EMAIL PROTECTED] >>Cc: [EMAIL PROTECTED] >>Date: 22 Jul 2004 11:53:53 -0700 >> >>Jean-Pierre: >> >>Thank you for this suggestion. I want to be sure I understand what you >>are saying here. >> >>I would put this in the preamble: >> >>% redfinition of \cleardoublepage w an empty page >>\cleardoublepage >> \hbox{} >> \thispagestyle{empty} >> \newpage >>% >>\AtEndDocument{\cleardoublepage} What I suggested is a *redefinition* of \cleaddoublepage to make even pages really empty: % redfinition of \cleardoublepage w an empty page [EMAIL PROTECTED] [EMAIL PROTECTED] \hbox{} \thispagestyle{empty} \newpage [EMAIL PROTECTED] Then \AtEndDocument{\cleardoublepage} provides an empty last even page if there is no last even page (i.e., the 'natural' last page of the document is odd). Without redefinition, you will get a last even page if needed, but with the current content of other extra even pages of the document (e.g page number, running headers ans footers). Now I understand better your need (builing a pdf file including an already available back cover in pdf), I suppose that the backcover file has two pages: odd empty, even with the backcover: - if you include the backcover with pdfpages and compile with pdftex or tex2pdf, you just need the redefinition of \cleardoublepage, \AtEndDocument{\cleardoublepage} is not needed - if you compile your doc without backcover (e.g. you build the pdf with latex then ps2pdf) and bind the document externally to the backcover with a dedicated bind utility, you need the \AtEndDocument{\cleardoublepage}. If you want only the last page empty (and other inner extra even pages as is), just use this: % definition of \clearemptydoublepage w an empty page [EMAIL PROTECTED] [EMAIL PROTECTED] \hbox{} \thispagestyle{empty} \newpage [EMAIL PROTECTED] and insert \clearemptydoublepage before \includepdf, or insert in the preamble: \AtEndDocument{\clearemptydoublepage} -- Jean-Pierre
Re: last page odd Fedora Core 1 (follow-up)
To answer some of my own questions: Two questions - (1) I want to have LyX generate PDFs where the last page is odd (e.g. the back cover in a two-sided document). I'm using \usepackage{pdfpages} to include PDFs for the front and back covers for our compiler manuals, and the content is set up as two-sided. Do I need to add some ERT to make this happen? This is what I did: (I'm using the book layout) I added (in ERT) \newpage \thispagestyle{empty} then in regular type, a protected space (C-space) then in ERT: \clear page This gave me a blank, empty page, so that I can have my PDF back cover end up on an even page (think about how it would print out, for this to make sense). More elegant solutions will be gratefully accepted. (2) I want to keep up with our engineering team and move from RedHat 9 to RedHat Fedora Core 2. Are any of you using that? And what packages will I need to install in addition to the LyX 1.3.4? I have gotten one of the engineers to re-build the RPMs for Fedora Core 1. I'll be testing this tomorrow, but I don't expect any snags. Will keep you posted. (Thanks Jose for pointing out it's not Red Hat Fedora Core 1. Good catch.) * I do still have the patched fixes for the change bars for 1.3.4. I'd like to post back to the community. Can someone give me a pointer as to where those should go? I'm promised the patched from previously mentioned engineer in the next day, two at most. I apologize for the delay, but we've been busy putting released out. Soon. Really. This week. And thanks for the pointer Angus. --jane -- Jane McKean Technical Documentation PathScale, Inc.
Re: last page odd Fedora Core 1 (follow-up)
To answer some of my own questions: Two questions - (1) I want to have LyX generate PDFs where the last page is odd (e.g. the back cover in a two-sided document). I'm using \usepackage{pdfpages} to include PDFs for the front and back covers for our compiler manuals, and the content is set up as two-sided. Do I need to add some ERT to make this happen? This is what I did: (I'm using the book layout) I added (in ERT) \newpage \thispagestyle{empty} then in regular type, a protected space (C-space) then in ERT: \clear page This gave me a blank, empty page, so that I can have my PDF back cover end up on an even page (think about how it would print out, for this to make sense). More elegant solutions will be gratefully accepted. (2) I want to keep up with our engineering team and move from RedHat 9 to RedHat Fedora Core 2. Are any of you using that? And what packages will I need to install in addition to the LyX 1.3.4? I have gotten one of the engineers to re-build the RPMs for Fedora Core 1. I'll be testing this tomorrow, but I don't expect any snags. Will keep you posted. (Thanks Jose for pointing out it's not Red Hat Fedora Core 1. Good catch.) * I do still have the patched fixes for the change bars for 1.3.4. I'd like to post back to the community. Can someone give me a pointer as to where those should go? I'm promised the patched from previously mentioned engineer in the next day, two at most. I apologize for the delay, but we've been busy putting released out. Soon. Really. This week. And thanks for the pointer Angus. --jane -- Jane McKean Technical Documentation PathScale, Inc.
Re: last page odd & Fedora Core 1 (follow-up)
To answer some of my own questions: > Two questions - > > (1) I want to have LyX generate PDFs where the last page is odd (e.g. > the back cover in a two-sided document). I'm using \usepackage{pdfpages} > to include PDFs for the front and back covers for our compiler manuals, > and the content is set up as two-sided. Do I need to add some ERT to > make this happen? This is what I did: (I'm using the book layout) I added (in ERT) \newpage \thispagestyle{empty} then in regular type, a protected space (C-space) then in ERT: \clear page This gave me a blank, empty page, so that I can have my PDF back cover end up on an even page (think about how it would print out, for this to make sense). More elegant solutions will be gratefully accepted. > (2) I want to keep up with our engineering team and move from RedHat 9 > to RedHat Fedora Core 2. Are any of you using that? And what packages > will I need to install in addition to the LyX 1.3.4? I have gotten one of the engineers to re-build the RPMs for Fedora Core 1. I'll be testing this tomorrow, but I don't expect any snags. Will keep you posted. (Thanks Jose for pointing out it's not Red Hat Fedora Core 1. Good catch.) > > * I do still have the patched fixes for the change bars for 1.3.4. I'd > like to post back to the community. Can someone give me a pointer as to > where those should go? I'm promised the patched from previously mentioned engineer in the next day, two at most. I apologize for the delay, but we've been busy putting released out. Soon. Really. This week. And thanks for the pointer Angus. --jane -- Jane McKean Technical Documentation PathScale, Inc.
last page odd Fedora Core 1
Hi again: My setup - Linux RedHat 9, LyX 1.3.4 (with change bar patch - yay!)* Using book document class Two questions - (1) I want to have LyX generate PDFs where the last page is odd (e.g. the back cover in a two-sided document). I'm using \usepackage{pdfpages} to include PDFs for the front and back covers for our compiler manuals, and the content is set up as two-sided. Do I need to add some ERT to make this happen? (2) I want to keep up with our engineering team and move from RedHat 9 to RedHat Fedora Core 2. Are any of you using that? And what packages will I need to install in addition to the LyX 1.3.4? * I do still have the patched fixes for the change bars for 1.3.4. I'd like to post back to the community. Can someone give me a pointer as to where those should go? Many thanks for your patience and help with these questions. And thanks for a tool that I really enjoy using. (I'm holding off the Framemaker advocates here for the time being.) --jane -- Jane McKean Technical Documentation PathScale, Inc. [EMAIL PROTECTED]
Re: last page odd Fedora Core 1
On Friday 16 July 2004 19:10, Jane McKean wrote: (2) I want to keep up with our engineering team and move from RedHat 9 to RedHat Fedora Core 2. Are any of you using that? And what packages will I need to install in addition to the LyX 1.3.4? I am using fc2 without any problem. If you are using the xforms backend you don't need any further package. On the other hand if using the qt backend you will need xft-fonts to display the math symbols, but this is the same as for rh9. Actually I am using mathml-fonts from Fedora Extras (or what will become it) that supply those symbols. A small detail, and just nitpicking, it is Fedora Core 2 and not RedHat Fedora Core 2. But you know that. :-) -- José Abílio
Re: last page odd Fedora Core 1
Jane McKean wrote: Hi again: My setup - Linux RedHat 9, LyX 1.3.4 (with change bar patch - yay!)* Using book document class Two questions - (1) I want to have LyX generate PDFs where the last page is odd (e.g. the back cover in a two-sided document). I'm using \usepackage{pdfpages} to include PDFs for the front and back covers for our compiler manuals, and the content is set up as two-sided. Do I need to add some ERT to make this happen? (2) I want to keep up with our engineering team and move from RedHat 9 to RedHat Fedora Core 2. Are any of you using that? And what packages will I need to install in addition to the LyX 1.3.4? * I do still have the patched fixes for the change bars for 1.3.4. I'd like to post back to the community. Can someone give me a pointer as to where those should go? Try uploading it to http://wiki.lyx.org/pmwiki.php/Tips/ChangeTrackingLyx1-3-2 -- Angus
last page odd Fedora Core 1
Hi again: My setup - Linux RedHat 9, LyX 1.3.4 (with change bar patch - yay!)* Using book document class Two questions - (1) I want to have LyX generate PDFs where the last page is odd (e.g. the back cover in a two-sided document). I'm using \usepackage{pdfpages} to include PDFs for the front and back covers for our compiler manuals, and the content is set up as two-sided. Do I need to add some ERT to make this happen? (2) I want to keep up with our engineering team and move from RedHat 9 to RedHat Fedora Core 2. Are any of you using that? And what packages will I need to install in addition to the LyX 1.3.4? * I do still have the patched fixes for the change bars for 1.3.4. I'd like to post back to the community. Can someone give me a pointer as to where those should go? Many thanks for your patience and help with these questions. And thanks for a tool that I really enjoy using. (I'm holding off the Framemaker advocates here for the time being.) --jane -- Jane McKean Technical Documentation PathScale, Inc. [EMAIL PROTECTED]
Re: last page odd Fedora Core 1
On Friday 16 July 2004 19:10, Jane McKean wrote: (2) I want to keep up with our engineering team and move from RedHat 9 to RedHat Fedora Core 2. Are any of you using that? And what packages will I need to install in addition to the LyX 1.3.4? I am using fc2 without any problem. If you are using the xforms backend you don't need any further package. On the other hand if using the qt backend you will need xft-fonts to display the math symbols, but this is the same as for rh9. Actually I am using mathml-fonts from Fedora Extras (or what will become it) that supply those symbols. A small detail, and just nitpicking, it is Fedora Core 2 and not RedHat Fedora Core 2. But you know that. :-) -- José Abílio
Re: last page odd Fedora Core 1
Jane McKean wrote: Hi again: My setup - Linux RedHat 9, LyX 1.3.4 (with change bar patch - yay!)* Using book document class Two questions - (1) I want to have LyX generate PDFs where the last page is odd (e.g. the back cover in a two-sided document). I'm using \usepackage{pdfpages} to include PDFs for the front and back covers for our compiler manuals, and the content is set up as two-sided. Do I need to add some ERT to make this happen? (2) I want to keep up with our engineering team and move from RedHat 9 to RedHat Fedora Core 2. Are any of you using that? And what packages will I need to install in addition to the LyX 1.3.4? * I do still have the patched fixes for the change bars for 1.3.4. I'd like to post back to the community. Can someone give me a pointer as to where those should go? Try uploading it to http://wiki.lyx.org/pmwiki.php/Tips/ChangeTrackingLyx1-3-2 -- Angus
last page odd & Fedora Core 1
Hi again: My setup - Linux RedHat 9, LyX 1.3.4 (with change bar patch - yay!)* Using book document class Two questions - (1) I want to have LyX generate PDFs where the last page is odd (e.g. the back cover in a two-sided document). I'm using \usepackage{pdfpages} to include PDFs for the front and back covers for our compiler manuals, and the content is set up as two-sided. Do I need to add some ERT to make this happen? (2) I want to keep up with our engineering team and move from RedHat 9 to RedHat Fedora Core 2. Are any of you using that? And what packages will I need to install in addition to the LyX 1.3.4? * I do still have the patched fixes for the change bars for 1.3.4. I'd like to post back to the community. Can someone give me a pointer as to where those should go? Many thanks for your patience and help with these questions. And thanks for a tool that I really enjoy using. (I'm holding off the Framemaker advocates here for the time being.) --jane -- Jane McKean Technical Documentation PathScale, Inc. [EMAIL PROTECTED]
Re: last page odd & Fedora Core 1
On Friday 16 July 2004 19:10, Jane McKean wrote: > (2) I want to keep up with our engineering team and move from RedHat 9 > to RedHat Fedora Core 2. Are any of you using that? And what packages > will I need to install in addition to the LyX 1.3.4? I am using fc2 without any problem. If you are using the xforms backend you don't need any further package. On the other hand if using the qt backend you will need xft-fonts to display the math symbols, but this is the same as for rh9. Actually I am using mathml-fonts from Fedora Extras (or what will become it) that supply those symbols. A small detail, and just nitpicking, it is Fedora Core 2 and not RedHat Fedora Core 2. But you know that. :-) -- José Abílio
Re: last page odd & Fedora Core 1
Jane McKean wrote: > Hi again: > > My setup - > Linux RedHat 9, LyX 1.3.4 (with change bar patch - yay!)* > Using book document class > > Two questions - > > (1) I want to have LyX generate PDFs where the last page is odd (e.g. > the back cover in a two-sided document). I'm using \usepackage{pdfpages} > to include PDFs for the front and back covers for our compiler manuals, > and the content is set up as two-sided. Do I need to add some ERT to > make this happen? > > (2) I want to keep up with our engineering team and move from RedHat 9 > to RedHat Fedora Core 2. Are any of you using that? And what packages > will I need to install in addition to the LyX 1.3.4? > > * I do still have the patched fixes for the change bars for 1.3.4. I'd > like to post back to the community. Can someone give me a pointer as to > where those should go? Try uploading it to http://wiki.lyx.org/pmwiki.php/Tips/ChangeTrackingLyx1-3-2 -- Angus