impositions

2005-03-07 Thread Mike Sierra
This is not directly related to fop, but wonder if someone can help me 
out.  Is there a batch utility available that allows you to create 
impositions from PDF input?  I dimly remember seeing something like 
that for plain PostScript.  Thanks,

--Mike Sierra
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


auto-linebreak?

2005-02-04 Thread Mike Sierra
I want to allow long URLs amidst text to automatically linebreak after 
slash characters.  This is somewhat related to the issue of 
hyphenation, but at first glance at the doc there doesn't appear to be 
any support for it.  Any ideas?  Thanks,

--Mike
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: auto-linebreak?

2005-02-04 Thread Mike Sierra
Excellent -- #x200B; worked like a charm.  The following perl 
postprocesses away the problem throughout the text, auto-breaking after 
dots/dashes/slashes that fall between alphanumerics:

$fo =~ s{(.+?|[^]+)}{
my $m = $1;
$m !~ m~~ and $m =~ s~(\w[-./])(\w)~$1#x200B;$2~g;
$m;
}sge;
This is actually a lot more refined than how it works in my old 
favorite FrameMaker, which breaks after specified characters no matter 
what, e.g., breaking filenames like .cshrc onto two lines.

Many thanks,
--Mike

On Friday, February 4, 2005, at 12:26  PM, The Web Maestro wrote:
On Feb 4, 2005, at 9:09 AM, Mike Sierra wrote:
I want to allow long URLs amidst text to automatically linebreak 
after slash characters.  This is somewhat related to the issue of 
hyphenation, but at first glance at the doc there doesn't appear to 
be any support for it.  Any ideas?  Thanks,

--Mike
There was some discussion about this some time ago (IIRC, it was a 
year or so) in the archives. I don't have the time to look, but it 
dealt with PATH information for URLs and/or local file systems.

From what I recall the solution, if there was one, involved adding '/' 
as a breaking point or something. Unfortunately, partly because FOP is 
not a finished product, I don't think the problem resolved. Or if it 
was, it involved placing a zero-width space before '/' character(s), 
so they would wrap 'naturally'.

Web Maestro Clay

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


font install error

2004-12-03 Thread Mike Sierra
Pardon me if this is obvious or has been covered many times already,  
but I'm not a Java junkie and have trouble interpreting this error.   
I'm trying to install a custom font for the first time, and am running  
this command as spec'ed in the doc:

$ java -cp  
build/fop.jar:lib/avalon-framework.jar:lib/xml-apis.jar:lib/ 
xercesImpl.jar:lib/xalan.jar org.apache.fop.fonts.apps.PFMReader  
MYFONT.pfm MYFONT.xml

Here's the error I get:
Exception in thread main java.lang.NoClassDefFoundError:  
org/apache/avalon/framework/logger/AbstractLogEnabled
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at  
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)

I confirmed the AbstractLogEnabled class exists.  What else could be  
wrong?

Thanks,
--Mike Sierra
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


side heads?

2004-10-11 Thread Mike Sierra
I'm trying to emulate an existing page layout with FOP, relying heavily 
on O'Reilly's XSL-FO book for reference.  It's unclear from that book  
from fop's examples how I can do this, so instead I'll shamelessly rely 
on your expertise.  ;-)

I have rather wide sidebar area (defined as a region-end) into which I 
want to float selected blocks, such as callouts  small graphics. It 
should flow roughly like this:

+---+
|.  |
|.  |
|A   .  |
|.  |
|...|
|.  |
|.  |
|C   .  B   |
|.  |
|.  |
|...|
|.  |
|.  |
|D   .  |
|.  |
+---+
The 'float' tag appears to do what I want, but it's not implemented yet 
(as of 0.20.5).  Is there another way to get this kind of output?  
Extra credit -- assuming I can automate this marginal material, can the 
area bleed into the region-body, like so?

+---+
|.  |
|.  |
|A   .  |
|.  |
|...|
|.  |
|.  |
|   C.  B   |
|.  |
|.  |
|...|
|.  |
|.  |
|D   .  |
|.  |
+---+
Thanks in advance,
--Mike
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


external hyperlinks?

2004-10-07 Thread Mike Sierra
I've generated PDF that features internal hyperlinks, but I'd like to 
be able to hyperlink external URLs.  Any way to do this?  Thanks in 
advance,

--Mike Sierra
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]