On 7/21/2012 11:29 PM, Lex Trotman wrote:
On 22 July 2012 13:15, ping <[email protected]> wrote:
experts:
is there a way to define the destination output dir for asciidoc command?
I know -o provide the dest *file*, but not the dest *dir*.
by default, the output file will be put in the same dir as the source
file...
Just give the output file a directory path.
no that one I tried before sending query, but failed:
//this is OK
ping@640g-laptop:~/living files$ asciidoc -a toc -a toclevels=6 -o
/mnt/public_html/temp/asciidoctips.html asciidoctips.txt
asciidoc: WARNING: asciidoctips.txt: line 308: list item index: expected
1 got 17
asciidoc: WARNING: asciidoctips.txt: line 858: list item index: expected
1 got 4
asciidoc: WARNING: asciidoctips.txt: line 870: list item index: expected
1 got 4
ping@640g-laptop:~/living files$
ping@640g-laptop:~/living files$
//this failed
ping@640g-laptop:~/living files$ asciidoc -a toc -a toclevels=6 -o
/mnt/public_html/temp/ asciidoctips.txt
asciidoc: FAILED: asciidoctips.txt: line 4: unexpected error:
asciidoc: ------------------------------------------------------------
Traceback (most recent call last):
File "/usr/bin/asciidoc", line 5945, in asciidoc
writer.open(outfile, reader.bom)
File "/usr/bin/asciidoc", line 4372, in open
self.f = open(fname,'wb+')
IOError: [Errno 21] Is a directory: '/mnt/public_html/temp'
asciidoc: ------------------------------------------------------------
Cheers
Lex
thanks
regards
ping
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.