csl

Full author list for first citation in a chapter [apa.csl]

无人久伴 提交于 2020-03-03 12:00:08
问题 I'm writing my dissertation in R markdown. I am using bibtex, pandoc-citeproc, and apa.csl with bookdown. I have new_session: yes in my _bookdown.yml and compiling primarily to PDF ( documentclass:book , classoption: oneside ). The system I have is correctly using the full author list in place of "et al." for the first time I cite a 3-6 author work. That said, my adviser wants the full author list for the first time I cite a work per chapter . Is there an easy way to go about this? Here is

循环单链表

假如想象 提交于 2020-02-24 08:39:09
public class Node { public Object data; public Node next; public Node(){} public Node(Object data,Node next){ this.data = data; this.next = next; } }    public class CirSingleLink { private Node node = null; private int size = 0; public void init(){ node = new Node(); node.data = null; //头结点指向头结点 node.next = node; } //从尾结点进行插入 public void add(Object i){ Node newNode = new Node(i,node); if(node.next == node){ node.next = newNode; }else{ Node tmp = node; while (tmp.next != node){ tmp =tmp.next; } tmp.next = newNode; } size ++; } public void delete(Object i){ Node tmp = node; while(tmp.next !=

Special character does not show up in bibliography (but works in body) in bookdown

霸气de小男生 提交于 2019-12-25 03:47:16
问题 I am writing my dissertation with bookdown (https://bookdown.org/yihui/bookdown/) and the memoir class in R. I need to include special characters such as "\oe". This character appears correctly in the body of the document (therefore it's NOT a font problem). However, the same character does not appear in the bibliography section. More precisely, nothing appears instead of the special character. The .bib file is a .tex generated by Zotero where the "\oe" symbol (for instance) is represented as

Stone game

会有一股神秘感。 提交于 2019-11-29 17:32:36
31.91% 3000ms 262144K CSL loves stone games. He has n n stones; each has a weight a_i a i ​ . CSL wants to get some stones. The rule is that the pile he gets should have a higher or equal total weight than the rest; however if he removes any stone in the pile he gets, the total weight of the pile he gets will be no higher than the rest. It's so easy for CSL, because CSL is a talented stone-gamer, who can win almost every stone game! So he wants to know the number of possible plans. The answer may be large, so you should tell CSL the answer modulo 10^9 + 7 1 0 9 + 7. Formerly, you are given a

How does pandoc-citeproc sort citations?

回眸只為那壹抹淺笑 提交于 2019-11-29 13:42:42
I have a pandoc-style Markdown text where I cite two papers by the same author in the same place: Lorem ipsum [@Author2000;@Author2001] dolor sit amet. This is rendered as Lorem ipsum (Author 2001, 2000) dolor sit amet. Why are these citations sorted this way, contradicting the sequence in my text, contradicting author-year sorting, and contradicting the sequence in which they appear in the list of references? How can I change this? Is it possible to switch off any kind of sorting and keep the order in which I specify the citations? More information: The text is converted by pandoc with the

How does pandoc-citeproc sort citations?

拟墨画扇 提交于 2019-11-28 07:33:19
问题 I have a pandoc-style Markdown text where I cite two papers by the same author in the same place: Lorem ipsum [@Author2000;@Author2001] dolor sit amet. This is rendered as Lorem ipsum (Author 2001, 2000) dolor sit amet. Why are these citations sorted this way, contradicting the sequence in my text, contradicting author-year sorting, and contradicting the sequence in which they appear in the list of references? How can I change this? Is it possible to switch off any kind of sorting and keep