emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* no line break after subheading?
@ 2010-10-26 15:52 Matt Price
  2010-10-26 16:18 ` Sebastian Rose
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Matt Price @ 2010-10-26 15:52 UTC (permalink / raw)
  To: Org Mode


[-- Attachment #1.1: Type: text/plain, Size: 808 bytes --]

Hi eveyrone,

I'm coming up on this with some frequency now -- I often need to write
documents in a pretty compact format, in which subheadings really need to be
on the same line as their component text.  so for instance here:

** Timeline
*** September 2011
Research team assembles initial documents

should be rendered (written in html for convenience, since i don't speak
latex):

<H2> Timeline </H2>
<p><b>Semtember 2011:</b> Research team assembles initial documents</p>

Do folks think this is something I can do from org somehow, or is my best
bet to export to odt and redo the formatting in openoffice (that's what i do
now but of course it's a bit frustrating to have to do so, esp. since it
means that i'm stuck in Openoffice once I send a document out for
comments).

thanks as always, best,
Matt

[-- Attachment #1.2: Type: text/html, Size: 925 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: no line break after subheading?
  2010-10-26 15:52 no line break after subheading? Matt Price
@ 2010-10-26 16:18 ` Sebastian Rose
  2010-10-26 16:34 ` Thomas S. Dye
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Sebastian Rose @ 2010-10-26 16:18 UTC (permalink / raw)
  To: Matt Price; +Cc: Org Mode

Matt Price <moptop99@gmail.com> writes:
> Hi eveyrone,
>
> I'm coming up on this with some frequency now -- I often need to write
> documents in a pretty compact format, in which subheadings really need to be
> on the same line as their component text.  so for instance here:
>
> ** Timeline
> *** September 2011
> Research team assembles initial documents
>
> should be rendered (written in html for convenience, since i don't speak
> latex):
>
> <H2> Timeline </H2>
> <p><b>Semtember 2011:</b> Research team assembles initial documents</p>
>
> Do folks think this is something I can do from org somehow, or is my best
> bet to export to odt and redo the formatting in openoffice (that's what i do
> now but of course it's a bit frustrating to have to do so, esp. since it
> means that i'm stuck in Openoffice once I send a document out for
> comments).


Hi Matt,


looks like a case for the generic exporter to me.

See `org-generic-alist' in the file "contrib/lisp/org-export-generic.el"
for an example.


Sebastian

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: no line break after subheading?
  2010-10-26 15:52 no line break after subheading? Matt Price
  2010-10-26 16:18 ` Sebastian Rose
@ 2010-10-26 16:34 ` Thomas S. Dye
  2010-10-26 21:28 ` Jeff Horn
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Thomas S. Dye @ 2010-10-26 16:34 UTC (permalink / raw)
  To: Matt Price; +Cc: Org Mode

Hi Matt,

In LaTeX with the standard article class, I believe that \paragraph{}  
and \subparagraph{} are the sections that set the heading on the same  
line as the text.  How you get that in the LaTeX output depends on how  
you've set org-export-latex-classes.

All the best,
Tom

On Oct 26, 2010, at 5:52 AM, Matt Price wrote:

> Hi eveyrone,
>
> I'm coming up on this with some frequency now -- I often need to  
> write documents in a pretty compact format, in which subheadings  
> really need to be on the same line as their component text.  so for  
> instance here:
>
> ** Timeline
> *** September 2011
> Research team assembles initial documents
>
> should be rendered (written in html for convenience, since i don't  
> speak latex):
>
> <H2> Timeline </H2>
> <p><b>Semtember 2011:</b> Research team assembles initial documents</ 
> p>
>
> Do folks think this is something I can do from org somehow, or is my  
> best bet to export to odt and redo the formatting in openoffice  
> (that's what i do now but of course it's a bit frustrating to have  
> to do so, esp. since it means that i'm stuck in Openoffice once I  
> send a document out for comments).
>
> thanks as always, best,
> Matt
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: no line break after subheading?
  2010-10-26 15:52 no line break after subheading? Matt Price
  2010-10-26 16:18 ` Sebastian Rose
  2010-10-26 16:34 ` Thomas S. Dye
@ 2010-10-26 21:28 ` Jeff Horn
  2010-10-27 18:17 ` Bastien
  2010-10-27 19:22 ` Christian Moe
  4 siblings, 0 replies; 6+ messages in thread
