News for hackers. Stuff that matters.
Re:Create diagrams with code using Graphviz by enriquto on Wednesday June 10, 2020 @10:45AM (#23477529)
Better integration with TeX, I want to put formulas inside the graph using the exact same fonts as in the rest of my paper.
Re:Create diagrams with code using Graphviz by steveroush on Wednesday June 10, 2020 @08:40PM (#23483938)
I'm not a TeX user, are you asking for: 1. TeX output file format, but with current font drivers 2. Current output file formats, but with TeX fonts 3. TeX output with TeX fonts 4. Something else
Re:Create diagrams with code using Graphviz by enriquto on Thursday June 11, 2020 @01:04AM (#23485370)
I'm asking for an easy way to use the same fonts with exactly the same size in both places, I do not really care how it is implemented. Maybe it is already possible and the only missing thing is the documentation to do so. I can do it via some pstricks hackery, and it sort of works, but the process is a bit indirect and not really comfortable.
Re:Create diagrams with code using Graphviz by steveroush on Wednesday June 10, 2020 @11:20PM (#23484903)
Continuing to show my ignorance, would adding a TikZ output option be a good thing? I'm fuzzy as to Tex/LaTex/TikZ relationship. The graphics part in TikZ looks pretty simple to do. The font/equations/... stuff is an unknown story.
Re:Create diagrams with code using Graphviz by cat199 on Wednesday June 10, 2020 @10:27PM (#23484638)
at some point I was able to do this via tex->dvi->postscript->pdf conversion - basically getting the font installed in ghostscript let me use it directly from graphviz when rendering to eps and installing the font into the tex/postscript machinery let me also reference the same font.

granted, this was not fun, and also now 'modern' tex (not sure about graphviz) will use fontconfig on linux which may require different machinations.

so obviously your point on 'better integration' still stands unless I'm just out of date on how to do it..