On 18 July 2012 14:35, Wilhelm <[email protected]> wrote:
> Am 18.07.2012 01:05, schrieb Lex Trotman:
>
>> On 18 July 2012 04:56, Wilhelm <[email protected]> wrote:
>>>
>>> Hi,
>>>
>>> I like to place to result of a filter, e.g. plantuml into a table cell.
>>>
>>> That is, I want the following to appear *in* a table cell:
>>>
>>> ["plantuml"]
>>> ----
>>> package mypackage
>>>          ClassA <|-- ClassB
>>> end package
>>> ----
>>>
>>> Is that possible?
>>>
>>
>> See http://www.methods.co.nz/asciidoc/userguide.html#X71 asciidoc
>> style, but also http://www.methods.co.nz/asciidoc/userguide.html#X83.
>
>
> Oh, thanks! It's all in the exellant manual ;-)
>
> But neither of the follwoing works:
>
> .Tabelle
> [cols="asciidoc,>"]
> |=========
>
> | ["plantuml"]
>  ----
>  package mypackage
>         ClassA -- ClassB
>  end package
>  ----                      | x
> |=========
>
> .Tabelle
> [cols="asciidoc,>"]
> |=========
> | {sys:cd ../src/oop0200/sc10; tree -n -P \'*.java\' } | Bla
> |=========
>
>
> Both only print the cell content literal into the cell. But the logfile
> shows the recursive asciidoc invocation:
>
>
> asciidoc: oop0200.adocx: line 1382: filtering: "/usr/bin/python"
> "/usr/local/bin/asciidoc.py" -b docbook45  --conf-file
> "/home/lmeier/Lehre/GrundlagenOOPJava/osscourse/oop/doc/oop.conf"
> --conf-file "oop.conf" --attribute "lang=de" --attribute "numbered"
> --attribute "website=http://mozart.informatik.fh-kl.de"; --attribute
> "src_numbered=numbered" --attribute "icons" --attribute "toc" --attribute
> "authorinitials=WM" --attribute "doctype=book" --attribute "docinfo" -a
> "lang=de@" -a icons -a "iconsdir=images/icons" -a "imagesdir=images" -a
> "indir=/home/lmeier/Lehre/GrundlagenOOPJava/osscourse/oop/doc" -a
> "blockname=table" -s -
> asciidoc: oop0200.adocx: line 1390: filtering: "/usr/bin/python"
> "/usr/local/bin/asciidoc.py" -b docbook45  --conf-file
> "/home/lmeier/Lehre/GrundlagenOOPJava/osscourse/oop/doc/oop.conf"
> --conf-file "oop.conf" --attribute "lang=de" --attribute "numbered"
> --attribute "website=http://mozart.informatik.fh-kl.de"; --attribute
> "src_numbered=numbered" --attribute "icons" --attribute "toc" --attribute
> "authorinitials=WM" --attribute "doctype=book" --attribute "docinfo" -a
> "lang=de@" -a icons -a "iconsdir=images/icons" -a "imagesdir=images" -a
> "indir=/home/lmeier/Lehre/GrundlagenOOPJava/osscourse/oop/doc" -a
> "blockname=table" -s -
>
>
> Looks like I missed something one more time ;-)

Well

blah
====

[cols="asciidoc,>"]
|====
|[source,cpp]
----
for(i=0;i<10;++i){
   blah=i;
}
----
| x
|====

works for me, properly highlighted cpp in the first cell.

So the question is where does it get your plantuml filter from, is it
properly installed so the recursive invocations can find it?

Cheers
Lex

>
>
>>
>> Cheers
>> Lex
>>
>>> --
>>> Wilhelm
>>>
>>>
>>> --
>>> 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.
>>>
>>
>
>
> --
> Wilhelm
>
> --
> 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.

Reply via email to