Skip to content
Snippets Groups Projects
Commit 9574dfb6 authored by tuhe's avatar tuhe
Browse files

Citation script fix after port from coursebox

parent 09517bca
Branches
No related tags found
No related merge requests found
This is pdfTeX, Version 3.141592653-2.6-1.40.23 (MiKTeX 21.8) (preloaded format=pdflatex 2021.9.3) 4 SEP 2021 21:25
This is pdfTeX, Version 3.141592653-2.6-1.40.23 (MiKTeX 21.8) (preloaded format=pdflatex 2021.9.3) 5 SEP 2021 00:02
entering extended mode
**./index.tex
(index.tex
......@@ -967,14 +967,14 @@ File: umsb.fd 2013/01/14 v3.01 AMS symbols B
<br.pdf, id=15, 279.0425pt x 200.75pt>
File: br.pdf Graphic file (type pdf)
<use br.pdf>
Package pdftex.def Info: br.pdf used on input line 53.
Package pdftex.def Info: br.pdf used on input line 52.
(pdftex.def) Requested size: 312.00119pt x 224.4678pt.
(index.bbl) [1{C:/Users/tuhe/AppData/Local/MiKTeX/pdftex/config/pdftex.map}pdf
TeX warning (ext4): destination with the same identifier (name{figure.1}) has b
een already used, duplicate ignored
<argument> ...shipout:D \box_use:N \l_shipout_box
\__shipout_drop_firstpage_...
l.60 \end{document}
l.59 \end{document}
<./br.pdf>] (index.aux)
......@@ -984,7 +984,7 @@ Package rerunfilecheck Info: File `index.out' has not changed.
Here is how much of TeX's memory you used:
26046 strings out of 478927
486761 string characters out of 2862359
824814 words of memory out of 3000000
824811 words of memory out of 3000000
43413 multiletter control sequences out of 15000+600000
410343 words of font info for 54 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
......@@ -992,7 +992,7 @@ Here is how much of TeX's memory you used:
<C:/Program Files/MiKTeX/fonts/type1/public/amsfonts/cm/cmbx12.pfb><C:/Progra
m Files/MiKTeX/fonts/type1/public/amsfonts/cm/cmr12.pfb><C:/Program Files/MiKTe
X/fonts/type1/public/amsfonts/cm/cmti12.pfb>
Output written on index.pdf (1 page, 71031 bytes).
Output written on index.pdf (1 page, 71029 bytes).
PDF statistics:
86 PDF objects out of 1000 (max. 8388607)
9 named destinations out of 1000 (max. 500000)
......
No preview for this file type
No preview for this file type
......@@ -43,7 +43,7 @@
\begin{document}
\section{First section}\label{sec1}.
\section{First section}\label{sec1}
Math is hard \cite{bertsekasII,rosolia2018data,herlau} as can also be seen from \cref{eq1} and from \cref{fig1}.
\begin{equation}
2+2 = 4 \label{eq1}
......
......@@ -14,7 +14,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
setuptools.setup(
name="codesnipper",
version="0.0.1",
version="0.0.2",
author="Tue Herlau",
author_email="tuhe@dtu.dk",
description="A lightweight framework for censoring student solutions files and extracting code + output",
......@@ -33,5 +33,5 @@ setuptools.setup(
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
python_requires=">=3.8",
install_requires=pkg_resources.parse_requirements('requirements.txt'),
install_requires=['pexpect', 'wexpect', 'pybtex'],
)
import os
import io
from coursebox.core.info_paths import get_paths
# from coursebox.core.info_paths import get_paths
from pybtex import plugin
from pybtex.database.input import bibtex
......@@ -204,7 +204,8 @@ def get_references(bibfile, gi):
def parse_aux(auxfile, bibtex=None):
paths = get_paths()
# paths = get_paths()
paths = {}
auxfile = os.path.join(paths['02450public'], auxfile)
if not os.path.exists(auxfile):
print(auxfile)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment