On 31 July 2012 06:39, Stuart Rackham <[email protected]> wrote:
>
>
> On 30/07/12 23:23, Lex Trotman wrote:
>>
>> On 30 July 2012 20:24, Wilhelm <[email protected]> wrote:
>>>
>>> Am 30.07.2012 12:16, schrieb Lex Trotman:
>>>
>>>> On 30 July 2012 19:43, Wilhelm <[email protected]> wrote:
>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> just noticed, that the following doesn't work if generated with the
>>>>> data-uri
>>>>> option:
>>>>>
>>>>>
>>>>> Test
>>>>> ====
>>>>> WM
>>>>> :Author Initials: WM
>>>>> :lang: de
>>>>> :doctype: book
>>>>> :toc:
>>>>> :icons:
>>>>> :numbered:
>>>>>
>>>>> :iconsdir: images/icons
>>>>> :imagesdir: images
>>>>>
>>>>> doesnt work: image:{imagesdir}/icons/up.svg["Download",height=22]
>>>>
>>>>
>>>>
>>>> Hi,
>>>>
>>>> Yes, the embedded data mimetype is derived from the file extension,
>>>> which is fine for png, jpeg, gif, but the svg mime type is svg+xml
>>>> which isn't the extension.  It probably also would not work for jpg.
>>>
>>>
>>>
>>> Is this wrong mapping considered an error in asciidoc?
>>
>>
>> Its more of a limitation of the method used to generate it.
>>
>> An alternative is to try let python guess the mimetype, it should do
>> better.
>>
>> Until asciidoc is updated you can just use a custom xhtml11.conf as
>> attached.
>>
>> Beware limited testing :)
>>
>> Cheers
>> Lex
>>
>> @Stuart,  see attachment, one more for the todo list :)
>>
>
> Committed to trunk:
> https://code.google.com/p/asciidoc/source/detail?r=f78ad7cf5030b4da1f2c0d8166ac2d76227c930a
>
> Cheers, Stuart

Hi Stuart,

Needs to be done to html5.conf as well.

Cheers
Lex


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