Re: [Orgmode] LaTeX export: Skip headline lines? "Paragraph" sectioning?

2010-08-29 Thread Thomas S. Dye

On Aug 29, 2010, at 7:46 PM, Nick Dokos wrote:


Scot Becker  wrote:

He wants to write up a document using org-mode's outline facilities  
as

a skeleton to help him build up, navigate and visualize his document,
but then he wants only to use SOME of the headlines but ALL of the
text when he actually makes a printed version for others to read.
I've wanted this as well, since when you think about it the structure
you need as a writer may not be the structure you want to pass on to
your readers.



OK, thanks for the clarification: that was one of the interpretations
that did not make much sense to me, but I was looking at it from a  
much
more rigid point of view, where the headlines are what give  
structure to

the document, so you want to preserve them at all costs; I wasn't
thinking about different meanings that they might have for different
people.

However, it still sounds like an ill-defined problem to me: in
particular, your manual algorithm would wreak havoc on an outline with
headlines at multiple levels. What is the "real" algorithm supposed to
do with something like this:

,
| * foo
| text1
| ** foo1
| text2
| * bar  :omit-this-header:
| text3
| **bar2 :omit-this-header:
| text4
| ***bar3
| text5
`

Or are we supposed to imagine headings at a single level only?

I suspect that one would be better off with two (or more) outlines:  
one for
the writer, one for the reader (perhaps one for each class of  
readers), with

some way to pick text from one outline and plug it into the other(s).

Nick


Aloha Alan et al.,

This is what I use LaTeX blocks in Babel for.  The outline stuff that  
helps me write is separate from the stuff I actually write.  I've been  
doing this for a while now and have been amazed at how much of what I  
write gets left behind, including headlines.


All the best,
Tom___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] LaTeX export: Skip headline lines? "Paragraph" sectioning?

2010-08-29 Thread Nick Dokos
Scot Becker  wrote:

> He wants to write up a document using org-mode's outline facilities as
> a skeleton to help him build up, navigate and visualize his document,
> but then he wants only to use SOME of the headlines but ALL of the
> text when he actually makes a printed version for others to read.  
> I've wanted this as well, since when you think about it the structure
> you need as a writer may not be the structure you want to pass on to
> your readers.
> 

OK, thanks for the clarification: that was one of the interpretations
that did not make much sense to me, but I was looking at it from a much
more rigid point of view, where the headlines are what give structure to
the document, so you want to preserve them at all costs; I wasn't
thinking about different meanings that they might have for different
people.

However, it still sounds like an ill-defined problem to me: in
particular, your manual algorithm would wreak havoc on an outline with
headlines at multiple levels. What is the "real" algorithm supposed to
do with something like this:

,
| * foo
| text1
| ** foo1
| text2
| * bar  :omit-this-header:
| text3
| **bar2 :omit-this-header:
| text4
| ***bar3
| text5
`

Or are we supposed to imagine headings at a single level only?

I suspect that one would be better off with two (or more) outlines: one for
the writer, one for the reader (perhaps one for each class of readers), with
some way to pick text from one outline and plug it into the other(s).

Nick




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] LaTeX export: Skip headline lines? "Paragraph" sectioning?

2010-08-29 Thread Scot Becker
He wants to write up a document using org-mode's outline facilities as a
skeleton to help him build up, navigate and visualize his document, but then
he wants only to use SOME of the headlines but ALL of the text when he
actually makes a printed version for others to read.   I've wanted this as
well, since when you think about it the structure you need as a writer may
not be the structure you want to pass on to your readers.

I'd be glad to see a formal feature for this in org-mode, and even more glad
if I could figure out a good way to basically keep up to two headlines per
'node' (org section): one for me while I'm writing (the outline of my
argument, in sentence form, say) and another for export (the catchy
'heading' which goes---for some headings only---in the printed output).

Until we get something like that, Alan, you could just use a little manual
work (or some elisp and one of org's export hooks) to help manage something
like this:

1) choose a :tag: for "don't print this headline (just the text under it)"
2) If you want to keep those headings in the file (I assume you do), then
when you want to export, you'll want to make a temporary (saved) copy of the
file somewhere then:
3) use emacs' "M-x flush-lines" to kill lines with that tag just before
export.

