Re: [O] Underline ONLY the first character of a word?

2011-08-26 Thread Jambunathan K
See http://www.mail-archive.com/emacs-orgmode@gnu.org/msg45991.html Just, creating a backlink to the other thread. John Hendy created the forward link. Greetings. I've inherited an HTML document that uses the construct: ue/uvent for instance, to underline the initial 'e' in the word.

Re: [O] [PATCH] org.el: Preserve indentation of manually indented lines in example blocks.

2011-08-26 Thread Valentin Wüstholz
On Thu, Aug 18, 2011 at 6:44 PM, Bastien b...@altern.org wrote: Valentin Wüstholz wuesth...@gmail.com writes: I was thinking of the the 80 character line limit for both code and commit messages, which doesn't seem to be in there. It might also make sense to link to some style guide for Emacs

Re: [O] extending automatic screenshot insertion

2011-08-26 Thread Aankhen
Hi, On Thu, Aug 25, 2011 at 15:41, Aditya Mandayam adity...@gmail.com wrote: i would like to extend the auto screenshot method described here: http://comments.gmane.org/gmane.emacs.orgmode/33770 first: a way in which i can be prompted to enter a filename instead of having a random string

Re: [O] Underline ONLY the first character of a word?

2011-08-26 Thread Carsten Dominik
Hi, I don't think the following trick has come up yet. If you are only exporting to HTML, you can do: @ue@/uvent HTH - Carsten On 25.8.2011, at 01:34, Nick Dokos wrote: Nick Dokos nicholas.do...@hp.com wrote: Not without some code I think. D'oh - as John Hendy points out, you can

Re: [O] collapsing some headings on html export?

2011-08-26 Thread Daniel Clemente
If you only want to expand/collapse headers in a web page, you may use jQuery to handle each click. I did it with this code: http://www.danielclemente.com/pagina/esquemadorg.js http://www.danielclemente.com/pagina/esquemadorg.css Demo: http://www.danielclemente.com/hacer/emacs.html The

Re: [O] Styling HTML output

2011-08-26 Thread Bastien
Hi Ken, ken.willi...@thomsonreuters.com writes: I wanted to share some CSS code that I've found useful for exported HTML documents. It adds a little R or sh or Perl (etc.) label to the top of a source block. Cool - it deserves to be put on Worg org-hacks.org! Thanks, -- Bastien

Re: [O] [Babel] Blank line preceeds tangled data

2011-08-26 Thread Rainer M Krug
On Fri, Aug 26, 2011 at 6:35 AM, Nick Dokos nicholas.do...@hp.com wrote: Bernt Hansen be...@norang.ca wrote: Hi, When I tangle some file such as #+begin_src sh :tangle x.sh #!/bin/sh echo done #+end_src I get the following output which includes a blank line up front.

[O] nested and partially emphasizing

2011-08-26 Thread joe
Hi there, often discussed here, but seems have not lead to an actual solution yet: /italic/ *bold* _underlined_ works fine, but nested emphasizing not, as: *This is /actually/ bold.* Also partial emphasizing is not working by default: Neither for bar*keeper* nor for *bar*keeper. Not to

Re: [O] nested and partially emphasizing

2011-08-26 Thread Jambunathan K
Neither for bar*keeper* nor for *bar*keeper. This will interest you http://www.mail-archive.com/emacs-orgmode@gnu.org/msg45991.html ,[ C-h v org-emphasis-regexp-components RET ] | org-emphasis-regexp-components is a variable defined in `org.el'. | Its value is ( ('\{ -

Re: [O] [Babel] Preserving tabs in code blocks

2011-08-26 Thread Bernt Hansen
Nick Dokos nicholas.do...@hp.com writes: Bernt Hansen be...@norang.ca wrote: I want to include the contents of a file which requires TABS between fields in a #+begin_src ... #+end_src block. When I use C-c ' to edit the block the TABS are all converted back to spaces. I want to be able

