On 8 February 2015 at 15:16, Jorge Araya Navarro
<[email protected]> wrote:
> Oh, my bad!
>
> But, the error remains:
>
>> asciidoc -e -d book -b docbook biblia.txt

Are you sure you are providing a full docbook backend in place of the
one you are excluding with -e?


> asciidoc: ERROR: [attributes] missing 'attributelist-pattern' entry
> asciidoc: FAILED: unexpected error:
> asciidoc: ------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/bin/asciidoc", line 5940, in asciidoc
>     AttributeList.initialize()
>   File "/usr/bin/asciidoc", line 1923, in initialize
>     AttributeList.pattern = document.attributes['attributelist-pattern']
>   File "/usr/bin/asciidoc", line 115, in __getitem__
>     return dict.__getitem__(self, key.lower())
> KeyError: 'attributelist-pattern'
>
> and running a2x -d book -f chunked biblia.txt do not yell errors...

This doesn't run asciidoc with -e so the standard docbook backend will
be loaded.

Cheers
Lex


>
> El sábado, 7 de febrero de 2015, 22:11:19 (UTC-6), Lex Trotman escribió:
>>
>> On 8 February 2015 at 14:57, Jorge Araya Navarro
>> <[email protected]> wrote:
>> > Hello!
>> >
>> > I'm new using AsciiDoc. The thing is this issue I'm running on when
>> > trying
>> > to use the dockbook backend, the following error is printed:
>> >
>> >> asciidoc -d book -b dockbook biblia.txt
>> > asciidoc: FAILED: biblia.txt: line 4: missing backend conf file:
>> > dockbook.conf
>> >
>> > The line 4 in my document biblia.txt contains the following:
>> >
>> > :doctype: book
>> >
>> > If I set use the -e option, I get the following python exception:
>> >
>> >> asciidoc -e -d book -b dockbook biblia.txt
>> > asciidoc: ERROR: [attributes] missing 'attributelist-pattern' entry
>> > asciidoc: FAILED: unexpected error:
>> > asciidoc: ------------------------------------------------------------
>> > Traceback (most recent call last):
>> >   File "/usr/bin/asciidoc", line 5940, in asciidoc
>> >     AttributeList.initialize()
>> >   File "/usr/bin/asciidoc", line 1923, in initialize
>> >     AttributeList.pattern = document.attributes['attributelist-pattern']
>> >   File "/usr/bin/asciidoc", line 115, in __getitem__
>> >     return dict.__getitem__(self, key.lower())
>> > KeyError: 'attributelist-pattern'
>> >
>> > How can I create a docbook file from my asciidoc files?
>>
>> spell docbook like you did in the line above, not dockbook
>>
>> Cheers
>> Lex
>>
>>
>> >
>> > Thanks!
>> >
>> > --
>> > 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.
>> > For more options, visit https://groups.google.com/d/optout.
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to