New answers tagged

0

When I have to work on MS Word documents, I wrote my part in a LaTeX file as usual (and enjoy my emacs+AUCTeX shortcuts). Then I convert the document using pandoc to odt and copy/paste my document into the official one (usually a .docx). It probably possible to convert directly to Docx (pandoc seems to support it) The big avantage of pandoc is it can take ...


3

In biblatex one should specify the full name for the bibliography in \addbibresources. Thus in the MWE it should be \addbibresources{biblio.bib}. In Texpad ensure that the auto sense function is enabled, and Texpad will try to compile the appropriate number of times (also) depending on what files have been modified. Also, it would be better to avoid non ...


1

Currently I am converting my latex generated pdf as Word documents. I use the pdf export function in Adobe reader to convert the pdf into word files. It works better than using LaTex2RTF tools.


4

Rather than take an existing bst file and adjust it in various places to achieve your bibliographic formatting needs, I would like to recommend you create a new bibliography style file that immediately implements all of your formatting requirements. This is actually much less difficult to achieve than it may sound: Just run the makebst utility that's part ...


0

I changed the backend to bibtex and it worked. I had tried that before and typset a bunch of times, why it did not work then but worked now ist beyond me.


0

Great, Ulrike. Thanks for your time in answering it. Based on your answer to my MWE, I couldn't solve a bit more specific problem. If you could help me in this more specific one... I have 5 bibliographic lists: @Articles; @Inproceedings; @Books, @Inbooks and their variants; References with field "keyword = {review}"; References with field "keyword = ...


2

You can also use the biblatex-package called archaeologie which differentiates between ancient and modern authors. There are a lot of options available so you can adjust the bibliography-style to your needs. With the upcoming update [version 2.0 in TeXlive 2016] there will be a complete bibliography of ancient authors and texts and an english ...


3

