Git Product home page Git Product logo

Comments (8)

moemode avatar moemode commented on June 1, 2024

Same problem with https://github.com/a-nau/latex-devcontainer.

from scientific-thesis-template.

koppor avatar koppor commented on June 1, 2024

Googling found MiKTeX/miktex-packaging#210 and from that, I found MiKTeX/miktex-packaging#209 (comment). -- Maybe, it is a packaging error in TeXLive...

I currently don't have time to investigate more. Would be nice if you could try with the Docker image from https://gitlab.com/islandoftex/images/texlive#tex-live-docker-image.

from scientific-thesis-template.

moemode avatar moemode commented on June 1, 2024

Thanks for your response i tried copying the contents of the enc folder into the enc folder of the distribution.
But it did not resolve the issue. In the enc folder the filenames also do not resemble the offending font. It rather seems to be about the tfm directory.

Using the following command i can see that the font file is actually there but not found.
root@6ad9783a73c1:/usr/local/texlive/2023/texmf-dist/fonts# find -type f -name "ntx-Regular-tlf-t1*" ./tfm/public/newtx/ntx-Regular-tlf-t1.tfm

I also tried copying all files from the tfm subfolder in newtx.zip to "/usr/local/texlive/2023/texmf-dist/fonts/tfm/newtx" (instead of public)
To refresh file name database and font map files i ran
mktexlsr
updmap-sys
Are these even correct?

from scientific-thesis-template.

moemode avatar moemode commented on June 1, 2024

I now tried with the image from islandoftex. Same errors. By the way i also have to comment out the following in config.tex using any of the three images.

%\usepackage{epstopdf}
%\epstopdfDeclareGraphicsRule{.svg}{pdf}{.pdf}{%
% inkscape -z -D --file=#1 --export-pdf=\OutputFile
%}

Otherwise i get the following error before the font errors come up.

(/usr/local/texlive/2023/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
Package epstopdf Warning: Drivers other than `pdftex' and `luatex' are not supp
orted.
))
! Undefined control sequence.
<recently read> \epstopdfDeclareGraphicsRule                                         
l.381 \epstopdfDeclareGraphicsRule
                                  {.svg}{pdf}{.pdf}{%
? 

Is there any known good image compatible with the template?

from scientific-thesis-template.

koppor avatar koppor commented on June 1, 2024

Is there any known good image compatible with the template?

.pdf always works.

As a quick fix, I can remove svg conversion support. - One could also switch to the svg package

from scientific-thesis-template.

moemode avatar moemode commented on June 1, 2024

Sorry i am confused about your last comment. What does

.pdf always works.

mean?

from scientific-thesis-template.

koppor avatar koppor commented on June 1, 2024

Sorry i am confused about your last comment. What does

.pdf always works.

mean?

\includegraphics{test.pdf}

Works for graphics inclusion. You need to crop the PDF to have the right image size (no white margin etc)


Maybe, I understood your question wrong.

Is there any known good image compatible with the template?

I understood that you wanted to ask for an image format compatible with the template.

See https://tex.stackexchange.com/a/39446/9075 for an MWE

from scientific-thesis-template.

moemode avatar moemode commented on June 1, 2024

Hey,
thanks for getting back. Yes that is a misunderstanding.
I was asking about a docker image / other distribution which can compile the template.
As outlined above compilation failed with the three texlive based images i tried, including the islandoftext one.

from scientific-thesis-template.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.