Coder Social home page Coder Social logo

bibtex problems about lni HOT 13 CLOSED

gi-ev avatar gi-ev commented on August 15, 2024
bibtex problems

from lni.

Comments (13)

sieversMartin avatar sieversMartin commented on August 15, 2024

Yes, this can be considered a bug (see #5). However, I am not sure, whether the output is corrupt as well.

from lni.

baderas avatar baderas commented on August 15, 2024

The pdf does not contain author names and the references seem to be not working correctly.

jabref3

from lni.

sieversMartin avatar sieversMartin commented on August 15, 2024

Okay, thank you. I'll check.

from lni.

baderas avatar baderas commented on August 15, 2024

Any news? Did you check it?

from lni.

sieversMartin avatar sieversMartin commented on August 15, 2024

I had a quick look, but yet no time for a deeper analysis. I am on vacation at the moment and will investigate the problem next week.

Gesendet mit TypeApp

Am 25. Aug. 2016 14:51, um 14:51, Andreas Bader [email protected] schrieb:

Any news? Did you check it?

You are receiving this because you were assigned.
Reply to this email directly or view it on GitHub:
#6 (comment)

from lni.

baderas avatar baderas commented on August 15, 2024

I fixed it by using the following code:

%%% biblatex
%%%
%biblatex statt bibtex
\usepackage[
style         = lni,
backend       = biber, %minalphanames only works with biber backend
sortcites     = true,
bibstyle      = alphabetic,
citestyle     = alphabetic,
firstinits    = true,
useprefix     = false, %"von, van, etc." will be printed, too. See below.
minnames      = 1,
minalphanames = 3,
maxalphanames = 4,
maxbibnames   = 99,
maxcitenames  = 3,
doi           = false, %source: http://tex.stackexchange.com/a/23118/9075
isbn          = false, %source: http://tex.stackexchange.com/a/23118/9075
url           = false,
backref       = true]{biblatex}

%Do not put "vd" in the label, but put it at "\citeauthor"
%Source: http://tex.stackexchange.com/a/30277/9075
\makeatletter
\AtBeginDocument{\toggletrue{blx@useprefix}}
\AtBeginBibliography{\togglefalse{blx@useprefix}}

%Thin spaces between initials
%http://tex.stackexchange.com/a/11083/9075
\renewrobustcmd*{\bibinitdelim}{\,}

%Keep first and last name together in the bibliography
%http://tex.stackexchange.com/a/196192/9075
\renewcommand*\bibnamedelimc{\addnbspace}
\renewcommand*\bibnamedelimd{\addnbspace}

%Replace last "and" by comma in bibliography
%See http://tex.stackexchange.com/a/41532/9075
\AtBeginBibliography{%
    \renewcommand*{\finalnamedelim}{\addcomma\space}%
}

%enable hyperlinked author names when using \citeauthor
%source: http://tex.stackexchange.com/a/75916/9075
\DeclareCiteCommand{\citeauthor}
{\boolfalse{citetracker}%
    \boolfalse{pagetracker}%
    \usebibmacro{prenote}}
{\ifciteindex
    {\indexnames{labelname}}
    {}%
    \printtext[bibhyperref]{\printnames{labelname}}}
{\multicitedelim}
{\usebibmacro{postnote}}

%natbib compatibility
\newcommand{\citep}[1]{\cite{#1}}
\newcommand{\citet}[1]{\citeauthor{#1} \cite{#1}}
%Beginning of sentence - analogous to cleveref - important for names such as "zur Muehlen"
\newcommand{\Citep}[1]{\cite{#1}}
\newcommand{\Citet}[1]{\Citeauthor{#1} \cite{#1}}
%%%

and \printbibliography[heading=bibintoc,title={References}] at the appropriate place

it comes from https://github.com/baderas/uni-stuttgart-computer-science-template/blob/template/preambel/packages_and_options.tex

from lni.

sieversMartin avatar sieversMartin commented on August 15, 2024

Thank you. However, I would like to have a bibtex solution as well. The reason is, that there are a lot of people using older distributions. Thus they don't have the latest biblatex packages or are not familiar with using biber etc.

In additionstyle=lni should be redundant as you name alphabetic explicitly.

from lni.

koppor avatar koppor commented on August 15, 2024

The biblatex solution has been implemented with a huge help of @LukasCBossert and @georgd in https://github.com/latextemplates/LNI/pull/3 https://github.com/latextemplates/biblatex-lni.

The biblatex-lni style can be is packaged for CTAN. I have it as TODO: https://github.com/latextemplates/LNI/issues/4 https://www.ctan.org/pkg/biblatex-lni

from lni.

koppor avatar koppor commented on August 15, 2024

We are hitting the version issues in the context of the BTW conference (http://btw-konferenz.de/), but most issues seem to be solvable by keeping his system up to date. We have hints for Windows https://github.com/latextemplates/LNI#installation-hints-for-windows and Ubuntu: https://github.com/latextemplates/LNI#installation-hints-for-ubuntu

from lni.

white-gecko avatar white-gecko commented on August 15, 2024

I'm experiencing the same problem but could solve it using biblatex resp. biber (https://tex.stackexchange.com/questions/13509/biblatex-in-a-nutshell-for-beginners#13513).

Is this considered as the solution, that maybe it would be good to write this into the README.

from lni.

sieversMartin avatar sieversMartin commented on August 15, 2024

Well, for me and many other users, using biblatex should be considered best practise.
However, there are still users not familiar with biblatex. Therefore the old bst file have to be supported.

BTW: The README contains a hint to biblatex as well.

from lni.

koppor avatar koppor commented on August 15, 2024

from lni.

ytzemih avatar ytzemih commented on August 15, 2024

This issue has been around for quite a while. I am a biblatex/biber user whenever I can. For the sake of compatibility, I found a ridiculously easy solution in #80. Hope it is useful. Have fun!

from lni.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.