|
Revision 650, 404 bytes
(checked in by pmoura, 5 years ago)
|
|
Added references to US letter paper output.
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | @ECHO off |
|---|
| 2 | |
|---|
| 3 | SET FOP_PATH=c:\Fop-0.20.5 |
|---|
| 4 | |
|---|
| 5 | SET XSLT="lgtpdfa4.xsl" |
|---|
| 6 | REM SET XSLT="lgtpdfus.xsl" |
|---|
| 7 | |
|---|
| 8 | ECHO This script converts all .xml files in the current directory to .pdf |
|---|
| 9 | ECHO files applying the XSLT transformation defined in the $XSLT file |
|---|
| 10 | ECHO using the Apache FOP processor |
|---|
| 11 | |
|---|
| 12 | FOR %%f IN (*.xml) DO %FOP_PATH%\fop.bat -q -xsl %XSLT% -xml %%f -pdf %%f.pdf |
|---|
| 13 | |
|---|
| 14 | REN *.xml.pdf *.pdf |
|---|
| 15 | |
|---|
| 16 | ECHO conversion done |
|---|
| 17 | |
|---|
| 18 | @ECHO on |
|---|