mirror of
https://github.com/hmemcpy/milewski-ctfp-pdf.git
synced 2024-11-23 04:15:23 +03:00
Texlive 2018 support (#150)
* Support building on TexLive 2018 * Adding missing packages
This commit is contained in:
parent
2a4b681cf5
commit
d3ddb331dc
11
shell.nix
11
shell.nix
@ -1,13 +1,5 @@
|
||||
# nix-shell --pure shell.nix --command 'cd src; make'
|
||||
let
|
||||
rev = "4df3426f5a5e78cef4835897a43abd9e2a092b74";
|
||||
sha256 = "05k5mssiqxffxi45mss9wjns6k76i248rpasa48akdcriry1mp63";
|
||||
nixpkgs = builtins.fetchTarball {
|
||||
inherit sha256;
|
||||
url = "https://github.com/NixOS/nixpkgs-channels/archive/${rev}.tar.gz";
|
||||
};
|
||||
in
|
||||
{ pkgs ? import nixpkgs {} }: with pkgs;
|
||||
{ pkgs ? import <nixpkgs> {} }: with pkgs;
|
||||
|
||||
mkShell {
|
||||
FONTCONFIG_FILE = makeFontsConf { fontDirectories = [ inconsolata-lgc libertine libertinus ]; };
|
||||
@ -48,6 +40,7 @@ mkShell {
|
||||
chngcntr
|
||||
ifplatform
|
||||
xstring
|
||||
minifp
|
||||
enumitem;
|
||||
})
|
||||
gnumake
|
||||
|
@ -34,6 +34,11 @@
|
||||
\usepackage[libertine]{newtxmath}
|
||||
\usepackage{amsmath}
|
||||
% Needed to display additional math unicode symbols (like double-colon)
|
||||
|
||||
% https://github.com/wspr/unicode-math/issues/469
|
||||
\expandafter\let\csname not=\endcsname\relax
|
||||
\expandafter\let\csname not<\endcsname\relax
|
||||
\expandafter\let\csname not>\endcsname\relax
|
||||
\usepackage{unicode-math}
|
||||
\setmathfont{Libertinus Math}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user