You can use the biblatex-package called archaeologie which differentiates between ancient and modern authors. \documentclass[10pt,english]{article} \usepackage{babel} \usepackage{libertine} \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} @Book{Aristot_met, author = {Aristotle}, title = {Metaphysics}, origdate = {1924}, ...


3

You need to tell biber how to sort the entries, see biblatex - Sort cites via number (split bibliography) \documentclass{article} \usepackage[style=numeric,citestyle=numeric-comp,sorting=ynt,defernumbers=true,backend=biber]{biblatex} \DeclareSourcemap{ \maps[datatype=bibtex]{ \map{ \pertype{article} \step[fieldset=presort, fieldvalue = {A}] ...


2

Depending on how you installed MiKTeX (admin or user installation) start the Windows application MiKTeX Package Manager (admin) and/or MiKTeX Package Manager. Then you can filter the currently installed packages on your computer with the following inputs (see red markings in image: type biberto name and press filter) to first show only biber: Then ...


5

Try the new notfield mapping function with biber 2.6 DEV and biblatex 3.5 DEV: \DeclareSourcemap{ \maps[datatype=bibtex]{ \map{ \step[notfield=urldate, final] \step[fieldset=url, null] } } } or, if you don't need to do anything much after the test: \DeclareSourcemap{ \maps[datatype=bibtex]{ ...


2

I consider this a biber bug which is fixed in 2.6 DEV (which I can't currently upload but will update here when done). I think skipbib/skipbiblist should always be forced on a related clone if a related clone is also directly cited.


1

Sigh. Always answering my own questions. Here's a way that works. I can use \defbibcheck to check cloned entries against real entries. It's easy to make this check happen by default by redefining \printbibliography. It needs something similar to work with the list of shorthands. Any better suggestions? \documentclass{article} \usepackage{filecontents} ...


3

Guido's answer provides the right idea, but let's not throw the baby out with the bathwater without exhausting all the infant-preserving options first. There is no need to switch to plain \printbibliography, abandoning subbibliography. All that is needed is to redefine the heading for the appropriate bibliography environment. In your case, that's ...


1

An additional useful piece of information which directly answers the question (although not with all constraints). You can force a related entry to appear in a bibliography by overriding the relatedoptions field. e.g., relatedoptions = {dataonly,skipbib=false}.


0

Answer for documentation purpose: One must explicitly make sure Biberand BibLaTeX versions are compatible with each other. That the two packages came in the same MikTeX distribution doesn't necessary mean that they will work together. Texmaker needs to be set up correctly: Setting up TexMaker on Ubuntu "biblatex.sty not found.", plus Bernard's ...


1

Another option is to use the biblatex-chicago package, which comes with styles supporting origdate. So \documentclass{article} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @incollection{hume_1751_enquiry, origdate = {1751}, date = {1975-06-12}, author = {Hume, David}, title = {An Enquiry Concerning the Principles of ...


0

Edit: On prompting from @moewe I agree that the most likely reason for the error messages you are receiving is that your biblatex package is not up to date. So as @moewe and @Kurt have suggested you should: Update: Run the MikTeX Update tool first. Verify that you have the latest biblatex package version. MiKTex Package Manager > Name: Biblatex > ...


5

The incompatibility between titlesec and biblatex is known: see the following text from the biblatex manual The titlesec package redefines user-level document division commands such as \chapter or \section. This approach is not compatible with internal command changes applied by the BibLaTeX refsection and refsegment option settings described in § ...


2

After further investigation and head scratching I have reached a working solution. Updated MWE \RequirePackage{filecontents} \begin{filecontents*}{\jobname.bib} @misc{enc2015, author = {{Example News Company}}, title = {{Daily News for September 9 2015}}, url = {http://www.example.com/content/news/sep{\_}09/12}, urldate = {2016-03-08}, ...


0

I suspect Texmaker is configured to use a build subdirectory for output files. If it is indeed the case, the line for (Bib)latex should be C:\Program Files\MiKTeX 2.9\/miktex/bin/x64/biber.exe" build\% (I suppose MiKTeX is installed in the default place).


1

You would probably give the year as 1999 here. That is the version present on that page, the 1991 version cannot even be accessed that way. Like Johannes_B I would have given the advice to use the origdate field for 1991 (this field is ignored by the standard styles). After I had a look at the page in question though, I would not even do that. It is not at ...


1

biblatex's page tracker tracks citations and bibliography entries alike. In your problematic example you will find that the entry that goes over to the next page contains a citation. This citation will be the first biblatex instance on that page so that the first bibliography entry entirely on that page is not recognised as the first instance on that page. ...


3

cleanthesis already loads package biblatex for you. In order to have no sorting at all, which means the references are printed in the order they are cited, you have to add \PassOptionsToPackage{sorting=none}{biblatex} right before you load package cleanthesis. Advice: Do this only with numerical bibliography styles. It is pointless with an alphabetical ...


3

If I compile your code with TeX Live 2014 and compare with results using the current TeX Live 2015, I can reproduce the issue. The difference in page-breaking is the result of a bug which affected the 2014 version of Biblatex when using Biber as the backend but which is fixed in the version currently included in TeX Live 2015. I inferred the existence of ...


1

The easiest solution is to make biblatex "forget" the last year, so that the year is never omitted if it coincides with the last year. \makeatletter \AtEveryCitekey{\global\undef\cbx@lastyear} \makeatother Does the trick. For real APA style just load biblatex as \usepackage[backend = biber, style = apa, sorting = ...


3

The first .bib entry would be: @article{Serre:1955, title={Faisceaux alg{\'e}briques coh{\'e}rents}, author={Serre, J.-P.}, journaltitle={Annals of Mathematics}, date={1955}, series={2}, volume={61}, pages={197-278}, langid={french}, } The second one should be inproceedings, but if your style doesn't provide for it, just use incollection ...


3

In french "tome" means "volume", "number" can be abbreviated as "N^o". So, for the first you can type: @article{serre:1955, title={Faisceaux alg{\'e}briques coh{\'e}rents} author={Serre, Jean-Pierre}, journal={Annals of Mathematics}, volume={61}, pages={197--278}, number={2}, year={1955} } and the second (it's composed of 4 papers, delivered ...


5

Starting with version 3.4 of biblatex there is the concept of delimcontexts that are used to find out in what context (\parencite, \textcite, bibliography, text is printed), we can use that to determine of we are in a \textcite \makeatletter \newcommand\ifintextcite{\ifdefstring{\blx@delimcontext}{textcite}} \makeatother There is no need for patching the ...


6

In the standard authoryear biblatex style, both \parencite and \textcite internally is use the name:others bibmacro. What we can do is to create a toggle that is switched on and off try \textcite, and we use the toggle for a conditional to be used inside the macro that prints the "and others" or "et al" strings. \newtoggle{myintextcite} The simplest way ...


2

That's a pretty bad problem. Hopefully someone will come up with a way to fix it automatically once and for all. For now you could declare an entry option as a workaround, like this: \documentclass{book} \usepackage[papersize={140mm,210mm}, inner=26mm, outer=18mm, top=15mm, bottom=48mm]{geometry} ...


3

The journal (or journaltitle) field is mandatory for @article entries. So if a source wasn't published in a journal, it probably doesn't qualify as an @article. Depending on what exactly you have there you can go with the generic @misc or @online or with the more specific @report. For me this looks like a @report @report{juniper, author = {Stephen ...


0

Here is a tricky way. You have already used following codes in the specimen document, just try adding \textcolor{red} as in the following example: \defbibenvironment{bibliography} {\noindent} {\unspace} {\printtext[labelnumberwidth]{% \printfield{prefixnumber}% \textcolor{red}{\printfield{labelnumber}}} \addspace}


2

As noted in a comment, there are several options here. Probably the best is the reading style, which can be used for example with \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[style=reading,abstract=false]{biblatex} \addbibresource{<database>.bib} \begin{document} \nocite{*} \printbibliography \end{document} ...


2

If I understand you right, you want to be able to reference that a special document was cited in a special footnote. Your given command \activeref is not used in your code, I commented it. I added three bib entrys and added more references to show that it compiles for more than one reference. The trick in your case is to use command \protect to save the ...


1

biblatex will always try to automatically detect the language from the default polyglossia/babel language first. The problem you are seeing is an annoying artefact due to biblatex and polyglossia naming languages differently. I hope in the future that polyglossia and babel can standardise on BCP47 locale names (biber already supports these and maps ...


3

Imho the title of your question is wrong: You don't have a multicite here. What you really want is to add a \cite in the comment of another \cite. The logical input would imho be \textcite[{apud \cite[15]{smith}}]{Doe} But this input is not allowed as you can't nest citations. What you should do instead depends on the concrete case. I wouldn't try to ...


4

You can start with \usepackage[pagebackref=true]{hyperref} and dig the other options. \documentclass{article} \usepackage[pagebackref=true]{hyperref} \title{Title} \begin{document} \maketitle The reference is \cite{Pirayre_A_2015_j-bmc-bioinformatics_brane_cbrapnegcgrni}. \newpage \begin{thebibliography}{99} ...


5

For information, here is a way to do it without formatting hacks in the data using the biblatexml data format, part of whose motivation is to overcome such limitations in the bibtex name parsing routine. With biblatexml, initials are automatically generated (the routine is Unicode aware) or you can specify the initials manually if you want to. In addition, ...


1

Is this what is meant?? The bibentry package allows the actual citation text to be grabbed with \bibentry{<label>}, so that it can be inserted into a footnote, for example. \documentclass{article} \usepackage{bibentry} \usepackage{filecontents} \begin{filecontents}{mytestbib.bib} @book{goossens93, author = "Frank Mittelbach and Michel Goossens ...


2

The error seems to be similar to the one described in Biber 2.4, microtype, and special characters The workaround seems to consist in fixing the definition of \ifempty: \begin{filecontents}{\jobname.bib} @Article{ref, author = {Name, \v{a}}, } \end{filecontents} \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...


2

You can get the output your want with this input: @book{blabla, author = {Charles-Jean {\relax de La\nopunct} Vallée Poussin}} The problem is naturally that this hard-codes a representation. Also like egreg I don't think that this name should be written this way, but perhaps you simply used it as an example.


8

It's entirely possible to set this up by editing a standard .bst file, it's just somewhat tedious. There are three things needed. First, you need to tell BibTeX to make entries doi, eprint and eprinttype available by modifying the ENTRY list: ENTRY { ... doi eprint eprinttype ... } Second, you need a function that is going to do the formatting. ...


1

After a very long time I realised that the problem is the following: build/*.aux does not work because the .bib-file is not in the folder build. As far as I can see exchanging line 6 in the vimrc-code of my question by let g:Tex_CompileRule_pdf = 'mkdir -p build && pdflatex -output-directory=build -interaction=nonstopmode $* && cp *.bib ...


3

@UlrikeFischer is correct - biber only has one field to work with and so chooses the encoded format for maximum compatibility. You could easily use a sourcemap to copy to another verbatim field (like verba) and use that as the printable version whilst keeping url for the hyperref link. This would need a minor style change but should be relatively easy (make ...


3

If you use biblatex and bibtex you have to add option backend=bibtex to biblatex. And you should define a style you want to use to layout the resulting bibliography, for example style=alphabetic. So with the following MWE (package filecontents is only used to have bib file and TeX code in one compilable MWE; see main changes in tex code marked with ...


4

I assume the OP has finished his book by now, but I found a solution and thought I'd share it anyway. With the csquotes package, a custom quote style can be declared with \DeclareQuoteStyle. The undesired "In: " can be removed from all citations using \renewbibmacro{in:}{}, and the page numbers can be omitted only for Japanese entries using the following: ...


3

You can use the sortyear field to control the sorting manually, use it as sortyear = {<year>-<number>} @techreport{VanBuskirk2014a, address = {Sydney}, author = {{Van Buskirk}, Joe and Roxburgh, Amanda and Bruno, Raimondo and Burns, Lucinda}, institution = {National Drug and Alcohol Research Centre}, month = {mar}, number = {2}, ...


1

@Tom. You need to cut the contents of bibliography and paste the same just before the \end{document} environment. Moreover, remove the \printbibliography from the preamble. This can be done as follows. \documentclass{article} \usepackage{cite} \begin{document} \section{Text goes here}. This feature works as I described in \cite{DUMMY:1} ...


1

Before tweaking all the titles in your document, you should take a look on the norsk option of babel. % arara: pdflatex % arara: biber % arara: pdflatex \begin{filecontents}{Referanser.bib} @article{A2012, author = {Author, A}, title = {An interesting paper}, journal = {Journal}, year = {2012}, volume = {2}, ...



Top 50 recent answers are included