jcabi/jcabi-latex-maven-plugin

Configurability is too little in terms of using tools

asaen opened this issue · 5 comments

For the moment the chain of invocation of latex tools is strictly defined. The only way to get a document compiled is latex -> dvips -> gs. The better way could be the ability to select chain or even set the list of commands.

In this case pom.xml could look like this:

<plugins>
    <plugin>
        ...
        <configuration>
            <tool>
                <bin>latex</bin>
                <input>header.tex</input>
                <arguments>
                    <argument key="output-directory">c:\temp\output</argument>
                    ...
                </arguments>
            </tool>
        </configuration>
        ...
    </plugin>
</plugins>

This could be quite a large enhancement, so maybe it would be better to separated few small tasks. Any feedback is welcome.

@darkled looks like a duplicate of #8... isn't it?

@yegor256 In my view of "one bug/suggestion/question in issue" approach it is not, but surely #8 depends on this one.

The main idea here is that plugin needs <tool> section in pom.xml (which means the ability to modify chain of tex-tools invocation), while #8's main idea is introducing some kind of <arguments> section into pom.xml to make configuration of each tool more flexible.

let's wait for #8 and then decide

@yegor256 it seems that I read notifications in wrong order :) please, forget about all of suggestions, I close all corresponding issues.

no problem :)