|
Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
#######
#
# E-scripts on Michael Barr's "diagxy" package.
#
# Note 1: use the eev command (defined in eev.el) and the
# ee alias (in my .zshrc) to execute parts of this file.
# Executing this file as a whole makes no sense.
# An introduction to eev can be found here:
#
# (find-eev-quick-intro)
# http://angg.twu.net/eev-intros/find-eev-quick-intro.html
#
# Note 2: be VERY careful and make sure you understand what
# you're doing.
#
# Note 3: If you use a shell other than zsh things like |&
# and the for loops may not work.
#
# Note 4: I always run as root.
#
# Note 5: some parts are too old and don't work anymore. Some
# never worked.
#
# Note 6: the definitions for the find-xxxfile commands are on my
# .emacs.
#
# Note 7: if you see a strange command check my .zshrc -- it may
# be defined there as a function or an alias.
#
# Note 8: the sections without dates are always older than the
# sections with dates.
#
# This file is at <http://angg.twu.net/e/diagxy.e>
# or at <http://angg.twu.net/e/diagxy.e.html>.
# See also <http://angg.twu.net/emacs.html>,
# <http://angg.twu.net/.emacs[.html]>,
# <http://angg.twu.net/.zshrc[.html]>,
# <http://angg.twu.net/escripts.html>,
# and <http://angg.twu.net/>.
#
#######
# «.upstream» (to "upstream")
# «.nodes-and-arrows» (to "nodes-and-arrows")
# «.loop» (to "loop")
# «.moving-labels» (to "moving-labels")
# «.shape» (to "shape")
# «.how-diagxy-calls-xypic» (to "how-diagxy-calls-xypic")
# «.dcpic» (to "dcpic")
# (find-es "xypic")
# (find-es "xypic" "diagxy")
# (find-es "xypic" "diagxydemo0")
# (find-es "xypic" "two-and-three")
# (find-es "xypic" "nodes-and-arrows")
# (find-es "xypic" "diagxy-space-bug")
# (find-es "xypic" "absdiagxy")
# (find-es "xypic" "color-arrows")
# http://www.dante.de/CTAN/help/Catalogue/entries/diagxy.html
# http://www.ctan.org/tex-archive/help/Catalogue/entries/diagxy.html
# http://www.ctan.org/tex-archive/macros/generic/diagrams/barr/
# ftp://ftp.math.mcgill.ca/pub/barr/
# ftp://ftp.math.mcgill.ca/pub/barr/diagxy.zip
# 2015sep02:
# http://mirrors.ctan.org/macros/generic/diagrams/barr.zip
# (find-status "texlive-generic-extra")
# (find-vldifile "texlive-generic-extra.list")
# (find-udfile "texlive-generic-extra/")
# (find-udfile "texlive-generic-extra/generic/barr/")
# (find-fline "/usr/share/texmf-texlive/tex/generic/barr/")
#####
#
# upstream version
# 2015sep03
#
#####
# «upstream» (to ".upstream")
# (find-angg ".emacs" "diagxy")
# (find-angg ".emacs.papers" "diagxy")
# http://www.ctan.org/tex-archive/macros/generic/diagrams/barr/
# http://mirrors.ctan.org/macros/generic/diagrams/barr.zip
# http://mirrors.ctan.org/macros/generic/diagrams/diagxy.zip
#*
* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
# Old:
rm -Rv ~/usrc/diagxy/
mkdir ~/usrc/diagxy/
cd ~/usrc/diagxy/
unzip -a $S/ftp/ftp.math.mcgill.ca/pub/barr/diagxy.zip
latex diaxydoc.tex
latex diaxydoc.tex
pdflatex diaxydoc.tex
* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
# 2015sep03:
rm -Rv ~/usrc/diagxy/
mkdir ~/usrc/diagxy/
cd ~/usrc/diagxy/
unzip -a $S/http/mirrors.ctan.org/macros/generic/diagrams/barr.zip
mv -v barr/* .
touch diaxydoc.ind
latex diaxydoc.tex
latex diaxydoc.tex
latex diaxydoc.tex
cp -v ~/usrc/diagxy/diagxy.tex ~/LATEX/
cp -v ~/usrc/diagxy/diaxydoc.dvi ~/LATEX/
* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
# 2015oct09:
rm -Rv ~/usrc/diagxy/
mkdir ~/usrc/diagxy/
cd ~/usrc/diagxy/
unzip -a $S/http/mirrors.ctan.org/macros/generic/diagrams/diagxy.zip
mv -v diagxy/* .
touch diaxydoc.ind
latex diaxydoc.tex
latex diaxydoc.tex
latex diaxydoc.tex
cp -v ~/usrc/diagxy/diagxy.tex ~/LATEX/
cp -v ~/usrc/diagxy/diaxydoc.dvi ~/LATEX/
# (find-bgprocess "tkdiff ~/usrc/diagxy/diagxy.tex ~/dednat6/tests/diagxy.tex")
cp -v ~/usrc/diagxy/diagxy.tex ~/dednat6/tests/
#*
# (find-angg ".emacs" "diagxy")
# (find-diagxypage)
#####
#
# nodes and arrows
# 2015sep03
#
#####
# «nodes-and-arrows» (to ".nodes-and-arrows")
# (find-es "xypic" "nodes-and-arrows")
# (find-angg ".emacs" "diagxy")
# (find-diagxypage 19 "4.1 Nodes and arrows")
# (find-diagxytext 19 "4.1 Nodes and arrows")
# (find-LATEXfile "diagxy.tex")
# (find-LATEXfile "diagxy.tex" "\\def\\node")
# (find-LATEXfile "diagxy.tex" "\\def\\arrow")
$$\bfig
\node a(0,0)[A\otimes B]
\node 3b(700,300)[A'\otimes B']
\node @(0,-500)[A''\otimes B'']
\node xyzzy(500,0)[C\otimes D]
\arrow/->>/[a`3b;f]
\arrow|l|[a`@;g]
\arrow|b|/<-/[xyzzy`@;i\otimes j]
\efig
$$
#####
#
# loop
# 2018fev04
#
#####
# «loop» (to ".loop")
# Current: (find-dn6file "diagforth.lua" "loop")
# (find-dn6 "diagtex.lua" "DxyLoop")
# Old: (find-dn4 "experimental.lua" "loop")
# Docs: (find-barrdocpage 30 "4.7 loops")
# (find-barrdoctext 30 "4.7 loops")
# (find-LATEXfile "2011ebl-slides.tex" "Y1 loop (ul,ur)")
# (find-angg ".emacs" "diagxy")
* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
locate diagxy
locate diaxydoc
#####
#
# Moving labels
# 2018dec09
#
#####
# «moving-labels» (to ".moving-labels")
# (find-barrdocpage 24 "5.3 Empty placement and moving labels")
# (find-barrdoctext 24 "5.3 Empty placement and moving labels")
# (find-dn6file "diagforth.lua" ".plabel=" ".PLABEL=")
# (find-LATEXgrep "grep --color -nH -e PLABEL *.tex")
# (find-dn6 "diagtex.lua" "arrow_to_TeX")
# (find-dn6 "diagtex.lua" "arrow_to_TeX" "arrow.lplacement")
# (find-dn6 "diagtex.lua" "arrow_to_TeX-test")
#####
#
# The shape parameter
# 2018dec09
#
#####
# «shape» (to ".shape")
# (find-dn6 "diagtex.lua" "arrow_to_TeX-test")
# (find-dn6grep "grep --color -nH -e curve *.lua")
% (find-barrdocpage 7 "3 The basic syntax")
% (find-barrdoctext 7 "3 The basic syntax")
% (find-barrdocpage 7 "\\morphism(x,y)|p|/{sh}/<dx,dy>[N`N;L]")
% (find-barrdoctext 7 "\\morphism(x,y)|p|/{sh}/<dx,dy>[N`N;L]")
% (find-barrdocpage 8 "If the shape parameter begins with an @")
% (find-barrdoctext 8 "If the shape parameter begins with an @")
% (find-barrdocpage 8 "3.1 A word about parameters")
% (find-barrdoctext 8 "3.1 A word about parameters")
% (find-barrdocpage 15 "curved arrows" "@/^1em/")
% (find-barrdoctext 15 "curved arrows" "@/^1em/")
% (find-barrdocpage 33 "5.9 A few samples")
% (find-barrdoctext 33 "5.9 A few samples")
% (find-barrdocpage 35 "@{>}@/^-15pt/")
% (find-barrdoctext 35 "@{>}@/^-15pt/")
% (find-barrdocpage 35 "@{>}@`{c,(-300,0),(-600,2400),p}")
% (find-barrdoctext 35 "@{>}@`{c,(-300,0),(-600,2400),p}")
#####
#
# How diagxy calls xypic
# 2019feb03
#
#####
# «how-diagxy-calls-xypic» (to ".how-diagxy-calls-xypic")
# (find-es "tex" "string")
# (find-tlfile "texmf-dist/tex/generic/barr/diagxy.tex")
# https://tug.org/pipermail/xy-pic/2019-February/000808.html
# https://tug.org/pipermail/xy-pic/2019-February/000809.html
# (find-LATEXfile "2019diagxyhack.tex")
$$\bfig
\morphism(1200,0)/{@{>}@`{c,(-300,0),(-600,2400),p}}/<-1200,2800>[
t_D(h(gf))`(h(gf))t_A;t_h(gf)]
\efig
$$
#####
#
# dcpic - a package for diagrams with a syntax similar to diagxy
# 2019feb19
#
#####
# «dcpic» (to ".dcpic")
# (find-tlsh "find * | sort | grep dcpic")
# http://www.mat.uc.pt/~pedro/ntcientificos/DCpic/
# (find-pdf-page "/usr/local/texlive/2018/texmf-dist/doc/generic/dcpic/eurotex2001.pdf")
# (find-pdf-page "/usr/local/texlive/2018/texmf-dist/doc/generic/dcpic/examples.pdf")
# (find-pdf-page "/usr/local/texlive/2018/texmf-dist/doc/generic/dcpic/manDCPiC.pdf")
# (find-fline "/usr/share/doc/texlive-doc/generic/xypic/")
# (find-xpdfpage "/usr/share/doc/texlive-doc/generic/xypic/barrdoc.pdf")
# Local Variables:
# coding: utf-8-unix
# End: