Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
IDLdoc: Embedded HTML code
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Yngvar Larsen  
View profile  
 More options Oct 2 2012, 12:51 pm
Newsgroups: comp.lang.idl-pvwave
From: Yngvar Larsen <larsen.yng...@gmail.com>
Date: Tue, 2 Oct 2012 09:51:10 -0700 (PDT)
Local: Tues, Oct 2 2012 12:51 pm
Subject: IDLdoc: Embedded HTML code
A useful feature of IDLdoc when MARKUP_STYLE='verbatim', is that you may embed small snippets of HTML code directly in the text and it will show up correctly in the generated HTML output. For instance a small table. (Maybe this is considered cheating, and not really intended functionality ?) However, when using MARKUP_STYLE='rst', this trick does not work anymore. There are embedding options for graphics and links, but I cannot find anything about embedding HTML code.

Of course, I could stick with 'verbatim' for the files where I use this trick, but then I don't get the other nice features of the 'rst' style.

Any solutions? Have I misunderstood something here? If not, I would like to make the following feature request:

Add something like this to the rst markup style:

; docformat = 'rst'
;
;+
;  Normal comment text.
;
; .. html::
;
;  <table>
;    <tr><th>Type</th><th>Format</th> </tr>
;   <tr><td>type 1</td><td>format 1</td> </tr>
;   <tr><td>type 2</td><td>format 2</td> </tr>
;  </table>
;
; More normal comment text.
;-

--
Yngvar


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Galloy  
View profile  
 More options Oct 2 2012, 1:32 pm
Newsgroups: comp.lang.idl-pvwave
From: Michael Galloy <mgal...@gmail.com>
Date: Tue, 02 Oct 2012 11:32:48 -0600
Local: Tues, Oct 2 2012 1:32 pm
Subject: Re: IDLdoc: Embedded HTML code
On 10/2/12 10:51 AM, Yngvar Larsen wrote:

Yes, you are right the rst style does not allow HTML embedding, but the
other styles (IDL, IDLdoc, and verbatim) do.

One workaround right now would be to use a separate docformat statement
for that single file, though that is not very satisfactory for the rest
of the comments.

Adding the html directive (and maybe latex as well) as a feature
request. They will only show up when using that output type.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Research Mathematician
Tech-X Corporation


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yngvar Larsen  
View profile  
 More options Oct 5 2012, 10:05 am
Newsgroups: comp.lang.idl-pvwave
From: Yngvar Larsen <larsen.yng...@gmail.com>
Date: Fri, 5 Oct 2012 07:05:19 -0700 (PDT)
Local: Fri, Oct 5 2012 10:05 am
Subject: Re: IDLdoc: Embedded HTML code

On Tuesday, 2 October 2012 19:32:49 UTC+2, Mike Galloy  wrote:
> On 10/2/12 10:51 AM, Yngvar Larsen wrote:

> > A useful feature of IDLdoc when MARKUP_STYLE='verbatim', is that you may embed small snippets of HTML code directly in the text and it will show up correctly in the generated HTML output. For instance a small table. (Maybe this is considered cheating, and not really intended functionality ?) However, when using MARKUP_STYLE='rst', this trick does not work anymore. There are embedding options for graphics and links, but I cannot find anything about embedding HTML code.
> Yes, you are right the rst style does not allow HTML embedding, but the  
> other styles (IDL, IDLdoc, and verbatim) do.

> One workaround right now would be to use a separate docformat statement
> for that single file, though that is not very satisfactory for the rest
> of the comments.

Yes, that is my problem here.

> Adding the html directive (and maybe latex as well) as a feature
> request. They will only show up when using that output type.

Another possibility is support for some simple markup like textile (http://textile.thresholdstate.com) and/or the Wiki formatting system used by trac.

--
Yngvar


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Galloy  
View profile  
 More options Oct 5 2012, 11:01 am
Newsgroups: comp.lang.idl-pvwave
From: Michael Galloy <mgal...@gmail.com>
Date: Fri, 05 Oct 2012 09:01:33 -0600
Local: Fri, Oct 5 2012 11:01 am
Subject: Re: IDLdoc: Embedded HTML code
On 10/5/12 8:05 AM, Yngvar Larsen wrote:

Yes, eventually I hope to have rst markup support for all common
features like lists and tables. It already supports links, code (inline
and block), and headers.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Research Mathematician
Tech-X Corporation


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Fanning  
View profile  
 More options Oct 5 2012, 11:16 am
Newsgroups: comp.lang.idl-pvwave
From: David Fanning <n...@dfanning.com>
Date: Fri, 5 Oct 2012 09:16:46 -0600
Local: Fri, Oct 5 2012 11:16 am
Subject: Re: IDLdoc: Embedded HTML code

Michael Galloy writes:
> Yes, eventually I hope to have rst markup support for all common
> features like lists and tables. It already supports links, code (inline
> and block), and headers.

If you don't mind my asking, how much are you getting paid
to do this? I've been thinking of renegotiating my contract. ;-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thos speakest truth.")


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Galloy  
View profile  
 More options Oct 5 2012, 11:22 am
Newsgroups: comp.lang.idl-pvwave
From: Michael Galloy <mgal...@gmail.com>
Date: Fri, 05 Oct 2012 09:22:18 -0600
Local: Fri, Oct 5 2012 11:22 am
Subject: Re: IDLdoc: Embedded HTML code
On 10/5/12 9:16 AM, David Fanning wrote:

> Michael Galloy writes:

>> Yes, eventually I hope to have rst markup support for all common
>> features like lists and tables. It already supports links, code (inline
>> and block), and headers.

> If you don't mind my asking, how much are you getting paid
> to do this? I've been thinking of renegotiating my contract. ;-)

Don't look to me for help negotiating; this work doesn't bring in much
money. (But I do accept PayPal donations at http://idldoc.idldev.com!)

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Research Mathematician
Tech-X Corporation


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »