Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #86770

Re: rst and pypandoc

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <davea@davea.name>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.075
X-Spam-Evidence '*H*': 0.85; '*S*': 0.00; 'string': 0.09; 'indicates': 0.09; '"in"': 0.16; 'be:': 0.16; 'keyword.': 0.16; 'mean,': 0.16; 'semantics': 0.16; 'spotted': 0.16; 'string:': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'header:User-Agent:1': 0.23; 'second': 0.26; 'header:In-Reply-To:1': 0.27; 'correct': 0.29; 'am,': 0.29; '>>>>': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'raw': 0.33; "can't": 0.35; 'whatever': 0.38; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'dave': 0.60; 'back': 0.62; 'name': 0.63; 'charset:windows-1252': 0.65; 'attention.': 0.68; 'received:74.208': 0.68; 'received:74.208.4.194': 0.84; 'angel': 0.91; 'mistake': 0.91
Date Mon, 02 Mar 2015 13:55:53 -0500
From Dave Angel <davea@davea.name>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version 1.0
To python-list@python.org
Subject Re: rst and pypandoc
References <cliji5FvctU1@mid.individual.net> <54f458a5$0$13003$c3e8da3$5496439d@news.astraweb.com> <clj866F68tpU1@mid.individual.net> <mailman.39.1425305311.13471.python-list@python.org> <54f47707$0$12979$c3e8da3$5496439d@news.astraweb.com>
In-Reply-To <54f47707$0$12979$c3e8da3$5496439d@news.astraweb.com>
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Provags-ID V02:K0:miJY0XFPHYYKMxnQGt9DaDQSpRzxO8n5JDniInmjvlG R11nNK/BnXB/BCU3GeUph5bNRRT9YEmNh6oLw0Uhh0iTNXecs+ BNr+T9a4fofF6e+5d9rD7TZxNydq+rskIa5dYDX9+hjBPjMqNK B7tSY/rUVyCjJ8LrIAYiH4srqxwzcW8MGiElPWB8j8avSTFohQ s+5SGpPY6WIrhc8Bu2586KGK2oqggR6ZvL05W2NFhZYIIh196z mvZY7VmgkiWbZFmmQqtZURxIjdGezO6qHEVAEQWHKF/X9Kh7OZ AmgpMe6Y697BDFTOKNh6IT6lSULY3CE9sxWNYodYKNkyaTd8Ld gab3sDv/uhGE0FdhzUC0=
X-UI-Out-Filterresults notjunk:1;
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.19
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.57.1425322560.13471.python-list@python.org> (permalink)
Lines 36
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1425322560 news.xs4all.nl 2977 [2001:888:2000:d::a6]:39201
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:86770

Show key headers only | View raw


On 03/02/2015 09:43 AM, Steven D'Aprano wrote:
> Dave Angel wrote:
>
>> On 03/02/2015 08:51 AM, alb wrote:
>>> Hi Steven,
>>>
>>> Steven D'Aprano <steve+comp.lang.python@pearwood.info> wrote:

>>>>
>>>> or use a raw string:
>>>>
>>>> i = r'\\ref{fig:abc}'
>>
>> Actually that'd be:
>>      i = r'\ref{fig:abc}'
>
>
> D'oh!
>
> I mean, you spotted my deliberate mistake to check if you were paying
> attention. Well done!
>
>
>> How about "in" and "out"?  Or perhaps some name that indicates what
>> semantics the string represents, like   "rst_string"  and "html_string"
>> or whatever they actually are?
>
> Can't use "in", it's a keyword.
>

And D'oh right back at ya.  Ironic isn't it that I make a second mistake 
in the same message I correct yours?


-- 
DaveA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

rst and pypandoc al.basili@gmail.com (alb) - 2015-03-02 07:59 +0000
  Re: rst and pypandoc Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> - 2015-03-02 12:03 +0100
  Re: rst and pypandoc Dave Angel <davea@davea.name> - 2015-03-02 07:03 -0500
    Re: rst and pypandoc al.basili@gmail.com (alb) - 2015-03-02 12:36 +0000
  Re: rst and pypandoc Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-03-02 23:33 +1100
    Re: rst and pypandoc al.basili@gmail.com (alb) - 2015-03-02 13:51 +0000
      Re: rst and pypandoc Dave Angel <davea@davea.name> - 2015-03-02 09:08 -0500
        Re: rst and pypandoc Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-03-03 01:43 +1100
          Re: rst and pypandoc Dave Angel <davea@davea.name> - 2015-03-02 13:55 -0500
          Re: rst and pypandoc Ben Finney <ben+python@benfinney.id.au> - 2015-03-03 06:09 +1100
          Re: rst and pypandoc Dave Angel <davea@davea.name> - 2015-03-02 14:16 -0500
        Re: rst and pypandoc al.basili@gmail.com (alb) - 2015-03-02 22:30 +0000
          Re: rst and pypandoc Chris Angelico <rosuav@gmail.com> - 2015-03-03 09:51 +1100
          Re: rst and pypandoc Ben Finney <ben+python@benfinney.id.au> - 2015-03-03 10:18 +1100
          Re: rst and pypandoc Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-03-03 10:32 +1100
            Re: rst and pypandoc al.basili@gmail.com (alb) - 2015-03-03 20:35 +0000
        Re: rst and pypandoc al.basili@gmail.com (alb) - 2015-03-02 22:40 +0000
          Re: rst and pypandoc Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-03-02 23:08 +0000
            Re: rst and pypandoc al.basili@gmail.com (alb) - 2015-03-03 20:37 +0000
          Re: rst and pypandoc Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-03-03 10:22 +1100
            Re: rst and pypandoc al.basili@gmail.com (alb) - 2015-03-03 20:46 +0000
          Re: rst and pypandoc Dave Angel <davea@davea.name> - 2015-03-02 18:23 -0500
      Re: rst and pypandoc MRAB <python@mrabarnett.plus.com> - 2015-03-02 14:37 +0000
        Re: rst and pypandoc al.basili@gmail.com (alb) - 2015-03-02 22:37 +0000
          Re: rst and pypandoc Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2015-03-03 19:40 +1300
            Re: rst and pypandoc al.basili@gmail.com (alb) - 2015-03-03 20:50 +0000
              Re: rst and pypandoc Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2015-03-04 11:27 +1300
      Re: rst and pypandoc MRAB <python@mrabarnett.plus.com> - 2015-03-02 14:40 +0000
      Re: rst and pypandoc Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-03-03 02:09 +1100

csiph-web