[ 
https://issues.apache.org/jira/browse/DOXIA-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17146832#comment-17146832
 ] 

Abel Salgado Romero commented on DOXIA-555:
-------------------------------------------

Here is the example related to the use case [~slachiewicz] was mentioning -> 
[https://github.com/abelsromero/asciidoctor-maven-examples/tree/poc/show-doxia-error-without-source-file.]

Preamble: asciidoctor-maven-plugun has 2 modes, "Mojo" in which we do parse 
files manually, in this case we can get the source file and report it in the 
error. In the other mode, "site-integration" (class "AsciidoctorDoxiaParser") 
we extend "XhtmlParser" with provides the method "parse(Reader reader, Sink 
sink)" with no reference to the source file.

In this example, we show how under the same case in the site integration we 
cannot obtain the source file, so the user is left without a clue where to 
begin with.

To reproduce:
 # Clone
 # To see the error with filename in "mojo" go into "asciidoc-to-html-example" 
folder and run "mvn". You'll see the ERROR message pointing to "ERROR: 
example-manual.adoc" file.
 # To see the error without filename in th e"site" integration, go tino 
"asciidoc-maven-site-example" folder run "mvn site:site" and you' see "ERROR: 
line 42: ", with no way to see which file from the 3 in the project failed.

> Footer overrides for FO/PDF outputs
> -----------------------------------
>
>                 Key: DOXIA-555
>                 URL: https://issues.apache.org/jira/browse/DOXIA-555
>             Project: Maven Doxia
>          Issue Type: New Feature
>          Components: Module - FO
>            Reporter: Alex O'Ree
>            Priority: Major
>             Fix For: 2.0
>
>         Attachments: DOXIA-555.patch
>
>
> Related [https://issues.apache.org/jira/browse/MPDF-81]
> I have a use case where I cannot have the copyright symbol on the bottom of 
> generated PDF documents. Currently, it looks like the footer is hard coded 
> and cannot be customized.
> [FoAggregateSink.java#l737|https://gitbox.apache.org/repos/asf?p=maven-doxia.git;a=blob;f=doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoAggregateSink.java;hb=HEAD#l737]
> ideally, this should be configurable either properties or better yet, the pdf 
> descriptor document (maven-pdf-plugin). This would require a change in the 
> schema used for the pdf descriptor 
> [http://maven.apache.org/xsd/document-1.0.1.xsd]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to