Skip to content
Snippets Groups Projects
Commit 80a05e66 authored by Jan Wille's avatar Jan Wille
Browse files

fix subfile builds

parent 3d60e02c
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,26 @@ sub makeglossaries {
# simple svg dependencies via InkScape
add_cus_dep( 'svg', 'pdf', 0, 'runInkscape' );
sub runInkscape {
my @args = ( "--export-type=pdf", "--export-area-page" );
return system "inkscape", @args, "$_[0].svg";
my @args = ( "$_[0].svg", "--export-area-page", "--export-filename", "$_[0].pdf" );
print @args;
return system "inkscape", @args;
}
add_cus_dep( 'tex', 'pdf', 0, 'runPDFLaTeX' );
sub runPDFLaTeX {
my ($base_name, $path) = fileparse( $_[0] );
path_fudge( 'TEXINPUTS' );
pushd($path);
if (!$silent) {
print "$My_name: Change directory to '$path'.\n"
}
my $ret = Run_subst( $pdflatex, 1, undef, "$base_name.tex", "$base_name.pdf");
if ( $ret == 0 ) {
move( "$aux_dir/$base_name.pdf", "$base_name.pdf" );
}
popd();
if (!$silent) {
print "$My_name: Change directory back to '", cwd(), "'\n";
}
return $ret;
}
No preview for this file type
......@@ -2,8 +2,6 @@
\usepackage{siunitx} % SI units
\usepackage{amsmath} % nice formulas
\usepackage{pgfplots} % plots und bilder, includes tikz and graphix
\usepackage{pgfplotstable} % fo ruse of tables, csv files are tables
......@@ -18,7 +16,7 @@
\end{tikzpicture}
\begin{tikzpicture}
\pgfplotstableread{../csv/bsp.csv}\data % read file into macro
\pgfplotstableread{../../data/csv/bsp.csv}\data % read file into macro
\begin{axis}[
MyPlots, % custom styling
xlabel=X Achse,
......
No preview for this file type
%% Creator: Inkscape 1.0 (4035a4fb49, 2020-05-01), www.inkscape.org
%% PDF/EPS/PS + LaTeX output extension by Johan Engelen, 2010
%% Accompanies image file 'exampleSVG.pdf' (pdf, eps, ps)
%%
%% To include the image in your LaTeX document, write
%% \input{<filename>.pdf_tex}
%% instead of
%% \includegraphics{<filename>.pdf}
%% To scale the image, write
%% \def\svgwidth{<desired width>}
%% \input{<filename>.pdf_tex}
%% instead of
%% \includegraphics[width=<desired width>]{<filename>.pdf}
%%
%% Images with a different path to the parent latex file can
%% be accessed with the `import' package (which may need to be
%% installed) using
%% \usepackage{import}
%% in the preamble, and then including the image with
%% \import{<path to file>}{<filename>.pdf_tex}
%% Alternatively, one can specify
%% \graphicspath{{<path to file>/}}
%%
%% For more information, please see info/svg-inkscape on CTAN:
%% http://tug.ctan.org/tex-archive/info/svg-inkscape
%%
\begingroup%
\makeatletter%
\providecommand\color[2][]{%
\errmessage{(Inkscape) Color is used for the text in Inkscape, but the package 'color.sty' is not loaded}%
\renewcommand\color[2][]{}%
}%
\providecommand\transparent[1]{%
\errmessage{(Inkscape) Transparency is used (non-zero) for the text in Inkscape, but the package 'transparent.sty' is not loaded}%
\renewcommand\transparent[1]{}%
}%
\providecommand\rotatebox[2]{#2}%
\newcommand*\fsize{\dimexpr\f@size pt\relax}%
\newcommand*\lineheight[1]{\fontsize{\fsize}{#1\fsize}\selectfont}%
\ifx\svgwidth\undefined%
\setlength{\unitlength}{69.07548919bp}%
\ifx\svgscale\undefined%
\relax%
\else%
\setlength{\unitlength}{\unitlength * \real{\svgscale}}%
\fi%
\else%
\setlength{\unitlength}{\svgwidth}%
\fi%
\global\let\svgwidth\undefined%
\global\let\svgscale\undefined%
\makeatother%
\begin{picture}(1,0.50095973)%
\lineheight{1}%
\setlength\tabcolsep{0pt}%
\put(0,0){\includegraphics[width=\unitlength,page=1]{exampleSVG.pdf}}%
\put(0.60542618,0.3725692){\color[rgb]{0,0,0}\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}$Z_1$\end{tabular}}}}%
\put(0.28648163,0.04406763){\color[rgb]{0,0,0}\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}$Z_{1.1}$\end{tabular}}}}%
\put(0.30435055,0.30606594){\color[rgb]{0,0,0}\makebox(0,0)[rt]{\lineheight{1.25}\smash{\begin{tabular}[t]{r}$Z_{1.2}$\end{tabular}}}}%
\end{picture}%
\endgroup%
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
sodipodi:docname="exampleSVG.svg"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
id="svg8"
version="1.1"
viewBox="0 0 24.368297 12.207536"
height="12.207536mm"
width="24.368298mm">
<defs
id="defs2" />
width="24.368298mm"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<sodipodi:namedview
inkscape:document-rotation="0"
inkscape:object-nodes="true"
......@@ -25,21 +23,26 @@
inkscape:object-paths="true"
inkscape:window-maximized="1"
inkscape:window-y="-8"
inkscape:window-x="1912"
inkscape:window-height="1017"
inkscape:window-width="1920"
inkscape:window-x="2552"
inkscape:window-height="1377"
inkscape:window-width="2560"
showgrid="false"
inkscape:current-layer="layer2"
inkscape:document-units="mm"
inkscape:cy="-49.651496"
inkscape:cx="307.94677"
inkscape:zoom="1.4142136"
inkscape:cy="24.837125"
inkscape:cx="99.3485"
inkscape:zoom="5.6568544"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base" />
id="base"
inkscape:showpageshadow="2"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1" />
<defs
id="defs2" />
<metadata
id="metadata5">
<rdf:RDF>
......@@ -59,7 +62,7 @@
inkscape:groupmode="layer"
inkscape:label="Ebene 1" />
<g
transform="translate(-6.3142424,-29.850761)"
transform="translate(-6.31424, -29.8508)"
inkscape:label="Objekt 2"
id="layer2"
inkscape:groupmode="layer">
......@@ -79,17 +82,6 @@
d="m 26.544685,34.280017 -0.212525,0.793157 -0.212394,0.792661 1.586071,-0.424585 z m -8.355326,-1.526192 -0.03438,0.128283 -0.03438,0.128284 8.176176,2.1908 0.06875,-0.256568 z"
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#005500;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
inkscape:connector-curvature="0" />
<text
id="text840"
y="32.97942"
x="21.067448"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:3.175px;line-height:1.25;font-family:Arial;-inkscape-font-specification:'Arial Bold';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
xml:space="preserve"><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Arial;-inkscape-font-specification:Arial;stroke-width:0.264583"
y="32.97942"
x="21.067448"
id="tspan838"
sodipodi:role="line">$Z_1$</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:3.175px;line-height:1.25;font-family:Arial;-inkscape-font-specification:'Arial Bold';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
......@@ -100,18 +92,152 @@
id="tspan842"
x="13.295312"
y="40.984444"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Arial;-inkscape-font-specification:Arial;stroke-width:0.264583">$Z_{1.1}$</tspan></text>
<text
id="text848"
y="34.599991"
x="13.730747"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:3.175px;line-height:1.25;font-family:Arial;-inkscape-font-specification:'Arial Bold';text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
xml:space="preserve"><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Arial;-inkscape-font-specification:Arial;text-align:end;text-anchor:end;stroke-width:0.264583"
y="34.599991"
x="13.730747"
id="tspan846"
sodipodi:role="line">$Z_{1.2}$</tspan></text>
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Arial;-inkscape-font-specification:Arial;stroke-width:0.264583" /></text>
<g
inkscape:label=""
transform="translate(11.58919,38.433503)"
id="g1">
<g
fill="#000000"
fill-opacity="1"
id="g4"
transform="matrix(0.352778,0,0,0.352778,-0.907036,-0.701146)">
<g
id="use3"
transform="translate(1.993,8.8000002)">
<path
d="m 7.171875,-6.5625 c 0.015625,-0.046875 0.03125,-0.09375 0.03125,-0.15625 0,-0.09375 -0.046875,-0.09375 -0.25,-0.09375 H 2.75 c -0.234375,0 -0.25,0.015625 -0.3125,0.203125 L 1.890625,-4.8125 c -0.015625,0.046875 -0.03125,0.125 -0.03125,0.140625 0,0 0,0.109375 0.125,0.109375 0.09375,0 0.109375,-0.078125 0.125,-0.109375 C 2.5,-5.84375 3.015625,-6.5 4.5625,-6.5 h 1.625 L 0.625,-0.265625 c 0,0 -0.046875,0.140625 -0.046875,0.171875 C 0.578125,0 0.640625,0 0.828125,0 H 5.15625 c 0.25,0 0.25,-0.015625 0.3125,-0.203125 L 6.1875,-2.40625 c 0,-0.03125 0.03125,-0.109375 0.03125,-0.140625 0,-0.0625 -0.03125,-0.109375 -0.125,-0.109375 -0.09375,0 -0.109375,0.03125 -0.171875,0.25 C 5.484375,-1.0625 5,-0.34375 3.3125,-0.34375 H 1.609375 Z m 0,0"
id="path7" />
</g>
</g>
<g
fill="#000000"
fill-opacity="1"
id="g5"
transform="matrix(0.352778,0,0,0.352778,-0.907036,-0.701146)">
<g
id="use4"
transform="translate(8.7930002,10.294)">
<path
d="m 2.328125,-4.4375 c 0,-0.1875 0,-0.1875 -0.203125,-0.1875 -0.453125,0.4375 -1.078125,0.4375 -1.359375,0.4375 v 0.25 c 0.15625,0 0.625,0 1,-0.1875 v 3.546875 c 0,0.234375 0,0.328125 -0.6875,0.328125 H 0.8125 V 0 c 0.125,0 0.984375,-0.03125 1.234375,-0.03125 0.21875,0 1.09375,0.03125 1.25,0.03125 V -0.25 H 3.03125 c -0.703125,0 -0.703125,-0.09375 -0.703125,-0.328125 z m 0,0"
id="path8" />
</g>
</g>
<g
fill="#000000"
fill-opacity="1"
id="g6"
transform="matrix(0.352778,0,0,0.352778,-0.907036,-0.701146)">
<g
id="use5"
transform="translate(12.765,10.294)">
<path
d="m 1.578125,-0.390625 c 0,-0.25 -0.203125,-0.40625 -0.390625,-0.40625 -0.234375,0 -0.40625,0.1875 -0.40625,0.390625 0,0.25 0.203125,0.40625 0.390625,0.40625 0.234375,0 0.40625,-0.1875 0.40625,-0.390625 z m 0,0"
id="path9" />
</g>
</g>
<g
fill="#000000"
fill-opacity="1"
id="g7"
transform="matrix(0.352778,0,0,0.352778,-0.907036,-0.701146)">
<g
id="use6"
transform="translate(15.131,10.294)">
<path
d="m 2.328125,-4.4375 c 0,-0.1875 0,-0.1875 -0.203125,-0.1875 -0.453125,0.4375 -1.078125,0.4375 -1.359375,0.4375 v 0.25 c 0.15625,0 0.625,0 1,-0.1875 v 3.546875 c 0,0.234375 0,0.328125 -0.6875,0.328125 H 0.8125 V 0 c 0.125,0 0.984375,-0.03125 1.234375,-0.03125 0.21875,0 1.09375,0.03125 1.25,0.03125 V -0.25 H 3.03125 c -0.703125,0 -0.703125,-0.09375 -0.703125,-0.328125 z m 0,0"
id="path10" />
</g>
</g>
</g>
<g
inkscape:label=""
transform="translate(7.7174077,32.117971)"
id="g14">
<g
fill="#000000"
fill-opacity="1"
id="g3"
transform="matrix(0.352778,0,0,0.352778,-0.907036,-0.701146)">
<g
id="g2"
transform="translate(1.993,8.8000002)">
<path
d="m 7.171875,-6.5625 c 0.015625,-0.046875 0.03125,-0.09375 0.03125,-0.15625 0,-0.09375 -0.046875,-0.09375 -0.25,-0.09375 H 2.75 c -0.234375,0 -0.25,0.015625 -0.3125,0.203125 L 1.890625,-4.8125 c -0.015625,0.046875 -0.03125,0.125 -0.03125,0.140625 0,0 0,0.109375 0.125,0.109375 0.09375,0 0.109375,-0.078125 0.125,-0.109375 C 2.5,-5.84375 3.015625,-6.5 4.5625,-6.5 h 1.625 L 0.625,-0.265625 c 0,0 -0.046875,0.140625 -0.046875,0.171875 C 0.578125,0 0.640625,0 0.828125,0 H 5.15625 c 0.25,0 0.25,-0.015625 0.3125,-0.203125 L 6.1875,-2.40625 c 0,-0.03125 0.03125,-0.109375 0.03125,-0.140625 0,-0.0625 -0.03125,-0.109375 -0.125,-0.109375 -0.09375,0 -0.109375,0.03125 -0.171875,0.25 C 5.484375,-1.0625 5,-0.34375 3.3125,-0.34375 H 1.609375 Z m 0,0"
id="path1" />
</g>
</g>
<g
fill="#000000"
fill-opacity="1"
id="g9"
transform="matrix(0.352778,0,0,0.352778,-0.907036,-0.701146)">
<g
id="g8"
transform="translate(8.7930002,10.294)">
<path
d="m 2.328125,-4.4375 c 0,-0.1875 0,-0.1875 -0.203125,-0.1875 -0.453125,0.4375 -1.078125,0.4375 -1.359375,0.4375 v 0.25 c 0.15625,0 0.625,0 1,-0.1875 v 3.546875 c 0,0.234375 0,0.328125 -0.6875,0.328125 H 0.8125 V 0 c 0.125,0 0.984375,-0.03125 1.234375,-0.03125 0.21875,0 1.09375,0.03125 1.25,0.03125 V -0.25 H 3.03125 c -0.703125,0 -0.703125,-0.09375 -0.703125,-0.328125 z m 0,0"
id="path3" />
</g>
</g>
<g
fill="#000000"
fill-opacity="1"
id="g12"
transform="matrix(0.352778,0,0,0.352778,-0.907036,-0.701146)">
<g
id="g11"
transform="translate(12.765,10.294)">
<path
d="m 1.578125,-0.390625 c 0,-0.25 -0.203125,-0.40625 -0.390625,-0.40625 -0.234375,0 -0.40625,0.1875 -0.40625,0.390625 0,0.25 0.203125,0.40625 0.390625,0.40625 0.234375,0 0.40625,-0.1875 0.40625,-0.390625 z m 0,0"
id="path11" />
</g>
</g>
<g
fill="#000000"
fill-opacity="1"
id="g13"
transform="matrix(0.352778,0,0,0.352778,-0.907036,-0.701146)">
<g
id="use7"
transform="translate(15.131,10.294)">
<path
d="M 3.515625,-1.265625 H 3.28125 c -0.015625,0.15625 -0.09375,0.5625 -0.1875,0.625 C 3.046875,-0.59375 2.515625,-0.59375 2.40625,-0.59375 H 1.125 c 0.734375,-0.640625 0.984375,-0.84375 1.390625,-1.171875 0.515625,-0.40625 1,-0.84375 1,-1.5 0,-0.84375 -0.734375,-1.359375 -1.625,-1.359375 -0.859375,0 -1.453125,0.609375 -1.453125,1.25 0,0.34375 0.296875,0.390625 0.375,0.390625 0.15625,0 0.359375,-0.125 0.359375,-0.375 0,-0.125 -0.046875,-0.375 -0.40625,-0.375 C 0.984375,-4.21875 1.453125,-4.375 1.78125,-4.375 c 0.703125,0 1.0625,0.546875 1.0625,1.109375 0,0.609375 -0.4375,1.078125 -0.65625,1.328125 L 0.515625,-0.265625 C 0.4375,-0.203125 0.4375,-0.1875 0.4375,0 h 2.875 z m 0,0"
id="path12" />
</g>
</g>
</g>
<g
inkscape:label=""
transform="translate(21.234215,30.652796)"
id="g18">
<g
fill="#000000"
fill-opacity="1"
id="g15"
transform="matrix(0.352778,0,0,0.352778,-0.907036,-0.701146)">
<g
id="use2"
transform="translate(1.993,8.8000002)">
<path
d="m 7.171875,-6.5625 c 0.015625,-0.046875 0.03125,-0.09375 0.03125,-0.15625 0,-0.09375 -0.046875,-0.09375 -0.25,-0.09375 H 2.75 c -0.234375,0 -0.25,0.015625 -0.3125,0.203125 L 1.890625,-4.8125 c -0.015625,0.046875 -0.03125,0.125 -0.03125,0.140625 0,0 0,0.109375 0.125,0.109375 0.09375,0 0.109375,-0.078125 0.125,-0.109375 C 2.5,-5.84375 3.015625,-6.5 4.5625,-6.5 h 1.625 L 0.625,-0.265625 c 0,0 -0.046875,0.140625 -0.046875,0.171875 C 0.578125,0 0.640625,0 0.828125,0 H 5.15625 c 0.25,0 0.25,-0.015625 0.3125,-0.203125 L 6.1875,-2.40625 c 0,-0.03125 0.03125,-0.109375 0.03125,-0.140625 0,-0.0625 -0.03125,-0.109375 -0.125,-0.109375 -0.09375,0 -0.109375,0.03125 -0.171875,0.25 C 5.484375,-1.0625 5,-0.34375 3.3125,-0.34375 H 1.609375 Z m 0,0"
id="path4" />
</g>
</g>
<g
fill="#000000"
fill-opacity="1"
id="g17"
transform="matrix(0.352778,0,0,0.352778,-0.907036,-0.701146)">
<g
id="g16"
transform="translate(8.7930002,10.294)">
<path
d="m 2.328125,-4.4375 c 0,-0.1875 0,-0.1875 -0.203125,-0.1875 -0.453125,0.4375 -1.078125,0.4375 -1.359375,0.4375 v 0.25 c 0.15625,0 0.625,0 1,-0.1875 v 3.546875 c 0,0.234375 0,0.328125 -0.6875,0.328125 H 0.8125 V 0 c 0.125,0 0.984375,-0.03125 1.234375,-0.03125 0.21875,0 1.09375,0.03125 1.25,0.03125 V -0.25 H 3.03125 c -0.703125,0 -0.703125,-0.09375 -0.703125,-0.328125 z m 0,0"
id="path5" />
</g>
</g>
</g>
</g>
<g
transform="translate(-11.131775,-31.878105)"
......
......@@ -17,7 +17,7 @@
\sisetup{
tight-spacing=true,
per-mode=symbol,
scientific-notation=engineering,
exponent-mode=engineering,
%exponent-to-prefix, % use this instead of sci-notatio
round-mode = places, % round numbers
round-precision = 3, % to 3 places
......
......@@ -872,6 +872,7 @@ http://www.latex-project.org/lppl.txt
% \begin{macrocode}
\RequirePackage[hidelinks]{hyperref} % must load before `bookmarks'
\RequirePackage{bookmark}
%<*!standalone>
\AtBeginDocument{
\hypersetup{
pdfinfo={
......@@ -882,6 +883,7 @@ http://www.latex-project.org/lppl.txt
}
}
}
%</!standalone>
% \end{macrocode}
%
% The \pkg{todonotes} package is greate for anotation, but extremly expensive on
......
No preview for this file type
......@@ -107,16 +107,6 @@
\iflanguage{ngerman}{\RequirePackage{ziffer}}{}
\RequirePackage[hidelinks]{hyperref} % must load before `bookmarks'
\RequirePackage{bookmark}
\AtBeginDocument{
\hypersetup{
pdfinfo={
Title={\@title},
Author={\@author},
Subject={\@subject},
Keywords={\@keywords}
}
}
}
\if@todos
\PassOptionsToPackage{
textsize=small,
......
No preview for this file type
......@@ -63,6 +63,16 @@
\end{itemize}
\end{itemize}
\begin{figure}
\includegraphics[scale=1]{img/svg/exampleSVG.pdf}
\caption{A SVG-image created with Inkscape}
\end{figure}
\begin{figure}
\includegraphics[scale=1]{img/plt/examplePlot.pdf}
\caption{A Plot created as a subfile using pgfplots and standalone}
\end{figure}
\section{superlong and elaborat title that will spand multiple lines, as it is just to big}
\lipsum[12-13]
\smallskip
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment