From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30643 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: BPJ Newsgroups: gmane.text.pandoc Subject: Re: Separating multiple citations in generated footnote Date: Tue, 31 May 2022 13:43:20 +0200 Message-ID: References: <8ed092b504f248fa984c4284113f68ff@unibe.ch> <873d53586f8b4f968ac667b38da1796c@unibe.ch> <25193173-1E8E-4A2B-81C2-9AB3BBE6DC12@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000039c0be05e04d486f" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40747"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pandoc-discuss To: bpj Original-X-From: pandoc-discuss+bncBCWMVYEK54FRBZP626KAMGQEZVPL7MI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue May 31 13:43:37 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f58.google.com ([209.85.128.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nw0Hh-000ARi-EG for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 31 May 2022 13:43:37 +0200 Original-Received: by mail-wm1-f58.google.com with SMTP id j14-20020a05600c1c0e00b003973bf0d146sf1159643wms.4 for ; Tue, 31 May 2022 04:43:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1653997417; cv=pass; d=google.com; s=arc-20160816; b=cTdPb0hUa0rJl8H5Y0kq7KRmb/5brTHplDaoOZcsIG2oKHAmyLyOQudQ14aSAd375f 8C2+NqEDDt2gFPUrLhaRuUJlrYOWXnX2iA6yuoITtzqqcrKnr3UJ2MumNMn75ZAHa5Gj WiGpdoietVGrve3NYcxr3KzRnj0gFC7Q40StCoPZrVFHO5hKDVgkBaWAI70hYbOtbv51 YJD3qAJJIlzeENDmxnQYBYR27TCSYo0b3RlhE2wgqtq3J4Gyz3q7vfgZbdsj7h8H3DDN 0awy8dEui9dOSNOv7h7+iUGFNadIZwYVFBn0CsS6QkRzn9B4AntgzXgvJzexS5nRHrhn JH8w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:sender:dkim-signature; bh=ZGX7peMrRI05D5RPJaaMb1QWEEwzkQXaydM8V0pCNBE=; b=CiTeDPHanhHSfPIopBV/o8E1N50a5kQ2+YZMzN7uLlzXCfOH+CVVhmjTalAT2elZAD VKGabl8JBe2Y7t/+G6UKv1Dhk9Be1PRqbnR8FpDstWM8tXYDkzwdJoD9Oy+X9cDKxLgA xH8Q7LB23QCISw6a5nqvloSbvObFwHu2Xc9AMzmYFGUxSCARmP62MEXbqjePcwpbe9bq KFkXqTZ1xo7Rj884uDsncukAfB9mmZFidR3m7hqutYldndLZzNQt6vFrwhFxl4CT6+wT vBfL2W9IYeXiRxl7gJBIvhD89ruO6ZvdXH1H3ONI+gmQU4Kd0kyr4uchUmkHShc0YzLa QBGg== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.208.46 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:mime-version:references:in-reply-to:reply-to:from:date :message-id:subject:to:cc:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=ZGX7peMrRI05D5RPJaaMb1QWEEwzkQXaydM8V0pCNBE=; b=Z9hi9jZVq/ypyxUn8V0Rl7OX405lSHZzxgQv8PqXoGauMxe3ywo7owOGLtBfl91R6h Jz7XGNTI27cLHm7O/PiFHSIjO1BZ/J2CLR50AZbB7dnemNBgmN9KRGm0iE+WvBp4+M96 0oZ/2RHNgb2hKAeQGhAnyHP/BxlxIVGYuVdLG6olWSOGwcsc4ZVSwkdYgK7S6TTruYiH oDl3rGiyawoSMx3jDC5xbW0ZfrS9e+j2tFHl7x+hiD9YpCaZNTVE9oNYI+JUTVH0HwR1 rIbFkD3bN1rpnjNQcQ5Vgh9iuPzzNmyaLVAjPJ2o4gQNF9ng+2pM0yaO5bw5Xs4A7hk6 Op+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:mime-version:references:in-reply-to :reply-to:from:date:message-id:subject:to:cc:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=ZGX7peMrRI05D5RPJaaMb1QWEEwzkQXaydM8V0pCNBE=; b=LHCjMFyWn0yr8TazroFKShHjCJnV2vqN1p7FBGz2yVJTA+HiP9owAOBg66I26dXasq otvDGSE83+pukU+Da91JqZbezTmqSxam20YX8K+ZMFDNO00wXzYqF5kBLRkXIDqWyhWd xfwnwC1ZnSYatMEpN96jhKr/8QStwzzuViuY4vrCCbVEJ2BubwXomXqAVpZXPhbvxRL3 ia7XIE5G0YENeGxTCN3w16OGtT6T5SJVnWy/mIVKFhfPnnmrM3OHMj/U18jfnlfcu9ik ir0bOzL3J5KwH6wdLrDFgtyC7Ch1LKGaKv//sSV4w6SAuCMEbx4JypWtDef4LRFE348N dv+g== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531R1rffUSP77I0J/rt0dzYwnz7E/Ggs9JF3kSvlNP3TOtIQstNd MblNTlLW06H8e8OHkTyq+HQ= X-Google-Smtp-Source: ABdhPJxFmtZQivj/3XXN9DgaO4jfRJ8bDNJPgDpAkJoHL+4gGGOyVNKDbRsalKs9DwVzaGHtQgI6Zg== X-Received: by 2002:a5d:5310:0:b0:20f:d075:a386 with SMTP id e16-20020a5d5310000000b0020fd075a386mr38863402wrv.619.1653997416873; Tue, 31 May 2022 04:43:36 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6000:1563:b0:210:11d0:6765 with SMTP id 3-20020a056000156300b0021011d06765ls14007744wrz.3.gmail; Tue, 31 May 2022 04:43:32 -0700 (PDT) X-Received: by 2002:a5d:5917:0:b0:210:353b:db0e with SMTP id v23-20020a5d5917000000b00210353bdb0emr7314143wrd.469.1653997412741; Tue, 31 May 2022 04:43:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653997412; cv=none; d=google.com; s=arc-20160816; b=BvQEIXObKMreAoZOdWLalSecnTRM+W8L2whaocx25UqdY0ogS18BNiAKZMNe+a9OS9 FjFpgMTjV8dRhdB0QVZuJlJHQeNM+IGcTXFeQqOq8Odd4M8KDsPH87Eas/Clu/FUgBqI zCT/4HRYCammsBEb2MkI87V4x/f1y1qwpzFC/my4pQrpAt9VrWnqrQ0+iJrwHqCnkEtZ otNPFopeEAVJQIiyLcVrz048/oH8HGWgcnIt68XGE3h2t9SUlcmmo9BJUxS/7AZBoAwP WNonb3Ne5cJuDByB7SQP6MsZ0EcWi92zIaWQjspWhJ2nU352pPbwpvkuNyHocqGmkL2a 4vAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version; bh=1bHlrEpLKWQOClgG4w1T2L1ZrH/wV8Hv97J4L0sVy5k=; b=WsmZDy76pGsH2dUyvkatjd/o4viBiUJHdvLsGySStnQZP59dJdZbofXAErXyX+JPVc xt3ramGjE8jRWY2ciWORE2MFMMmbfVP2GDk7h1FQTwtvh14g1180J9pwF8h++r/GcFHt SRl6+rgenLVTgpyFlZ5BX67c8dFBJO/1FfryZzTOiTqLbnNPPTes9nHA4jFwAJ4DYBVH beahDWlzt9o9cU944c4FD7Gy9QzFE6AeXjX9jKGSImNhbUQ9Yg36JB8OFQU/V+6kZpCA OrXrBXi6+xn02zusbcQFLco1flHoVxdup4lKBcuhK3l3b9rU+5iTerijteteq6/RxgcY 3g7g== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.208.46 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Original-Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com. [209.85.208.46]) by gmr-mx.google.com with ESMTPS id a9-20020a5d4d49000000b002102b9cc69dsi294217wru.4.2022.05.31.04.43.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 31 May 2022 04:43:32 -0700 (PDT) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.208.46 as permitted sender) client-ip=209.85.208.46; Original-Received: by mail-ed1-f46.google.com with SMTP id w27so10439203edl.7 for ; Tue, 31 May 2022 04:43:32 -0700 (PDT) X-Received: by 2002:a05:6402:26d6:b0:42b:31b9:2064 with SMTP id x22-20020a05640226d600b0042b31b92064mr54134705edd.227.1653997412400; Tue, 31 May 2022 04:43:32 -0700 (PDT) In-Reply-To: X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.208.46 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:30643 Archived-At: --00000000000039c0be05e04d486f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ah I see now that they are PDFs, however if you import them into Google Docs there is a Translate menu item there too somewhere, same caveats applying, plus that layout formatting may become funny when you import PDF into Google Docs. Tip: Not only can you import PDFs into GDocs; you can re-export to docx and process with pandoc, but it's best to unwrap any multicolumn parts in GDocs first! /bpj Den tis 31 maj 2022 13:34BPJ skrev: > > > Den tis 31 maj 2022 11:02Bastien DUMONT skrev= : > >> I have met the problem of adapting CSL to specific requirements too... >> Although I study History, it seems that we are facing common drawbacks. = I >> defined a set of conventions for the recording of bibliographical entrie= s >> in Zotero and wrote a sample style. You can find the style and the >> documentation here: >> https://zenodo.org/communities/csl-clio/search?page=3D1&size=3D20 >> >> I don't think that you will want to take it as is, but I hope it could b= e >> inspiring. It is in French, but you can retrieve the source of the manua= l >> and translate it automatically if you don't read this language. >> > > In the android Chrome app (and I suppose other Chrome versions too) there > is a "Translate page" (or something similar, I have the Swedish version! > :-) item in the =E2=8B=AE menu which will translate a page and all linked= pages on > the fly. It's Google Translate of course so results may be funny at times > but translation where one of the languages is English usually are passabl= e > for on-the-fly reading =E2=80=94 not that it will put me out of translati= on jobs > anytime soon! > > > >> Le Tuesday 31 May 2022 =C3=A0 11:29:02AM, Shane Liesegang a =C3=A9crit : >> > Here they are in a gist. >> > >> > [1]https://gist.github.com/sjml/30b1f0093e48f37408871cc142d3dc12 >> > >> > My program deals a lot with ancient and theological sources and has ve= ry >> > specific requirements for how certain citations look. I=E2=80=99m sure= at least >> *some* >> > of this could be done by modifying a CSL (like using =E2=80=9C=C2=A7= =E2=80=9D instead of >> =E2=80=9Csec.=E2=80=9D in >> > the locators), but others are around specific works (like the Summa >> Theologica) >> > or types of documents (papal encyclicals), and as far as I can tell, C= SL >> > doesn=E2=80=99t have that level of conditional processing. (I also spe= ak Lua >> far better >> > than I do CSL. :) ) >> > >> > What really inspired this question was the institutional abbreviation >> filters =E2=80=94 >> > on a second citation of certain institutional sources, they should be >> referred >> > to by their abbreviation. But until CSL 1.1, there=E2=80=99s no suppor= t for >> short >> > author names=E2=80=A6 so I track subsequent mentions, suppress the aut= hor, and >> add in >> > the abbreviation after citeproc has done its work. But when I=E2=80=99= m trying >> to do >> > that insertion into a citation with multiple sources, you see the kind >> of >> > weirdness I do in [2]that post-filter. Would be great if I could just >> look for >> > a Span with an attribute that maps to a citation key or something like >> that. >> > >> > >> > >> > >> > On May 31, 2022, at 10:24 AM, <[3]denis.maier-NSENcxR/0n0@public.gmane.org> <[4] >> > denis.maier-NSENcxR/0n0@public.gmane.org> wrote: >> > >> > No, I=E2=80=99m not interested in anything in particular. Just gen= eral >> interest. >> > >> > Von: [5]pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <[6] >> pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> > > Im Auftrag von Shane Liesegang >> > Gesendet: Montag, 30. Mai 2022 15:43 >> > An: [7]pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> > Betreff: Re: Separating multiple citations in generated footnote >> > >> > I haven't made the repository public yet, but would be happy to >> share a >> > subset -- is there anything in particular you're interested in, or >> just >> > general interest in citation filtering? >> > >> > On Mon, May 30, 2022 at 11:14 AM <[8]denis.maier-NSENcxR/0n0@public.gmane.org> wrote: >> > >> > I don=E2=80=99t have a particular suggestion for what you need= , but I >> might be >> > interested in what you already do. could you perhaps share you= r >> > filters ? >> > >> > Best, >> > Denis >> > >> > Von: [9]pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <[10] >> > pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von Shane Liesegan= g >> > Gesendet: Montag, 30. Mai 2022 09:07 >> > An: pandoc-discuss <[11]pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >> > Betreff: Separating multiple citations in generated footnote >> > >> > My institution has a few specific citation style requirements >> that >> > stray from the standard Chicago Style. The changes are mostly >> around >> > specific works, so it's difficult-to-impossible to meet the >> > requirements by making a new CSL. >> > >> > For the most part I'm able to handle it with Lua filters. I >> intercept >> > the citation reference both before and after --citeproc runs >> and make >> > whatever changes I need to; this might entail changing the >> style to >> > SuppressAuthor, making some capitalization/punctuation changes= , >> etc. In >> > general this works well, but where it gets difficult is if a >> single >> > Cite element contains multiple citations. In that case, lookin= g >> at the >> > generated footnote, there's no hard indicator of which portion >> came >> > from which citation. I've got something working based on >> scanning for >> > semicolons, but I worry that's a little bit fragile and will >> probably >> > break on certain sets of reference data. >> > >> > Is there any good way of mapping portions of the footnote to >> citation >> > keys? I was thinking to wrap them in a span with some custom >> metadata, >> > but I can only see the citations either before --citeproc (whe= n >> the >> > footnote doesn't exist yet) or after (when the multiple >> citations have >> > already combined). What would be truly ideal would be the >> ability to >> > filter the citation process itself, but I'm assuming since >> that's from >> > a different library that it is not exposed to Lua? >> > >> > Like I said, I have something mostly working now, but any >> thoughts/ >> > advice would be appreciated. >> > -- >> > 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 [12]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> > To view this discussion on the web visit [13] >> https://groups.google.com/ >> > d/msgid/pandoc-discuss/ >> > baf8fe27-c662-4825-981d-b49fb7b38d71n%40googlegroups.com. >> > -- >> > You received this message because you are subscribed to a topi= c >> in the >> > Google Groups "pandoc-discuss" group. >> > To unsubscribe from this topic, visit [14] >> https://groups.google.com/d/ >> > topic/pandoc-discuss/uIe_wOxcGUs/unsubscribe. >> > To unsubscribe from this group and all its topics, send an >> email to >> > [15]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> > To view this discussion on the web visit [16] >> https://groups.google.com/ >> > d/msgid/pandoc-discuss/8ed092b504f248fa984c4284113f68ff% >> 40unibe.ch. >> > >> > -- >> > 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 [17]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> > To view this discussion on the web visit [18] >> https://groups.google.com/d/ >> > msgid/pandoc-discuss/ >> > CAD7-qeusumC9zcpbCGbjevJ6J9Vdi4W8YJyTjiTmbR_yk5%2Bmrg% >> 40mail.gmail.com. >> > >> > -- >> > You received this message because you are subscribed to a topic in >> the >> > Google Groups "pandoc-discuss" group. >> > To unsubscribe from this topic, visit [19] >> https://groups.google.com/d/topic >> > /pandoc-discuss/uIe_wOxcGUs/unsubscribe. >> > To unsubscribe from this group and all its topics, send an email t= o >> [20] >> > pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> > To view this discussion on the web visit [21] >> https://groups.google.com/d/ >> > msgid/pandoc-discuss/873d53586f8b4f968ac667b38da1796c%40unibe.ch. >> > >> > >> > -- >> > 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 [22]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> > To view this discussion on the web visit [23] >> https://groups.google.com/d/msgid/ >> > pandoc-discuss/25193173-1E8E-4A2B-81C2-9AB3BBE6DC12%40gmail.com. >> > >> > References: >> > >> > [1] https://gist.github.com/sjml/30b1f0093e48f37408871cc142d3dc12 >> > [2] >> https://gist.github.com/sjml/30b1f0093e48f37408871cc142d3dc12#file-post-= filter-institutional-abbreviations-lua >> > [3] mailto:denis.maier-NSENcxR/0n0@public.gmane.org >> > [4] mailto:denis.maier-NSENcxR/0n0@public.gmane.org >> > [5] mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> > [6] mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> > [7] mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> > [8] mailto:denis.maier-NSENcxR/0n0@public.gmane.org >> > [9] mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> > [10] mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> > [11] mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> > [12] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> > [13] >> https://groups.google.com/d/msgid/pandoc-discuss/baf8fe27-c662-4825-981d= -b49fb7b38d71n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter >> > [14] >> https://groups.google.com/d/topic/pandoc-discuss/uIe_wOxcGUs/unsubscribe >> > [15] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> > [16] >> https://groups.google.com/d/msgid/pandoc-discuss/8ed092b504f248fa984c428= 4113f68ff%40unibe.ch?utm_medium=3Demail&utm_source=3Dfooter >> > [17] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> > [18] >> https://groups.google.com/d/msgid/pandoc-discuss/CAD7-qeusumC9zcpbCGbjev= J6J9Vdi4W8YJyTjiTmbR_yk5%2Bmrg%40mail.gmail.com?utm_medium=3Demail&utm_sour= ce=3Dfooter >> > [19] >> https://groups.google.com/d/topic/pandoc-discuss/uIe_wOxcGUs/unsubscribe >> > [20] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> > [21] >> https://groups.google.com/d/msgid/pandoc-discuss/873d53586f8b4f968ac667b= 38da1796c%40unibe.ch?utm_medium=3Demail&utm_source=3Dfooter >> > [22] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> > [23] >> https://groups.google.com/d/msgid/pandoc-discuss/25193173-1E8E-4A2B-81C2= -9AB3BBE6DC12%40gmail.com?utm_medium=3Demail&utm_source=3Dfooter >> >> -- >> You received this message because you are subscribed to the Google Group= s >> "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n >> 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/YpXYx3Q4UnpWiN2j%40loca= lhost >> . >> > --=20 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 e= mail 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/CADAJKhCNRMrBE5erg3N2_vj-Y%2BW3%3Dr-nwjDexzh89TnHTDrC4g%40ma= il.gmail.com. --00000000000039c0be05e04d486f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ah I see now that they are PDFs, however if you import th= em into Google Docs there is a Translate menu item there too somewhere, sam= e caveats applying, plus that layout formatting may become funny when you i= mport PDF into Google Docs.

Ti= p: Not only can you import PDFs into GDocs; you can re-export to docx and p= rocess with pandoc, but it's best to unwrap any multicolumn parts in GD= ocs first!

/bpj

Den= tis 31 maj 2022 13:34BPJ <bpj@melroch= .se> skrev:


Den tis 31 maj 2022 11:02Bastien DUMONT <bastien.dumont@post= eo.net> skrev:
I have met th= e problem of adapting CSL to specific requirements too... Although I study = History, it seems that we are facing common drawbacks. I defined a set of c= onventions for the recording of bibliographical entries in Zotero and wrote= a sample style. You can find the style and the documentation here: https://zenodo.o= rg/communities/csl-clio/search?page=3D1&size=3D20

I don't think that you will want to take it as is, but I hope it could = be inspiring. It is in French, but you can retrieve the source of the manua= l and translate it automatically if you don't read this language.

In the= android Chrome app (and I suppose other Chrome versions too) there is a &q= uot;Translate page" (or something similar, I have the Swedish version!= :-) item in the =E2=8B=AE menu which will translate a page and all linked = pages on the fly. It's Google Translate of course so results may be fun= ny at times but translation where one of the languages is English usually a= re passable for on-the-fly reading =E2=80=94 not that it will put me out of= translation jobs anytime soon!



Le Tuesday 31 May 2022 =C3=A0 11:29:02AM, Shane Liesegang a =C3=A9crit : > Here they are in a gist.
>
> [1]https://g= ist.github.com/sjml/30b1f0093e48f37408871cc142d3dc12
>
> My program deals a lot with ancient and theological sources and has ve= ry
> specific requirements for how certain citations look. I=E2=80=99m sure= at least *some*
> of this could be done by modifying a CSL (like using =E2=80=9C=C2=A7= =E2=80=9D instead of =E2=80=9Csec.=E2=80=9D in
> the locators), but others are around specific works (like the Summa Th= eologica)
> or types of documents (papal encyclicals), and as far as I can tell, C= SL
> doesn=E2=80=99t have that level of conditional processing. (I also spe= ak Lua far better
> than I do CSL. :) )
>
> What really inspired this question was the institutional abbreviation = filters =E2=80=94
> on a second citation of certain institutional sources, they should be = referred
> to by their abbreviation. But until CSL 1.1, there=E2=80=99s no suppor= t for short
> author names=E2=80=A6 so I track subsequent mentions, suppress the aut= hor, and add in
> the abbreviation after citeproc has done its work. But when I=E2=80=99= m trying to do
> that insertion into a citation with multiple sources, you see the kind= of
> weirdness I do in [2]that post-filter. Would be great if I could just = look for
> a Span with an attribute that maps to a citation key or something like= that.
>
>
>
>
>=C2=A0 =C2=A0 =C2=A0On May 31, 2022, at 10:24 AM, <[3]d= enis.maier-NSENcxR/0n0@public.gmane.org> <[4]
>=C2=A0 =C2=A0 =C2=A0denis.maier-NSENcxR/0n0@public.gmane.org> wrote: >
>=C2=A0 =C2=A0 =C2=A0No, I=E2=80=99m not interested in anything in parti= cular. Just general interest.
>=C2=A0 =C2=A0 =C2=A0
>=C2=A0 =C2=A0 =C2=A0Von: [5]pandoc-discuss@goog= legroups.com <[6]pandoc-discuss@googlegroups= .com
>=C2=A0 =C2=A0 =C2=A0> Im Auftrag von Shane Liesegang
>=C2=A0 =C2=A0 =C2=A0Gesendet: Montag, 30. Mai 2022 15:43
>=C2=A0 =C2=A0 =C2=A0An: [7]pandoc-discuss@googl= egroups.com
>=C2=A0 =C2=A0 =C2=A0Betreff: Re: Separating multiple citations in gener= ated footnote
>=C2=A0 =C2=A0 =C2=A0
>=C2=A0 =C2=A0 =C2=A0I haven't made the repository public yet, but w= ould be happy to share a
>=C2=A0 =C2=A0 =C2=A0subset -- is there anything in particular you'r= e interested in, or just
>=C2=A0 =C2=A0 =C2=A0general interest in citation filtering?
>=C2=A0 =C2=A0 =C2=A0
>=C2=A0 =C2=A0 =C2=A0On Mon, May 30, 2022 at 11:14 AM <[8]denis.maier-NSENcxR/0n0@public.gmane.org> wrote:
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0I don=E2=80=99t have a particular sug= gestion for what you need, but I might be
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0interested in what you already do. co= uld you perhaps share your
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0filters ?
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Best,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Denis
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Von: [9]pando= c-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <[10]
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0pandoc-discus= s@googlegroups.com> Im Auftrag von Shane Liesegang
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Gesendet: Montag, 30. Mai 2022 09:07<= br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0An: pandoc-discuss <[11]pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Betreff: Separating multiple citation= s in generated footnote
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0My institution has a few specific cit= ation style requirements that
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0stray from the standard Chicago Style= . The changes are mostly around
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0specific works, so it's difficult= -to-impossible to meet the
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0requirements by making a new CSL. >
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0For the most part I'm able to han= dle it with Lua filters. I intercept
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0the citation reference both before an= d after --citeproc runs and make
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0whatever changes I need to; this migh= t entail changing the style to
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0SuppressAuthor, making some capitaliz= ation/punctuation changes, etc. In
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0general this works well, but where it= gets difficult is if a single
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Cite element contains multiple citati= ons. In that case, looking at the
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0generated footnote, there's no ha= rd indicator of which portion came
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from which citation. I've got som= ething working based on scanning for
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0semicolons, but I worry that's a = little bit fragile and will probably
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0break on certain sets of reference da= ta.
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Is there any good way of mapping port= ions of the footnote to citation
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0keys? I was thinking to wrap them in = a span with some custom metadata,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0but I can only see the citations eith= er before --citeproc (when the
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0footnote doesn't exist yet) or af= ter (when the multiple citations have
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0already combined). What would be trul= y ideal would be the ability to
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0filter the citation process itself, b= ut I'm assuming since that's from
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0a different library that it is not ex= posed to Lua?
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Like I said, I have something mostly = working now, but any thoughts/
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0advice would be appreciated.
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0--
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0You received this message because you= are subscribed to the Google
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Groups "pandoc-discuss" gro= up.
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0To unsubscribe from this group and st= op receiving emails from it, send
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0an email to [12]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0To view this discussion on the web vi= sit [13]https://groups.google.com/
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0d/msgid/pandoc-discuss/
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0baf8fe27-c662-4825-981d-b49fb7b38d71n= %40googlegroups.com.
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0--
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0You received this message because you= are subscribed to a topic in the
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Google Groups "pandoc-discuss&qu= ot; group.
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0To unsubscribe from this topic, visit= [14]https://groups.google.com/d/
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0topic/pandoc-discuss/uIe_wOxcGUs/unsu= bscribe.
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0To unsubscribe from this group and al= l its topics, send an email to
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[15]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0To view this discussion on the web vi= sit [16]https://groups.google.com/
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0d/msgid/pandoc-discuss/8ed092b504f248= fa984c4284113f68ff%40unibe.ch.
>
>=C2=A0 =C2=A0 =C2=A0--
>=C2=A0 =C2=A0 =C2=A0You received this message because you are subscribe= d to the Google Groups
>=C2=A0 =C2=A0 =C2=A0"pandoc-discuss" group.
>=C2=A0 =C2=A0 =C2=A0To unsubscribe from this group and stop receiving e= mails from it, send an
>=C2=A0 =C2=A0 =C2=A0email to [17]= pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>=C2=A0 =C2=A0 =C2=A0To view this discussion on the web visit [18]https://groups.google.com/d/
>=C2=A0 =C2=A0 =C2=A0msgid/pandoc-discuss/
>=C2=A0 =C2=A0 =C2=A0CAD7-qeusumC9zcpbCGbjevJ6J9Vdi4W8YJyTjiTmbR_yk5%2Bm= rg%40mail.gmail.com.
>
>=C2=A0 =C2=A0 =C2=A0--
>=C2=A0 =C2=A0 =C2=A0You received this message because you are subscribe= d to a topic in the
>=C2=A0 =C2=A0 =C2=A0Google Groups "pandoc-discuss" group.
>=C2=A0 =C2=A0 =C2=A0To unsubscribe from this topic, visit [19]https://groups.google.com/d/topic
>=C2=A0 =C2=A0 =C2=A0/pandoc-discuss/uIe_wOxcGUs/unsubscribe.
>=C2=A0 =C2=A0 =C2=A0To unsubscribe from this group and all its topics, = send an email to [20]
>=C2=A0 =C2=A0 =C2=A0pandoc-discus= s+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>=C2=A0 =C2=A0 =C2=A0To view this discussion on the web visit [21]https://groups.google.com/d/
>=C2=A0 =C2=A0 =C2=A0msgid/pandoc-discuss/873d53586f8b4f968ac667b38da179= 6c%40unibe.ch.
>
>
> --
> You received this message because you are subscribed to the Google Gro= ups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send= an email
> to [22]pandoc-discuss+unsubscrib= e@googlegroups.com.
> To view this discussion on the web visit [23]https://groups.google.com/d/msgid/
> pandoc-discuss/25193173-1E8E-4A2B-81C2-9AB3BBE6DC12%40g= mail.com.
>
> References:
>
> [1] https://= gist.github.com/sjml/30b1f0093e48f37408871cc142d3dc12
> [2] https://gist.github.com/sjml/30b1f= 0093e48f37408871cc142d3dc12#file-post-filter-institutional-abbreviations-lu= a
> [3] mailto:denis.maier-NSENcxR/0n0@public.gmane.org
> [4] mailto:denis.maier-NSENcxR/0n0@public.gmane.org
> [5] mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org=
> [6] mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org=
> [7] mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org=
> [8] mailto:denis.maier-NSENcxR/0n0@public.gmane.org
> [9] mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org=
> [10] mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [11] mailto:
pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [12] mailto:
pandoc-discuss+unsub= scribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [13] https://groups.google.com/d/msgid/pandoc-discuss/baf8fe27-c662-4825-98= 1d-b49fb7b38d71n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfoo= ter
> [14] https://groups.google.com/d/topic/pandoc-discuss/uIe_wOxcGUs/unsubscrib= e
> [15] mailto:pandoc-discuss+unsub= scribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [16] https://= groups.google.com/d/msgid/pandoc-discuss/8ed092b504f248fa984c4284113f68ff%4= 0unibe.ch?utm_medium=3Demail&utm_source=3Dfooter
> [17] mailto:pandoc-discuss+unsub= scribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [18] https://groups.google.com/d/msgid/pandoc-discuss/CAD7-qe= usumC9zcpbCGbjevJ6J9Vdi4W8YJyTjiTmbR_yk5%2Bmrg%40mail.gmail.com?utm_medium= =3Demail&utm_source=3Dfooter
> [19] https://groups.google.com/d/topic/pandoc-discuss/uIe_wOxcGUs/unsubscrib= e
> [20] mailto:pandoc-discuss+unsub= scribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [21] https://= groups.google.com/d/msgid/pandoc-discuss/873d53586f8b4f968ac667b38da1796c%4= 0unibe.ch?utm_medium=3Demail&utm_source=3Dfooter
> [22] mailto:pandoc-discuss+unsub= scribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [23] htt= ps://groups.google.com/d/msgid/pandoc-discuss/25193173-1E8E-4A2B-81C2-9AB3B= BE6DC12%40gmail.com?utm_medium=3Demail&utm_source=3Dfooter

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe@go= oglegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/p= andoc-discuss/YpXYx3Q4UnpWiN2j%40localhost.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://gro= ups.google.com/d/msgid/pandoc-discuss/CADAJKhCNRMrBE5erg3N2_vj-Y%2BW3%3Dr-n= wjDexzh89TnHTDrC4g%40mail.gmail.com.
--00000000000039c0be05e04d486f--