Unexpected Parsing Failure in circuit-macros When Rendering TikZ-Based Diagrams
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| circuit-macros (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Bug Description
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:/
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-interpret
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:/
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.
| description: | updated |

I found My Aadhaar Portal really helpful for quickly checking Aadhaar updates and managing basic services without any confusion. visit here https:/ /myaadhaarlogin .com