As for exporting lists as \paragraph{} sections, I'm not sure.  But on this
you might take nick's suggestion and give a sample input and output file to
help visualize (and show us) what you're asking for.  And do make sure your
org lists are compatible with the new list definitions (see recent
discussions elsewhere on this list).  When you do this kind of thing it
becomes critical that you pay attention to what constitutes a new item and
the end of the list.

As you'll see org-mode's latex export is currently designed to use org for
basic document structuring and only allows for a limited set of mappings
between org's structure and latex structure.  But you'll see in the latex
configuration documentation that it is possible to define what kind of
\section{}, \chapter{}, or \subsubparagraph{} is exported for each level of
org's headlines.

Also have a look at the documentation for the latex package 'easylist'  It's
not what you're asking for here, but you may find it interesting if you want
to get structured thought-outlines out to paper.  It basically takes
something like an org-mode header list and typesets in latex as nested
(numbered or un-numbered) lists, i.e. not as LaTeX headers.


Scot









On Mon, Aug 30, 2010 at 5:06 AM, Nick Dokos  wrote:

> Alan E. Davis  wrote:
>
> > Sometimes, I have used outliners, like ThinkTank, to organize my
> > thoughts, and reorganize the structure of a document of whatever kind.
> > I don't need headings or sectioning in some cases.
> >
> > I have not found a way to exclude heading lines from
> > LaTeX output in Orgmode, nor have I found a
> > tag to say, "omit this headline."  I do see the variables
> > org-export-exclude-tags, and org-export-select tags; as well as an
> > option to include a specific number of headings as LaTeX sections.  In
> > the later case, other  headings are exported as plain list items, not
> > what I have in mind.
> >
> > A related issue perhaps: what would it take to export, say list items,
> > as "paragraph" and "subparagraph" sections in LaTeX.
> >
> > The ability to export a pdf almost automatically through LaTeX, even
> > with images, is magical.  Many thanks for this.
> >
>
> Some examples might help. I may be particularly dense tonight but I have
> read your mail a few times and I still have no idea what you are asking
> (or rather I have multiple ideas, none of which make much sense to me.)
>
> Thanks,
> Nick
>
>
>
> ___
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] LaTeX export: Skip headline lines? "Paragraph" sectioning?

2010-08-29 Thread Nick Dokos
Alan E. Davis  wrote:

> Sometimes, I have used outliners, like ThinkTank, to organize my
> thoughts, and reorganize the structure of a document of whatever kind.  
> I don't need headings or sectioning in some cases.
> 
> I have not found a way to exclude heading lines from 
> LaTeX output in Orgmode, nor have I found a
> tag to say, "omit this headline."  I do see the variables
> org-export-exclude-tags, and org-export-select tags; as well as an
> option to include a specific number of headings as LaTeX sections.  In
> the later case, other  headings are exported as plain list items, not
> what I have in mind.
> 
> A related issue perhaps: what would it take to export, say list items,
> as "paragraph" and "subparagraph" sections in LaTeX.
> 
> The ability to export a pdf almost automatically through LaTeX, even
> with images, is magical.  Many thanks for this.
> 

Some examples might help. I may be particularly dense tonight but I have
read your mail a few times and I still have no idea what you are asking
(or rather I have multiple ideas, none of which make much sense to me.)
 
Thanks,
Nick



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] LaTeX export: Skip headline lines? "Paragraph" sectioning?

2010-08-29 Thread Alan E. Davis
Sometimes, I have used outliners, like ThinkTank, to organize my
thoughts, and reorganize the structure of a document of whatever kind.
I don't need headings or sectioning in some cases.

I have not found a way to exclude heading lines from
LaTeX output in Orgmode, nor have I found a
tag to say, "omit this headline."  I do see the variables
org-export-exclude-tags, and org-export-select tags; as well as an
option to include a specific number of headings as LaTeX sections.  In
the later case, other  headings are exported as plain list items, not
what I have in mind.

A related issue perhaps: what would it take to export, say list items,
as "paragraph" and "subparagraph" sections in LaTeX.

The ability to export a pdf almost automatically through LaTeX, even
with images, is magical.  Many thanks for this.

Alan Davis
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [babel] support plantuml

2010-08-29 Thread Eric Schulte
Thanks for pointing this out, I've just applied this fix. -- Eric

Michael Gauland  writes:

> I've run into a minor problem using this under Microsoft Windows. One of my
> machines puts a space in the temporary folder path, which causes the 
> redirection
> to fail.  I've fixed it locally by applying shell-quote-argument to in-file 
> and
> out-file in org-bable-execute:plantuml.
>
> --Mike
>
>
>
> ___
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: bug with link following --- a (partial) solution

