-
Notifications
You must be signed in to change notification settings - Fork 771
Open
Description
Expected Behavior
make pdfgenerates pdf file normally.
Actual Behavior
make pdffails with the following error.
$ make pdf
mkdir -p output
PANDOC_VERSION=`pandoc --version | head -1 | cut -d' ' -f2 | cut -d'.' -f1`; \
if [ "$PANDOC_VERSION" -eq "2" ]; then \
SMART=-smart; \
else \
SMART=--smart; \
fi \
for f in markdown/*.md; do \
FILE_NAME=`basename $f | sed 's/.md//g'`; \
echo $FILE_NAME.pdf; \
pandoc --standalone --template styles/chmduquesne.tex \
--from markdown --to context \
--variable papersize=A4 \
--output output/$FILE_NAME.tex $f > /dev/null; \
mtxrun --path=output --result=$FILE_NAME.pdf --script context $FILE_NAME.tex > output/context_$FILE_NAME.log 2>&1; \
done
resume.pdf
make: *** [Makefile:9: pdf] Error 1
- The log shows 'context.lua' or 'mtx-context.lua' cannot be found.
$ cat output/context_resume.log
mtxrun | unknown script 'context.lua' or 'mtx-context.lua'```
- Runing
mtxrun --generatecommand guided in README.md didn't resolve the issue. - Other commands such as
make html,make docxandmake rtfworks as expected. (Generates output files without error)
Steps to reproduce the behavior
- Install Fedora 34 Workstation
- git clone https://github.com/mszep/pandoc_resume
- cd pandoc_resume
- sudo dnf install pandoc texlive-collection-context
- make pdf
Versions
$ context --version
mtx-context | ConTeXt Process Management 1.03
mtx-context |
mtx-context | main context file: /usr/share/texlive/texmf-dist/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2020.03.10 14:44
mtx-context | main context file: /usr/share/texlive/texmf-dist/tex/context/base/mkiv/context.mkxl
mtx-context | current version: 2020.03.10 14:44
$ pandoc --version
pandoc 2.9.2.1
Compiled with pandoc-types 1.20, texmath 0.12.0.2, skylighting 0.8.5
Default user data directory: /home/yuokada/.local/share/pandoc or /home/yuokada/.pandoc
Copyright (C) 2006-2020 John MacFarlane
Web: https://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.
$ rpm -qa | grep -e pandoc -e texlive-collection-context
pandoc-common-2.9.2.1-9.fc34.noarch
texlive-collection-context-svn54074-38.fc34.noarch
pandoc-2.9.2.1-9.fc34.x86_64
$ cat /etc/os-release
NAME=Fedora
VERSION="34 (Workstation Edition)"
ID=fedora
VERSION_ID=34
VERSION_CODENAME=""
PLATFORM_ID="platform:f34"
PRETTY_NAME="Fedora 34 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:34"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/34/system-administrators-guide/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=34
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=34
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Workstation Edition"
VARIANT_ID=workstation
Metadata
Metadata
Assignees
Labels
No labels