Re: docbook, xmlto, FOP and hyuphenation

2003-04-14 Thread Togan Muftuoglu
* Robert P. J. Day; [EMAIL PROTECTED] on 13 Apr, 2003 wrote: with a single stylesheet fragment. but there's no parameter which specifies hyphenation *country* as far as i can see. so, at the moment, i don't see how to use this technique to specify that i want my hyphenation country to be en_GB

Manual line breaks

2003-04-14 Thread Matthias Brunner
Hello! In a perfect XML world content is always separatable from presentation. Unfortunately, there are cases (at least in publishing) when this is simply not possible. For example, we need to provide the possibility to insert manual breaks into text (especially titles). Web research tells

Re: Manual line breaks

2003-04-14 Thread Joop Vriend
I haven't tried this myself yet, but see: http://marc.theaimsgroup.com/?l=fop-userm=102469565909328w=2 : 'If you want to have your line breaks preserved, you should set linefeed-treatment to preserve. Unfortunately, FOP doesn't implement this. You can set white-space-collapse to false, which will

AW: Manual line breaks

2003-04-14 Thread Müller, Markus
Hi Matthias, you can find several XSL:FO samples using a tag like br/ to specify line breaks, using the template ... xsl:template match=br fo:block/ /xsl:template ... For detailed information see http://www.biglist.com/lists/xsl-list/archives/200202/msg01290.html MM $ -Ursprüngliche

Chinese character in bold

2003-04-14 Thread Lee Fergus
Hi all, I have problem showing chinese characters in bold. I have generated the MingLiU.xml file with the TTFReader utility from the mingliu.ttc file and here's what I put inside my userconfig.xml font metrics-file=D:\fop\fop-0.20.4\conf\MingLiU.xml embed-file=C:\winnt\fonts\mingliu.ttc

AW: Chinese character in bold

2003-04-14 Thread Müller, Markus
Hi, AFAIK you have to generate different XML font metrics files for different font styles / weigths, so your userconfig.xml should look like this: font metrics-file=D:\fop\fop-0.20.4\conf\MingLiU.xml embed-file=C:\winnt\fonts\mingliu.ttc kerning=yes font-triplet name=MingLiU style=normal

RE: Chinese character in bold

2003-04-14 Thread Lee Fergus
Hi Markus, Thanks for your timely response. Unlike other fonts which have different files for different weight/style (like arialb.ttf, ariali.ttf for Arial), I can only find one file mingliu.ttc for the MingLiU font. Furthermore, MS Word is able to show MingLiU in bold. Is there any special

AW: Chinese character in bold

2003-04-14 Thread Müller, Markus
Hi, I think you generate the font metrics file in the right way. MS Word can display fonts in bold, even when there is no special font file available, that's right. Sorry, I don't know, if there is a solution in FOP to create a bold font xml without the appropriate font file. == Does anybody

Re: docbook, xmlto, FOP and hyuphenation

2003-04-14 Thread jaccoud
Please note that a document may contain fragments of text written in many different languages simultaneously. My documents, for example, are mostly pt-BR, but ocasionaly I have en-GB words interweaved, such as software or framework, fr for façade, de for Kindergarten, usw. The best practice is to

RE: [ot] pdf file format

2003-04-14 Thread Adam Shelley
Don't worry, i'm not using FOP to generate this file. The program was written by myself. It does not use a writer (is that a java thing?). I downloaded ghostview and it won't even open the file. Acrobat opens it but displays a 'file is being repaired' dialog box. Its hard to analyze what's

Re: AW: Manual line breaks

2003-04-14 Thread Clay Leeds
IIRC, fo:block/ is ignored by FOP (or rather the XSL-FO spec indicates it should be ignored). Wouldn't it be better to use this: xsl:template match=br fo:block#160;/fo:block /xsl:template ? Müller, Markus wrote: Hi Matthias, you can find several XSL:FO samples using a tag like br/

Re: [ot] pdf file format

2003-04-14 Thread Jeremias Maerki
On 14.04.2003 17:41:11 Adam Shelley wrote: Don't worry, i'm not using FOP to generate this file. The program was written by myself. It does not use a writer (is that a java thing?). java.io.Writer and descendants (as opposed to java.io.OutputStream and descendants) I downloaded ghostview

RE: feature overview

2003-04-14 Thread Victor Mote
Clay Leeds wrote: p.s. Note to Victor: Might we update FAQ 3.2 to: My PNG|JPEG|TIFF|GIF|PICT|PSD|BMP|ICO|CUR|SUNRASTER(?)|XBM|XPM|PCX images don't work. ... That is a good idea. Look for that within the next few days. The content will probably be in a different location, with the FAQ

Re: AW: Manual line breaks

2003-04-14 Thread J.Pietschmann
Clay Leeds wrote: IIRC, fo:block/ is ignored by FOP (or rather the XSL-FO spec indicates it should be ignored). I don't think so. There are ambiguities in the spec regarding fo:block/, but it is certainly not to be ignored, and FOP 0.20.5rc1 and CVS handles it probably correctly. J.Pietschmann