docpicture

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Pete Forman

    #16
    Re: docpicture

    Scott David Daniels <Scott.Daniels@ Acm.Orgwrites:
    or you could even use:
    '''<docpicture name="fig1.png" code="base64" version="1">
    1234567890ABCDE F...
    </docpicture>'''
    A comment _not_ a docstring (only found by scanning the source).
    which is easy enough to hunt for.
    -1 for XML based syntax, we should instead look to reST. It already
    has image and figure directives. The docs say that image takes a URI
    argument and some options. So an external file should work now.
    Maybe someone would like to play with the data URL scheme (RFC 2397)
    to meet the OP's desire to embed the image. AFAIK a downside is that
    MS are only starting to support that in IE8.
    --
    Pete Forman -./\.- Disclaimer: This post is originated
    WesternGeco -./\.- by myself and does not represent
    pete.forman@wes terngeco.com -./\.- the opinion of Schlumberger or
    http://petef.22web.net -./\.- WesternGeco.

    Comment

    • Lawrence D'Oliveiro

      #17
      Re: docpicture

      In message <y70pkie9.fsf@w gmail2.gatwick. eur.slb.com>, Pete Forman wrote:
      Maybe someone would like to play with the data URL scheme (RFC 2397)
      to meet the OP's desire to embed the image. AFAIK a downside is that
      MS are only starting to support that in IE8.
      Firefox, Konqueror and Safari already support it. So it's not as though
      users of all major platforms cannot access it.

      Comment

      Working...