InsideDarkWeb.com

PDF generation issue

I am using LaTeX inside a Docker container to generate a PDF. As per the result the PDF generates successfully. But making targets did not complete. The error is as below.

enter image description here

My dockerFile is as follows.

FROM python:3
ADD pdf-generator.py /
RUN pip install boto3
RUN pip install sqs-polling
RUN pip install PyMySQL
RUN pip install PyLaTeX
RUN pip install pdflatex
# RUN pip install latexmk.py

RUN apt-get update 
    && apt-get install -y 
    texlive-full 
    biber 
    latexmk 
    && apt-get clean 
    && rm -rf /var/lib/apt/lists/*

CMD [ "python","-u","./pdf-generator.py" ]

My code is as follows.

with open(texFile) as file:
    tex= file.read()
# Generate PDF here
doc = Document('output')
doc.append(NoEscape(tex))
doc.packages.append(Package('graphicx'))
doc.generate_pdf(clean_tex=False)

Can someone help me with this issue?

TeX - LaTeX Asked on November 14, 2021

0 Answers

Add your own answers!

Related Questions

Vertical Alignment & Text Wrapping using Multirow

2  Asked on December 24, 2020 by qureshi

 

What is the easiest way to modify catcodes in a string?

3  Asked on December 24, 2020 by michal-le-barbier

     

How does one type Chinese in LaTeX?

6  Asked on December 23, 2020 by 805801

       

how to make a certain type of matrix

2  Asked on December 23, 2020 by t-l-thnh

 

How to specify this font in beamer?

0  Asked on December 23, 2020 by hengxin

         

Use custom font for numbers in linguex examples

2  Asked on December 23, 2020 by venkat

       

How to cite an online lecture in MLA?

1  Asked on December 23, 2020 by george-tian

       

questions about TeX expansion

2  Asked on December 23, 2020

   

How in the chapter first page the left header title page?

0  Asked on December 23, 2020 by h-gorbanzad

 

How to expand rightmark?

1  Asked on December 23, 2020 by facetus

     

Hyperref does not work in autart.cls

1  Asked on December 23, 2020 by sajad-pourali

 

Glossary: Acronym appears totally arbitrarily

0  Asked on December 23, 2020 by ph_gg

 

Ask a Question

Get help from others!

© 2021 InsideDarkWeb.com. All rights reserved.