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?

1 Answer 1


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.




  • Interesting but the text is formatted as a code block
    – M. Toya
    Dec 4, 2018 at 15:44
  • good point. I have edited the answer with an export block instead. Dec 4, 2018 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, 2019 at 15:16
  • This includes the content in the block when exported to HTML, but the content is interpreted as html code. Is it possible for the content to be in org-mode syntax and exported as usual to html code? There is some content I want to export to html, but not to latex.
    – darcamo
    Nov 2, 2020 at 17:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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