Re: Anonymous hyperlinks in restructuredtext

2016-05-28 Thread Ned Batchelder
On Saturday, May 28, 2016 at 8:58:41 AM UTC-4, Sergio Spina wrote: > Il giorno sabato 28 maggio 2016 14:37:21 UTC+2, Ned Batchelder ha scritto: > > On Saturday, May 28, 2016 at 8:28:35 AM UTC-4, Sergio Spina wrote: > > > From the "restructuredtext markup specification":

Re: Anonymous hyperlinks in restructuredtext

2016-05-28 Thread Lele Gaifax
Sergio Spina writes: > I need INTERNAL hyperlink targets, not external... The difference is in how you use the two kinds of references: a named hyperlink is referenced with the name followed by a single underscore, while an anonymous one needs *two* underscores. So you have for example:: Samp

Re: Anonymous hyperlinks in restructuredtext

2016-05-28 Thread Sergio Spina
Il giorno sabato 28 maggio 2016 14:37:21 UTC+2, Ned Batchelder ha scritto: > On Saturday, May 28, 2016 at 8:28:35 AM UTC-4, Sergio Spina wrote: > > From the "restructuredtext markup specification": > > > > >Anonymous hyperlink targets consist of an explicit

Re: Anonymous hyperlinks in restructuredtext

2016-05-28 Thread Ned Batchelder
On Saturday, May 28, 2016 at 8:28:35 AM UTC-4, Sergio Spina wrote: > From the "restructuredtext markup specification": > > >Anonymous hyperlink targets consist of an explicit markup > >start (".. "), two underscores, a colon, whitespace, and a > &g

Anonymous hyperlinks in restructuredtext

2016-05-28 Thread Sergio Spina
>From the "restructuredtext markup specification": >Anonymous hyperlink targets consist of an explicit markup >start (".. "), two underscores, a colon, whitespace, and a >link block; there is no reference name: > >.. __: anonymous

Re: PyPI, reStructuredText and readthedocs problems

2015-03-02 Thread Leonardo Giordani
The libev problem happens on my local Ubuntu 14.10 too. It is not a pike requirement however (not installed by 'pip install pika'). Seems that pika forces some requirements when on readthedocs through this code on_rtd = os.environ.get('READTHEDOCS', None) == 'True' requirements = list() if on_rtd:

Re: PyPI, reStructuredText and readthedocs problems

2015-03-02 Thread Leonardo Giordani
Sorry, seems that GMail cannot understand I'm on a ML, and just answered the single persons. [Thread with INADA] Thank you. Seems that rst2html.py uses the header of a section as the id of the corresponding HTML anchor. Since I had two headers with the same title there was a name clash. I just ch

Re: PyPI, reStructuredText and readthedocs problems

2015-03-02 Thread Wolfgang Maier
On 03/02/2015 11:33 AM, INADA Naoki wrote: PyPI parses your README strictly. $ rst2html.py --strict README.rst README.rst:700: (INFO/1) Duplicate implicit target name: "fingerprint". Exiting due to level-1 (INFO) system message. But I don't know how to avoid this error when converting from mark

Re: PyPI, reStructuredText and readthedocs problems

2015-03-02 Thread INADA Naoki
PyPI parses your README strictly. $ rst2html.py --strict README.rst README.rst:700: (INFO/1) Duplicate implicit target name: "fingerprint". Exiting due to level-1 (INFO) system message. But I don't know how to avoid this error when converting from markdown. On Mon, Mar 2, 2015 at 6:35 PM Leonard

PyPI, reStructuredText and readthedocs problems

2015-03-02 Thread Leonardo Giordani
Hi all, Some time ago I open sourced a package named postage ( https://pypi.python.org/pypi/postage/). I am experiencing issues with documentation. The project is hosted on GitHub (https://github.com/lgiordani/postage), where the README.md is perfectly rendered. My issues are: 1. I use pandoc to

Re: Markdown to reStructuredText

2011-02-10 Thread Michele Simionato
Looks cool, I will have a look at it, thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: Markdown to reStructuredText

2011-02-09 Thread Daniel Stender
http://johnmacfarlane.net/pandoc/ Greetings, DS On 10.02.2011 06:38, Michele Simionato wrote: > Do you know if there is any converter from the Markdown syntax to the > rst syntax? Googling for markdown2rst > did not help. Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Markdown to reStructuredText

2011-02-09 Thread Michele Simionato
Do you know if there is any converter from the Markdown syntax to the rst syntax? Googling for markdown2rst did not help. Thanks! -- http://mail.python.org/mailman/listinfo/python-list

C++ comment in Javadoc style -> reStructuredText compiler?

2010-11-04 Thread Xavier Ho
Hey all, Apologies if I am posting this in the wrong list. Does anyone know of a good compiler for javadoc comment style into reStructuredText, for Sphinx to chew? Cheers, Xavier -- http://mail.python.org/mailman/listinfo/python-list

Re: reStructuredText format a part of a word

2010-06-25 Thread Slafs
On 25 Cze, 14:06, Thomas Jollans wrote: > On 06/25/2010 01:56 PM, Slafs wrote:> Hi there! > > > Is it possible to format a word using reStructuredText in a way that > > only a part of it is formatted (e.g. in bold)? > > > I would like to do something like this: >

Re: reStructuredText format a part of a word

2010-06-25 Thread Thomas Jollans
On 06/25/2010 01:56 PM, Slafs wrote: > Hi there! > > Is it possible to format a word using reStructuredText in a way that > only a part of it is formatted (e.g. in bold)? > > I would like to do something like this: > > my l****ng word l\ ****\ n

reStructuredText format a part of a word

2010-06-25 Thread Slafs
Hi there! Is it possible to format a word using reStructuredText in a way that only a part of it is formatted (e.g. in bold)? I would like to do something like this: my l****ng word where all the "o"s are in bold but this doesn't work with rst2html Regards -- http://

Re: restructuredText editor ?

2010-01-09 Thread Peter
On 01/09/2010 03:32 AM, Florian Diesch wrote: Peter writes: What editor do people out there use to edit .rst files for sphinx-python documentation ? Emacs with ReST mode and YASnippet Florian Great, works very well and thanks for mentionning YASnippets ( useful for many

Re: restructuredText editor ?

2010-01-08 Thread Florian Diesch
Peter writes: > What editor do people out there use to edit .rst files for > sphinx-python documentation ? Emacs with ReST mode and YASnippet Florian -- -- http://mail.python.org/mailman/listinfo/python-list

Re: restructuredText editor ?

2010-01-08 Thread Diez B. Roggisch
Peter schrieb: What editor do people out there use to edit .rst files for sphinx-python documentation ? Emacs has a RST-mode (which unfortunately has some runtime-issues, the longer the text & the edit, the slower it gets), and together with flymake & rst2xml, you get nice error-notification

restructuredText editor ?

2010-01-08 Thread Peter
What editor do people out there use to edit .rst files for sphinx-python documentation ? Peter -- http://mail.python.org/mailman/listinfo/python-list

Re: docstrings => RestructuredText => Sphinx => Nice html docs (?)

2008-10-01 Thread Benjamin
to use Sphinx to obtain > the same result. The problem is, I don't know if there is a tool out > there which will extract docstrings from my module and convert them to > a RestructuredText formal which may be (almost) directly fed into > Sphinx to get the html help. > Maybe

docstrings => RestructuredText => Sphinx => Nice html docs (?)

2008-10-01 Thread Infinity77
ll extract docstrings from my module and convert them to a RestructuredText formal which may be (almost) directly fed into Sphinx to get the html help. Maybe I am asking the impossible, or maybe it is much easier than I thought, but I can't find a solution, so I thought to ask here... Thank you

Re: restructuredtext latin1 encoding (FAQ?)

2007-07-03 Thread Helmut Jarausch
Marc 'BlackJack' Rintsch wrote: > On Tue, 03 Jul 2007 12:12:04 +0200, Helmut Jarausch wrote: > >> Is there a way to write documents with the reST tools using the Latin1 >> encoding? > > Yes of course there is. Just write the documents in Latin-1 encoding. > Take a look at the charset command li

Re: restructuredtext latin1 encoding (FAQ?)

2007-07-03 Thread Marc 'BlackJack' Rintsch
On Tue, 03 Jul 2007 12:12:04 +0200, Helmut Jarausch wrote: > Is there a way to write documents with the reST tools using the Latin1 > encoding? Yes of course there is. Just write the documents in Latin-1 encoding. Take a look at the charset command line options if Latin-1 is not the default enc

restructuredtext latin1 encoding (FAQ?)

2007-07-03 Thread Helmut Jarausch
Hi, I did try to find something on the net but I couldn't find anything useful. Is there a way to write documents with the reST tools using the Latin1 encoding? Many thanks for a hint, Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany -- htt

Re: ReStructuredText

2006-08-15 Thread limodou
> Yeah, right after you asked, I tried 0.4, but it failed with a > traceback. But my version works good. > I ended up installing 0.3.9 and it works fine (and didn't > require the list to be indented either, FWIW). Yeah. > > For anyone who cares, the traceback with 0.4 was: > > Python 2.4.2 (#1,

Re: ReStructuredText

2006-08-15 Thread Cliff Wells
On Tue, 2006-08-15 at 16:10 +0800, limodou wrote: > On 8/15/06, Cliff Wells <[EMAIL PROTECTED]> wrote: > > On Tue, 2006-08-15 at 16:02 +0800, limodou wrote: > > > On 8/15/06, Cliff Wells <[EMAIL PROTECTED]> wrote: > > > > Thanks for the response. Must be a bug in my version: > > > > > > Which vers

Re: ReStructuredText

2006-08-15 Thread Cliff Wells
On Tue, 2006-08-15 at 00:56 -0700, Cliff Wells wrote: Ah, I got it. From the docs: (Auto-enumerated lists are new in Docutils 0.3.8.) and I've got 0.3.7 Damn. Thanks for the responses. Regards, Cliff -- -- http://mail.python.org/mailman/listinfo/python-list

Re: ReStructuredText

2006-08-15 Thread Cliff Wells
On Tue, 2006-08-15 at 16:02 +0800, limodou wrote: > On 8/15/06, Cliff Wells <[EMAIL PROTECTED]> wrote: > > Thanks for the response. Must be a bug in my version: > > Which version of docutils you are using, in my computer is good. > > u'\nthis is a test\nthis is > another line\noh, screw it!\n\n'

Re: ReStructuredText

2006-08-15 Thread Cliff Wells
On Tue, 2006-08-15 at 09:35 +0200, Sybren Stuvel wrote: > Cliff Wells enlightened us with: > > Why doesn't the above turn out an enumerated list? > > You have to indent the list: > > >>> from docutils.core import publish_parts > >>> t = ''' > ... > ...1. this is a test > ...#. this is an

ReStructuredText

2006-08-15 Thread Cliff Wells
Started playing with docutils and don't understand why the following doesn't work: >>> from docutils.core import publish_parts >>> t = ''' ... ... 1. this is a test ... #. this is another line ... #. oh, screw it! ... ... ''' >>> publish_parts ( t, writer_name = 'html' ) [ 'body' ] u'1. this is a

Re: epydoc: links to other methods/classes with reStructuredText

2006-03-20 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, Max Kubierschky wrote: > I try to use epydoc with reStructuredText. > It works fine, my only problem is that I couldn't figure out > the syntax for links to other methods or classes. Any hints? IIRC it's `OtherClass`, `module.OtherClass`, `other

epydoc: links to other methods/classes with reStructuredText

2006-03-18 Thread Max Kubierschky
Hi, I try to use epydoc with reStructuredText. It works fine, my only problem is that I couldn't figure out the syntax for links to other methods or classes. Any hints? Max P.S: Where is the correct platform for discussing epydoc? -- http://mail.python.org/mailman/listinfo/python-list

Re: MS Word Outline -> reStructuredText script?

2005-10-15 Thread Aahz
In article <[EMAIL PROTECTED]>, Jim <[EMAIL PROTECTED]> wrote: > >David Mertz has an article that shows reSt -> DocBook, I just need to >do the opposite. Note that this is tricky because reST has fewer features/capabilities than DocBook. More to the point, reST simply isn't designed to be machine

Re: MS Word Outline -> reStructuredText script?

2005-10-15 Thread Franz GEIGER
Jim wrote: > Hi, > > I'm using reStructuredText as a format for some group documentation, > and often my co-workers take notes during meetings in Word's outline > mode. Does anyone already have a python script that will convert from > Word (or the Open Office f

Re: MS Word Outline -> reStructuredText script?

2005-10-14 Thread Jim
I'll look into that. I also found that Open Office can read the .doc file and then saveAs a DocBook xml file. I think DocUtils can parse and write both DocBook and reStructured text, but It'll take me some time to experiment with it. David Mertz has an article that shows reSt -> DocBook, I just

Re: MS Word Outline -> reStructuredText script?

2005-10-14 Thread Graham Fawcett
Jim wrote: > Hi, > > I'm using reStructuredText as a format for some group documentation, > and often my co-workers take notes during meetings in Word's outline > mode. Does anyone already have a python script that will convert from > Word (or the Open Office f

MS Word Outline -> reStructuredText script?

2005-10-14 Thread Jim
Hi, I'm using reStructuredText as a format for some group documentation, and often my co-workers take notes during meetings in Word's outline mode. Does anyone already have a python script that will convert from Word (or the Open Office file format version of a word document) to re