On 2013-08-20 10:41-0700 Alan W. Irwin wrote: > Hi Andrew: > > On 2013-08-19 20:24-0700 Alan W. Irwin wrote: > >> Unless there is something you guys dislike about these results that >> can be fixed in the short term, I am pretty much finished with it >> although there are some obvious issues mentioned in the commit message >> for revision 12490 that will need to be addressed in the long term. > > Well, I am always curious about new stuff so I did take a quick look > at http://www.sagehill.net/docbookxsl to see what was possible for > customizing the style of the results. And at least the first step in > that process (generate meaningful names for the html chunk filenames) > turned out (revision 12491) to be trivial. > > So based on that extremely encouraging result you may see some > additional revisions in the next day or so from me as I look at some > other customization possibilities. But I plan to test all such > revisions before I commit them so please do not wait for customization > perfection from me to evaluate what I have done. It's also important > that more than one of us understands the customizations so I encourage > you to get involved in XSL customizaton yourself (at least by looking > up the detailed web references I give in comments included in the new > plplotdoc-html.xsl.in file which controls html customization for the > default -DDOCBOOK_XML_BACKEND=ON case.)
With revision 12494, I think the style for -DDOCBOOK_XML_BACKEND=ON is now looking pretty good both for the html and print (pdf and ps) results. The only issue I am aware of is the ability to represent "S̅(f̲r̲e̲q̲)" in the html and print results. For the html case, the old DSSSL method converted the special xml fragment <!ENTITY over-under '<anchor id="over-under"/>'> in inline-html.ent to the html fragment <span class="overline">S</span>(<span class="underline">freq</span>) and css rules in stylesheet.css took care of the rest. For the print case, the old method converted the special xml fragment <!ENTITY over-under "Ё"> in inline-print.ent using jadetex (an old SGML backend tool) configuration contained in jadetex.cfg. It is possible something similar to these special techniques to render overlining and underlining for the html and print cases could also be used for the new XML/XSL backend. (In fact, I am fairly close to a special solution for the html case, see comments in plplotdoc-html.xsl.in.) But I think this is a rather low priority since overlining and underlining actually works badly or not at all for modern PLplot devices, see my other post today). So I am going to put off working further on this until the long term (if at all). In any case, in the long term the general utf-8 solution <!ENTITY over-under "S̅(f̲r̲e̲q̲)"> should just work instead. But PDF generation on Linux currently seems to be limited to just type 1 fonts so those unicode glyphs are not recognized as indicated by the warning messages generated by "xmlto --with-fop" Glyph "̅" (0x305, overlinecmb) not available in font "Times-Roman". Glyph "̲" (0x332, lowlinecmb) not available in font "Times-Roman". The generated PDF also had a "#" sign in place of each of the missing overlinecmb (just after the "S") and lowlinecmb (just after each of the letters in "freq") glyphs. So this is not a good solution in the short term. In the next day or so I plan to play a bit more with dblatex to see if I can generate dvi results with it, and I am also ready to deal with any issues you find as well, but otherwise I believe I have completed this project. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
