You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
First, I'd like to tell I like this filter that make asciidoc documentation a
professionnal look.
BTW, I've found some issues on windows platforms (XP / Vista) and I'd like to
share my experience, and the solution I found it (should be compatible also to
all unix platform).
First:
- install your script with asciidoc 8.6.8 as described, and check it with
command "asciidoc.py --filter list"
C:\asciidoc-8.6.8>asciidoc.py --filter list
C:\asciidoc-8.6.8\filters\code
C:\asciidoc-8.6.8\filters\graphviz
C:\asciidoc-8.6.8\filters\latex
C:\asciidoc-8.6.8\filters\music
C:\asciidoc-8.6.8\filters\source
C:\Documents and Settings\crossbow\.asciidoc\filters\plantuml
Notice the directory with blank character (this is the first part on
compatibility issue)
Second:
- Edit a new text file with only your sequence diagram (see wiki example)
Last:
- run asciidoc command to generate html output
No results but error messages :
1. due to asciidoc filter installation on "C:\Documents and
Settings\USERNAME\.asciidoc\filters\plantuml"
==> fix line 121 of acplantuml.py and protect path with double-quote
Replace
cmd = 'java -jar %s/plantuml.jar -T%s -quiet "%s" > "%s"' % (
By
cmd = 'java -jar "%s/plantuml.jar" -T%s -quiet "%s" > "%s"' % (
2. due to a java.io.FileNotFoundException, (limited ouput)
Execute: java -jar "C:\Documents and
Settings\crossbow\.asciidoc\filters\plantuml/plantuml.jar" -debug -Tpng -quiet
"C:\tmp/sequence.txt" > "C:\tmp\sequence.png"
java.io.FileNotFoundException: C:\tmp\sequence.png (Le processus ne peut pas
accÚder au fichier car ce fichier est utilisÚ par un autre processus)
=> fix line 121 of acplantuml.py
Replace
cmd = 'java -jar %s/plantuml.jar -T%s -quiet "%s" > "%s"' % (
filter_path, self.options.format, infile, outfile)
By
cmd = 'java -jar "%s/plantuml.jar" -T%s -quiet "%s" -o "%s"' % (
filter_path, self.options.format, infile, outdir)
And all goes fine for me !
Regards
Laurent Laville
Original issue reported on code.google.com by laurent....@gmail.com on 1 Aug 2012 at 12:49
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
laurent....@gmail.com
on 1 Aug 2012 at 12:49The text was updated successfully, but these errors were encountered: