Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LaTeX Template HsH
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Wille
LaTeX Template HsH
Commits
32409f64
Commit
32409f64
authored
1 year ago
by
Jan Wille
Browse files
Options
Downloads
Patches
Plain Diff
tidy up `.latexmkrc`
parent
67ffc92d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.latexmkrc
+11
-11
11 additions, 11 deletions
.latexmkrc
with
11 additions
and
11 deletions
.latexmkrc
+
11
−
11
View file @
32409f64
#
use pdflatex
#
list of files in this project
$pdf_mode = 1
;
# @default_files = ('file.tex', 'file.tex')
;
# use bibtex
# generall settings:
$bibtex_use = 2;
$aux_dir = '.aux/'; # use and auxilary folder for temp files
$clean_ext .= " run.xml";
$pdf_mode = 1; # use pdflatex
$bibtex_use = 2; # use biber
# use and auxilary folder for temp
file
s
push @generated_exts, "run.xml"; # biber creates this
file
$aux_dir = './.aux/';
push @generated_exts, "lol"; # the listings package creates this file
# put the ./src subfolder on searchpath
# put the ./src subfolder on searchpath
ensure_path( 'TEXINPUTS', './src//' );
ensure_path( 'TEXINPUTS', './src//' );
...
@@ -17,7 +18,9 @@ set_tex_cmds( '-synctex=1 -interaction=nonstopmode %O %S' );
...
@@ -17,7 +18,9 @@ set_tex_cmds( '-synctex=1 -interaction=nonstopmode %O %S' );
# create glossaries:
# create glossaries:
add_cus_dep( 'acn', 'acr', 0, 'makeglossaries' );
add_cus_dep( 'acn', 'acr', 0, 'makeglossaries' );
add_cus_dep( 'glo', 'gls', 0, 'makeglossaries' );
add_cus_dep( 'glo', 'gls', 0, 'makeglossaries' );
$clean_ext .= " acr acn alg glo gls glg ist";
push @generated_exts, 'glo', 'gls', 'glg';
push @generated_exts, 'acn', 'acr', 'alg';
$clean_ext .= ' %R.ist %R.xdy';
sub makeglossaries {
sub makeglossaries {
my ($base_name, $path) = fileparse( $_[0] );
my ($base_name, $path) = fileparse( $_[0] );
my @args = ( "-q", "-d", $path, $base_name );
my @args = ( "-q", "-d", $path, $base_name );
...
@@ -25,9 +28,6 @@ sub makeglossaries {
...
@@ -25,9 +28,6 @@ sub makeglossaries {
return system "makeglossaries", "-d", $path, $base_name;
return system "makeglossaries", "-d", $path, $base_name;
}
}
# Listings files
$clean_ext .= " lol"; # clean tempfile for List of Listings
# simple svg dependencies via InkScape
# simple svg dependencies via InkScape
add_cus_dep( 'svg', 'pdf', 0, 'runInkscape' );
add_cus_dep( 'svg', 'pdf', 0, 'runInkscape' );
sub runInkscape {
sub runInkscape {
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment