From jfearn at redhat.com Fri May 1 02:55:43 2009 From: jfearn at redhat.com (Jeff Fearn) Date: Fri, 01 May 2009 12:55:43 +1000 Subject: [publican-list] Patch for setting paper size In-Reply-To: <1241015762.3653.12.camel@localhost.localdomain> References: <1241015762.3653.12.camel@localhost.localdomain> Message-ID: <49FA64AF.3070301@redhat.com> Jared Smith wrote: > I've written a small patch for Publican that allows you to set the paper > size (A4/US Letter/etc.) from the Makefile generated by Publican. I've > attached the patch to bug #495136 in Red Hat's bugzilla[1]. > > Since I haven't received any feedback on the patch via the bug tracker, > I figured I'd post this note to the publican list and see if anyone else > has any interest in the patch. I'm completely open to feedback (both > positive and negative) on it, so please let me know what you think of > it. > > -Jared Smith > > [1] https://bugzilla.redhat.com/show_bug.cgi?id=495136 I think adding this as a parameter is the wrong approach. There are many things that have the potential to require adjusting to make non-A4 sizes look good. Using parameters to set them will lead to either an unusable system, too many parameters, or unmaintainable XSL, too many paper sizes adding conditionals to the XSL. Instead I'd create a new xsl file, e.g. pdf-A3.xsl, which imports pdf.xsl and over rides the required variables to make US Letter look good. e.g. default.image.width probably needs to be reduced since A4 is fatter that US letter and won't look quite right on US letter. Larger paper sizes can handle larger images without breaking in to the border and so will also want to over ride this value. two column pages would need to have a different size again and we are quickly in to spaghetti XSL. You can place pdf-A3.xsl in /usr/share/publican/xsl/ and then you need to make 2 other small changes. 1: modify Makefile.template ifeq "${1}" "pdf" becomes: (untested) ifeq "${1}" ($(findstring, "pdf", ${1})) i.e. any style sheet with pdf in the name 2: add pdf-A3 to FORMATS in Makefile.common For testing you can set it on the command line: (untested) make FORMATS='html pdf-A3' html-en-US pdf-A3-en-US I believe this approach will lead to a more maintainable system than trying to shoe horn all possible paper sizes in to one XSL file. Cheers, Jeff. -- Jeff Fearn Software Engineer Engineering Operations Red Hat, Inc Freedom ... courage ... Commitment ... ACCOUNTABILITY From jfearn at redhat.com Fri May 1 02:58:40 2009 From: jfearn at redhat.com (Jeff Fearn) Date: Fri, 01 May 2009 12:58:40 +1000 Subject: [publican-list] Patch for setting paper size In-Reply-To: <49FA64AF.3070301@redhat.com> References: <1241015762.3653.12.camel@localhost.localdomain> <49FA64AF.3070301@redhat.com> Message-ID: <49FA6560.9020100@redhat.com> Jeff Fearn wrote: > > Instead I'd create a new xsl file, e.g. pdf-A3.xsl, which imports pdf.xsl > and over rides the required variables to make US Letter look good. > Clearly I still need more drugs from my doctor to get over this stupid chest infection! Why else would you need A3 settings to make US Leter look good? Cheers, Jeff. -- Jeff Fearn Software Engineer Engineering Operations Red Hat, Inc Freedom ... courage ... Commitment ... ACCOUNTABILITY From lbrindle at redhat.com Fri May 1 06:02:05 2009 From: lbrindle at redhat.com (Lana Brindley) Date: Fri, 01 May 2009 16:02:05 +1000 Subject: [publican-list] Creating Parts Message-ID: <49FA905D.3050507@redhat.com> Alright, so maybe I'm a bit slow on the uptake, but I haven't created parts in a book before. Now, I've got a new book (which I made using create_book), and I want to split it into three parts - Hardware, Application Architecture, and Library Services. How do I create the parts so that I can then create the chapters to sit underneath them? (Yes, I've RTFM and unless I'm blind - which is entirely possible - there's nothing about this in there). Thanks, Lana -------------- next part -------------- A non-text attachment was scrubbed... Name: lbrindle.vcf Type: text/x-vcard Size: 976 bytes Desc: not available URL: From jfearn at redhat.com Sat May 2 00:44:45 2009 From: jfearn at redhat.com (Jeff Fearn) Date: Sat, 02 May 2009 10:44:45 +1000 Subject: [publican-list] Creating Parts In-Reply-To: <49FA905D.3050507@redhat.com> References: <49FA905D.3050507@redhat.com> Message-ID: <49FB977D.60407@redhat.com> On 05/01/2009 04:02 PM, Lana Brindley wrote: > Alright, so maybe I'm a bit slow on the uptake, but I haven't created > parts in a book before. Now, I've got a new book (which I made using > create_book), and I want to split it into three parts - Hardware, > Application Architecture, and Library Services. How do I create the > parts so that I can then create the chapters to sit underneath them? > > (Yes, I've RTFM and unless I'm blind - which is entirely possible - > there's nothing about this in there). A part is just another block level tag like a chapter or a section. http://www.docbook.org/tdg/en/html/part.html foo, fu or phu? I am a part of this! boom tish Cat's are better than dogs, oh my ... Apart form the other part> <chapter> <title>Goat cheese and it's medical applications ... Cheers, Jeff. From bugzilla at redhat.com Mon May 11 20:20:17 2009 From: bugzilla at redhat.com (bugzilla at redhat.com) Date: Mon, 11 May 2009 16:20:17 -0400 Subject: [publican-list] [Bug 443528] Orphaned section headings in PDF output In-Reply-To: References: Message-ID: <200905112020.n4BKKHRf006719@bz-web1.app.phx.redhat.com> Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=443528 Chandrasekar Kannan changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |443788(CS8.0) -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From bugzilla at redhat.com Fri May 22 01:33:22 2009 From: bugzilla at redhat.com (bugzilla at redhat.com) Date: Thu, 21 May 2009 21:33:22 -0400 Subject: [publican-list] [Bug 502126] New: in html outputs has a border drawn around it Message-ID: Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. Summary: in html outputs has a border drawn around it https://bugzilla.redhat.com/show_bug.cgi?id=502126 Summary: in html outputs has a border drawn around it Product: Red Hat Enterprise Linux 5 Version: 5.2 Platform: All OS/Version: Linux Status: NEW Severity: medium Priority: low Component: publican AssignedTo: mhideo at redhat.com ReportedBy: dmison at redhat.com QAContact: ecs-dev-list at redhat.com CC: publican-list at redhat.com Classification: Red Hat Target Release: --- Description of problem: in html & html-single output has a border drawn around it, the pdf output doesn't and would be preferred. it appears to be coming from generic table style in overrides.css since there isn't any specific css styling for adding: table.simplelist { border-style: none; } to common.css fixes it. Version-Release number of selected component (if applicable): publican-0.45-0.el5 How reproducible: everytime :-) Steps to Reproduce: 1. add simple list Action CorePipelineProvider Emitter ... 2. make html-single-en-US Actual results: List is presented as expected but with a thin border around the outside Expected results: No border Additional info: -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From bugzilla at redhat.com Fri May 22 02:06:27 2009 From: bugzilla at redhat.com (bugzilla at redhat.com) Date: Thu, 21 May 2009 22:06:27 -0400 Subject: [publican-list] [Bug 498128] can no longer build PDFs as of the morning of 29th April In-Reply-To: References: Message-ID: <200905220206.n4M26Ri4012612@bz-web2.app.phx.redhat.com> Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=498128 Darrin Mison changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |NOTABUG -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From bugzilla at redhat.com Mon May 25 03:25:05 2009 From: bugzilla at redhat.com (bugzilla at redhat.com) Date: Sun, 24 May 2009 23:25:05 -0400 Subject: [publican-list] [Bug 475684] Find solution for using Glossaries with publican In-Reply-To: References: Message-ID: <200905250325.n4P3P5tN030251@bz-web1.app.phx.redhat.com> Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=475684 Jeff Fearn changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |502418 -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.