** Description changed: I’m experiencing a consistent parsing failure when using circuit-macros to generate diagrams that include mixed TikZ/DPic elements. The issue started after a recent Ubuntu package update for dpic and groff. Prior to the update, the same files rendered correctly. The error appears during processing and prevents the output EPS/PDF on my website https://magictv.com.co from being generated. Steps to Reproduce Create a minimal test file (example below): .PS include(libcct.m4) includepstricks cct_init T: transistor(up_) line right 0.5 box wid 1 ht 0.4 "TEST" .PE - Run: dpic -p input.pic > output.tex - Compile with pdflatex or lualatex. Expected Behavior The diagram should compile normally, generating a valid LaTeX/TikZ output file from dpic without syntax or macro expansion errors. Actual Behavior Compilation fails with the following (or similar) message: dpic: fatal: unexpected token near 'box wid 1 ht 0.4' dpic: error: failed to process pic code generated by circuit-macros Additional Observations Rolling back dpic to an older version resolves the issue. The same .pic file works correctly on Debian 12 and Arch Linux with the previous dpic release. The error occurs even with minimal examples, suggesting a macro- interpretation conflict rather than a file-specific syntax problem. The problem may be related to recent changes in how dpic handles dimension parsing or macro expansions in the included libcct.m4. System Information OS: Ubuntu 24.04 LTS Package: circuit-macros 20230312-2 dpic version: 2024.02.01 TeX engine: TeXLive 2024 (LuaLaTeX & PDFLaTeX both tested) + Addition: + I have tried my best to get help through FESCO Online Bill Compnay and visit their official website (https://fescoonlinebil.pk) Request Could the maintainers verify whether recent dpic changes introduced a breaking behavior for circuit-macros? If needed, I can provide additional sample diagrams or logs.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2132098 Title: Unexpected Parsing Failure in circuit-macros When Rendering TikZ-Based Diagrams To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/circuit-macros/+bug/2132098/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