Re: [O] [Babel] Blank line preceeds tangled data

2011-08-26 Thread Bernt Hansen
Rainer M Krug r.m.k...@gmail.com writes: On Fri, Aug 26, 2011 at 6:35 AM, Nick Dokos nicholas.do...@hp.com wrote: Bernt Hansen be...@norang.ca wrote: Hi, When I tangle some file such as #+begin_src sh :tangle x.sh   #!/bin/sh   echo done

Re: [O] HTML5 presentations

2011-08-26 Thread zwz
Eric Schulte schulte.e...@gmail.com writes: Matt Price mopto...@gmail.com writes: On Wed, Aug 24, 2011 at 8:14 AM, zwz zhangwe...@gmail.com wrote: Those days I came across two tools which I thought interesting and helpful if could be combined with org-export in some way. 1. Deck.js: a js

Re: [O] Schedule event

2011-08-26 Thread Greg Troxel
Bastien b...@altern.org writes: Jason Dunsmore emacs-orgm...@dunsmor.com writes: Carsten Dominik domi...@uva.nl writes: Yes, that was my original reason. But your suggestion of adding a special keyword for events is another good reason. Also, as recently discussed, consistent formatting

Re: [O] Is it possible to markup one character in a word?

2011-08-26 Thread joe
Jambunathan K kjambunathan at gmail.com writes: Create string like e|*X*|ecute where the | stands for ZERO WIDTH SPACE Hi, thanks for this pragmatic solution. What now would be interesting: how to toggle on/off a display of those small helpers? F.e. by showing/hiding some grayed

[O] [PATCH] org.texi: yasnippet nested snippet

2011-08-26 Thread Sylvain Rousseau
Hi, The proposed workaround doesn't support nested snippet! (setq yas/triggers-in-field t) to enable it. Here is a patch to fix this: diff --git a/doc/org.texi b/doc/org.texi index 002ada1..2295fd0 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -14097,7 +14097,7 @@ Then, tell Org mode what to

Re: [O] problem with find-file in --eval from command line

2011-08-26 Thread Eric S Fraga
Viktor Rosenfeld listuse...@googlemail.com writes: Hi, This works on Bash (tested on 4.2.10) and should be easy to remember: emacs --eval (find-file \/home/somefile.org\ ) The even simpler solution worked for me: emacs --eval '(find-file /home/somefile.org)' with bash (4.1-3) on

Re: [O] org-odt/html table export: adjusting default behaviour?

2011-08-26 Thread Matt Price
On Thu, Aug 25, 2011 at 6:01 PM, Jambunathan K kjambunat...@gmail.com wrote: Matt Price mopto...@gmail.com writes: The attached test file shows  an org file with tables whose columns include substantial amounts of text.  The default export to odt is pretty ugly in this case, and even in html

Re: [O] org-odt/html table export: adjusting default behaviour?

2011-08-26 Thread Matt Price
On Thu, Aug 25, 2011 at 5:40 PM, Jambunathan K kjambunat...@gmail.com wrote: Matt Price mopto...@gmail.com writes: The attached test file shows an org file with tables whose columns include substantial amounts of text. The default export to odt is pretty ugly in this case, and even in html

Re: [O] nested and partially emphasizing

2011-08-26 Thread joe
Jambunathan K kjambunathan at gmail.com writes: This will interest you http://www.mail-archive.com/emacs-orgmode at gnu.org/msg45991.html Thank you very much, an actually helpful hint. It does not solve the problem of nested emphasizing, but it's a pragmatic way to solve some problems

Re: [O] Using Code Blocks in Org Tables

2011-08-26 Thread Eric Schulte
Henri-Paul Indiogine hindiog...@gmail.com writes: I am trying to have the final output of several bash script appear in a summary table. I am trying to follow this example: http://orgmode.org/worg/org-contrib/babel/intro.html#spreadsheet This is my test system:

Re: [O] [BABEL, PATCH] ob-maxima.el add variables and graphical output

