While I share your (Pablo's) irritation over the {X,HT}ML syntax for divs and spans every bit I think it is important not to confuse that issue with the any questions about the uses of divs or spans, which are orthogonal. In principle we could use any markup to signal "the references go here", but the idea that that markup should be independent both of any particular place in the document and of the header (if any!) used for the references section is a sound one, and the marked div solution is a good one, semantically speaking.

/bpj

söndag 30 augusti 2015 skrev Pablo Rodríguez <oinos-S0/GAf8tV78@public.gmane.org>:
On 08/29/2015 04:21 PM, John MacFarlane wrote:
> Followup:  I think it makes more sense to use a div
> with id="references" rather than a section.  That gives
> maximum flexibility; e.g. you can insert the bibliography
> without a section header, or under a header and some
> preliminary text.  So the proposal is that if the document
> contains a Div with id "references", the bibliography
> is inserted there; otherwise at the end of the document
> (in which case it is also put in a special Div, as it
> is now).

John,

I think it would be better to avoid mixing markups (Markdown and XML).
This is especially difficult for new users with no coding background.

The same flexibility can be added with a title such as:

# Referenzen {#references}

Here comes the preliminary text.

After them, references are automatically inserted.

If you don’t what to have titles for bibliographies, it is easier to
make them invisible.



Pablo



> +++ John MacFarlane [Aug 29 15 07:04 ]:
>>> Is there a way to specify a location other than the end of
>>> the document for insertion of the bibliography? There
>>> might, for example, need to be appendices or other material
>>> following the list of references.
>>
>> Currently you can only do this by generating the
>> bibliography as a separate document, and inserting it
>> manually (e.g. using a template).
>>
>> There's a proposal in
>> https://github.com/jgm/pandoc/issues/771 that I think should
>> probably be implemented.  The idea is that pandoc-citeproc
>> would look for a header with id "references".  If it finds
>> one, it inserts the bibliography there.  If it doesn't,
>> it behaves like it currently does and appends the
>> bibliography to the end of the document.  As far as I can
>> see, this would be pretty easy to implement.
>>
>> https://github.com/jgm/pandoc/issues/1612 makes a similar
>> proposal for table of contents, and
>> https://github.com/jgm/pandoc/issues/1720 for footnotes,
>> but those are independent and could be done separately
>> or not at all.



--
http://www.ousia.tk

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/55E35446.2000009%40web.de.
For more options, visit https://groups.google.com/d/optout.


--


SavedURI :Show URLShow URLSavedURI :
SavedURI :Hide URLHide URLSavedURI :
https://mail.google.com/_/scs/mail-static/_/js/k=gmail.main.sv.G3GZFwvcniQ.O/m=m_i,t,it/am=fUAcTAoZawdGHAZ2YD-g9N_f7LL4CX7WlSgHQKgABHaCv9kToPiBD8qOMw/rt=h/d=1/rs=AItRSTO5CF1YB_frDRXLXTeUsQ1zItcBvwhttps://mail.google.com/_/scs/mail-static/_/js/k=gmail.main.sv.G3GZFwvcniQ.O/m=m_i,t,it/am=fUAcTAoZawdGHAZ2YD-g9N_f7LL4CX7WlSgHQKgABHaCv9kToPiBD8qOMw/rt=h/d=1/rs=AItRSTO5CF1YB_frDRXLXTeUsQ1zItcBvw


--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAFC_yuTgry38Odx_CFy5akpY7gfhEfhoPqi9U4%3DJ%3DdRh8jA1Qw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.