Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Org PDF LaTeX Output fails #9

Open
fiatisdead opened this issue Jul 14, 2022 · 1 comment
Open

Org PDF LaTeX Output fails #9

fiatisdead opened this issue Jul 14, 2022 · 1 comment

Comments

@fiatisdead
Copy link

OS: Windows 10
emacs version 28.1
org-version = 9.5.4

  1. Extract org-thesis-master
  2. copy mimosis.cls and bibliography-mimosis.tex to the extracted org-thesis-master folder
  3. C-c C-e l o
(c:/texlive/2022/texmf-dist/tex/latex/biblatex/bbx/authoryear.bbx
(c:/texlive/2022/texmf-dist/tex/latex/biblatex/bbx/standard.bbx)))
(c:/texlive/2022/texmf-dist/tex/latex/biblatex/cbx/authoryear-comp.cbx)
(c:/texlive/2022/texmf-dist/tex/latex/biblatex/biblatex.cfg)
(c:/texlive/2022/texmf-dist/tex/latex/biblatex/blx-case-expl3.sty))
(./bibliography-mimosis.tex)
(c:/texlive/2022/texmf-dist/tex/latex/quattrocento/quattrocento.sty
(c:/texlive/2022/texmf-dist/tex/generic/iftex/ifxetex.sty)
(c:/texlive/2022/texmf-dist/tex/generic/iftex/ifluatex.sty)
(c:/texlive/2022/texmf-dist/tex/latex/base/textcomp.sty)
(c:/texlive/2022/texmf-dist/tex/latex/base/fontenc.sty)
(c:/texlive/2022/texmf-dist/tex/latex/fontaxes/fontaxes.sty))
(c:/texlive/texmf-local/tex/latex/MinionPro/MinionPro.sty
(c:/texlive/texmf-local/tex/latex/MinionPro/MinionPro-FontDef.sty
(c:/texlive/texmf-local/tex/latex/MinionPro/otfontdef.sty)
(c:/texlive/2022/texmf-dist/tex/generic/fltpoint/fltpoint.sty
(c:/texlive/2022/texmf-dist/tex/generic/fltpoint/fltpoint.tex)))
(c:/texlive/2022/texmf-dist/tex/latex/mnsymbol/MnSymbol.sty
(c:/texlive/2022/texmf-dist/tex/latex/amsfonts/eufrak.sty))
(c:/texlive/texmf-local/tex/latex/MinionPro/T1MinionPro-OsF.fd
(c:/texlive/texmf-local/tex/latex/MinionPro/MinionPro-FontDef.sty)))
(c:/texlive/2022/texmf-dist/tex/latex/sourcecodepro/sourcecodepro.sty
(c:/texlive/2022/texmf-dist/tex/latex/base/fontenc.sty
(c:/texlive/2022/texmf-dist/tex/latex/ly1/ly1enc.def
(c:/texlive/2022/texmf-dist/tex/latex/base/ly1enc.dfu))))
(c:/texlive/2022/texmf-dist/tex/latex/floatrow/floatrow.sty)
(c:/texlive/2022/texmf-dist/tex/latex/listings/listings.sty
(c:/texlive/2022/texmf-dist/tex/latex/listings/lstmisc.sty)
(c:/texlive/2022/texmf-dist/tex/latex/listings/listings.cfg))
(c:/texlive/2022/texmf-dist/tex/latex/minted/minted.sty
(c:/texlive/2022/texmf-dist/tex/latex/fvextra/fvextra.sty
(c:/texlive/2022/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty)
(c:/texlive/2022/texmf-dist/tex/latex/upquote/upquote.sty)
(c:/texlive/2022/texmf-dist/tex/latex/lineno/lineno.sty))
(c:/texlive/2022/texmf-dist/tex/latex/tools/calc.sty)
(c:/texlive/2022/texmf-dist/tex/latex/tools/shellesc.sty)
(c:/texlive/2022/texmf-dist/tex/latex/ifplatform/ifplatform.sty
(c:/texlive/2022/texmf-dist/tex/generic/catchfile/catchfile.sty)

Package ifplatform Warning: 
    shell escape is disabled, so I can only detect \ifwindows.

) (c:/texlive/2022/texmf-dist/tex/generic/xstring/xstring.sty
(c:/texlive/2022/texmf-dist/tex/generic/xstring/xstring.tex))
(c:/texlive/2022/texmf-dist/tex/latex/framed/framed.sty))

! Package minted Error: You must invoke LaTeX with the -shell-escape flag.

See the minted package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.66 \setminted
               {autogobble=true,fontsize=\small,baselinestretch=0.8}
(c:/texlive/2022/texmf-dist/tex/latex/koma-script/scrhack.sty
(c:/texlive/2022/texmf-dist/tex/latex/koma-script/floatrow.hak)
(c:/texlive/2022/texmf-dist/tex/latex/koma-script/listings.hak)
(c:/texlive/2022/texmf-dist/tex/latex/koma-script/setspace.hak))
(c:/texlive/2022/texmf-dist/tex/latex/csquotes/csquotes.sty
(c:/texlive/2022/texmf-dist/tex/latex/csquotes/csquotes.def)
(c:/texlive/2022/texmf-dist/tex/latex/csquotes/csquotes.cfg))
! Emergency stop.
<read 5> 
         
l.97 \begin{document}
                     ^^M
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on .//thesis.log.

Really unsure as to what is going on here. My LaTeX knowledge is limited.

@dangom
Copy link
Owner

dangom commented Jul 14, 2022

Interesting. Are you evaluating what's on org-init.el?
Could you check that org-latex-pdf-process is correctly set to '("latexmk -pdflatex='pdflatex -shell-escape -interaction nonstopmode' -pdf -bibtex -f %f"))?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants