Actually, I misunderstood the question. include::file.rb[] is the correct way to include.
...however, I'm getting the same thing on my system all of a sudden too...the source highlighter filter isn't working properly. Perhaps an update in Linux / Python somehow killed it? Something strange is going on. -Dan On Wed, Mar 13, 2013 at 10:45 AM, Charles Beck <[email protected]> wrote: > 'include1' is not working, at least in my system, Ubuntu 12.10 > > $ a2x --version > a2x 8.6.7 > > El miércoles, 13 de marzo de 2013 15:20:31 UTC, Dan Allen escribió: >> >> You can use include1, which just pulls in the content w/o treating it as >> AsciiDoc. >> >> -Dan >> >> On Wed, Mar 13, 2013 at 5:23 AM, Charles Beck <[email protected]> wrote: >> >>> When you are going to include an external file in plain text format, is >>> necessary to use a tag (i.e. "[source,txt]") like it's used at inserting a >>> code source file as: >>> >>> [source,ruby] >>> ---- >>> include::../code/file-1.rb[] >>> ---- >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "asciidoc" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to asciidoc+u...@**googlegroups.com. >>> To post to this group, send email to [email protected]. >>> >>> Visit this group at >>> http://groups.google.com/**group/asciidoc?hl=en<http://groups.google.com/group/asciidoc?hl=en> >>> . >>> For more options, visit >>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >>> . >>> >>> >>> >> >> >> >> -- >> Dan Allen >> Principal Software Engineer, Red Hat | Author of Seam in Action >> Registered Linux User #231597 >> >> http://google.com/profiles/**dan.j.allen<http://google.com/profiles/dan.j.allen> >> http://mojavelinux.com >> http://mojavelinux.com/**seaminaction<http://mojavelinux.com/seaminaction> >> > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/asciidoc?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Dan Allen Principal Software Engineer, Red Hat | Author of Seam in Action Registered Linux User #231597 http://google.com/profiles/dan.j.allen http://mojavelinux.com http://mojavelinux.com/seaminaction -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/asciidoc?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
