* Index of picture sources in Markdown @ 2023-05-14 15:32 'Marek Stepanek' via pandoc-discuss [not found] ` <26DA151C-9D95-4558-BC46-8AD1BBC81E19-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: 'Marek Stepanek' via pandoc-discuss @ 2023-05-14 15:32 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw Hello all, I have a huge file of a novel, with historic illustrations (Anna Karenina, in three languages). These illustrations are already indexed. But I would like to have a separate index from the origins of these pictures just before the bibliography. Would this possible in Markdown - probably with a Lua-Filter? Or in LaTeX inserted into Markdown? I would be very grateful for any hint Marek Stepanek -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/26DA151C-9D95-4558-BC46-8AD1BBC81E19%40googlemail.com. ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <26DA151C-9D95-4558-BC46-8AD1BBC81E19-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>]
* Re: Index of picture sources in Markdown [not found] ` <26DA151C-9D95-4558-BC46-8AD1BBC81E19-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> @ 2023-05-15 8:32 ` BPJ [not found] ` <CADAJKhA+DNaqnBEP+JHN8J5eP0OFJjb2cguwDF1LgDGscpcaCg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: BPJ @ 2023-05-15 8:32 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1: Type: text/plain, Size: 1952 bytes --] There are LaTeX packages which support multiple indexes: https://ctan.org/topic/index-multi?lang=en It would of course depend on how you generate the `\index{...}` commands in Markdown. I have been thinking of writing a filter which (ab)uses citation syntax to generate index commands in LaTeX and index links in HTML/Markdown + a file from which an HTML/Markdown index can be generated with a script. Now that you can run standalone scripts with `pandoc lua` the latter may be easier to do. Den sön 14 maj 2023 17:32'Marek Stepanek' via pandoc-discuss < pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> skrev: > Hello all, > > I have a huge file of a novel, with historic illustrations (Anna Karenina, > in three languages). These illustrations are already indexed. But I would > like to have a separate index from the origins of these pictures just > before the bibliography. Would this possible in Markdown - probably with a > Lua-Filter? Or in LaTeX inserted into Markdown? > > I would be very grateful for any hint > > > Marek Stepanek > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/26DA151C-9D95-4558-BC46-8AD1BBC81E19%40googlemail.com > . > -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhA%2BDNaqnBEP%2BJHN8J5eP0OFJjb2cguwDF1LgDGscpcaCg%40mail.gmail.com. [-- Attachment #2: Type: text/html, Size: 3000 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <CADAJKhA+DNaqnBEP+JHN8J5eP0OFJjb2cguwDF1LgDGscpcaCg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: Index of picture sources in Markdown [not found] ` <CADAJKhA+DNaqnBEP+JHN8J5eP0OFJjb2cguwDF1LgDGscpcaCg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2023-05-17 16:45 ` 'Marek Stepanek' via pandoc-discuss 2023-05-18 14:50 ` Bernardo C. D. A. Vasconcelos 1 sibling, 0 replies; 5+ messages in thread From: 'Marek Stepanek' via pandoc-discuss @ 2023-05-17 16:45 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw Sorry for the late answer BPJ. It sounds like a huge project for me, to add a separate "pictography" to my Markdown file. I will dig further into it, this weekend. Some answers to your suggestions: I generate in my Markdown file the bibliography not to the end, but at the beginning. The only means to produce it here was with a ugly html-snippet: ``` <div id="refs"></div> ``` right? Good style? My Makefile ``` typeset: pandoc \ --from markdown \ --to latex \ --out anna_karenina_II.pdf \ --pdf-engine xelatex \ --verbose \ --citeproc \ --csl csl/din-1505-2-numeric-alphabetical.csl \ anna_karenina_II.md anna_karenina_II_1-10.md ``` But I have the feeling, I have to give up citeproc (?) It was working so well! Probably I am wrong, but biblatex has no entries for images for example @pic{pic:tolstoy1873, title = {Portrait of Leo Tolstoy}, painter = {Ivan Kramskoy}, year = {1873}, location = {Tretyakov Gallery, Moscow, Russia} } And my idea would be, to make an separate pictography for all entries beginning with `pic:` ... But I am dreaming ... Thank you in any case for your answer marek > On 15. May 2023, at 10:32, BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > There are LaTeX packages which support multiple indexes: > > https://ctan.org/topic/index-multi?lang=en > > It would of course depend on how you generate the `\index{...}` commands in Markdown. > > I have been thinking of writing a filter which (ab)uses citation syntax to generate index commands in LaTeX and index links in HTML/Markdown + a file from which an HTML/Markdown index can be generated with a script. Now that you can run standalone scripts with `pandoc lua` the latter may be easier to do. > > Den sön 14 maj 2023 17:32'Marek Stepanek' via pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> skrev: > Hello all, > > I have a huge file of a novel, with historic illustrations (Anna Karenina, in three languages). These illustrations are already indexed. But I would like to have a separate index from the origins of these pictures just before the bibliography. Would this possible in Markdown - probably with a Lua-Filter? Or in LaTeX inserted into Markdown? > > I would be very grateful for any hint > > > Marek Stepanek > -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/D71B742A-D50B-43CB-8810-7D0A405FCD5B%40googlemail.com. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Index of picture sources in Markdown [not found] ` <CADAJKhA+DNaqnBEP+JHN8J5eP0OFJjb2cguwDF1LgDGscpcaCg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2023-05-17 16:45 ` 'Marek Stepanek' via pandoc-discuss @ 2023-05-18 14:50 ` Bernardo C. D. A. Vasconcelos [not found] ` <c19d9830-7623-44b3-94ad-24889e2498cen-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 1 sibling, 1 reply; 5+ messages in thread From: Bernardo C. D. A. Vasconcelos @ 2023-05-18 14:50 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 2332 bytes --] I did something like this using the `multiple-bibliographies` (along with the `citation-backlinks`) filter and a custom CSL file to create a linked index of authors and a glossary that worked both in LaTeX/PDF and HTML. So, perhaps, there is no need for an additional filter. On Monday, May 15, 2023 at 5:32:37 AM UTC-3 BPJ wrote: > There are LaTeX packages which support multiple indexes: > > https://ctan.org/topic/index-multi?lang=en > > It would of course depend on how you generate the `\index{...}` commands > in Markdown. > > I have been thinking of writing a filter which (ab)uses citation syntax to > generate index commands in LaTeX and index links in HTML/Markdown + a file > from which an HTML/Markdown index can be generated with a script. Now that > you can run standalone scripts with `pandoc lua` the latter may be easier > to do. > > Den sön 14 maj 2023 17:32'Marek Stepanek' via pandoc-discuss < > pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> skrev: > >> Hello all, >> >> I have a huge file of a novel, with historic illustrations (Anna >> Karenina, in three languages). These illustrations are already indexed. But >> I would like to have a separate index from the origins of these pictures >> just before the bibliography. Would this possible in Markdown - probably >> with a Lua-Filter? Or in LaTeX inserted into Markdown? >> >> I would be very grateful for any hint >> >> >> Marek Stepanek >> >> -- >> 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/pandoc-discuss/26DA151C-9D95-4558-BC46-8AD1BBC81E19%40googlemail.com >> . >> > -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/c19d9830-7623-44b3-94ad-24889e2498cen%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 4094 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <c19d9830-7623-44b3-94ad-24889e2498cen-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: Index of picture sources in Markdown [not found] ` <c19d9830-7623-44b3-94ad-24889e2498cen-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2023-05-23 16:27 ` 'Marek Stepanek' via pandoc-discuss 0 siblings, 0 replies; 5+ messages in thread From: 'Marek Stepanek' via pandoc-discuss @ 2023-05-23 16:27 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw To finish this thread: I have a dream! Perhaps there is hope, that this dream comes true! I make an appeal to all of this savvy mailing-list: Please make Biblatex or biber savvy too! I am wondering, why there is no possibility to enter the sources of images!!! Or am I missing something? An entry could be like follows: @pic{pic:tolstoy1873, artist = {Ivan Kramskoy}, title = {Portrait of Leo Tolstoy}, technic = {<oil>|<chalkdrawing>|<engraving>|<photo>|...}, location = {Tretyakov Gallery, Moscow, Russia}, originalyear = {1873}, reproduction = {<photographer>|<print>|...}, url = {\url{<>}}, urldate = {<last accessed>}, ... } Or make pandoc a "Killer-App" that it is even cleverer than LaTeX itself: let citeproc create a pictography separated from bibliography. Hope some people feel stimulated in their ambition by this appeal! greetings to all marek ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-05-23 16:27 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2023-05-14 15:32 Index of picture sources in Markdown 'Marek Stepanek' via pandoc-discuss [not found] ` <26DA151C-9D95-4558-BC46-8AD1BBC81E19-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> 2023-05-15 8:32 ` BPJ [not found] ` <CADAJKhA+DNaqnBEP+JHN8J5eP0OFJjb2cguwDF1LgDGscpcaCg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2023-05-17 16:45 ` 'Marek Stepanek' via pandoc-discuss 2023-05-18 14:50 ` Bernardo C. D. A. Vasconcelos [not found] ` <c19d9830-7623-44b3-94ad-24889e2498cen-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2023-05-23 16:27 ` 'Marek Stepanek' via pandoc-discuss
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 NNTP newsgroup(s).