[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/07: gnu: Add dot2tex.
From: |
Ludovic Courtès |
Subject: |
04/07: gnu: Add dot2tex. |
Date: |
Wed, 4 Apr 2018 08:39:47 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit d56ecf623ec26134d4b1d47017f3530160234143
Author: Mathieu Lirzin <address@hidden>
Date: Sat Mar 31 23:47:36 2018 +0200
gnu: Add dot2tex.
* gnu/packages/graphviz.scm (dot2tex): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/graphviz.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm
index 43e7cca..58c0fa8 100644
--- a/gnu/packages/graphviz.scm
+++ b/gnu/packages/graphviz.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2017 Ricardo Wurmus <address@hidden>
;;; Copyright © 2017 Tobias Geerinckx-Rice <address@hidden>
;;; Copyright © 2017 Gábor Boskovits <address@hidden>
+;;; Copyright © 2018 Mathieu Lirzin <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -43,6 +44,7 @@
#:use-module (gnu packages gd)
#:use-module (gnu packages swig)
#:use-module (gnu packages python)
+ #:use-module (gnu packages tex)
#:use-module ((guix licenses) #:prefix license:))
(define-public graphviz
@@ -239,3 +241,36 @@ graphs in Graphviz's DOT language, written in pure
Python.")
(define-public python2-pydot
(package-with-python2 python-pydot))
+
+(define-public dot2tex
+ (package
+ (name "dot2tex")
+ (version "2.9.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "dot2tex" version))
+ (sha256
+ (base32
+ "0jhdwp0wv2h0xb7j2s5xiv7i8yaqgfpwwqcyrjvaxkfwsynm8gkx"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:python ,python-2))
+ (inputs
+ `(("texlive-latex-preview" ,texlive-latex-preview)
+ ("graphviz" ,graphviz)))
+ (propagated-inputs
+ `(("python-pyparsing" ,python2-pyparsing)))
+ (home-page "https://github.com/kjellmf/dot2tex")
+ (synopsis "Graphviz to LaTeX converter")
+ (description
+ "The purpose of @code{dot2tex} is to give graphs generated by Graphviz a
+more LaTeX friendly look and feel. This is accomplished by converting
address@hidden output from Graphviz to a series of PSTricks or PGF/TikZ
commands.
+This approach allows:
+
address@hidden @bullet
address@hidden Typesetting labels with LaTeX, allowing mathematical notation
address@hidden Using native PSTricks and PGF/TikZ commands for drawing arrows
address@hidden Using backend specific styles to customize the output
address@hidden itemize")
+ (license license:expat)))
- branch master updated (02e7e3f -> 03efe78), Ludovic Courtès, 2018/04/04
- 02/07: gnu: Add python-django-override-storage., Ludovic Courtès, 2018/04/04
- 04/07: gnu: Add dot2tex.,
Ludovic Courtès <=
- 03/07: gnu: chromaprint: Build 'fpcalc'., Ludovic Courtès, 2018/04/04
- 07/07: gnu: Add emacs-password-store., Ludovic Courtès, 2018/04/04
- 05/07: gnu: Add emacs-emmet-mode., Ludovic Courtès, 2018/04/04
- 01/07: gnu: Add x11-socket-directory-service., Ludovic Courtès, 2018/04/04
- 06/07: gnu: Add python-empy., Ludovic Courtès, 2018/04/04