From: Jeff Horn @ 2010-10-26 21:28 UTC (permalink / raw)
  To: Matt Price; +Cc: Org Mode

As a workaround, you could use description lists, such that your
source code becomes:

** Timeline
   - September 2011 :: Research team assembles initial documents

Though this will be less useful in HTML export since the exporter adds
a line break after 2011. It should render how you want using the LaTeX
exporter.

-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jhorn@gmu.edu
jrhorn424@gmail.com

http://www.failuretorefrain.com/jeff/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: no line break after subheading?
  2010-10-26 15:52 no line break after subheading? Matt Price
                   ` (2 preceding siblings ...)
  2010-10-26 21:28 ` Jeff Horn
@ 2010-10-27 18:17 ` Bastien
  2010-10-27 19:22 ` Christian Moe
  4 siblings, 0 replies; 6+ messages in thread
From: Bastien @ 2010-10-27 18:17 UTC (permalink / raw)
  To: Matt Price; +Cc: Org Mode

Matt Price <moptop99@gmail.com> writes:

> should be rendered (written in html for convenience, since i don't speak
> latex):
>
> <H2> Timeline </H2>
> <p><b>Semtember 2011:</b> Research team assembles initial documents</p>
>
> Do folks think this is something I can do from org somehow

Maybe you can use descriptive lists?

-- 
 Bastien

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: no line break after subheading?
  2010-10-26 15:52 no line break after subheading? Matt Price
                   ` (3 preceding siblings ...)
  2010-10-27 18:17 ` Bastien
@ 2010-10-27 19:22 ` Christian Moe
  4 siblings, 0 replies; 6+ messages in thread
From: Christian Moe @ 2010-10-27 19:22 UTC (permalink / raw)
  To: Matt Price; +Cc: Org Mode

Hi, Matt,

Here's a dirty CSS workaround (I seem to be posting a lot of those 
lately) that should actually make this look more or less as  you want 
it in HTML.


#+TITLE: Test
#+STYLE: <style>.timeline div * {display: inline;}</style>

* Timeline
   :PROPERTIES:
   :HTML_CONTAINER_CLASS: timeline
   :END:
** September 2011:
Research team assembles initial documents.


Yours,
Christian


On 10/26/10 5:52 PM, Matt Price wrote:
> Hi eveyrone,
>
> I'm coming up on this with some frequency now -- I often need to write
> documents in a pretty compact format, in which subheadings really need
> to be on the same line as their component text.  so for instance here:
>
> ** Timeline
> *** September 2011
> Research team assembles initial documents
>
> should be rendered (written in html for convenience, since i don't
> speak latex):
>
> <H2> Timeline </H2>
> <p><b>Semtember 2011:</b> Research team assembles initial documents</p>
>
> Do folks think this is something I can do from org somehow, or is my
> best bet to export to odt and redo the formatting in openoffice
> (that's what i do now but of course it's a bit frustrating to have to
> do so, esp. since it means that i'm stuck in Openoffice once I send a
> document out for comments).
>
> thanks as always, best,
> Matt
>
>
>
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-10-27 19:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-26 15:52 no line break after subheading? Matt Price
2010-10-26 16:18 ` Sebastian Rose
2010-10-26 16:34 ` Thomas S. Dye
2010-10-26 21:28 ` Jeff Horn
2010-10-27 18:17 ` Bastien
2010-10-27 19:22 ` Christian Moe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).