msnoigrs / ox-rst

reStructuredText Back-End for Org-Mode Export Engine
116 stars 18 forks source link

#+BEGIN_EXPORT rst - don't work #28

Closed lloydhuang closed 7 years ago

lloydhuang commented 7 years ago

Dear Masayuko

The ox-rst is work well for me. Thank you.

late week I was git pull, then find out #+BEGIN_EXPORT rst don't work.

(sample)

+BEGIN_EXPORT rst

.. class:: alert

+END_EXPORT

(output) .. EXPORT::

\.. lass:: alert

version commit 7b6095c53211978c73e1d686cd2d672cf28eb4c3

Best Regards Lloyd

msnoigrs commented 7 years ago

Which version of org-mode do you use? Upstream has changed export block syntax at Org 9.0.

Old syntax was:

+BEGIN_RST

.. class:: alert

+END_RST

It works fine for me with new syntax.

lloydhuang commented 7 years ago

My Emacs org version is 8.3.3

old syntax

+BEGIN_RST

.. class:: alert

+END_RST

outout as below .. RST::

\.. lass:: alert

BTW, I used #+BEGIN_QUOTE for workaround. Unfortunately, it also have HTML URL link problem. like below.

+ATTR_RST: :directive raw :title html

+BEGIN_QUOTE

+END_QUOTE

.. raw:: html

<embed src="`http:///www.youtube.com/xxxx/ <http:///www.youtube.com/xxxx/>`_"></embed>

BRs Lloyd

lloydhuang commented 7 years ago

update org-mode to version 9.0.3

Then, It work. Thank you.

BRs Lloyd