comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDLDoc + HTML
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDLDoc + HTML [message #84597] Thu, 17 April 2014 19:32 Go to previous message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
Instead of digging up an old post:
https://groups.google.com/d/msg/comp.lang.idl-pvwave/bkyETBT ZTk4/U3enLDUF68sJ

I decided to start a new one.

Recently, I wanted the ability to embed a YouTube video in my IDL documentation, using the fabulous IDLDoc. YouTube provides some HTML embed code, which is nice. But since I nominally use HTML output, I can't put snippets of HTML code in the doc.

So, after an afternoon of chasing rabbits down holes, I was able to make it happen.

You can see an example that I created for testing here:

http://www.nsstc.uah.edu/ats/bitzer/idl/temp_idldoc.html

Pretty nifty, right?

Basically, I created a new "directive" called, well, html. I look for the opening character for an HTML tag ("<") and if I find it, takes the rest of the line and puts into the output.

(Oh, and it turns out I only needed to add something - very little, actually - in two routines. So, I'd like to claim I did all this work, but it was actually pretty straightforward. Most of my time was spent walking through the myriad of objects Mike uses. Whew!)

I haven't tested to see if this hack makes any sort of sense if you're not producing HTML output, so I haven't pushed the changes to Mike...yet.

Any one else have a use for this? I pretty hacked things into IDLDoc to make it happen, so it would need Mike's eyes before I release it into the wild
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Error detected while calling MPFIT_FDJAC2
Next Topic: Changing the symbol, color, etc., of "mean" indicator in box plots

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:11:41 PDT 2025

Total time taken to generate the page: 0.00435 seconds