Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Commutative diagrams

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Commutative diagrams


Chronological Thread 
  • From: Darcy Shen <address@hidden>
  • To: "Frank" <address@hidden>
  • Cc: "texmacs-users" <address@hidden>
  • Subject: Re: [TeXmacs] Commutative diagrams
  • Date: Wed, 24 Apr 2019 23:02:12 +0800
  • Arc-authentication-results: i=1; mx.zoho.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=address@hidden; dmarc=pass header.from=<address@hidden> header.from=<address@hidden>
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556118134; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=oHJXsP8piAlPaTVL2524krAmc+e4uNgtwMq9rZ/IhnY=; b=ZCdrGXG+Psn0W9Har2BpAmbUrLHZutovK4iv77AsFrfzFcLKD+Ck9VtQ+Yzpr7dRcom3FDUPX1r/CR4cDhoWwyb+tyTSoH0sjzvaEZHm57zC59Gdy4czeornrZ009bh/9iMwYTN913dgKbgb7MTSMFjkoLtIRUmpNgEqmKSlHc8=
  • Arc-seal: i=1; a=rsa-sha256; t=1556118134; cv=none; d=zoho.com; s=zohoarc; b=BAnQ/D1rkuIkhUD+tne1cvduUorPiVLQmAoI252uAIR8TGYVVCsXjnCUY2jGwCcVMhCpxWSJwbm4Zyq2B7RGq7A85/0ojgiO8pv05bSWGgWdAOtBZbL6BaWb3ILSTebXsED5DWpwKsZNxv5qb2EetATpopJVn9S1aA3bDGQrSrw=
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:cc:message-id:in-reply-to:references:subject:mime-version:content-type:user-agent; b=n9hASbRpcRnAYw7hCsZ9rIyAQ1VsU28Kt/KvLRMB40zv0DEauCOShz/oTjmUP4iB916iWcQUsprT 3gVcr7qLc1DfvVcvEXwlHDXjd8nZkCN4ItDZEzdb28m86EbNLg7C

You may try my newly-implemented unified Graph plugin.

This is how it works:

1. Use write down the graph definitions in TeXmacs
2. The unified Graph plugin invoke a specific command to generate the picture
3. The plugin load the picture into GNU TeXmacs

This is the demo:
https://github.com/texmacs/plugins/blob/master/graphs/doc/graphs.en.tm

Recently, I just tuned about Graphviz in the unified Graph plugin. We may add more graph support like tikz.

If you know about python, it is easy to add new graph support, see https://github.com/texmacs/plugins/blob/master/graphs/bin/tm_graphs#L244

Besides, there is an Asymptote plugin.




Note, you need to install the latest GNU TeXmacs according to my previous post:

For GNU Guile:

Step 1: Prepare your build environment.

sudo apt install devscripts

Step 2: Clone the texmacs branch of guile.

git clone --depth 10 -b texmacs --single-branch  address@hidden:texmacs/guile.git

Step 3: Make your own debs.

cd guile
dpkg-buildpackage -us -uc -b

Great! Now the wanted debs has been generated:

$ ls ../*deb
../guile-1.8_1.8.8+1-10_amd64.deb         ../guile-1.8-dev_1.8.8+1-10_amd64.deb  ../guile-1.8-libs_1.8.8+1-10_amd64.deb
../guile-1.8-dbgsym_1.8.8+1-10_amd64.deb  ../guile-1.8-doc_1.8.8+1-10_all.deb    ../guile-1.8-libs-dbgsym_1.8.8+1-10_amd64.deb

Install guile-1.8, guile-1.8-dev, guile-1.8-libs via dpkg.


see https://github.com/texmacs/guile

For GNU TeXmacs:

Assuming you had compiled GNU TeXmacs before and install the necessary deps,
the following four steps is the best way to install GNU TeXmacs on Debian/Ubuntu/Linux Deepin/...

git clone address@hidden:texmacs/texmacs.git
cd texmacs
cmake/build_deb.sh
sudo dpkg -i ../texmacs_1.99.9-1_amd64.deb

---- On Wed, 24 Apr 2019 20:33:44 +0800 Frank <address@hidden> wrote ----

Dear all,

I don't know what are suggested ways to draw commutative diagrams in
TeXmacs. I draw commutative squares by tabular (I failed to find this in
the help document), but I don't know how to draw triangular diagrams or
something more complicated.

Thanks for suggestions!

Best wishes,

--
Best wishes!
Yours,






Archive powered by MHonArc 2.6.19.

Top of Page