emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: cezar@mixandgo.ro
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Html export suggestion (use of <div>)
Date: Mon, 15 Oct 2007 20:45:23 +0200	[thread overview]
Message-ID: <c73b510ead4589c463cff4f952ba4056@science.uva.nl> (raw)
In-Reply-To: <87ve9fgkoq.fsf@myhost.localdomain>

Hi Cezar,

I am not sure if this is intended as being the answer on my request,
but it seems to be not.  What I would need to change this
is an agreed position between the people discussing here,
telling me exactly what I am not doing right yet in exporting
headlines and sections into HTML, if there should be classes,
what kind of classes, where exactly.

For example,

>>
>>>> How would that work without divs? The problem is (I think) that
>>>> sometimes an org section is represented in html as a header plus
>>>> following text:
>>>>
>>>> <h3>HEADER TEXT</h3>
>>>> <p>BODY TEXT</p>
>>>> <p>MORE BODY TEXT</p>


Yes exactly!  This is exactly how I view a header and a section.
I am coming from LaTeX, and this is how it works there.  A section
is not a closed element, instead it continues until the next section.
Is this different in HTML?  How is it different?  Please educate me
if you (or someone else) wants this differently.

- Carsten

On Oct 10, 2007, at 15:31, cezar@mixandgo.ro wrote:

>
> Carsten Dominik <dominik@science.uva.nl> writes:
>
>> I have no opinion and no knowledge to decide this question - please
>> work it out among yourselves and tell me what needs to be done.
>>
>> Thanks.
>>
>>>> How would that work without divs? The problem is (I think) that
>>>> sometimes an org section is represented in html as a header plus
>>>> following text:
>>>>
>>>> <h3>HEADER TEXT</h3>
>>>> <p>BODY TEXT</p>
>>>> <p>MORE BODY TEXT</p>
>
> I thing this ^^^ is good but should have the category name as a class
> like this:
>
> <h3 class="work">
>   Header here
> </h3>
> <p class="work">
>   normal text
> </p>
> <p class="work">
>   some more text
> </p>
>
> <h3 class="school">
>   Header here
> </h3>
> <p class="school">
>   normal text
> </p>
> <p class="school">
>   some more text
> </p>
>
> Also a div should be optional for those who need it, so the whole
> category can be wraped in a <div class="category"></div> like this:
>
>
> <div class="work">
>   <h3 class="work">
>     Header here
>   </h3>
>   <p class="work">
>     normal text
>   </p>
>   <p class="work">
>     some more text
>   </p>
> </div>
>
> <div class="school">
>   <h3 class="school">
>     Header here
>   </h3>
>   <p class="school">
>     normal text
>   </p>
>   <p class="school">
>     some more text
>   </p>
> </div>
>
> Maybe by using a tag or something !
>
>
> Cheers,
> Cezar
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

  parent reply	other threads:[~2007-10-15 18:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-10 13:31 Re: Html export suggestion (use of <div>) cezar
2007-10-10 14:36 ` cezar
2007-10-15 18:45 ` Carsten Dominik [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-10-05 20:57 Mike Newman
2007-10-06  8:25 ` cezar
2007-10-08 20:00   ` Mike Newman
2007-10-08 21:04   ` William Henney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c73b510ead4589c463cff4f952ba4056@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=cezar@mixandgo.ro \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).