Re: DOCBOOK-APPS: need help with DocBook customization
Yann Dirson wrote: On Tue, Dec 18, 2001 at 10:51:39AM +, Ian Castle wrote: No, header/footers allow any inline content, and that may include inlined images. I have even written a stylesheet that puts an EPS in the left margin, by putting a page-height image in the left-header, and that caused no problem at all to jadetex. I've done that too... Richard Sharpe spent ages trying to get it to work as well. I must correct myself: this causes no problem if the center and right headers are empty, otherwise their baseline is shifted :( OK. What I was trying to do was have an image in the left header, text in the right header, and an underbar. It did not matter where I put the underbar, things would screw up if I had a table on that page that extended past the bottom of the page. -- Richard Sharpe, [EMAIL PROTECTED], LPIC-1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba
DOCBOOK-APPS: Font problems with PDF ...
Hi, Has anyone had font problems with the PDF generated from OpenJade and pdfjadetex? I have just had a 300+ page document printed by a commercial printer and the fonts are all over the place. It does not print with the same fonts as are displayed. -- Richard Sharpe, [EMAIL PROTECTED], LPIC-1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba To subscribe or unsubscribe from this elist use the subscription manager: http://lists.oasis-open.org/ob/adm.pl
Re: DOCBOOK-APPS: Mandrake DSSSL and jadetex customizations
Michael Wiedmann wrote: camille wrote: I just published at http://www.Linux-Mandrake.com/en/doc/project/ a report written by a trainee. He worked on improving DSSSL stylesheets and jadetex to fix many page setting problems we had on compiling manuals from DocBook: ... This is really great news! Camille, do you think someone could translate the report into English? This would be even more helpful. It would be even better if this were available in English ... -- Richard Sharpe, [EMAIL PROTECTED], LPIC-1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba To subscribe or unsubscribe from this elist use the subscription manager: http://lists.oasis-open.org/ob/adm.pl
DOCBOOK-APPS: Fatal format error; I'm stymied ...
Hi, I am now getting the above errors from pdfjadetex ... I got an error about out of memory, and increased the values in texmf.cnf, and tried to rebuild my format files, and started getting the above. Even though I have run 'fmtutil --all', I am still getting the above. Doeas anyone know the solution? -- Richard Sharpe, [EMAIL PROTECTED], LPIC-1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba To subscribe or unsubscribe from this elist use the subscription manager: http://lists.oasis-open.org/ob/adm.pl
Re: DOCBOOK-APPS: Fatal format error; I'm stymied ...
Tim Waugh wrote: On Tue, Oct 02, 2001 at 12:39:12AM +0930, Richard Sharpe wrote: Even though I have run 'fmtutil --all', I am still getting the above. Try: fmtutil --cnffile /usr/share/texmf/tex/jadetex/jadefmtutil.cnf --all Hmmm, this is wierd ... I have done the above, and it still did not fix the problem. So, then, since I have another machine with RH7.1 (among other things) on it, I installed TeTeX, OpenJade, JadeTex, etc. Then I tried to do pdfjadetex on a simple 20-page test document I have (on the tex ...) and it screwed up the same way. jadetex on the tex works however. pdfjadetex on a clean machine gives me: (Fatal format file error; I'm stymied) -- Richard Sharpe, [EMAIL PROTECTED], LPIC-1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba To subscribe or unsubscribe from this elist use the subscription manager: http://lists.oasis-open.org/ob/adm.pl
DOCBOOK-APPS: JadeTex 3.11 makes a big difference over JadeTex 3.10
Hi, I recently pulled down JadeTex 3.11 and installed it (but still had to add one more /nointerlineskip :-(). However, it has made a difference in the size of my document, in terms of the number of pages. It must produce tighter pages, because the document has gone down from 519 pages to 491 pages ... Looks like the same content. Interesting. -- Richard Sharpe, [EMAIL PROTECTED], LPIC-1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba To subscribe or unsubscribe from this elist use the subscription manager: http://lists.oasis-open.org/ob/adm.pl
DOCBOOK-APPS: Problems building openjade-1.3-18
Arrrgh, trying to build OpenJade 1.3-18 and it fails with: Duplicate explicit instantiation of 'class Vectorsize_t'. I have commented out the duplicate, and hope that it works ... -- Richard Sharpe, [EMAIL PROTECTED], LPIC-1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba To subscribe or unsubscribe from this elist use the subscription manager: http://lists.oasis-open.org/ob/adm.pl
DOCBOOK-APPS: Multi-language documentation
Hi, I have opened a can of worms by agreeing to allow someone to translate a document I wrote, that is in English, into German. This brings up the issue of managing both languages? Any suggestions on how to do it? The documentation is all in DocBook/SGML and uses DSSSL. -- Richard Sharpe, [EMAIL PROTECTED], LPIC-1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba To subscribe or unsubscribe from this elist use the subscription manager: http://lists.oasis-open.org/ob/adm.pl
Re: DOCBOOK-APPS: Section levels in TOC
Walter Joyce wrote: Perfect. It works. Does anyone know how to handle it in the customization layer? Well, it is not in dbparam.dsl, AFAIK, but you could add something like: (define %book-toc-depth% 3) (define %other-toc-depth% 1) to your driver file, and then change dbautoc.dsl to: I believe it is controlled by the following entry in dbautoc.dsl in the stylesheets: (define (toc-depth nd) (if (string=? (gi nd) (normalize book)) 3 1)) (define (toc-depth nd) (if (string=? (gi nd) (normalize book)) %book-toc-depth% %other-toc-depth%)) -- Richard Sharpe, [EMAIL PROTECTED], LPIC-1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba To subscribe or unsubscribe from this elist use the subscription manager: http://lists.oasis-open.org/ob/adm.pl
Re: DOCBOOK-APPS: which image type for output to html and pdf?
Yann Dirson wrote: On Thu, Aug 30, 2001 at 08:37:44AM +0930, Richard Sharpe wrote: Hmmm, I posted some fixes a while ago so that admon graphics align properly with the text that they mark as well. Cool, found it. I've included that in my soon-public customisation layer. Hm, thinking of it - under which terms is it (re)usable ? This layer will most probably be licenced under the GPL or LGPL - is it OK if we include your code ? If I wasn't prepared to allow it to be used, I would not have released it. GPL is fine. -- Richard Sharpe, [EMAIL PROTECTED], LPIC-1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba To subscribe or unsubscribe from this elist use the subscription manager: http://lists.oasis-open.org/ob/adm.pl
Re: DOCBOOK-APPS: which image type for output to html and pdf?
Yann Dirson wrote: On Wed, Aug 29, 2001 at 12:30:36PM -0400, Bob McIlvride wrote: In case you care about admonitions graphics: (define %admon-graphics% #t) (define %admon-graphics-path% /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/images/) (define admon-graphic-default-extension (if use-eps .eps .pdf)) Hmmm, I posted some fixes a while ago so that admon graphics align properly with the text that they mark as well. Till now i've generated the admonitions epd/pdf graphics by converting from the gif files, but that looks awfull, and someone at Alcove has drawn new ones for most admonitions - they will be published within a week, when all of them are drawn. This is excellent. I have redrawn some of them in dia but am not happy with the result. -- Richard Sharpe, [EMAIL PROTECTED], LPIC-1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba To subscribe or unsubscribe from this elist use the subscription manager: http://lists.oasis-open.org/ob/adm.pl
Re: DOCBOOK-APPS: jadetex suit characters
Norman Walsh wrote: / Richard Sharpe [EMAIL PROTECTED] was heard to say: | I don't think Norm approves of gambling. I once told him that I won | AU$20 after playing 8 hours of Mahjong, and he was mortified :-) Must be some other Norm you're thinking of. Gambling isn't one of my vices, but I don't mind if you play. :-) OK, I admit it, I made it up ... :-) Gambling isn't one of my vices either, but when you play Mahjong, seems you have to play for money, so we play 10c a point ... I was doing pretty well that day, managed to read the tiles OK (We use a chinese set ... :-), and come out ahead for once. -- Richard Sharpe, [EMAIL PROTECTED], LPIC-1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba To subscribe or unsubscribe from this elist use the subscription manager: http://lists.oasis-open.org/ob/adm.pl
Re: DOCBOOK-APPS: jadetex suit characters
Kevin Dunn wrote: I am using dsssl 1.71 and jadetex 3.10. I have hearts; spades; etc in my sgml source. Jade transforms these into \Character{9825}, etc in the .tex file. Spades and clubs look great, diamonds is a square rather than a rhombus, and hearts does not print at all. The .log file contains Warning: Unknown character 9825, at 15826. If I replace \Character{9825} with $\heartsuit$ in the tex, I get a nice heart. Any hints about where my toolchain is breaking down? On the HTML front, the suits appear as ? with the ISO-8859-1 character set under netscape. With UTF-8 or UTF-7, the suits get printed, but mdash; appears as ?. All suggestions are welcome. I don't think Norm approves of gambling. I once told him that I won AU$20 after playing 8 hours of Mahjong, and he was mortified :-) -- Richard Sharpe, [EMAIL PROTECTED], LPIC-1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba To subscribe or unsubscribe from this elist use the subscription manager: http://lists.oasis-open.org/ob/adm.pl
DOCBOOK-APPS: What is chunking?
Hi, OK, I have been seeing references to chunking. So, what is chunking? -- Richard Sharpe, [EMAIL PROTECTED], LPIC1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Admon graphics in tables with multiple paras
Hi, I have been investigating my problems with Admon Graphics a bit further. I now have admon graphics looking good since I formatted admonitions as tables, *but*, whenever I use more than one para in an admonitition, I find that I do not get %para-sep% of space between them. It struct me that there are are lots of problems with using all sorts of elements within table cells, and I wondered if these were one of them. For example, don't bother trying to do xxxlist inside a table cell. If I look at the TeX generated, I see the saxxx and sbxxx entries with values of 6, but they seem to be ignored. Can anyone suggest a course of action? Here is how I handle admonitions at the moment: (mode admon-para-mode (element para (make paragraph space-before: %para-sep% space-after: %para-sep% first-line-start-indent: 0pt start-indent: 0pt (process-children ; Make admon graphics look better ... (define ($graphical-admonition$) (let* ((adm (current-node)) (title (select-elements (children adm) (normalize title))) (title?(not (node-list-empty? title))) (adm-title (if title? (with-mode title-sosofo-mode (process-node-list (node-list-first title))) (literal (gentext-element-name adm (graphic (make external-graphic display?: #f position-point-y: (+ %bf-size% 2pt) entity-system-id: ($admon-graphic$))) ;(paras (node-list-first ;(select-elements (children (current-node)) ; (normalize para (f-child (node-list-first (children (current-node (r-child (node-list-rest (children (current-node) (make display-group space-before: %block-sep% space-after: %block-sep% (make table table-width: (- %text-width% (inherited-start-indent)) (make table-column width: ($admon-graphic-width$)) (make table-column width: 10pt) (make table-column width: (- %text-width% (+ (inherited-start-indent) ($admon-graphic-width$) 10pt))) (make table-row (make table-cell graphic) (make table-cell (make line-field field-width: 5pt field-align: 'center (empty-sosofo))) (make table-cell (with-mode admon-para-mode (process-children -- Richard Sharpe, [EMAIL PROTECTED], LPIC1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: Getting images into PDF
Hmmm Well, I have no problems getting a PDF into my DocBook stuff. Of course, I think I had to modify the DTD to allow format=PDF ... Dave Brooks, BCS Systems wrote: Still trying... I've been editing the TEX file produced by OpenJade and trying various combinations of \ScaleType, \DeclareGraphicsRule, \NotationSystemId, etc, etc. I can't find where in the style sheets that these are generated by OpenJade. The only format that pdfjadetex will recognise is EPS, for which it leaves a blank space where the image should be. jadetex works, producing a DVI file which dvips will print, WITH the image. Thanks, Dave At 09:47 26/07/01 +1200, Dave Brooks, BCS Systems wrote: At 17:00 25/07/01 -0400, Kevin Dunn wrote: -- Original Message -- From: Dave Brooks, BCS Systems [EMAIL PROTECTED] Date: Thu, 26 Jul 2001 00:16:03 +1200 Hi, I've been trying to get graphics into PDF from Docbook. Look in the *.log file. TeX will give you an error message when it fails to load graphics. Pay particular attention to what directory it is looking in to find the files. -- Thanks Kevin. For a JPEG I get the Latex error message ! LaTeX Error: Cannot determine size of graphic in test.jpg (no BoundingBox). The EPS shows in the log as test.eps For testing, I am using the following XML, which is processed with: openjade -t tex -d /usr/local/docbook/print/docbook.dsl /usr/local/docbook/dtds/decls/xml.dcl test.xml pdfjadetex test.tex The resulting PDF has a blank space where the EPS should go (taken from it's bounding box); the width/depth of the JPEG is ignored. Dave ?xml version=1.0? !DOCTYPE book SYSTEM ../docbook/dtd/dbx412/docbookx.dtd book chapter titleINTRODUCTION/title para Some text screen inlinemediaobject imageobject imagedata fileref=test.eps format=EPS/ /imageobject /inlinemediaobject /screen Above was EPS - next is JPEG screen inlinemediaobject imageobject imagedata fileref=test.jpg format=JPG width=160mm depth=120mm/ /imageobject /inlinemediaobject /screen Above was JPEG /para para Another paragraph /para /chapter -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED] -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED] -- Richard Sharpe, [EMAIL PROTECTED], LPIC1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Handling graphics properly in an admonition
Hi, I finally coded up admonitions as a table, and I get reasonable results. The only problem is if I have two in a row. I do not get the right separation between them. Here is the code: (define ($graphical-admonition$) (let* ((adm (current-node)) (title (select-elements (children adm) (normalize title))) (title?(not (node-list-empty? title))) (adm-title (if title? (with-mode title-sosofo-mode (process-node-list (node-list-first title))) (literal (gentext-element-name adm (graphic (make external-graphic display?: #f position-point-y: (+ %bf-size% 2pt) entity-system-id: ($admon-graphic$))) (f-child (node-list-first (children (current-node (r-child (node-list-rest (children (current-node) (make table space-before: %block-sep% space-after: %block-sep% table-width: (- %text-width% (inherited-start-indent)) (make table-column width: ($admon-graphic-width$)) (make table-column width: 10pt) (make table-column width: (- %text-width% (+ (inherited-start-indent) ($admon-graphic-width$) 10pt))) (make table-row (make table-cell graphic) (make table-cell (make line-field field-width: 5pt field-align: 'center (empty-sosofo))) (make table-cell (process-children)) -- Richard Sharpe, [EMAIL PROTECTED], LPIC1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: jadetex 3.9
Joe Cooper wrote: Hurrah! Now if only I could get the admon graphics vertically centered beside the admonition text Yes, I would like that too ... (or even horizontally centered above the admon text)... Hmmm, I think that this would be easy, but the above is what is required. -- Richard Sharpe, [EMAIL PROTECTED], LPIC1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba
Re: DOCBOOK-APPS: jadetex 3.9
Juan R. Migoya wrote: Joe Cooper wrote: Now if only I could get the admon graphics vertically centered beside the admonition text (or even horizontally centered above the admon text)... [snip] If you use DSSSL, just use: position-point-y: (- %bf-size% height) being height the height of the admonition graphics. Wrap the graphic together with the admonition text. This does not do what I expect. While position-point-y: %bf-size% when the external-graphic is being set up in $graphical-admonition$ aligns the top of the graphic with the top of the first line of text (or almost so), the second line of text starts after the graphic. I will have to spend some time working with tables to get the effect I want. -- Richard Sharpe, [EMAIL PROTECTED], LPIC1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba
Re: DOCBOOK-APPS: Converting from DocBook/SGML to DocBook/XML
Joe Cooper wrote: Aha, one I'm finally qualified to answer... Changing the header might be enough. It depends on your SGML. XML enforces closing of tags that might not have been enforced in SGML. It is also case sensitive, so if you have any old DocBook with Capitalized tags or even ALLCAPS tags, you'll have to convert those. Hmmm, OK, I think I will be OK, except for graphic ... tags ... I think I always use lower case tags, and close everything, except graphic ... tags. The biggest document I've converted (~200 pages) so far, took me about two hours to track down all the various issues. While some of my smaller docs were finished in 5 minutes. The most consistent problem I found was that my imagedata ... tags needed to be closed. Richard Sharpe wrote: -- Richard Sharpe, [EMAIL PROTECTED], LPIC1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba
DOCBOOK-APPS: Converting from DocBook/SGML to DocBook/XML
Hi, What is involved in converting from DocBook/SGML to DocBook/XML? Just the header, or is there more serious work? -- Richard Sharpe, [EMAIL PROTECTED], LPIC1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba
Re: DOCBOOK-APPS: First stable release of the Gnome XSLT library (fwd)
Dan York wrote: Kevin, Can it be used for formatted output ? Just thought I'd pass along this information about an XSLT library... If you didn't know, Gnome and KDE are Linux desktop environments. It looks like this library can be compiled on other platforms also. Thanks for the heads-up... I've been using libxslt (on a Linux box) for a couple of weeks now and have been *very* pleased with how it has handled XML/XSLT. It does not require Java and just runs from the command prompt (as xsltproc). I have been very pleased with the output for HTML pages. After reading your note, I went and downloaded the 1.0 release. The only gotcha is that you need to also download Norm's 1.41 XSL stylesheets to use libxslt with chunking. (Norm rewrote part of chunker.xsl and Daniel Veillard (libxslt author) modified part of libxslt for the new way of working with the stylesheets.) But I can report that the two work very well together and all the processing seems to be going fine. Regards Dan P.S. here again is the libxslt download info: The C code and precompiled RPM packages for linux are available at ftp://xmlsoft.org/ The project pages are at: http://xmlsoft.org/XSLT/ http://xmlsoft.org/ -- Regards --- Richard Sharpe, [EMAIL PROTECTED], LPIC1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba
DOCBOOK-APPS: Table cell alignment problems
Hi, After looking at the table cell alignment issue again, it seems that opnejade and the stylesheets are causing a \CellRowAlignment statement to be added to the TeX output, but JadeTex does not seem to contain anything to deal with this statement ... How do I proceed from here? Regards --- Richard Sharpe, [EMAIL PROTECTED], LPIC1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba
DOCBOOK-APPS: Table alignment and valign=middle
Hi, It seems that part of the mystery with alignment of graphics in tables is that openjade 1.3 (even the patched one from RedHat) does nothing at all with the valign=middle attribute on an entry ... tag. So, JadeTeX cannot do anything when there is nothing for it to work with. Regards --- Richard Sharpe, [EMAIL PROTECTED], LPIC1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba
DOCBOOK-APPS: Problems with JadeTeX 3.7: SpSFirstBackLeftHeader ignored
Hi, In trying to track down a problem with my headers, I have determined that an SpSFirstBackLeftHeader is ignored by JadeTeX/pdfjadetex. The FirstBackLeftHeader is actualy produced by SpSOtherBackLeftHeader! However, SpSFirstFrontRightHeader is handled correctly, but I don't know about SpSFirstFrontLeftHeader yet ... How do I figure out why? Regards --- Richard Sharpe, [EMAIL PROTECTED], LPIC1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba
Re: DOCBOOK-APPS: Providing separate title pages for chapters ...
Norman Walsh wrote: / Richard Sharpe [EMAIL PROTECTED] was heard to say: | I suggest that an empty function be defined and called in dbcompon.dsl | in the functions that handle chapters. | | This will allow us to override the empty function in our customization | layer to do exactly what we want ... As you subsequently posted, $component-title$ is just such a function. Definitely not. $component-title$ is defined for titles, and is called from within a SimplePageSequence already. If you want a title page whose page numbers do not count towards the pages in the chapter, you are in trouble.
DOCBOOK-APPS: Funny problems with headers ...
Hi again, I have isolated my underbar in the center header. It turns up now in an SpSOtherBackCenterHeader ... On page 14, 22, and 30, it turns up about 12 points above where it shows up on all other pages ... and I can't seem to change it in any way ... Regards --- Richard Sharpe, [EMAIL PROTECTED], LPIC1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba
DOCBOOK-APPS: Example document and stylesheet that screws up headers...
Hi, I now have an example document where the addition of an empty section at the front of the existing sections in the document is enough to screw up the headers on the first page, as well as the footers. My headers contain an under-bar, or rule. By adding this one empty section, my rule is pushed up about 12 points. Can anyone suggest ways around this? Regards --- Richard Sharpe, [EMAIL PROTECTED], LPIC1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba
DOCBOOK-APPS: Stylesheet languages and giving you fine control overwhere things go
Hi, One of the things I think I need to be able to do in stylesheets is to place objects at arbitrary places on a page, and it seems that DSSSL and XSL(T) don't give me that level of control. For example, I might want to place the word Preliminary diagonally across the back of every page in outline form, with the primary text appearing in front of it. In some cases, I also want to be able to take a block of text and center it, vertically, on a page. I don't seem to be able to do that with DSSSL. Don't know about XSL(T). In other cases, I want to set up the header and footer of each page with content that I want o put in specific places and want to ensure that they align properly. For example, I want to have text on one side of the header aligning with the bottom of a graphic on the other side. Indeed, the decision in DSSSL to divide the header up into three regions seems to have been a mistake. I would rather that it be one area that I can decide how to format. I would also like to be able to insert text at any angle I want to. What stylesheet languages give me these? Regards --- Richard Sharpe, [EMAIL PROTECTED], LPIC1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba
Re: DOCBOOK-APPS: Success: Double sided printing with DSSSL,open jade, jadetex
Buss, Jason A wrote: Ian, I have a question... Were you able to produce recto and verso pages with the binding margins in the correct place? (ie. left margin for a recto page, right margin for a verso page?) I do this all the time ... just set %left-margin% different to %right-margin% in your customization file. The documentation I traditionally produce has different binding margins than the outside margin. Let me know... -Jason A. Buss -Original Message- From: Ian Castle [mailto:[EMAIL PROTECTED]] I'm feeling very pleased. For the first time ever I am able to generate a DocBook book with double sided printing correctly using the DSSSL, openjade, jadetex toolchain. dsssl-style sheets version 1.62 (1.70 will also work for my applications). + a patch to prevent the table of contents/lists of tables page numbers from restarting from (i). [Richard Sharpe recently posted one which might be bettter than the one I was using] + a patch to make the recto/verson pages print on the same piece of paper (this is from Richard Sharpe - hopefully this will make it into CVS before too long) As I said, I'm sure there are additional problems (table of contents generation for preface being one ;-), but for our documents every thing seems to be working how I want it. -- Regards --- Richard Sharpe, [EMAIL PROTECTED], LPIC1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba
DOCBOOK-APPS: Bug in LOT processing with DSSSL 1.70
Hi, There is a bug in the LOT processing of DSSSL 1.70. If you have a complex document, and I am not sure what complex means yet (see below), then an unmodified DSSSL 1.70 with a simple stylesheet that switches on LOT processing (by specifying the elements that should be in the LOT) will generate TeX that causes pdfjadetex (with JadeTex 3.7) to blow up with the following message: Link Annotations can't be nested from pdfjadetex The errors relate to pars to the LOT. I have a very simple document with one chapter, and a table and a figure, and this is processed correctly. However, a more complex example with about 350 pages and a hundred figures and examples blows up. I don't yet know when it starts.
DOCBOOK-APPS: Can I override a element of book-titlepage-recto-mode?
Hi, Can I override an element of (mode book-titlepage-recto-mode ...) from dbttlpg.dsl, or do I have to override the whole lot? Regards --- Richard Sharpe, [EMAIL PROTECTED], LPIC1 www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba in 24 Hours, Special Edition, Using Samba
DOCBOOK-APPS: Graphics in tables do not behave properly in DSSSL/Print...
Hi, I am having some problems with graphics in tables. It seems that while you can specify vertical alignment, it is ignored. Does anyone have a solution?
Re: DOCBOOK-APPS: Difficulty with eps format
At 11:36 AM 6/1/01 +0200, Jirka Kosek wrote: [EMAIL PROTECTED] wrote: May be adding pdf extension to list of supported extension into your DSSSL customization file will help. (define %graphic-extensions% ;; REFENTRY graphic-extensions ;; PURP List of graphic filename extensions ;; DESC ;; The list of extensions which may appear on a 'fileref' ;; on a 'Graphic' which are indicative of graphic formats. ;; ;; Filenames that end in one of these extensions will not have ;; the '%graphic-default-extension%' added to them. ;; /DESC ;; AUTHOR N/A ;; /REFENTRY '(eps epsf gif tif tiff jpg jpeg png pdf)) Hmmm, JadeTex does not support eps or epsf, I thought, because LaTeX doesn't. - Jirka Kosek e-mail: [EMAIL PROTECTED] http://www.kosek.cz Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Some contributed admon graphics ...
Hi, Attached are Dia files and eps files for potential replacement admon gaphics for warning.{eps,dia}, tip.{eps,dia}, and important.{eps,dia}. I have not yet been able to do note.dia and have it look good. These are a start. important.dia important.eps tip.dia tip.eps warning.dia warning.eps Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba
Re: DOCBOOK-APPS: Some contributed admon graphics ...
At 12:49 PM 5/12/01 +0900, Richard Sharpe wrote: Hi, Attached are Dia files and eps files for potential replacement admon gaphics for warning.{eps,dia}, tip.{eps,dia}, and important.{eps,dia}. I have not yet been able to do note.dia and have it look good. I forgot to mention, they are 23 by 23 pt, or about 0.34in, as are the existing graphics. Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: Some contributed admon graphics ...
At 12:55 PM 5/12/01 -0400, Kevin Dunn wrote: They look good. One suggestion I would make would be concerning the warning graphic. When printed on a BW printer, red becomes dark gray and the ! gets lost. If you make it a lighter shade of red, the ! will show up, but then it looks just like important. I would suggest making warning a different shape from important and making the red a lighter shade so that the same graphics are useful in both color and BW. Yes, I saw that, and I will have to do something about it ... I still have one or two more to do as well, as time permits. I amd currently working on my 3-day Samba course which is soaking up all my time, then there is a second edition of Special Edition, Using Samba to work on and then ... I think I need to employ someone :-) -- Kevin M. Dunn Professor of Chemistry Hampden-Sydney College -- -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED] Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Admonition Graphics again, etc ...
Hi, These comments apply to OpenJade 1.3, DocBook SGML and DSSSL. I have been playing around with admonition graphics again a bit, and the best I can achieve is the following: +-+ | gra | +-+ The admon starts here and goes for as many lines as I have defined and the admon para lines up with standard para's in the rest of the document, and there is space between the graphic and the admon para and the graphic sits in the margin ... However, I cannot get it so that the top of the graphic aligns with the top of the para, and looking at things like (make table ...) and that whole stuff, there does not seem to be anything that handles alignment in the vertical direction, while horizontal alignment is well catered for. Does this seem reasonable? Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: ldb2pdf script that uses different stylesheets ...
Hi, Here is a modification to the db2pdf script that comes with RedHat 7.0 ... as part of the stylesheets-1.54 RPM. This modification allows you to have a stylesheet with the same name as the document sgml file in the directory containing the SGML source (if document is called fred.sgml, the script looks for fred.dsl), but if that cannot be found, the script looks for stylesheet.dsl in the same directory as the source, otherwise it falls back to the default one. #! /bin/sh #STYLESHEET=/usr/lib/sgml/stylesheets/cygnus-both.dsl #STYLESHEET=./stylesheet.dsl TMPFN=`echo $1 | sed 's/\.sgml//'` TMPFN1=${TMPFN}_tmp if [ $# -gt 2 ] then echo Usage: `basename $0` [filename.sgml] 2 exit 1 fi if [ $# -eq 1 ] then if [ ! -r $1 ] then echo Cannot read \$1\. Exiting. 2 exit 1 fi if echo $1 | egrep -i '\.sgml$|\.sgm$' /dev/null 21 then output=`echo $1 | sed 's,\.sgml$,.pdf,;s,\.sgm$,.pdf,'` fi fi SOURCEDIR=`dirname $1` SOURCEFILE=`basename $1 .sgml` if [ -f ${SOURCEDIR}/${SOURCEFILE}.dsl ]; then STYLESHEET=${SOURCEDIR}/${SOURCEFILE}.dsl else if [ -f ${SOURCEDIR}/stylesheet.dsl ]; then STYLESHEET=${SOURCEDIR}/stylesheet.dsl else STYLESHEET=/usr/lib/sgml/stylesheets/cygnus-both.dsl fi fi jade -E 1000 -t tex -d ${STYLESHEET}\#print -o ${TMPFN1}.tex $1 # Now, check for any , etc sequences sed -e 's//{}/' -e 's//{}/' ${TMPFN1}.tex ${TMPFN}.tex rm -f ${TMPFN1}.tex pdfjadetex $TMPFN if egrep '^LaTeX Warning: There were undefined references.$' ${TMPFN}.log /dev/null 21 then pdfjadetex $TMPFN pdfjadetex $TMPFN fi #if [ -f ${TMPFN}.cfg ] #then # mv ${TMPFN}.cfg jade.cfg #fi exit 0 Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba
DOCBOOK-APPS: Fixes to insertRule in jadetex.dtx
Hi Sebastian, here are the patches to insertRule to remove the space before and after a rule. It inserts a \nointerlineskip at the right places so we get rid of the normal interline skip which makes a rule before or after a line of text look ugly! --- /home/rsharpe/jadetex.dtx Mon Mar 5 20:20:04 2001 +++ jadetex.dtx Tue May 8 13:06:21 2001 @@ -866,6 +866,7 @@ % an hbox, if a width is supplied. %\begin{macrocode} \@tempdima\linewidth + \nointerlineskip \ifdim\EndIndent\z@ \advance\@tempdima by-\EndIndent \fi @@ -887,6 +888,7 @@ \ifx\DisplayAlignment\A@center\hfill\fi \ifx\DisplayAlignment\A@start\hfill\fi }% + \nointerlineskip \@@par \endRuleNIC \endSetupICs Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Admonition graphics in eps?
Hi, Are the admonition graphics available in source form or as EPS files? Using a gif or png in a print document is not the best quality ... Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: JadeTeX: Specifying Fonts
At 04:12 PM 5/2/01 +0100, Sebastian Rahtz wrote: Deborah Greenberg Lidl writes: I tried: (define %title-font-family% sans-serif italic) sorry, dont take me too literally. I have no idea how the styles work. you need to set the family to Helvetica, and the style to italic. dont ask me how... docs. I do need to specify a specific font (Helvetica Oblique) rather than just a font type (sans-serif italic). you need a more flexible stylesheet that lets you specify more than just family If you look through the DSSSL stylesheets, you will find that (make paragraph ...) and (make sequence ...) (I think) accept a font-posture: attribute, which is where you would put 'italic, 'upright or 'bold etc. I don't think that this is well catered for in the DSSSL stylesheets, and is perhaps something that should be changed. sebastian -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED] Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: Different recto and verso margins ...
At 10:41 AM 4/25/01 +0200, Juan R. Migoya wrote: In jadetex.dtx, after these lines: \def\JadeSetPage{% \ifnum\PageTwoSide=0 \global\@twosidefalse \else \global\@twosidetrue \fi \footskip\FooterMargin \oddsidemargin\LeftMargin add the next: \ifnum\PageTwoSide=0 \evensidemargin\LeftMargin \else \evensidemargin\RightMargin \fi Hope this helps, Too right it does ... Perhaps Sebastian could consider it for the next release of JadeTex ... Thanks for your help ... Juan R. Migoya TEAM S.L. Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Different recto and verso margins ...
Hi, I have got my two-side stuff seemingly working, with the appropriate things set in JadeTex and so forth. However, if I use different left and right margins, to allow for the binding that will occur, I do not seem to get these alternating on recto and verso pages. They are the same on each page, which will create a funny effect. Does anyone know how to get recto and verso pages alternating their margins? Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Where do I put my customization file?
Hi, I want to move most of my changes out to a customization file ... :-) Where do I put that file so that it is picked up? Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: Aaargh, text with {...} causes pdfjadetex to blow up...
At 10:19 AM 4/24/01 +0100, Sebastian Rahtz wrote: Richard Sharpe writes: Run sed over the .tex output and convert all to {} and all to {} and it works ... thats another 100 years in purgatory for you :-} OK, I promise that it is only a stop-gap, and I will work on OpenJade next week. sebastian Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Table and figure quadding
Hi, I propose adding a variable to control the quadding of figures and tables in the DSSSL print style sheets ... (althoug, not tonight). Any comments Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Different margins for recto and verso pages forbinding/spine
Hi, Has anyone been able to use different margins for recto and verso pages so that you can account for the binding of a document? Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: Aaargh, text with {...} causes pdfjadetex to blow up...
At 08:38 PM 4/22/01 +0100, Sebastian Rahtz wrote: [Sebastian's coding suggestions deleted in the interests of brevity ... ] OK, I have a simple fix for the moment ... Run sed over the .tex output and convert all to {} and all to {} and it works ... Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Solved problems with rules above footers ...
Hi, Well, I solved my problems with rules above the footers ... Blush, you need a 'lenght: some-length' in a (make rule ...) if you want the rule to reliably print. I don't know why, but JadeTex would print out the full hrule, even though Length was zero, or would print out two half rules or something, except when a table preceeded the bottom of the page. Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word unsubscribe in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Norm, can we get PDF into the DocBook DTD and DSSSLsheets ...
Hi, Can we get PDF into the DTD and into the stylesheets ... Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: TOC Level 1 entries need keep-with-next?: #t by thelooks in DSSSL
Hi, It seems that a level 1 TOC entry generated by dbautoc.dsl should have the keep-with-next? attribute set to #t. I added to the make-paragraph: keep-with-toc?: (if (= level 1) #t #f) Now to see if this works ... Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Correct handling of recto and verso title pages withDSSSL
Hi, I have fixed the little problem to do with recto and verso pages getting an extra page after them if JadeTeX is doing its stuff and ensuring that a simple-page-sequence starts on a recto page ... Here are the patches ... They stop the code in dbttlpg.dsl from doing a (make simple-page-sequence...) for the recto and verso page for the title page, and shift that back into dbdivis.dsl. Seems to work for me ... However, I needed to modify jadetex.dtx slightly to set some variables that I cannot convince OpenJade to pass into jadetex ... Will have to look at why that does not work, but a couple of weeks. --- dbdivis.dsl Wed Apr 18 17:02:47 2001 +++ dbdivis.dsl.new Wed Apr 18 17:04:48 2001 @@ -52,9 +52,14 @@ (nl(titlepage-info-elements (current-node) bookinfo))) (make sequence (if %generate-book-titlepage% - (make sequence + (make simple-page-sequence + page-n-columns: %titlepage-n-columns% + input-whitespace-treatment: 'collapse + use: default-text-style (book-titlepage nl 'recto) - (book-titlepage nl 'verso)) + (make display-group + break-before: 'page + (book-titlepage nl 'verso))) (empty-sosofo)) (if (node-list-empty? dedication) --- dbttlpg.dsl Thu Sep 28 08:50:20 2000 +++ dbttlpg.dsl.new Wed Apr 18 17:07:54 2001 @@ -1364,10 +1364,10 @@ (book-titlepage-recto-elements) (book-titlepage-verso-elements)) elements))) -(make simple-page-sequence - page-n-columns: %titlepage-n-columns% - input-whitespace-treatment: 'collapse - use: default-text-style +(make sequence + ; page-n-columns: %titlepage-n-columns% + ; input-whitespace-treatment: 'collapse + ; use: default-text-style ;; This hack is required for the RTF backend. If an external-graphic ;; is the first thing on the page, RTF doesn't seem to do the right Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Multi-line header problems
Hi, I have modified my DSSSL scripts (dbcompon.dsl) to allow parts of the header to be multi-line text ... What I am getting is a variable amount of space between the two lines ..., and I cannot seem to control the while space between them. The two lines are like: xxx yyy And they appear correctly on recto and verso pages, but on some pages I get: xxx yyy but on others I get: xxx yyy And there seems to be no rhyme or reason ... Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Correct handling of recto and verso title pages withDSSSL
Hi, I have fixed the little problem to do with recto and verso pages getting an extra page after them if JadeTeX is doing its stuff and ensuring that a simple-page-sequence starts on a recto page ... If there is any interest, I can send patches ... Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Figure titles are too far from the figure
Hi, I have specified in dbparam.dsl that I want Figure and Example and Table titles after the objects they label. My table titles are in the right place, but Figure titles are too far from the figure. It seems to be the case that all the (make paragraphs ...) involved (one for the graphic, for example, and one for the title, are inserting two \endPar{} elements, and then the title as sbMin etc of 6pt ... Is there any way I can eliminate all that blank space? Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
RE: DOCBOOK-APPS: Aaargh, text with {...} causes pdfjadetex to blow up...
At 12:14 PM 4/17/01 +1000, Phillip Shelton wrote: There may be more of the tex file needed, but the tex fragment is missing a closing brace. Hmmm, it seems to be the specific combination below, because elsewhere in the document I have got '{abc}' and OpenJade and pdfjadetex have no problems dealing with it at all ... Or is it that it is missing an opening \{. hmmm. -Original Message- Here is the DocBook fragment: glosstermlcub;lt;str1gt;,lt;str2gt; ...rcub/glossterm Here is what OpenJade produces by the way of TeX: {1}\def\KeepWithNext% {1}}\{str1,str2 ...\}\def\HeadingText{% \str1,str2 ...\}% \endHeadPar{}\endNode{}\Node% Here is the error pdfjadetex gives: Runaway definition? -\str1,str2 ...\}\endHeadPar {}\endNode {}\Node {\def \Element {\ETC. ! File ended while scanning definition of \HeadingText. inserted text } Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: Picking up the book title in a header element in theDSSSL?
At 07:55 AM 4/16/01 -0400, Norman Walsh wrote: / Richard Sharpe [EMAIL PROTECTED] was heard to say: | I can half see how to do this in DSSSL, but wondered if someone could give | me a solid pointer. Look at the templates in print/dbcompon.dsl that handle headers and footers. A little tree-walking from the point of insertion should allow you to extract the book title and subtitle fairly easily. Yes, indeed ... Unfortunately, I do not understand enough about the structure of the tree to get there. I tried using sgml-tree-root or some such, but that was a dismal failure. How do I get from the current-node to, say, the top of the tree, which is where I imagine I can do something like (select-elements (top-of-tree) (normalize "title")) and also for subtitle ... Be seeing you, norm Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Picking up the book title in a header element in theDSSSL?
Hi, I want to be able to pick up the book title and subtitle and insert those as elements in the page headers or footers ... I can half see how to do this in DSSSL, but wondered if someone could give me a solid pointer. Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Proper placement of admon graphics for print with DSSSL
Hi, I seem to have admon graphics sort of working ... It produces the following: Line of text here and etc tt ++ | ad | ++ First line of the warning or note etc here. Note, that the graphic pokes above the line ... What I would really like is something like: Normal line of text here ++ The first line should line up with the top of the graphic | ad | and the graphic should be in the margin ... ++ etc I suspect that I will have to play with tables to do this ... can anyone advise? Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: Inserting eps or pdf documents into a DocBookdocument
At 09:19 AM 4/11/01 +0100, Sebastian Rahtz wrote: Richard Sharpe writes: Ummm, just add PDF to the list in dbnotn.mod and to the list in dbparams.dsl. However, it has problems. It inserts a whole page. you probably made a PDF file covering a whole page. you need to make the PDF the same size as the picture content (like EPS boundingbox) Yes ... I am trying to find out how to insert the original EPS, as that will be better. have you seen http://www.tug.org/applications/pdftex/epstopdf? Yes, I have now ... It is now under control, thanks ... sebastian -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED] Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Inserting eps or pdf documents into a DocBook document
Hi, Sebastian Rahtz suggested yesterday that inserting a PDF graphic is going to be better than an EPS (or PS) because pdfTeX does not understand (E)PS ... Since the drawing tool I use can generate eps files, this will give a higher quality printed document than converting to a png and printing that. What will it take to get DocBook to accept a PDF or EPS file for graphics? Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: Inserting eps or pdf documents into a DocBookdocument
At 10:38 AM 4/10/01 -0400, Dan York wrote: Richard, What will it take to get DocBook to accept a PDF or EPS file for graphics? *All* I use for the graphics in my printed manual are EPS files. Something like 45 or 50 of them in the file. Works perfectly fine for me. Most of them are actually screen shots in Linux which were taken using the Gimp (graphics tool) and then saved as EPS (for printing) and JPEG (for online version). To create my PDF manual, I've used a number of different tools, but have now settled on 'sgml2x' (http://sgml2x.sourceforge.net/) which is really simply a frontend to openjade and JadeTex it works perfectly fine with EPS files. Hmmm, I don't understand what the sgml2x does? I have managed to get DocBook to understand PDF as a graphic format. A small change to the DTD and to dbparams.dsl was required ... However, the EPS route looks simpler ... Man the graphics look much better than saving my drawings as PNG. Regards, Dan Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: Inserting eps or pdf documents into a DocBookdocument
At 06:41 AM 4/11/01 +0900, Richard Sharpe wrote: At 05:33 PM 4/10/01 -0400, Dan York wrote: Richard, What is the secret to SGML2X? How can it handle an epsf file when pdfjadetex can't? I don't know... sgml2x *calls* pdfjadetex! And it works fine with EPS files... in fact, I've always thought pdfjadetex worked fine with EPS so I have been extremely surprised to see the recent suggestions to NOT use EPS files. Have you tried it and had it fail? Oh yes, it fails with a message about LaTeX not understanding eps ... I wish I could get SGML2X so I could see what it does! OK, I got sgml2x, and I can now see what it does. Firstly, Dan, did you have to do anything special to make it work? The setup instructions are Abys Mal and it gives wierd errors when I set the SGML_CATALOG_FILES to what I think they should be. How some ever, what it does is: jade - TEX jadetex - dvi dvips - ps ps2pdf - pdf The dvips step seems to require that all graphics be in eps or ps, otherwise it inserts a raw jpg or whatever file. However, once you satisfy that requirement, the EPS files are indeed inserted in the document, but they loose any scaling you requested of DocBook. Dan, do you draw your diagrams to the exact scale you need in a document? Now to figure out who to get this to work with db2pdf. Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED] Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: Handling gif images with DocBook and OpenJade 1.3
At 10:17 AM 4/9/01 +0100, Sebastian Rahtz wrote: Richard Sharpe writes: Does anyone have DocBook and OpenJade 1.3 with the latest JadeTex (3.6?) handling GIF images under, say, RedHat Linux? I am not aware of any TeX driver that handles GIF images. Just say NO to them, they are the spawn of the devil Yes, I am trying to get TeTeX to understand PNG at the moment. It seems that I need to rebuild the version installed on RedHat 7.0, as the part that handles png images seems to have been linked against the non-dynamic libpng 1.0.6 and doesn't understand the PNGs I am trying to use ... My next step is to try some EPS images as well. Sebastian Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: Handling gif images with DocBook and OpenJade 1.3
At 10:37 AM 4/9/01 +0100, Sebastian Rahtz wrote: Richard Sharpe writes: Yes, I am trying to get TeTeX to understand PNG at the moment. It seems that I need to rebuild the version installed on RedHat 7.0, as the part that handles png images seems to have been linked against the non-dynamic libpng 1.0.6 and doesn't understand the PNGs I am trying to use ... that surprises me. pdfTeX is usually reliable at handling PNG Nah, it seems that Gimp must be writing something in the images that the version of teTeX I was using couldn't handle. A rebuild (rpm -ba ...) and a reinstall did the trick. Got it linked against libpng 1.0.10. My next step is to try some EPS images as well. in that case, dont use pdfTeX, it cannot grok EPS. convert EPS to PDF. Hmmm, OK, you are saying that pdfTeX can handle PDF OK, but I just checked the DocBook 4.1 DTD (dbnotn.mod) and it does not appear to accept PDF as an input type ... I may have to hack the DTD to fix that ... sebastian Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: DocBook complains that graphic ... has no alignattribute ...
At 05:51 PM 4/8/01 +0900, Richard Sharpe wrote: Hi, I think that I am using DocBook 4.1, and tried using graphic ... align="left" but Jade (OpenJade 1.3) complains that graphic ... does not have an align attribute ... Does anyone know why this might be the case? Well, I do ... Due to sillyness, my CATALOG file was messed up. Now that I have the correct entries in it, all is forgiven. Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED] Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Handling gif images with DocBook and OpenJade 1.3
Hi, Does anyone have DocBook and OpenJade 1.3 with the latest JadeTex (3.6?) handling GIF images under, say, RedHat Linux? I am having some problems with this. Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Title page recto and verso page problems
Hi, I have finally discovered an element in JadeTeX.dtx that allows me to switch on a blank page at the end of a Simple Page Sequence if it does not start on a right hand (recto) page ... However, the title pages are both built with a (make simple-page-sequence ...), which causes a blank page after each. This is clearly not good. I can probably hack it out, by putting a moving the (make simple-page-sequence ...) to dbdivis.dsl rather than dbttlpg.dsl and putting the appropriate elements in between the recto and verso pages ... Does anyone have any comments? I also have to figure out why OpenJade is not setting the appropriate variables in the TeX output to ensure that things happen the way they should. Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Re:Headers with an underbar and make rule and JadeTeXinsertRule
At some distant time in the past, I said: Hi, I have been doing a lot of investigation on why I get an unsightly amount of space between my header and the rule underneath it that I have inserted in my DSSSL hacks ... Well, I now have it working essentially the way I want it, modulo a couple of pages where the rule does not stretch all the way across the page. The solution was to insert \nointerlineskip AT THE RIGHT POINT in the \insertRule macro in jadetex.dtx. In now have headers and footers alternating left and right, as well as a hrule hard up against the bottom of the header and a hrule hard up against the top of the footer. On to the document contents now ... Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Headers with an underbar and make rule and JadeTeXinsertRule
Hi, I have been doing a lot of investigation on why I get an unsightly amount of space between my header and the rule underneath it that I have inserted in my DSSSL hacks ... I am convinced more than ever it is the insertRule macro in JadeTeX that is causing the problem, and I have been forced to delve into TeX far more than I wanted to. While I am currently investigating this still, it seems that the problem may be related to the fact that 'make rule' can be added any where in a sequence or paragraph or wherever, and is perhaps intended to be inserted on the current line between two pieces of text. In which case, it should have the same \baselineskip as the text on the line. It also seems to be being inserted in an \hbox, which is perhaps where it is inheriting its \baselineskip, and thus the white space I don't want when I want to underline a whole header line. Is it possible in TeX to figure out if you are in verticle mode (at the end of a paragraph)? If so, then perhaps a different macro can be used. Just some rambling at the moment, as I research this some more. Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: How to change alignment on an external graphic?
Hi, I am trying to ensure that an external graphic that I want in the headers and footers turns up correctly on either side of the page. What I want to do is the following: display-alignment: (if-front-page 'start 'end) But OpenJade 1.3 is telling me that the arguments to if-front-page are of the wrong type, they should be sosofos ... How can I do what I want? Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: AuthorBlurb does not print
At 05:00 PM 3/11/01 -0500, Norman Walsh wrote: / Richard Sharpe [EMAIL PROTECTED] was heard to say: | Then I enabled the authorblurb in the book-titlepage-verso-elements, but | the authorblurb does not come out. | | Has anyone got any ideas why? Authorblurb is inside author. You need to provide a custom rule for the author element that prints the authorblurb. Hmmm, OK, but the definition of (mode book-titlepage-verso-mode ... has an (element authorblurb ... in it. If the above is the case, why does this code exists in dbttlpg.dsl? Also, since the author element in the recto page mode code does a process-children, why does *it* not print the blurb? Be seeing you, norm -- Norman Walsh [EMAIL PROTECTED] | Nearly every complex solution to a http://www.oasis-open.org/docbook/ | programming problem that I have Chair, DocBook Technical Committee | looked at carefully has turned out | to be wrong.--Brent Welch -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED] Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: Customizing Jadetex
At 09:50 AM 3/13/01 +, Sebastian Rahtz wrote: http://www.tug.org/applications/jadetex/ Hi Sebastian, Are you aware that only the zip link on that page actually retrieves anything? Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: DocBook and JadeTex: Left and Right Headers and Footers
Hi, I have looked at this issue of Left and Right footers (and headers) being the same when processed by pdfjadetex or jadetex ... In looking at a document, it would seem that OpenJade is doing the following: 1. SpSFirstFrontLeftFooter = "Left Text" SpsFirstBackLeftFooter = "Left Text" This seems to be wrong. They are being both set to the same value, but they should be set to different values in TwoPage mode. 2. SpsOtherFrontLeftFooter = "Left Text" SpsOtherBackLeftFooter = "Right Text" However, it looks like the OtherFront and OtherBack entities are being ignored. I will hand modify the TeX and run JadeTex again and see if that is true ... Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: DocBook and JadeTex: Left and Right Headers andFooters
At 01:53 PM 3/14/01 +1000, Richard Sharpe wrote: Hi, I have looked at this issue of Left and Right footers (and headers) being the same when processed by pdfjadetex or jadetex ... In looking at a document, it would seem that OpenJade is doing the following: 1. SpSFirstFrontLeftFooter = "Left Text" SpsFirstBackLeftFooter = "Left Text" This seems to be wrong. They are being both set to the same value, but they should be set to different values in TwoPage mode. 2. SpsOtherFrontLeftFooter = "Left Text" SpsOtherBackLeftFooter = "Right Text" However, it looks like the OtherFront and OtherBack entities are being ignored. I will hand modify the TeX and run JadeTex again and see if that is true ... After hand modifying the TeX to add OFRH on the front of the text that occurs in an SpSOtherFrontRightHeader, and OFLF on the front of the text that occurs in an SpSOtherFrontLeftFooter and FFLF on the front of the text that occurs in an SpSFirstFrontLeftFooter, it is very clear that the following is happening: FirstPageFront gets FirstFrontLeft and Right Headers/Footers as appropriate FirstPageBack gets the OtherFrontLeft and Right Headers/Footers NextPageFront gets OtherFrontLeft and Right Headers/Footers NextPageBack gets OtherFrontLeft and Right Headers/Footers. However, OpenJade is assembling different OtherFrontLeftFooter and OtherBackLeftFooter Entries ... While producing exactly the same FirstFrontLeftFooter and FirstBackLeftFooter! Seems like a combination of errors here ... Can anyone clue me in? Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: unwanted extra blank pages for title page only
At 05:26 AM 3/12/01 -0700, Deborah Greenberg Lidl wrote: All -- Hi Debbie, (Yes, this is a slightly modified repost. As Norm seems to be in an answering mood, and as I never got any replies the first time 'round, I thought I'd repost :-) Hmmm, you have to sacrifice a goat(herd) to the SGML gods first :-) I'm using DocBook 4.1 (SGML) / DSSSL 1.62 / OpenJade 1.3 / JadeTex 3.3. I'm creating a book, and have %two-side% set to #t to generate two sided pages. Welcome to the club. Do you get your headers and footers alternating? What I'd like to have in print versions is: - title page (page 1) - copyright page (page 2) - table of contents (page 3) - start of first part (page 5 or some other odd page) - start of first chapter (page 7 or some other odd page) You too, eh ... However, when I process with Jade/OpenJade and JadeTex, I get - title page (page 1) - blank page - copyright page (page 3) - blank page - table of contents (page 5) - start of first part (page 7 or some other odd page) - start of first chapter (page 9 or some other odd page) When I change \cleardoublepage to \clearpage in jadetex.dtx, I get: - title page (page 1) - copyright page (page 2) - table of contents (page 3) - start of first part (page 4 or next available page) - start of first chapter (page 5 or next available page) It appears that something in my toolchain is causing the title page and copyright page to be treated as separate page sequences. So, changes that affect simple page sequences (like \cleardoublepage) affect them individually. As I understand the DSSSL stylesheets, in dbprint/dbttlpg.dsl, the recto page of the title page is the title page, and the verso page is what I'm referring to as the copyright page. Is my understanding correct? I get the book title on the recto title page, and the copyright on the verso title page, and I have not really hacked dbttlpg.dsl at all. If my understanding is correct, is there something in the stylesheets that is causing the extra blank pages when %two-side% is turned on? Is there something that's causing the copyright page to be it's own simple page sequence? And yes, I have tried installing JadeTex 3.5. It does NOT clear up this problem. Where did you get JadeTex 3.5? Many thanks, Debbie -- Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: Does JadeTeX work? ( Juan's response)
At 12:08 PM 3/5/01 +, Sebastian Rahtz wrote: 3. Page number restarts are ignored. So, instead of having small Roman pages in the front matter (i, ii, iii...) and restarted Arabic numbers in the body matter (1, 2, 3...), you just get Arabic numbers all the way through. this is fixed in the version I have here. since someone introduced new macros into the output without telling me, I am not surprised it didn't work until today! Yes, that is definitely fixed! It is great ... sebastian Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba
Re: DOCBOOK-APPS: DSSSL, page-number-restart, PDF, and some progress
At 11:03 AM 3/4/01 +0100, Juan R. Migoya wrote: The DSSSL and Jade mechanisms seems to work well in this point. Why do you need to change Jadetex? Because I cannot get it to do a page-number-restart on a make simple-page-sequence for me at all. I have page one of a chapter showning as Page 1-11, rather than 1-1. Regards, Juan R. Migoya Richard Sharpe wrote: Hi, I am continuing to bang my head against the wall on this. It seems that the latest version of JadeTex I have, 3.3, inserts PageNumberRestart% macro? calls into the TeX output, and I cannot find them defined anywhere. However, if I add a \pagenumbering{arabic} to the TeX not far after that call, I get my page numbers starting at 1 again. Now to figure out why I do not get the right behaviour normally. Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba
Re: DOCBOOK-APPS: Rendering characters in inverse video
At 12:17 PM 3/3/01 +0100, Juan R. Migoya wrote: Theoretically it should be: font-style:... (wathever) color: white bakcground: black OK, by careful use of make-box with a background of black and make paragraph with a color of white, I have done what I want. Thank you very much. Now I have to figure out how to adjust the box to be the length in printing terms of the string I am printing, and how to print two objects side by side ... But I have not tested it with the DSSSL, only with XSL, and it works well. Regards, Juan R. Migoya Richard Sharpe wrote: Hi, I have done a (limited) search of the docbook-apps archive, and have not found what I want. I want to render one character, the chapter number, in inverse video on the chapter title page that I have managed to generate ... Does anyone know how to do this? What font or etc do I choose in my DSSSL style sheets? Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba
DOCBOOK-APPS: Trying to use make table caused lots of problems
Hi, Boy, did I get into trouble. I was trying to use make table and make table-cell to build a couple of things side by side, and although Jade did not complain, pdfjadetex did, and failed to produce PDF. Is this a known problem? Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba
Re: DOCBOOK-APPS: page-number-restart? and PageNumberRestart%
At 10:30 AM 3/5/01 +1000, Richard Sharpe wrote: Hi, thanks to Sebastian Rahtz, I now have a JadeTex.dtx that implements PageNumberRestart%, and it works! Now all I have to figure out is how to get my TOC page numbers correct :-) Someone once said "Be careful of what you ask for, because you might get it :-)" Now, I have all my page numbers looking like 1-1 (after a bit of hacking). That is, everything looks like it is on page 1, even though clicking on the PDF TOC entry takes you to the right place ... Also, every page is a front page. Does anyone know what that is? Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba
Re: DOCBOOK-APPS: page-number-restart? and PageNumberRestart%
At 03:23 PM 3/5/01 +1000, Richard Sharpe wrote: At 10:30 AM 3/5/01 +1000, Richard Sharpe wrote: Hi, thanks to Sebastian Rahtz, I now have a JadeTex.dtx that implements PageNumberRestart%, and it works! Now all I have to figure out is how to get my TOC page numbers correct :-) Someone once said "Be careful of what you ask for, because you might get it :-)" Now, I have all my page numbers looking like 1-1 (after a bit of hacking). That is, everything looks like it is on page 1, even though clicking on the PDF TOC entry takes you to the right place ... What I should say here is that in the body of the chapter, page numbers are correctly listed as 1-1, 1-2, 1-3, 1-4 and so on ... Something is going wrong with the make link by the looks of it, and there are a whole lot of errors in the log file generated by pdfjadetex about \PageNumbering being an undefined control sequence ... Also, every page is a front page. Does anyone know what that is? Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba
DOCBOOK-APPS: Still cannot get admonition graphics working, nor ...
Hi, Upgrading to the latest version of JadeTex has improved things greatly with my PDF output from DOCBOOK ... However, I am still not getting page-number-restart? to work, nor does admonition graphics work yet. Am I wasting my time on these things? Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba
DOCBOOK-APPS: DSSSL, page-number-restart, PDF, and some progress
Hi, I am continuing to bang my head against the wall on this. It seems that the latest version of JadeTex I have, 3.3, inserts PageNumberRestart% macro? calls into the TeX output, and I cannot find them defined anywhere. However, if I add a \pagenumbering{arabic} to the TeX not far after that call, I get my page numbers starting at 1 again. Now to figure out why I do not get the right behaviour normally. Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba
DOCBOOK-APPS: Rendering characters in inverse video
Hi, I have done a (limited) search of the docbook-apps archive, and have not found what I want. I want to render one character, the chapter number, in inverse video on the chapter title page that I have managed to generate ... Does anyone know how to do this? What font or etc do I choose in my DSSSL style sheets? Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba
DOCBOOK-APPS: make simple-page-sequence and page-number-restar?
Hi, I am having problems with DOCBOOK under RedHat Linux 7.0. I the attribute page-number-restart? is set to #t as far as I can see, but my page numbers do not restart. Can anyone suggest a solution? Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba
DOCBOOK-APPS: I thought I had the display of admonition graphicsworking for pdf files
Hi, I thought I had the display of admonition graphics working when I discovered that in dbadmon.dsl, display? was set to #f, and I needed to encode an absolute path for %admon-graphics-path% ... Then, I thought that I needed to code (graphics-file ($admon-graphics$)), but, I was wrong! Can anyone tell me the trick to getting admonition graphics working in the nwalsh-modular DSSSL stylesheets for PDF files? Regards --- Richard Sharpe, [EMAIL PROTECTED] Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com) Contributing author, SAMS Teach Yourself Samba in 24 Hours Author, Special Edition, Using Samba