-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FOP plugin #5
FOP plugin #5
Conversation
- restored as-is original Java sources of the FOP plugin; - did not restore ServiceLoader provider-configuration files under META-INF/services; with them, plugin would be auto-configured for all FOP runs; now it can be configured for a specific FopFactory using new class JEuclidFopFactoryConfigurator.configure(); - restored plugin's src/site/site.xml file; - restored and cleaned up plugin's POM; - re-added plugin module to the main POM and brought FOP version up-to-date.
Looks good to me, I'll try to release this to maven central soon, but I am currently very busy, so it can take a week till I find time. |
FYI: I just released version 3.1.14 with the FOP plugin. It should show up soon on maven central. |
It's there, so I can now remove local copy from my DocBook Gradle plugin! |
Hi, I just tried to use the
I'm using XSL-FO like this:
The MathML renders if I use FOP 2.2 and the unforked Many thanks |
FOP plugin is not enabled by default; as mentioned in this pull requests's original description, If you want to document this better, please create a pull request ;) |
Thanks so much! I should have seen that. It works perfectly now. Cheers |
You may still want to make a pull request documenting this for the next person :) |
Sure. Just to confirm, do you mean I should edit the README.md file? |
You should edit (or add) a file that you would have seen the instructions in had they been there :) |
@philipru can you please go a bit more in detail for a novice on what you did? Coming from http://jeuclid.sourceforge.net/jeuclid-fop/ , they state all the 'installation' requires is copying Thank you so much in advance! |
If you have a look under Basic Usage Pattern here:
https://xmlgraphics.apache.org/fop/2.4/embedding.html
It should work if you add
JEuclidFopFactoryConfigurator.configure(fopFactory); after the first line
of Step 1.
Regards
Philip
…On Tue, 19 Nov 2019 at 01:48, cheapsmith ***@***.***> wrote:
@philipru <https://github.com/philipru> can you please go a bit more in
detail for a novice on what you did?
Coming from http://jeuclid.sourceforge.net/jeuclid-fop/ , they state all
the 'installation' requires is copying jeuclid-core-x.x.x.jar and jeuclid-fop-x.x.x.jar
into the fop's /lib directory.
How does the installation of this fork differ to these instructions? Where
did you put JEuclidFopFactoryConfigurator.configure()?
Thank you so much in advance!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5?email_source=notifications&email_token=ADH4GMQ5CXHUCRUAMZ4LCZDQUKTMDA5CNFSM4GXTAQ7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEKVR6Q#issuecomment-555047162>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADH4GMULT37NDLIPTESICG3QUKTMDANCNFSM4GXTAQ7A>
.
|
Thank you! |
I'm not sure if you can use it with the command line. I only use it from my
own application.
…On Fri, 22 Nov 2019 at 00:28, cheapsmith ***@***.***> wrote:
Thank you!
Just to be sure, this means it will only work with my own Java
application? Up to now I've only been using the fop CLI.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5?email_source=notifications&email_token=ADH4GMQIGONBOMAA26RHEQTQU2EI3A5CNFSM4GXTAQ7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE2G7UY#issuecomment-557084627>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADH4GMUOVFDANPCAXY4MGWLQU2EI3ANCNFSM4GXTAQ7A>
.
|
@philipru thank you for updating the README! |
@philipru for my Gradle DocBook plugin I coded an integration between FOP and MathJax |
Thank you, @rototor, for all the hard work making JEuclid work with current libraries and JDKs!
I need JEuclid's FOP plugin in my project.
Turns out that local copy of the original sources of the plugin just works using your JEuclid artifact!
In case I am not the last person using the FOP plugin, maybe it can be distributed side-by-side with the core?
Changes:
with them, plugin would be auto-configured for all FOP runs;
now it can be configured for a specific FopFactory using
new class JEuclidFopFactoryConfigurator's configure() method;