{"id":20165731,"url":"https://github.com/allofphysicsgraph/ladot","last_synced_at":"2025-03-03T03:24:43.652Z","repository":{"id":244667451,"uuid":"815914027","full_name":"allofphysicsgraph/ladot","owner":"allofphysicsgraph","description":"backup of https://brighten.bigw.org/projects/ladot/","archived":false,"fork":false,"pushed_at":"2024-06-16T14:15:45.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T14:52:48.137Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/allofphysicsgraph.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-16T14:10:13.000Z","updated_at":"2024-06-16T14:15:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"01d891e5-3adf-48f6-a0bd-b7b1bbc21d99","html_url":"https://github.com/allofphysicsgraph/ladot","commit_stats":null,"previous_names":["allofphysicsgraph/ladot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allofphysicsgraph%2Fladot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allofphysicsgraph%2Fladot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allofphysicsgraph%2Fladot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allofphysicsgraph%2Fladot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allofphysicsgraph","download_url":"https://codeload.github.com/allofphysicsgraph/ladot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241601750,"owners_count":19988971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T00:38:54.653Z","updated_at":"2025-03-03T03:24:43.646Z","avatar_url":"https://github.com/allofphysicsgraph.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a copy of \u003chttps://brighten.bigw.org/projects/ladot/\u003e as of 2024-06-16.\n\nLadot 1.2\n---------\n\n2005-12-04\nBrighten Godfrey\ngodfreyb@bigw.org\n\n\nLicense\n-------\n\nThis program is free software; you can redistribute it and/or\nmodify it under the terms of the GNU General Public License\nas published by the Free Software Foundation; either version 2\nof the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\n\nDescription\n-----------\n\nFor a general description of Ladot, please see\n\n    http://brighten.bigw.org/projects/ladot/\n\nOne-time setup\n--------------\n\nInstall psfrag, dot (graphviz), and latex.  If you are using this\nprogram, you probably already have dot and latex.  psfrag is available\nhere:\n\n    http://www.ctan.org/tex-archive/help/Catalogue/entries/psfrag.html?action=/tex-archive/macros/latex/contrib/supported/psfrag/\n\n\nUsage\n-----\n\n1.  Specify your graph in a file ending in `.ladot'.  The format is dot's,\n    except that you may replace text with LaTeX math expressions, thusly:\n\n        digraph mygraph {\n            $v_1$(2) $v_2$\n            $v_1$ -\u003e $v_2$\n            }\n\n    You may optionally append a size hint in parenthesis as shown above.\n    This tells Ladot rougly how many characters wide your rendered LaTeX\n    will be (not an exact science).  If you leave out the size hint, as\n    in node $v_2$ in the above example, Ladot will take a guess.  You only\n    have to use the size hint once for each unique LaTeX snippet.\n\n2.  Run ladot on the file:\n\n        ladot mygraph.ladot\n\n    This creates `mygraph.ps' (the raw PostScript output of dot) and\n    `mygraph.tex' (a snippet of LaTeX code which tells psfrag to\n    substitute tags in the PostScript for the LaTeX figures).\n\n3.  In the preamble of your LaTeX file, put\n\n        \\usepackage{psfrag}\n\n    LyX users: Set your preamble in Layout -\u003e Document -\u003e Preamble.\n\n4.  Where you would like to include the graph, write\n    \n        \\input{mydot.tex}\n        \\includegraphics{mydot.ps}\n\n    LyX users: use Insert -\u003e Include File and Insert -\u003e Graphics.\n\n5.  Process your LaTeX file with `latex' as normal.  Note that psfrag\n    is sadly not compatible with pdflatex.\n\nAn example of all this is in the `example' directory.  Just type `make'\nto produce the final output, `test.ps'.\n\nLimitations/Bugs/To Do\n----------------------\n\n    * Is limited by psfrag: doesn't work with pdflatex.\n    * Cannot exploit full power of psfrag, especially regarding alignment\n      in formatting.  Ladot centers everything.  Should add option for this.\n    * Quoting is nonexistent.  Don't try to put a dollar sign in any of your\n      TeX or Dot! :-)  Several problems would be fixed if we used a real dot\n      parser instead of just some perl hack, but I haven't gotten around to\n      doing this.\n    * Each LaTeX snippet must appear on a single line in your Ladot file.\n      That is, you cannot have something like\n      \n          $foo\n             bar$\n    \n    * Since I only ever need to use LaTeX in Dot for math, Ladot only handles\n      math expressions.  This is a needless limitation, but it makes the\n      format more convenient.  You can still use normal text, however, by\n      turning on the appropriate font within the equation.\n    * It can't take input on stdin.\n    * Your files must have the suffix \".ladot\".\n    * Ladot picks short random strings for the stubs inserted into the\n      PostScript (which you can see in the mydot.ps output, but which are\n      replaced with LaTeX in the output of your LaTeX file).  There is a\n      chance these could conflict with each other or with other labels in the\n      Dot file, causing incorrect, confusing, and frustrating results.\n      (Note that we could remember which stubs we picked and pick new ones, but\n      still there might be conflicts with other text if stubs are short.)\n      The best solution would be to make the stubs much longer, thus\n      making the probability of any conflict negligible.  However, currently\n      we sometimes need to pick short stubs since the stub length tells Dot\n      how much space to leave for the label.  This would be fixed by fixing\n      the next limitation...\n    * Should have better control on how much space is left for rendered LaTeX\n      (e.g., inches/pixels/mm instead of fuzzy \"number of characters\" measure).\n\nChange Log\n----------\n\nVersion 1.2 (2005-12-04)\n\n    * Fixed problem that arises with some versions of `sed'.\n\nVersion 1.1 (2005-12-03)\n\n    * Workaround for compatibility with Graphviz 2.2 and higher.  Those versions\n      of Graphviz output postscript which confuses psfrag, so we have to do\n      a little postprocessing of Graphviz's postscript.  The fix is courtesy of\n      Riccardo de Maria and Kjell Magne Fauske.\n    * You may now include $math$ at any point within a label, rather than being\n      forced to make the entire label one math expression.  For example:\n      \n          mynode [label = \"$math on line one$(10)\\n$...and line two$(7)\"]\n          \n      Thanks to Alet Roux for suggesting this.\n\nVersion 1.0 (2003-03-31)\n\n    * Initial release.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallofphysicsgraph%2Fladot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallofphysicsgraph%2Fladot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallofphysicsgraph%2Fladot/lists"}