On 21 July 2012 03:55, C4 - Travis <[email protected]> wrote:
> Hey Lex,
>
> Thanks for the clarification on everything.
>
> I initially thought the parser didn't understand :language:
>
> Everything works now.
>
> Just as a note...
>
> I had a further look into figuring out the objective-c issue, but haven't
> been able to find a solution.
>
> What I think is happening is that dblatex isn't converting objective-c to
> something that pdftex understands.
>
> Tex should understand objective c natively with the call:
>
> \lsset{language=[Objective]C}
>
>
> ... but it looks like dblatex isn't making the translation from [source,
> objective-c] (or objc, obj-c, objectivec) to the above...
>
> The error that has me believe this is:
>
> pdflatex failed
> shortTest.tex:51: Package Listings Error: Couldn't load requested language.
> shortTest.tex:51: leading text:
> ...ting}[language=objective-c,firstnumber=1,]
>
>
> Also, after a pretty good search I just went in circles trying to figure out
> how to modify the pdf toolchain to no avail.
>
> So, ...
>
> :language: c
>
>
> ... will suffice for me for now when I export to pdfs.

If the Latex package takes language=[Objective]C then why don't you
use :language: [Objective]C ?

Put the definition of :language: in ifdef:: macros that test if the
{backend} is html or docbook and the system can automatically adapt
the form of the language name to the one the backend accepts.


Cheers
Lex


>
> Thanks again for your help,
> T
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/asciidoc/-/cfZWirZnVz0J.
>
> 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