Comments (5)
Perhaps answering my own question, at least in part, I see from the HTML output format that it's to "add decorations to bibliography output of individual items". I'm using Scheme code inside of TeXmacs to create a list of pagerefs, linking back to the points in the document where each item was cited. I suppose that it could be used for that purpose, provided that it has access to all of the necessary information.
It does not need much other than the citation cluster id pasted to the system id of the zotero database entry with some string between them to delimit them to make it visually obvious which part of the label is which... then use that as a \label within the document, so that \reference{label} or \pageref{label} will print the reference wrapped in an intra-document hyperlink: e.g., [1, 4, 17, 28] means the reference is cited on pages 1, 4, 17, and 28, with the links jumping to the exact points of citation.
from citeproc-js.
Karl (@KarlHegbloom): Sorry for the long delay in responding! Should any action be taken on this in the processor?
from citeproc-js.
I need access to the Zotero held information, the fieldid's as the same strings the editor --> LibreOffice + propachi-texmacs gives it when it recieves the response to documentGetFields, in combination with the already visible to variableWrapper sysid, so that for each citationcluster or editor zcite... there is for each citation in that cluster, an intra-document reference target label formed from the fieldid and the sysid, to provide ref target anchor labels for a list of pagerefs for each item in the bibliography (sysid) linking back to each citation in the document this bib item is referenced by.
How do I obtain the information from inside the variablewrapper? Or is the embedBibliographyEntry a better way? How can I make it return that list of labels, each the composition of the citationcluster zfieldid (the fieldid coming from within xpcom/integration.js of Juris-M / Zotero, defined by the editor it is integrating with) and the sysid I already see from inside the variableWrapper?
I want to return either an in document order list of those label strings, or a string join, comma separated, of them suitable for direct use as a comma separated argument list for a LaTeX macro. The idea is to make the one syntax compatible with both TeXmacs and LaTeX. I already do this in Scheme code that runs in my TeXmacs plugin, tm-zotero. (zotero-texmacs-integration in my github). I think that Zotero already knows all of the necessary information at that point, and that it will work better to have zotero return those labels. And for LaTeX it just makes sense to have zotero do that part of the work since, unlike TeXmacs which has an embedded scheme extension language, LaTeX can't as easily do that computation as can javascript inside of zotero. LaTeX can easily process that comma separated list into a string of comma separated pagerefs for typetting and pdf hyperlinks inside the document, so that clicking on the pageref number displayed in the list of them that is inserted behind each bibliography item causes a hyperlink jump to the location in the document where that item is cited. (Automagically by just having a correct label at the place being pageref'd...)
from citeproc-js.
A tool that can draw me a visual graph showing how the objects are all hooked up inside of zotero or any javascript program like that, to make it easier to explore and understand the program, and to see how to get at the information it requires.
Accessors added to those objects that own that information could then perhaps be inquired from elsewhere to obtain the needed information? Or could it be passed in to the citeproc so it can be seen from inside the variableWrapper or embedBibliographyEntry?
from citeproc-js.
Debugging infrastructure to this level is beyond the reach of my own programming skills. I could look at a pull request, but beyond that I can't do much to help here.
from citeproc-js.
Related Issues (20)
- Unexpected delimiter preceding last literal name
- Inconsistent stopword capitalization within quotes
- Bug report: Unexpected collapsing delimiter in APA style HOT 1
- Localizing commas, colons, and semicolons HOT 2
- Always capitalize last word in subtitle HOT 1
- [notice] Next.js 13.3.1 fails to build citeproc (npm) 2.4.63 HOT 3
- Author names of translated books from English to Japanese are displayed in family name - given name order when the language is set to "ja"
- When the Chinese references are sorted by the hanyu pinyin of the author's name, there is a wrong alignment. HOT 1
- Why processCitationCluster silently exclude citation passed through citationPre or citationPost HOT 1
- Default rendering for contributor name in Katakana and Romanesque for a Japanese entry
- Italics aren't applied for second instance in field if "and" is present HOT 2
- "id." isn't capitalized when first word in citation sentence HOT 5
- Citation Key blocks following fields in note HOT 13
- Delimiting comma wrongly appearing outside quotation mark. HOT 3
- Suffix comma wrongly appearing outside quotation mark
- Valid URLs are having the straight apostrophes transformed into fancy/curly quotes
- TypeError: Cannot read properties of undefined (reading 'strings') HOT 3
- Text in edition field
- first-reference-note-number should consider containers
- Inappropriate hyphen conversion in `number` HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from citeproc-js.