2011-08-26 Thread Eric S Fraga
Litvinov Sergey slitvi...@gmail.com writes: I would like to contribute an extension of babel maxima support. The patch adds variables and graphical output (currently limited to png files). There is a file with examples (tests). It is not ERTed yet. org-mode/testing/examples/ob-maxima-test.org

Re: [O] problem with find-file in --eval from command line

2011-08-26 Thread Achim Gratz
Eric S Fraga e.fr...@ucl.ac.uk writes: The even simpler solution worked for me: emacs --eval '(find-file /home/somefile.org)' ...as I had already said (this also has the charm of working in other shells, like tcsh). with bash (4.1-3) on Debian Linux (testing+unstable). Not sure why

Re: [O] [BABEL, PATCH] ob-maxima.el add variables and graphical output

2011-08-26 Thread Eric Schulte
Eric S Fraga e.fr...@ucl.ac.uk writes: Litvinov Sergey slitvi...@gmail.com writes: I would like to contribute an extension of babel maxima support. The patch adds variables and graphical output (currently limited to png files). There is a file with examples (tests). It is not ERTed yet.

Re: [O] nested and partially emphasizing

2011-08-26 Thread suvayu ali
On Fri, Aug 26, 2011 at 4:27 PM, joe gr...@cognitec.com wrote: What would make me sad, because it actually has too much other features being unavailable within the Wiki world... You can always export to wiki formats and edit the wiki source. I believe there are some hints about exporting to

Re: [O] problem with find-file in --eval from command line

2011-08-26 Thread Eric S Fraga
Achim Gratz strom...@nexgo.de writes: Eric S Fraga e.fr...@ucl.ac.uk writes: The even simpler solution worked for me: emacs --eval '(find-file /home/somefile.org)' ...as I had already said (this also has the charm of working in other shells, like tcsh). Ah, sorry, I missed that! with

Re: [O] collapsing some headings on html export?

2011-08-26 Thread Daniel Clemente
El Fri, 26 Aug 2011 09:41:38 -0400 Matt Price va escriure: On Fri, Aug 26, 2011 at 4:58 AM, Daniel Clemente n142...@gmail.com wrote:  I did it with this code: http://www.danielclemente.com/pagina/esquemadorg.js http://www.danielclemente.com/pagina/esquemadorg.css Demo:

Re: [O] collapsing some headings on html export?

2011-08-26 Thread Matt Price
On Fri, Aug 26, 2011 at 12:04 PM, Daniel Clemente n142...@gmail.com wrote: El Fri, 26 Aug 2011 09:41:38 -0400 Matt Price va escriure: On Fri, Aug 26, 2011 at 4:58 AM, Daniel Clemente n142...@gmail.com wrote: I did it with this code: http://www.danielclemente.com/pagina/esquemadorg.js

Re: [O] Styling HTML output

2011-08-26 Thread Eric S Fraga
ken.willi...@thomsonreuters.com writes: I wanted to share some CSS code that I've found useful for exported HTML documents. It adds a little R or sh or Perl (etc.) label to the top of a source block. [...] Very nice. Thanks. I've already started using it, having added some other

Re: [O] Styling HTML output

2011-08-26 Thread Ken.Williams
On 8/26/11 4:01 AM, Bastien b...@altern.org wrote: Cool - it deserves to be put on Worg org-hacks.org! Good idea, here's a patch (I hope attachments work on this list?) that adds it. -- Ken Williams Senior Research Scientist Thomson Reuters http://labs.thomsonreuters.com

[O] difference between #+source and #+srcname; passing parameters to Awk.

2011-08-26 Thread Feiming Chen
Hi, I'd like to ask two questions. 1. What's the difference between header options #+source and #+srcname? They seem to have identical utilities. 2. I'd like to pass parameters (filenames) to Awk (language) code block, but #+srcname: subset(file=~/tmp/a) #+begin_src awk #+end_src fails

