Skip to content

Instantly share code, notes, and snippets.

% Copyright (c) 2006-2011 Philipp Lehman.
% 2012-2018 Philip Kime, Audrey Boruvka, Joseph Wright
%
% Permission is granted to copy, distribute and/or modify this
% software under the terms of the LaTeX Project Public License
% (LPPL), version 1.3c.
%
% This software is provided 'as is', without warranty of any kind,
% either expressed or implied, including, but not limited to, the
% implied warranties of merchantability and fitness for a
This is XeTeX, Version 3.14159265-2.6-0.99998 (MiKTeX 2.9.6600 64-bit) (preloaded format=xelatex 2018.2.1) 2 FEB 2018 11:18
entering extended mode
**./babelpoly.tex
(babelpoly.tex
LaTeX2e <2017-04-15>
Babel <3.17> and hyphenation patterns for 75 language(s) loaded.
("C:\Program Files\MiKTeX 2.9\tex\latex\latexbug\latexbug.sty"
Package: latexbug 2017/10/12 v1.0d Bug-classification
)
("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
\documentclass{article}
\usepackage{luacode}
\begin{document}
\begin{luacode}
kpse.set_program_name("kpsewhich")
build_kpse_path = string.match(kpse.lookup("l3build.lua"),"(.*[/])")
tex.print(build_kpse_path)
local function build_require(s)
@moewew
moewew / remnoabs.conf
Created March 15, 2018 06:50
Biber tool config file to remove entries without or with empty abstract
<?xml version="1.0" encoding="UTF-8"?>
<config>
<output_align>true</output_align>
<output_fieldcase>lower</output_fieldcase>
<sourcemap>
<maps datatype="bibtex">
<map map_overwrite="0">
<map_step map_field_set="abstract" map_field_value="DELETEME"/>
</map>
<map>
\documentclass{article}
\usepackage{biblatex}
\makeatletter
\newrobustcmd*{\ProvideBibliographyCategory}[1]{%
\ifcsundef{blx@catg@#1}
{\global\cslet{blx@catg@#1}\@empty
\listgadd\blx@categories{#1}}
{}}
% BibTeX standard bibliography style `agsm-url' (modified from one of the harvard family)
% version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
% Copyright (C) 1991, all rights reserved.
% Copying of this file is authorized only if either
% (1) you make absolutely no changes to your copy, including name, or
% (2) if you do make changes, you name it something other than
% btxbst.doc, plain.bst, unsrt.bst, alpha.bst, abbrv.bst, agsm.bst,
% dcu.bst or kluwer.bst.
% This restriction helps ensure that all standard styles are identical.
% The file harvard.tex has the documentation for this style.
% Copyright (c) 2006-2011 Philipp Lehman.
% 2012-2017 Philip Kime, Audrey Boruvka, Joseph Wright
% 2018- Philip Kime, Moritz Wemheuer
%
% Permission is granted to copy, distribute and/or modify this
% software under the terms of the LaTeX Project Public License
% (LPPL), version 1.3c.
%
% This software is provided 'as is', without warranty of any kind,
% either expressed or implied, including, but not limited to, the
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[french]{babel}
\usepackage[style=authoryear]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@phdthesis{normalthesis,
author = {Author Normal},
@moewew
moewew / mapy-compat.tex
Last active April 27, 2018 08:22
https://tex.stackexchange.com/q/426644/35864 - version without biblatex-ext, should be compatible with biblatex < 3.3
\documentclass[british]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{mathpazo}
\usepackage{babel}
\usepackage[autostyle=true]{csquotes}
\usepackage[backend=biber, style=authoryear,
firstinits=true, uniquename=init, maxbibnames=999, maxcitenames=3,
doi=false, isbn=false, url=false,