Several "simple cite" and "cite summaries" per page

Issue #6 closed
João Sena Ribeiro created an issue

Hello.

It would be nice if it was possible to have several cite summaries per page, but with each cite summary showing only those cites that come before it (and after the last one). This could eventually be enabled by a "Reset cite count" flag on the cite summary or a new "Reset cite count" macro, or something like that.

Currently, if one includes several cite summaries, the cite numbers will increase through the whole page, and each summary will list every cite in the page:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. [1] Lorem ipsum dolor sit amet, consectetur adipiscing elit. [2]

1. First reference.
2. Second reference.
3. Third reference.
4. Fourth reference.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. [3] Lorem ipsum dolor sit amet, consectetur adipiscing elit. [4]

1. First reference.
2. Second reference.
3. Third reference.
4. Fourth reference.

It would be really useful if one could create several cite "zones" through a large page:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. [1] Lorem ipsum dolor sit amet, consectetur adipiscing elit. [2]

1. First reference.
2. Second reference.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. [1] Lorem ipsum dolor sit amet, consectetur adipiscing elit. [2]

1. Third reference.
2. Fourth reference.

Is this possible to implement?

Best regards, Joao

Comments (4)

  1. Andreas Purde repo owner

    Hi Joao,

    thank you for the input and the detailed change request. Yes generally this would be possible - I'll evaluate the effort and try to phase it in in one of the next releases. However I think it would be better to continue counting to avoid inconsistencies.

    Best regards, Andreas

  2. Andreas Purde repo owner
    • changed status to open

    This input will also be considered in the next release. However as stated earlier I decided to keep the numbering continuously.

  3. João Sena Ribeiro reporter

    Hello, Andreas.

    Tested the beta 1 and it's working great! :)

    In our case, we need to reset the numbering because we also transclude content from other pages (using the projectdoc plugin) and the transcluded content appears independently from the rest of the page. So, we would get numbers such as:

    * 1, 2, 3 (master page)
    * 1, 2 (transcluded content)
    * 4, 5, 6 (master page)
    * 1, 2, 3 (transcluded content)
    * 7, 8 (master page).
    

    In our specific case, it's less confusing to reset the numbering, although I agree on most of the cases it's better not to.

    We've made some very small changes to enable the numbers reset, and it's working, but I think it may not be of interest to you (unless something like another flag would be included).

    Anyway, great job and thanks! :)

  4. Andreas Purde repo owner

    version 1.2.0 supports multiple cite summaries per page; you may need to re-do your customization as I moved away from the hiddenID towards properties in the conversion context

  5. Log in to comment