Re: [O] Styling HTML output

2011-08-26 Thread Nick Dokos
ken.willi...@thomsonreuters.com wrote: On 8/26/11 4:01 AM, Bastien b...@altern.org wrote: Cool - it deserves to be put on Worg org-hacks.org! Good idea, here's a patch (I hope attachments work on this list?) that adds it. Two things: o application/octet-stream is not the right

[O] Convert list to paragraph

2011-08-26 Thread Derek Thomas
I find it convenient to outline LaTeX documents using org-mode. I often find myself with every sentence in a paragraph as an item in an org list. This makes it convenient to manipulate the paragraph. Is it possible to export a certain list bullet style (+,-, etc.) as a paragraph instead of as a

Re: [O] Convert list to paragraph

2011-08-26 Thread Nick Dokos
Derek Thomas derekctho...@gmail.com wrote: I find it convenient to outline LaTeX documents using org-mode. I often find myself with every sentence in a paragraph as an item in an org list. This makes it convenient to manipulate the paragraph. Is it possible to export a certain list bullet

Re: [O] Using Code Blocks in Org Tables

2011-08-26 Thread Henri-Paul Indiogine
Hi Eric! 2011/8/26 Eric Schulte schulte.e...@gmail.com: sh code blocks are different in that they don't really have a :results value option in the same way as most code blocks.  Two options would be to either 1. remove the echo $HOME line from your code blocks, or 2. change the '(sbe

[O] C-c '

2011-08-26 Thread Henri-Paul Indiogine
Greetings! I noticed something strange when I edit a block of source code using C-c '. Each time I close the editor, using C-c ' the code block shift 2 places to the right. That is, 2 black spaces are added at the beginning of each line. Each time I edit a code block this happens again. So,

Re: [O] Styling HTML output

2011-08-26 Thread Ken.Williams
On 8/26/11 2:26 PM, Nick Dokos nicholas.do...@hp.com wrote: Two things: o application/octet-stream is not the right MIME type for the attachment.[...] o Presumaby the following should say pre class=src src-perl:[...] Thanks, I think this update is better. Unfortunately I don't think my

Re: [O] C-c '

2011-08-26 Thread Bernt Hansen
Henri-Paul Indiogine hindiog...@gmail.com writes: Greetings! I noticed something strange when I edit a block of source code using C-c '. Each time I close the editor, using C-c ' the code block shift 2 places to the right. That is, 2 black spaces are added at the beginning of each line.

Re: [O] Styling HTML output

2011-08-26 Thread Bastien
Hi Ken, ken.willi...@thomsonreuters.com writes: Thanks, I think this update is better. Unfortunately I don't think my mailer (stupid Outlook) can change the attachments, so I'll inline it here. Applied, thanks! -- Bastien

Re: [O] C-c '

2011-08-26 Thread Henri-Paul Indiogine
Hi Bernt! 2011/8/26 Bernt Hansen be...@norang.ca: It's not supposed to do that.  It is supposed to indent by 2 spaces and then remove those 2 spaces in C-c ' again. There's a variable (that I just found out about yesterday -- Thanks Nick!) which will turn this indentation off completely.

Re: [O] C-c '

2011-08-26 Thread Nick Dokos
Henri-Paul Indiogine hindiog...@gmail.com wrote: Hi Bernt! 2011/8/26 Bernt Hansen be...@norang.ca: It's not supposed to do that.  It is supposed to indent by 2 spaces and then remove those 2 spaces in C-c ' again. There's a variable (that I just found out about yesterday -- Thanks

Re: [O] Convert list to paragraph

2011-08-26 Thread Nicolas Goaziou
Hello, Nick Dokos nicholas.do...@hp.com writes: (defun org-list-to-paragraph () Convert the list at point into a paragraph. (interactive) (insert (org-list-to-generic (org-list-parse-list t) '(:ustart :splice t :isep :nobr t (defun org-lists-to-paragraphs () (goto-char