Code Monkey home page Code Monkey logo

Comments (6)

bavovanachte avatar bavovanachte commented on June 2, 2024

Hi @oholimoli , do you have more details? An error log from latex perhaps? Or a minimal example that reproduces the issue?

from sphinx-wavedrom.

oholimoli avatar oholimoli commented on June 2, 2024

The std_out of make latexpdf stops at the message: "writing ..." my timeout is 120sec. Sorry for not posting a complete example. Has latexpdf been working?

I will add a minimal example the next days.

from sphinx-wavedrom.

bavovanachte avatar bavovanachte commented on June 2, 2024

No worries. Yes, latexpdf is included in the CI pipelines, so tested regularly (it's failing for py3.10, but that's a wavedrompy issue).

How are you configuring the plugin? If you're not applying any configuration, the html build will use browser-rendered (js) images and the pdf will use wavedrom-cli. If that's the case, you might be facing the same issue as #43 (i.e. npx is waiting for user input and blocking the execution)

from sphinx-wavedrom.

oholimoli avatar oholimoli commented on June 2, 2024

I captured the output. I will try to install the missing font. @bavovanachte do you know which fonts are needed? Not sure if other fonts are missing too. I'm currently only running a minimal example.

! LaTeX Error: File `tgtermes.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: ^C! Interruption.

from sphinx-wavedrom.

oholimoli avatar oholimoli commented on June 2, 2024

In order to solve the problem with the missing fonts I made a new Docker image based on: sphinxdoc/sphinx-latexpdf:4.4.0. It has python 3.10 :(. It looks like I am stuck with this problem now. I will wait until this issue is resolved.

This is the error I get now:

Extension error:
Could not import extension sphinxcontrib.wavedrom (exception: cannot import name 'Mapping' from 'collections' (/usr/local/lib/python3.10/collections/__init__.py))
make: *** [Makefile:20: html] Error 2

from sphinx-wavedrom.

bavovanachte avatar bavovanachte commented on June 2, 2024

Excellent, so now it's a duplicate of #38 (which is actually an issue of the wavedrom python implementation). Could you close this issue in favor of #38 ?

from sphinx-wavedrom.

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.