Hi,
I'd like to make a table in AsciiDoc that uses the include::[] macro,
to include in a table a series of small text files I've got.
include::[] doesn't seem to work in a table normally. I tried setting
the table style to "asciidoc", but I get a whole bunch of errors. Am I
doing something wrong?

Apologies if this is answered elsewhere, it's a bit hard to search for
"asciidoc" and get results pertinent only to table styles.

TIA
garron


asciidoc_text.txt:
TEST
====

[style="asciidoc"] //other styles work fine, except include::[] just
shows up as text
|===
|a|b
|c|d
|===


output:
  File "/usr/bin/asciidoc.py", line 96
    except KeyError, k: return None
                   ^
SyntaxError: invalid syntax
asciidoc: WARNING: asciidoc_test.txt: line 8: filter non-zero exit
code: python "/usr/bin/asciidoc.py" -b xhtml11 -a "indir=/home/gxx/
tmp" -s -: returned 1
asciidoc: WARNING: asciidoc_test.txt: line 8: no output from filter:
python "/usr/bin/asciidoc.py" -b xhtml11 -a "indir=/home/gxx/tmp" -s -
  File "/usr/bin/asciidoc.py", line 96
    except KeyError, k: return None
                   ^
SyntaxError: invalid syntax
asciidoc: WARNING: asciidoc_test.txt: line 8: filter non-zero exit
code: python "/usr/bin/asciidoc.py" -b xhtml11 -a "indir=/home/gxx/
tmp" -s -: returned 1
asciidoc: WARNING: asciidoc_test.txt: line 8: no output from filter:
python "/usr/bin/asciidoc.py" -b xhtml11 -a "indir=/home/gxx/tmp" -s -
  File "/usr/bin/asciidoc.py", line 96
    except KeyError, k: return None
                   ^
SyntaxError: invalid syntax
asciidoc: WARNING: asciidoc_test.txt: line 8: filter non-zero exit
code: python "/usr/bin/asciidoc.py" -b xhtml11 -a "indir=/home/gxx/
tmp" -s -: returned 1
asciidoc: WARNING: asciidoc_test.txt: line 8: no output from filter:
python "/usr/bin/asciidoc.py" -b xhtml11 -a "indir=/home/gxx/tmp" -s -
  File "/usr/bin/asciidoc.py", line 96
    except KeyError, k: return None
                   ^
SyntaxError: invalid syntax
asciidoc: WARNING: asciidoc_test.txt: line 8: filter non-zero exit
code: python "/usr/bin/asciidoc.py" -b xhtml11 -a "indir=/home/gxx/
tmp" -s -: returned 1
asciidoc: WARNING: asciidoc_test.txt: line 8: no output from filter:
python "/usr/bin/asciidoc.py" -b xhtml11 -a "indir=/home/gxx/tmp" -s -

-- 
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.

Reply via email to