I have several chapters and I've included a reference section after each chapter using the following command:
\begin{thebibliography}{9}
\input{References/refdoc.tex}
\end{thebibliography}
When I call the \tableofcontents* command, it generates two references section for each and every chapter, any idea why pls?
Thanks a lot :)
Related
I'm revising a manuscript for ChemPhysChem. They just provided a very simple templet here. However, I have some problems meeting the requirement:
Please follow our house style for references for example: [1] X. Y.
Name, A. B. Name, J. Abbr. 2016, 5, 111-120.
This kind of reference hides the title, and I can not find an existing style to meet the need.
I am using the following latex script:
\documentclass{article}
\usepackage[sorting=none, backend=biber]{biblatex}
\addbibresource{ref_r.bib}
What do I need to do to solve the problem? Do I really need to build a new .bst file? Could anyone share their experience on submitting manuscripts on ChemPhysChem using LaTeX?
Don't use biblatex for journal submissions unless your publisher explicitly states that they do accept it. While it is a nice and flexible tool, biblatex is not yet the standard.
Just follow the instructions from the template and use
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%alternatively you may use
\bibliographystyle{unsrt}
\bibliography{mymanuscript.bib}
%and send the .bib file along with your manuscript
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Don't worry if the resulting style might be a bit different from their requirement, they won't use it anyway but convert your source files with their pipeline.
I changed to my latex using BibTeX back, and built a cpc.bst file for ChemPhysChem using the following command with the help of the youtube video:
latex makebst
It would not be that hard to create the bibliography style file using the guide of the above-mentioned video.
And the result looks like
this.
I have been trying to understand how the languages chart (the one on the main page of a project as a line or in Repository > Charts as a circle) works.
It says "Measured in bytes of code. Excludes generated and vendored code." I played with it and this explanation seems inexact. Generated code is counted (at least in Java with #Generated), invalid JS in a .js file is not, comments and blank lines are, ...
Does anyone know how does it really work, or even better, know where I can find the corresponding code in Gitlab's source code so I can understand it myself ? I've looked but could not find it.
Thanks a lot !
Welcome to Stack Overflow. I think they're using GitHub Linguist https://github.com/github/linguist but it's not explicitly mentioned in their doc https://docs.gitlab.com/ee/user/project/repository/#repository-languages
I would like to query two or three terms in order to locate them in Wikipedia´s entries. Specifically, I´m trying to see if some terms get repeated in the first paragraphs (abstract) across entries. Could be direct or through dbpedia. Thanks
Using Mediawiki API you can find articles that contain those keywords.
Try the API:Search documentation.
For doing what you want to do, also, you'd probably need to find the articles that have those keywords and then parse the text to check if they are in the first paragraphs.
With this:
?action=parse&page=Nicolas_Cage&prop=text§ion=0
you can get the HTML of the first section of a page (see this post).
I need some help with a project. I work as a librarian, and we are currently undergoing a process to relabel all of our picture books. What we are working with is a long list of all our picture books in Excel, which we then copy the author's last name (in one column) and paste it into a Word Doc which is formatted in the arrangement of those Avery label templates. We have over 8000 picture books, and as you can imagine this process takes quite a bit of time, but I have a rudimentary background in code (VB, Java), and I believe this process can be automated with scripts, but I'm not quite sure how. Any advice on commands I can use or how I should organize my code would be greatly appreciated.
Thanks
You need to learn Excel and Word COM interface. They are quite simple to use.
See some examples for Excel on Python [in this thread]. For MS Word usage you just need to use 'Word.Application' object instead of 'Excel.Application'. In VB Script such objects are created with CreateObject() function: [some examples in MSDN].
See [Word object reference] and [Excel objects hierarchy] for detailed interface descriptions.
I would love to have a list of SubSonic conventions. I saw http://www.subsonicproject.com/docs/Conventions but it didn't seem complete as of today and it seems wrong. It says "table names should be singular".
My understanding is that the convention is plural names for table names.
I am also not clear on how to name lookup tables.
There is a documentation page for the Conventions used in SubSonic. You can find the page at
www.subsonicproject.com/docs/Conventions . Post any needed information on the SubsonicProject group and I will try to see that it gets answered/added to the convention page.