It seems the @@latex: @@ and @@odt: @@ does not work for lists or paragraphs with blank lines. For instance

  - Xyzzy!

  - Nothing happens

is exported to latex.

How can I have some paragraphs exported only by one backend?


The @@backend: @@ construct doesn't work with newlines. I think you can do something like this to get a selective export only for a particular backend, in this case html. I am not sure if you can also get other non-html formatting in this.




| improve this answer | |
  • Interesting but the text is formatted as a code block – M. Toya Dec 4 '18 at 15:44
  • good point. I have edited the answer with an export block instead. – John Kitchin Dec 4 '18 at 17:29
  • Is it possible to have a #+INCLUDE: "./xxx.org" in the export block? My attempt do not result as expected (#+BEGIN_EXPORT is typesetted and the include not taken into account, whatever the export mode). – M. Toya Sep 24 '19 at 15:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.