2010-08-29 Thread Robert P. Goldman
On 8/29/10 Aug 29 -10:36 AM, Robert Goldman wrote:
> I used org-store-link and org-insert-link to make a link in the attached
> document (I distilled it down from a real document).  In my org-mode
> (pulled from git this morning), using Aquamacs 2.0 on Mac OSX Snow
> Leopard (10.6), org-mode cannot follow the link I inserted with o-i-l,
> and it pops up a dialog asking if I should add such a link target.

A quick followup:

I had a shot with git blame, and it seems like the only thing that might
have interfered with this search recently is the commit with the SHA1
has starting a84c8a2c

And, indeed, when I comment out the block that was introduced in this
commit (starting at line 9389):

 ;; ((and (org-mode-p) org-link-search-must-match-exact-headline)
 ;;  (and (equal (string-to-char s) ?*) (setq s (substring s 1)))
 ;;  (goto-char (point-min))
 ;;  (cond
 ;;   ((let (case-fold-search)
 ;;   (re-search-forward (format org-complex-heading-regexp-format
 ;;  (regexp-quote s))
 ;;  nil t))
 ;; ;; OK, found a match
 ;; (goto-char (match-beginning 0)))
 ;;   ((and (not org-link-search-inhibit-query)
 ;;  (eq org-link-search-must-match-exact-headline
'query-to-create)
 ;;  (y-or-n-p "No match - create this as a new heading? "))
 ;; (goto-char (point-max))
 ;; (or (bolp) (newline))
 ;; (insert "* " s "\n")
 ;; (beginning-of-line 0))
 ;;   (t
 ;; (goto-char pos)
 ;; (error "No match"

...then my link-following works again.

Carsten, could this patch be reverted until it can be fixed?

Best,
r

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: [babel] support plantuml

2010-08-29 Thread Michael Gauland
I've run into a minor problem using this under Microsoft Windows. One of my
machines puts a space in the temporary folder path, which causes the redirection
to fail.  I've fixed it locally by applying shell-quote-argument to in-file and
out-file in org-bable-execute:plantuml.

--Mike



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: beamer export question

2010-08-29 Thread Robert Goldman
On 8/27/10 Aug 27 -10:41 AM, Robert Goldman wrote:
> On 8/27/10 Aug 27 -10:35 AM, Robert Goldman wrote:
>> I have been outlining a beamer presentation using BEAMER_FRAME_LEVEL: 0
>> so that I could have some flexibility in deciding what is and isn't a frame.
>>
>> I had a piece of my outline where there's a lot of detail, so the slides
>> are at level 4 ().  I was disappointed to find that the level 3
>> heading above the level 4 frames /also/ got turned into a frame,
>> although it was not flagged as one.
>>
>> Is there some way to make the exporter turn this level three headline
>> into a subsubsection, instead of emitting a bogus frame?
>>
>> Or should I just tag it as noexport?
> 
> Sigh.  I should have tried this before blithering.
> 
> I can't use "noexport" for this purpose, because it will be inherited,
> and the items below the level three header will be suppressed, which is
> not at all what I want.
> 

Seems to be my day for answering my own questions:  looks like the
ignoreheading value for the property BEAMER_env is what I was looking for.

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] problem with mime conversion for emails

2010-08-29 Thread Eric Schulte
Hi Eric,

An easy fix may be using the `org-mime-html-hook' to post-process the
html, the following (untested) should be sufficient.

--8<---cut here---start->8---
(add-hook 'org-mime-html-hook
  (lambda ()
(replace-regexp
 (regexp-quote "X")
 " ")))
--8<---cut here---end--->8---

To me, this seems easier than having an email-specific export target.

Best -- Eric

Eric S Fraga  writes:

> Hello,
>
> I am hoping somebody can suggest a workaround for a simple problem
> with org-mime.  Specifically, I am in charge of a project in which I
> need to email around a to do list with checkboxes.  I have been using
> PDF export for this and this works perfectly fine.  However, given the
> existence of org-mime, I thought this would remove a step from those
> reading my emails.
>
> The problem is that the HTML conversion for checkbox lists uses the 
> construct
>
> : X
>
> (generated on line 1765 of org-html.el) to fill in the checkboxes for
> items *not* done.  Unfortunately, the visibility attribute is ignored
> by some email readers, with /Gmail/ being one of the prominent guilty
> ones.  This makes my todo lists look like everything is already done
> and we can all go home early!  How I wish this were true... ;-)
>
> The whole reason for the use of the visibility attribute, I assume, is
> to line entries up.
>
> I am happy to do some post-processing on the HTML output but I think a
> better solution may be to do this export differently.  Does anybody
> have any suggestions?  Would replacing the X in the above with  
> be good enough?
>
> Thanks,
> eric

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [BUG] org-capture : latest git pull, template selection broken ?

2010-08-29 Thread Eric S Fraga
On Sun, 29 Aug 2010 15:05:54 -0400, Dave Abrahams  wrote:
> 
> On Sun, Aug 29, 2010 at 3:01 PM, David Maus  wrote:
> > Dave Abrahams wrote:
> >>Julien Fantin  gmail.com> writes:
> >
> >>>
> >>>
> >>> With the org-capture-templates described in the doc, right after the
> >>> template selection, the buffer disappears, and the empty template
> >>> gets written to the target file. The following messages are output :
> >>>
> >>>
> >>> Clipboard pasted as level 2 subtree
> >
> >>I'm seeing this message too, when I invoke org-capture.  What does it mean?
> >
> > This message appears because `org-capture' uses `org-paste-subtree' to
> > insert the template in the indirect buffer which issues this message.
> 
> Okay... but what does it mean for *me*?  Does it indicate a real
> problem?  Should I ignore it?

Ignore it.  It's not a problem at all; it's simply telling you where
it has inserted the note relative to the hierarchy in the target file.
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] problem with mime conversion for emails

2010-08-29 Thread Eric S Fraga
Hello,

I am hoping somebody can suggest a workaround for a simple problem
with org-mime.  Specifically, I am in charge of a project in which I
need to email around a to do list with checkboxes.  I have been using
PDF export for this and this works perfectly fine.  However, given the
existence of org-mime, I thought this would remove a step from those
reading my emails.

The problem is that the HTML conversion for checkbox lists uses the 
construct

: X

(generated on line 1765 of org-html.el) to fill in the checkboxes for
items *not* done.  Unfortunately, the visibility attribute is ignored
by some email readers, with /Gmail/ being one of the prominent guilty
ones.  This makes my todo lists look like everything is already done
and we can all go home early!  How I wish this were true... ;-)

The whole reason for the use of the visibility attribute, I assume, is
to line entries up.

I am happy to do some post-processing on the HTML output but I think a
better solution may be to do this export differently.  Does anybody
have any suggestions?  Would replacing the X in the above with  
be good enough?

Thanks,
eric
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output

2010-08-29 Thread Eric S Fraga
On Sun, 29 Aug 2010 15:07:11 +0530, Puneeth  wrote:

[...]

> This has been fixed. Thanks to a patch from Benjamin Beckwith. You can
> now use any WP shortcode blocks in your org2blog posts, without losing
> line breaks.
> 
> Also, org2blog now directly posts babel src blocks as WP's sourcecode
> blocks, without modifying the src blocks in your org file. Just like
> with Benjamin's hook function, :syntaxhl header option can still be
> used to pass additional arguments to WP's syntaxhighlighter.
> 
> Happy Blogging,
> Puneeth

Thanks!  This works like a charm.
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [BUG] org-capture : latest git pull, template selection broken ?

2010-08-29 Thread Dave Abrahams
On Sun, Aug 29, 2010 at 3:01 PM, David Maus  wrote:
> Dave Abrahams wrote:
>>Julien Fantin  gmail.com> writes:
>
>>>
>>>
>>> With the org-capture-templates described in the doc, right after the
>>> template selection, the buffer disappears, and the empty template
>>> gets written to the target file. The following messages are output :
>>>
>>>
>>> Clipboard pasted as level 2 subtree
>
>>I'm seeing this message too, when I invoke org-capture.  What does it mean?
>
> This message appears because `org-capture' uses `org-paste-subtree' to
> insert the template in the indirect buffer which issues this message.

Okay... but what does it mean for *me*?  Does it indicate a real
problem?  Should I ignore it?

Thanks

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [BUG] org-capture : latest git pull, template selection broken ?

2010-08-29 Thread David Maus
Dave Abrahams wrote:
>Julien Fantin  gmail.com> writes:

>>
>>
>> With the org-capture-templates described in the doc, right after the
>> template selection, the buffer disappears, and the empty template
>> gets written to the target file. The following messages are output :
>>
>>
>> Clipboard pasted as level 2 subtree

>I'm seeing this message too, when I invoke org-capture.  What does it mean?

This message appears because `org-capture' uses `org-paste-subtree' to
insert the template in the indirect buffer which issues this message.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpFmphaeuFwP.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: e3144785114d12981e0e3429c76b6f8f15c4b00f breaks 22

2010-08-29 Thread David Maus
Samuel Wales wrote:
>doc-view does not exist in emacs 22

I've just checked in a fix for this.  Could you check if this fixes
the problem for you?

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpRIDS6QmV9B.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [BUG] org-capture : latest git pull, template selection broken ?

2010-08-29 Thread David Maus
Dave Abrahams wrote:
>On Sun, Aug 29, 2010 at 3:01 PM, David Maus  wrote:
>> Dave Abrahams wrote:
>>>Julien Fantin  gmail.com> writes:
>>


 With the org-capture-templates described in the doc, right after the
 template selection, the buffer disappears, and the empty template
 gets written to the target file. The following messages are output :


 Clipboard pasted as level 2 subtree
>>
>>>I'm seeing this message too, when I invoke org-capture.  What does it mean?
>>
>> This message appears because `org-capture' uses `org-paste-subtree' to
>> insert the template in the indirect buffer which issues this message.

>Okay... but what does it mean for *me*?  Does it indicate a real
>problem?  Should I ignore it?

Ah, sorry.  Yes, just ignore it.

Best,
  -- David
-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpow7sWBrac5.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-capture : latest git pull, template selection broken ?

2010-08-29 Thread Dave Abrahams
On Sat, Aug 28, 2010 at 5:54 AM, Noorul Islam K M  wrote:
> Dave Abrahams  writes:
>
>> Julien Fantin  gmail.com> writes:
>>
>>>
>>>
>>> With the org-capture-templates described in the doc, right after the
>>> template selection, the buffer disappears, and the empty template
>>> gets written to the target file. The following messages are output :
>>>
>>>
>>> Clipboard pasted as level 2 subtree
>>
>> I'm seeing this message too, when I invoke org-capture.  What does it mean?
>
> Please let us know which template did you use?

my org-capture-template is:

(("t" "Task" entry
  (file+headline "~/Dropbox/todo.txt" "Inbox")
  "* TODO %?\n  SCHEDULED: %t\n  :PROPERTIES:\n  :ID:
%(shell-command-to-string \"uuidgen\")  :END:\n  %U" :prepend t))

> Are you talking about converting templates from remember to org-capture?

Nope.

Thanks for your time,


-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output

2010-08-29 Thread Rafael
Puneeth  writes:

> This has been fixed. Thanks to a patch from Benjamin Beckwith. You can
> now use any WP shortcode blocks in your org2blog posts, without losing
> line breaks.
>
> Also, org2blog now directly posts babel src blocks as WP's sourcecode
> blocks, without modifying the src blocks in your org file. Just like
> with Benjamin's hook function, :syntaxhl header option can still be
> used to pass additional arguments to WP's syntaxhighlighter.

That is just great, Puneeth, many thanks! I just checked and works as
intended. 

Now, in case you wanted to have some more feature requests, ;-), here
they are:

1. Making an option to disable the inclusion of ':light="true"'.

2. Note that Wordpress also includes support for inline math expressions
written in LaTeX, like this: $latex E=mc^2$, and displayed expressions,
like this: $latex \displaystyle E=mc^2$
(http://rvftestblog.wordpress.com/2010/08/24/code-blocks-again/ to see
what I mean). So it would be great if, the
exporter could translate $$ into $latex $ and 

\begin{equation}
...
\end{equation}

into

$latex \displaystyle .. $.

Best regards,

Rafael


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] bug with link following

2010-08-29 Thread Robert Goldman
I used org-store-link and org-insert-link to make a link in the attached
document (I distilled it down from a real document).  In my org-mode
(pulled from git this morning), using Aquamacs 2.0 on Mac OSX Snow
Leopard (10.6), org-mode cannot follow the link I inserted with o-i-l,
and it pops up a dialog asking if I should add such a link target.

R
#+STARTUP: showall

* Notes:

* TODO Figure out org mode

Just do outlines with TODO's in them.  Change them to DONE when they are done.
You don't need to figure out how to use org-mode if you don't like.  We used it
on OBTW, and it worked fine.

If you like (I will probably do this), you can use the org-mode commands to add
deadlines and scheduling (or you can ignore them).  I will probably do this in
an incremental way so that I can further focus my mind on individual subsections
as they need to get written.  See example in 
[[*submit%20through%20submission%20site][submit through submission site:]]

* TODO submit through submission site:

  
# Local Variables:
# mode: org
# End:
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-mode on Nokia n800 - Was: Re: OT: orgmode on my palm TX?

2010-08-29 Thread Olivier Berger
Hi.

Eric S Fraga  writes:

> On Sat, 28 Aug 2010 10:46:23 +0200, Olivier Berger 
>  wrote:
>> 
>> Are there packages for nokia n800 running OS 2008 ? I happen to have one
>> such device that could very well be used for this instead of collection
>> dust ;)
>> 
>> I've found a package for emacs 22
>> (http://danielsz.freeshell.org/code/mine/emacs-for-maemo/index.shtml)
>> but that all seems old and requires dependencies on unabailable packages
>> (libxaw).
>
> These are a few links I collected when I got my n800:
>
>
> *** nokia n800 emacs links  :nokia:
>
> - emacs on maemo :: 
> http://danielsz.freeshell.org/code/mine/emacs-for-maemo/index.shtml
>
> - installation of emacs22 :: 
> http://djcbflux.blogspot.com/2008/02/waiting-for-22.html
>
> - list of repositories :: 
> http://www.gronmayer.com/it/index.php?lang=en&system=maemo4&sort=hits&show_pck=256
> 
> [2009-06-28 Sun 16:27]
>

SNIP

> I found the N800 very usable with emacs, especially for capturing org
> notes, but eventually wanted an actual keyboard for using email
> (wanderlust in Emacs) so I got an N810 as well. 

SNIP

> Hope this helps!
>

Thanks for these links.

After some search and experimenting with emacs maemo packages, I was a
bit frustrated, all being quite old, and some problems not well
documented, as on how to use some virtual keyboard apps, etc.

I finally noticed some "Easy Debian" [0] mentions in some forum posts, and
it seems this may offer an interesting solution to run Debian packages
of recent emacs and org-mode (and even git for sync-ing my notes) over
the n800 maemo system (chrooted). I'm testing / tuning it at the moment.

 [0] http://maemo.org/downloads/product/OS2008/easy-deb-chroot/

Hope this will be a good mobile org-mode device setup.

Best regards,
-- 
Olivier BERGER  - OpenPGP: 5819D7E8
Ingénieur Recherche - Dept INF - T&MSP (http://www.it-sudparis.eu)


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Org file rendering/manipulation too slow

2010-08-29 Thread Manuel Hermenegildo

It worked for me too: it is much better now. Thanks very much for the
tip! ---Manuel

-- 
---
Manuel Hermenegildo   | Prof., C.S.Dept., T.U. Madrid (UPM)
Director, IMDEA SW Institute & CLIP Group | +34-91-336-7435 (W) -352-4819 (Fax)
---


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output

2010-08-29 Thread Puneeth
On Wed, Aug 25, 2010 at 6:21 PM, Puneeth  wrote:
>> Oh, and by the way, with Org-mode version 7.01h I concur with Eric in
>> that I unfortunately still lose the linebreaks and get LaTeX code
>> modified with Benjamin's new version..
>
> The line breaks being stripped off is due to code in org2blog. It has
> nothing to do with org-mode's export. Wordpress does not ignore
> linebreaks in the content, which looks very ugly for normal posts.
> Code in org2blog strips off the line breaks from the html generated by
> org-export-as-html. It checks for  and  tags and
> leaves out the newlines within those tags. This is (most) probably
> what is causing trouble.
>
> I'll only be able to look into it in the weekend. Anybody is free to
> beat me to that. :)

This has been fixed. Thanks to a patch from Benjamin Beckwith. You can
now use any WP shortcode blocks in your org2blog posts, without losing
line breaks.

Also, org2blog now directly posts babel src blocks as WP's sourcecode
blocks, without modifying the src blocks in your org file. Just like
with Benjamin's hook function, :syntaxhl header option can still be
used to pass additional arguments to WP's syntaxhighlighter.

Happy Blogging,
Puneeth

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode