Thanks a lot for your help!
I will embedd the font for now.
Ralf
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
[quote]
-enc ansi
With this option you create a WinAnsi encoded font.
The default is to create a CID keyed font.
If you're not going to use characters outside the
pdfencoding range (almost the same as iso-8889-1)
you can add this option.
[quote]
The problem is that I need J
In the meantime, if you like, try cutting some of the jumbled text
from your PDF and pasting it into another application. Is the
underlying text 1) correct, 2) the same as appears in the PDF, or 3)
something else?
The last one is true. If I copy and paste to an other application I get
only blanks.
Please be more specific about "garbage". Are you getting all "#"
characters? Are ASCII characters working and nothing else, or is
nothing coming through correctly? Can you see any patterns (like an
"a" always comes out as a "w")?
In my case I get random characters. E.g. where it should say "Report
Hello list,
I have a problem using custom true type fonts that I do not want to
embed into a PDF file. If I do not embed the font acroread displays only
garbage. The font is standard Arial and is definitively installed, the
metric file was generated on the very same machine that is used to
crea
> I don't know how I
can center a text verticaly in a cell table.
Centered
HTH
Ralf
Hello Paul.
> Does anyone have any ideas on how one might generate an index at the
> back of a document based on entries contained within the pages of the
> document. These index entries would need to know the page number of
> source of the entry.
Have a look at fo:page-number-citation.
You need al
> Could some one help me??? I am trying to get the vertical lines...
> fo:leader. when i use the fo:leader it always gives me a horizontal
> line. Anyone has got any clue???
Try to specify a leader-pattern:
HTH
Ralf
I will post my LineArea.java as soon as I have it cleaned up a bit. :-)
Here it is.
The problem concerning additional space is solved, too.
Ralf
/*
* $Id: LineArea.java,v 1.53.2.5 2002/02/11 00:43:45 chrisg Exp $
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For det
I try to build FOP 0.20.3 via the build.bat script on win2k,
jdk1.4.0_01 but the the build fails because some xml files can not be
found.
This *should* be fixed with Fop 0.20.4rc
(I would be happy if you could test it)
Yes it is. But acutal compilation fails with
[javac] Compiling 717 source
Is there a way to enforce TeX's behavior?
Not prepackaged. You are invited to hack around in the files
in layout/hyphenation.
OK, I did:
It is all in org.apache.fop.layout.LineArea.java. I altered the
hyphenation strategie as follows:
If there is a hyphen in a word and the character data before th
right.
Thanks again.
Ralf
Oleg Tkachenko wrote:
Ralf Steppacher wrote:
I try to build FOP 0.20.3 via the build.bat script on win2k,
jdk1.4.0_01 but the the build fails because some xml files can not be
found.
Try to build using jdk 1.3.X.
Hi,
I try to build FOP 0.20.3 via the build.bat script on win2k, jdk1.4.0_01
but the the build fails because some xml files can not be found.
Z:\steppacher\Downloads\FOP\fop-0.20.3\build.xml:512:
javax.xml.transform.TransformerException: org.xml.sax.SAXParseException:
File
"file:///Z:/steppach
example.
Is there a way to enforce TeX's behavior?
TIA
Ralf Steppacher
I encountered a problem using a break-before="page" in a block that is
referenced by a page-number-citation in my TOC.
[..]
This is a bug. Use
as a workaround.
Thanks! That works fine.
(bonus points for describing what mechanisms are broken
by this approach)
I am sorry, but could you elaborat
there some deeper reasons why the page number can
not be calculated in the case of the last page enforced by a break-before?
Thanks in advance.
Ralf Steppacher
Hello Kurt.
I couldn't figure what value I have to give it...
Legal values are "auto", "always" and an integer value. Integer 'Imposes
a keep-together condition with strength of the given in the
appropriate context.' [http://www.w3.org/TR/xsl/slice7.html#keep-together]
HTH
Ralf
I´ve copied your xsl and tried doing a transformation...
unfortunately i´m still getting the same error...
Have you tried to do the transformation on the command line?
How does the code you use look like?
Ralf
Esteban Gonzalez wrote:
This is the error
javax.xml.transform.TransformerConfigurationException: stylesheet requires
attribute: version
at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transformer
And this is the XSL styleSheet
[..]
I pruned your stylesheet and transform
- Original Message -
From: "Ralf Steppacher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 31, 2002 4:46 AM
Subject: Re: wrong namespace??
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
>
> http://www.w3.org/1999/XSL/Transform&
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
>
> http://www.w3.org/1999/XSL/Transform";
> xmlns:fo="http://www.w3.org/1999/XSL/Format"; version="1.0">
>
> wich one is right?...
If you write a stylesheet that contains formatting objects you have to
include both the Transform and Format nam
i would like to know is how can i tell xsl that i want an image whose
name is in a xml tag? For example:
in the xml...
nameOfImage.jpg
...
in the xsl...
...
You could do something like:
I'm trying to border a row in a table by using following properties :
N/A
...
But, It doesn't work ? What I miss?
Did you set border-collapse="collapse" or
border-collapse="collapse-with-precedence" for your table? If you have
not, border properties can
I am using FOP 0.20.2. I am having a problem while
applying 'text-decoration' and 'vertical-align'
attributes to a nested fo:inline. I have some text
content in the inner fo:inline where the effect of the
above attributes is not being seen, when they are
specified in the outer fo:inline. If content
From what I can gleam from the examples all this allows me to do is have
different margins for the first page. My first page needs to have different
content in the region-after only for the first page.
Is there a way of doing this?
You are nearly there... You can name your region-after within the
Yes, this list would not be half that usefull without his contributions.
Ralf
Peter B. West wrote:
> Seconded.
>
> Peter
>
> [EMAIL PROTECTED] wrote:
>
>> P.S: A special thanks to J.Pietschmann for all his time and help
>> with various topics.
First of all: Thank you very much for your help!
>>
>>
>>
>
> This is the real problem. You probably noticed that the link area is
> not the whole page number, in particular with multiple digit page
> numbers.
Yes, that is right. I will follow your advise and use the headline text
as link area
Can you post a trimmed down version of your source XML
and the style sheet which demonstrates the problem?
I attached the XML source and the FO file as it is dumped for debugging
purpose from my code. The stylesheet is still a bit lengthy (main style
sheet is allInOne2FO_short). The link should b
I wasn't precise enough in my first posting. Next try...
>> I wonder how I can procude legal empty pages (and then suppress
>> them)?
>
> Forced blank pages are mainly created by page count constraints, for
> example a break-before="odd-page" will insert a page break [..].
My empty page results fro
Hi all.
I wonder how I can procude legal empty pages (and then suppress them)?
Defining only a single conditional-page-master-reference
for not-blank pages in a repeatable-page-master-alternatives results in
a NullPointerException when FOP encounters an empty page.
With a c-p-m-r for blank pages
[..]
Driver driver = new Driver();
driver.setRenderer(Driver.RENDER_PDF);
InputHandler inputHandler = new XSLTInputHandler(xmlFile, xslFile);
XMLReader parser = inputHandler.getParser();
/ changes start here /
FileOutputStream fos = FileOutputStream( outFile );
driver.se
>>> Are you, by any chance, using disable-output-escaping somewhere?
>>
>> Yes, [..].
>
> XSLT doesn't del with tags, it uses a tree of nodes for input and
> output.[..]
>
>> Behaviour does not change if I comment out the two lines (that do
>> not work with embedded fop either).
>
> If you delete t
The problem: When I generate the PDF with the JSP my fo:basic-links
don't make it into the PDF. If I dump the FO DOM tree to a file and
use fop from the commandline the links are present in the PDF.
Are you, by any chance, using disable-output-escaping somewhere?
Yes, but somewhere else in the st
Hi all.
I transform a xml file and add FO vocabulary, generating a PDF with fop
afterwards. Now that I got it work using xalan and fop from the command
line I embedded both into a JSP and a bean following the example code
from docs/examples/embedding.
The problem: When I generate the PDF with th
Hi.
Here is the (pruned) FO I get as an result of my xsl transformation.
What I wanted to do was suppress additional space between two headlines
that directly follow each other.
7.Leistungsspektrum
7.1 Einzelplatzscanner
Block one := A
Blo
> I have a table that spans several pages in my document. I want to
> have the table header repeated on every page that the table spans.
> How is it done?
Use a fo:table-header.
http://www.w3.org/TR/xsl/slice6.html#fo_table-header
Ralf
Hi all.
I have a short question about spaces and precedences:
What I want is to suppress additional space if one headline directly
follows another.
To achieve this I wrote the template with FOs below but it does not work
(I played a bit with attributes and values and could not find any other
wo
37 matches
Mail list logo