Git Product home page Git Product logo

texlive-ja's Issues

How to compile .tex with unicode chars when attach ./docs/ to .workdir/?

I'm satisfied with my ./manuscript.tex is compiled correctly with command
docker-compose run --rm latexmk manuscript.tex

But I want to move *.tex and *.pdf into ./docs/ next.

I tried the procedures below but compilation failed finally.

My trial

Move manuscript

mkdir docs
mv .manuscript.tex ./docs

Edit docker-compose.yml

  volumes:
-    - './:/workdir'
+   - './docs/:/workdir

Rebuild docker-compose

docker-compose up -d

Compile .tex

docker-compose run --rm latexmk manuscript.tex

Support ARM

  • 64bit ARM64 (I have M1 Mac)
  • 32bit ARMvX (I have Raspberry PI 4)

How to watch .tex files?

Thanks to the answer to #2, I managed to set workflow using latexmk up.

I tried to watch *.tex file update using -pvc option,
but it failed because acroread is not installed to the Docker image.

Would you tell me how can I install acroread to the image?

Thanks,

Do fontconfig-dev and freetype-dev needed?

The size difference between debian and alpine is mainly due to fontconfig-dev and freetype-dev.
I assume this difference can be shrunk. TeX Live does usually not require any dev packages and dev packages are large in debian.

(Investigated with https://github.com/wagoodman/dive)

Debian

スクリーンショット 2021-10-06 23 56 46

Alpine

スクリーンショット 2021-10-06 23 58 09

Debian without dev packages

スクリーンショット 2021-10-07 0 14 22

Alpine without dev packages

スクリーンショット 2021-10-07 0 19 03

Sizes

REPOSITORY                                      TAG             IMAGE ID       CREATED         SIZE
texlive-ja-debian                               latest          5de04b0ec948   9 hours ago     1.2GB
texlive-ja-alpine                               latest          f64403c05737   9 hours ago     1.05GB
texlive-ja-debian-2                             latest          7ce6aff728eb   7 minutes ago   1.12GB
texlive-ja-alpine-2                             latest          5c2e89f28d1c   2 minutes ago   1.04GB

tlmgr fails

Hi, your image was working perfect until recently, but now tlmgr fails with the following error:

tlmgr install fontawesome multibib

tlmgr: Remote repository is newer than local (2018 < 2019)
Cross release updates are only supported with
  update-tlmgr-latest(.sh/.exe) --update
Please see https://tug.org/texlive/upgrade.html for details.
Exited with code 1

I guess it's because TeX Live 2019 has been released?

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

dockerfile
alpine/Dockerfile
  • alpine 3.20.2@sha256:0a4eaa0eecf5f8c050e5bba433f58c052be7587ee8af3e8b3910ef9ab5fbe9f5
  • alpine 3.20.2@sha256:0a4eaa0eecf5f8c050e5bba433f58c052be7587ee8af3e8b3910ef9ab5fbe9f5
debian/Dockerfile
  • debian 12.6-slim@sha256:5f7d5664eae4a192c2d2d6cb67fc3f3c7891a8722cd2903cc35aa649a12b0c8d
  • debian 12.6-slim@sha256:5f7d5664eae4a192c2d2d6cb67fc3f3c7891a8722cd2903cc35aa649a12b0c8d
github-actions
.github/actions/build/action.yml
  • docker/setup-qemu-action v3.2.0@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf
  • docker/setup-buildx-action v3.6.1@988b5a0280414f521da01fcc63a27aeeb4b104db
  • docker/build-push-action v6.6.1@16ebe778df0e7752d2cfcbd924afdbbd89c1a755
.github/workflows/build-latest.yml
  • actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
  • docker/login-action v3.3.0@9780b0c442fbb1117ed29e0efdff1e18412f7567
  • docker/login-action v3.3.0@9780b0c442fbb1117ed29e0efdff1e18412f7567
  • actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
  • docker/login-action v3.3.0@9780b0c442fbb1117ed29e0efdff1e18412f7567
  • docker/login-action v3.3.0@9780b0c442fbb1117ed29e0efdff1e18412f7567
.github/workflows/build-pr.yml
  • actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
  • actions/upload-artifact v4.3.6@834a144ee995460fba8ed112a2fc961b36a5ec5a
  • actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
  • actions/upload-artifact v4.3.6@834a144ee995460fba8ed112a2fc961b36a5ec5a
  • actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
.github/workflows/build-tag.yml
  • actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
  • docker/login-action v3.3.0@9780b0c442fbb1117ed29e0efdff1e18412f7567
  • docker/login-action v3.3.0@9780b0c442fbb1117ed29e0efdff1e18412f7567
  • actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
  • docker/login-action v3.3.0@9780b0c442fbb1117ed29e0efdff1e18412f7567
  • docker/login-action v3.3.0@9780b0c442fbb1117ed29e0efdff1e18412f7567

  • Check this box to trigger a request for Renovate to run again on this repository

How to open PDF when succeed to build

Thank you for developing a great container. It worked and a pdf file was created.
But would you tell me how can I open the pdf file from docker image (I'm a novice of Docker, so excuse me for asking a stupid question)?

I compiled example.tex from a shell script like

platex example
pbibtex example
platex example
platex example
dvipdfmx example
open example.pdf.

The last command containing open command fails because the command did not work in the docker image.

What command should I use to open a file in the image?
I found a word linux in the Dockerfile, so I tested

  • xgd-open
  • evince-open
  • gnome-open
  • etc...
    but none of them worked.

Failed generate pdf with eps file as image file.

HI, this is noe. I use it with write paper with latex.
I saw this error when I use .eps file in latex.

latex-test-latex-1  | Running 'dvipdfmx  -o "template.pdf" "template.dvi"'
latex-test-latex-1  | ------------
latex-test-latex-1  | template.dvi -> template.pdf
latex-test-latex-1  | [1][2][3][4][5][6
latex-test-latex-1  | dvipdfmx:warning: Could not open conversion result "/tmp/dvipdfm-x.5884038f1a3641531dc1e7b804bdf7dd" for image "./sampleimage.eps". Why?
latex-test-latex-1  | dvipdfmx:fatal: Image inclusion failed for "sampleimage.eps" (page=1).

This seems to be an error caused by ghostscript not being installed on debian or alpine. (If I installed ghostscript in docker container, this problem was solved).

When writing a paper, eps files are minor, but sometimes used.
In this case, can I ask you to add the installation of ghostscript? Or should we customize our own Dockerfile and install it additionally?

Have a nice day!

XeLaTeX not working

Hi!

It seems xelatex is missing some librairies in this image:

bash-4.4# xelatex -help
Error loading shared library libfontconfig.so.1: No such file or directory (needed by /usr/local/texlive/2018/bin/x86_64-linuxmusl/xelatex)
Error loading shared library libfreetype.so.6: No such file or directory (needed by /usr/local/texlive/2018/bin/x86_64-linuxmusl/xelatex)
Error relocating /usr/local/texlive/2018/bin/x86_64-linuxmusl/xelatex: FcPatternDestroy: symbol not found
Error relocating /usr/local/texlive/2018/bin/x86_64-linuxmusl/xelatex: FcObjectSetDestroy: symbol not found
Error relocating /usr/local/texlive/2018/bin/x86_64-linuxmusl/xelatex: FcConfigGetCurrent: symbol not found
Error relocating /usr/local/texlive/2018/bin/x86_64-linuxmusl/xelatex: FcGetVersion: symbol not found
Error relocating /usr/local/texlive/2018/bin/x86_64-linuxmusl/xelatex: FcPatternGetString: symbol not found
Error relocating /usr/local/texlive/2018/bin/x86_64-linuxmusl/xelatex: FcPatternGetInteger: symbol not found
Error relocating /usr/local/texlive/2018/bin/x86_64-linuxmusl/xelatex: FcFontList: symbol not found
Error relocating /usr/local/texlive/2018/bin/x86_64-linuxmusl/xelatex: FcObjectSetBuild: symbol not found
Error relocating /usr/local/texlive/2018/bin/x86_64-linuxmusl/xelatex: FcInit: symbol not found
Error relocating /usr/local/texlive/2018/bin/x86_64-linuxmusl/xelatex: FcNameParse: symbol not found

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.