Hello, ** Olaf Meeuwissen [2012-04-05 14:01:37 +0900]: > Vladimir Lomov <lomov...@gmail.com> writes:
>> Hello, >> ** Nick Dokos [2012-04-05 00:13:10 -0400]: >>> Vladimir Lomov <lomov...@gmail.com> wrote: >>>> #+TITLE: Problem with exporting TAB key >>>> #+AUTHOR: Vladimir Lomov >>>> * How to make TAB key to be exported from ORG document? >>>> Consider the following example: >>>> #+name: ex1 >>>> #+BEGIN_SRC sh :exports code >>>> sort -t " " -k 3 -o file2 file1 >>>> sort -t " " -k 3 -o file3 file >>>> #+END_SRC >>>> How I inserting the TAB key in example: for first line I use =C-q >>>> C-I=, for second line I use =C-q TAB=, but in tangled file and in >>>> exported HTML document it is NOT a TAB just spaces. > Just a thought but can't you use "\t"? That would be to simple :D. P.S. I wouldn't bother with <TAB> and ^I if "\t" just work, it is much simple to type "\t" than ~C-q <TAB>~ or ~C-q ^I~, and portable. $ sort --version sort (GNU coreutils) 8.16 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and Paul Eggert. --- WBR, Vladimir Lomov -- Burnt Sienna. That's the best thing that ever happened to Crayolas. -- Ken Weaver