473,405 Members | 2,354 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Question about docutils

I'm using docutils 0.4.
Is it possible to define special custom 'tags' (or something) that will
invoke my own function? The function would then return the real content in
the ReST document.

--
damjan
Jan 25 '07 #1
3 992
On Jan 25, 10:40 am, Damjan <gdam...@gmail.comwrote:
I'm using docutils 0.4.
Is it possible to define special custom 'tags' (or something) that will
invoke my own function? The function would then return the real content in
the ReST document.
I -think- this is what you're looking for:
http://docutils.sourceforge.net/docs...rst-roles.html

Hope it helps.

-alex23

Jan 25 '07 #2
Damjan <gd*****@gmail.comwrites:
I'm using docutils 0.4.
The specific mailing lists for docutils:

<URL:http://docutils.sourceforge.net/docs/user/mailing-lists.html>

Also available via GMane, which is how I read them.

--
\ "Here is a test to see if your mission on earth is finished. If |
`\ you are alive, it isn't." -- Francis Bacon |
_o__) |
Ben Finney

Jan 25 '07 #3
>I'm using docutils 0.4.
>Is it possible to define special custom 'tags' (or something) that will
invoke my own function? The function would then return the real content
in the ReST document.

I -think- this is what you're looking for:
http://docutils.sourceforge.net/docs...rst-roles.html

Hope it helps.
Thanks, it looks to be exactly what I need... I'm reading it now, and will
try to implement it.
--
damjan
Jan 26 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rim | last post by:
Hi, I've installed the latest docutils, but I can't find where the tools have been installed. I can see them when I expand the tarball, but I can't find them under site-packages. Thanks -Rim
1
by: Rim | last post by:
Hi, ImportError: No module named roman What provides the roman module? I can't run docutils/tools since I upgraded to python2.3. Thanks, -Rim
0
by: David Goodger | last post by:
I will be coaching a Docutils sprint at PyCon DC 2004, from March 20 (Saturday) to March 23 (Tuesday), in one- or two-day blocks or as suggested by participants. Anyone interested in Docutils...
1
by: Fuzzyman | last post by:
I've finally got round to using ResT and docutils. I had a little galnce at it about a year ago and for some reason concluded that ResTwas more of a pain than it was worth... very wrong. I've...
3
by: Stevey | last post by:
I have the following XML file... <?xml version="1.0"?> <animals> <animal> <name>Tiger</name> <questions> <question index="0">true</question> <question index="1">true</question> </questions>
7
by: nospam | last post by:
Ok, 3rd or is it the 4th time I have asked this question on Partial Types, so, since it seems to me that Partial Types is still in the design or development stages at Microsoft, I am going to ask...
3
by: Ekqvist Marko | last post by:
Hi, I have one Access database table including questions and answers. Now I need to give answer id automatically to questionID column. But I don't know how it is best (fastest) to do? table...
10
by: glenn | last post by:
I am use to programming in php and the way session and post vars are past from fields on one page through to the post page automatically where I can get to their values easily to write to a...
2
by: Calvin Cheng | last post by:
Hi, I am attempting to convert a bunch of .txt files into html using the docutils package. It works for most of the txt files except for the index.txt file which gives 2 errors: (1)...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.