debian/0000755000000000000000000000000012264546500007172 5ustar debian/copyright0000644000000000000000000000265112264546500011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: luasseq Upstream-Contact: Tilman Bauer Source: Files: * Copyright: 2003-2007 Tilman Bauer License: LPPL This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 of this license or (at your option) any later version. The latest version of this license is in http://www.latex-project.org/lppl.txt and version 1.3 or later is part of all distributions of LaTeX version 2005/12/01 or later. Files: debian/* Copyright: 2012 Rupert Swarbrick License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/dirs0000644000000000000000000000007612264546500010061 0ustar usr/share/texmf/tex/latex/luasseq usr/share/doc/texmf/luasseq debian/changelog0000644000000000000000000000336712264546500011055 0ustar luasseq (2.1-5) unstable; urgency=medium [ Andreas Tille ] * debian/control: - Fix homepage - cme fix dpkg-control - Priority: optional - debhelper 9 - Vcs fields * cme fix dpkg-copyright [ Rupert Swarbrick ] * Fix luasseq.lua to work with Lua 5.1 and 5.2. I've not added a dependency on a specific version of luatex because 0.60.2 (the version in squeeze) is built against Lua 5.1 so everything should work correctly even there. Closes: #713529 -- Rupert Swarbrick Sun, 12 Jan 2014 13:08:14 +0000 luasseq (2.1-4) unstable; urgency=low * First uploaded version (Closes: #654532) [ Rupert Swarbrick ] * Move to the debian-science team. [ Andreas Tille ] * debian/control: Add name of Debian Science team -- Andreas Tille Fri, 27 Jan 2012 12:04:29 +0100 luasseq (2.1-3) UNRELEASED; urgency=low * Added texlive-latex-recommended to build-depends, since it's required by luasseq.dtx for xkeyval.sty. Also put version 1.01 for pgf since that agrees with the dating on the relevant \RequirePackage, but since that came out in 2006, I don't expect it to make much difference! * Also added texlive-fonts-recommended: I can't work out what exactly requires it, but we seem to need pzdr.tfm to build. With these, pbuilder actually works! -- Rupert Swarbrick Wed, 04 Jan 2012 02:01:38 +0000 luasseq (2.1-2) UNRELEASED; urgency=low * Fixed build-depends to require pgf and luatex. -- Rupert Swarbrick Wed, 04 Jan 2012 01:28:57 +0000 luasseq (2.1-1) UNRELEASED; urgency=low * Initial version. (Closes: #654532) -- Rupert Swarbrick Tue, 03 Jan 2012 18:13:14 +0000 debian/source/0000755000000000000000000000000012264546500010472 5ustar debian/source/format0000644000000000000000000000001412264546500011700 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212264546500010370 0ustar 9 debian/patches/0000755000000000000000000000000012264546500010621 5ustar debian/patches/new-lua0000644000000000000000000000327512264546500012123 0ustar Description: Fix build with (even vaguely) new lua math.mod was renamed to math.fmod in 5.1; string.gfind was renamed string.gmatch in 5.2 (and the string.gfind alias has existed since 5.0) Author: Rupert Swarbrick --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/luasseq.lua +++ b/luasseq.lua @@ -76,7 +76,7 @@ function parselabelrange(s,defstart) local res = {} local mini,maxi,found - for rng in string.gfind(s.."," , "([^,]+)") do + for rng in string.gmatch(s.."," , "([^,]+)") do found,_,mini,maxi = string.find(rng,"([+-]?[0-9]+)%.%.%.([+-]?[0-9]+)") if not found then mini = defstart @@ -153,7 +153,7 @@ function sseq_grid_chess(x,y,width,height) tex.print("\\pgfsetcolor{sslightgr}") - if math.mod(x+y, 2) == 1 then -- invert everything by first drawing a solid gray rectangle + if math.fmod(x+y, 2) == 1 then -- invert everything by first drawing a solid gray rectangle -- and then draw the grid in white. This way, even bidegree -- is always white. tex.print("\\pgfpathrectangle{\\pgfpoint{0sp}{0sp}}{\\pgfpoint{" @@ -201,10 +201,10 @@ local chunk = 0 local index - for rng in string.gfind(s.."," , "([^,]*),") do + for rng in string.gmatch(s.."," , "([^,]*),") do res[chunk] = {} index = 0 - for label in string.gfind(rng..";", "([^;]*);") do + for label in string.gmatch(rng..";", "([^;]*);") do res[chunk][index] = label index = index+1 end @@ -418,7 +418,7 @@ function stringtolist(pref,name) local res = {} for i,p in ipairs(pref) do table.insert(res,p) end - for w in string.gfind(name,"%w+") do + for w in string.gmatch(name,"%w+") do table.insert(res,w) end table.sort(res) debian/patches/series0000644000000000000000000000003312264546500012032 0ustar new-lualatex.patch new-lua debian/patches/new-lualatex.patch0000644000000000000000000000144312264546500014252 0ustar Fixes package on new lualatex versions (see http://tex.stackexchange.com/questions/24093/luatex-nil-value-errors). The .wd,.ht,.dp code got removed from luatex in their SVN at revision r3825 (August 2010). --- a/luasseq.lua +++ b/luasseq.lua @@ -374,9 +374,9 @@ function sseq_register_size() local currobj = sseqobject[sseqcurrentindex[1]][sseqcurrentindex[2]][sseqcurrentindex[3]] - currobj.wd = tex.wd[sseqboxno] - currobj.ht = (tex.ht[sseqboxno]+tex.dp[sseqboxno]) - currobj.dp = tex.dp[sseqboxno] + currobj.wd = tex.box[sseqboxno].width + currobj.ht = (tex.box[sseqboxno].height+tex.box[sseqboxno].depth) + currobj.dp = tex.box[sseqboxno].depth currobj.radius = 0.5*math.sqrt(currobj.wd*currobj.wd+currobj.ht*currobj.ht) end @@ -827,4 +827,3 @@ end tex.print("\\makeatother") end - debian/rules0000755000000000000000000000226612264546500010260 0ustar #!/usr/bin/make -f # -*- makefile -*- # Based on the rules file for latex-xcolor # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 PACKAGE = luasseq DOCDIR = $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/texmf TEXMF = $(CURDIR)/debian/$(PACKAGE)/usr/share/texmf configure: configure-stamp configure-stamp: dh_testdir touch configure-stamp build: build-stamp build-stamp: configure-stamp dh_testdir lualatex luasseq.ins lualatex luasseq.dtx touch build-stamp build-arch: configure build-indep: build clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp rm -f *.{idx,log,aux,glo,sty,pdf} dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs install -m 644 luasseq.sty $(TEXMF)/tex/latex/luasseq install -m 644 luasseq.lua $(TEXMF)/tex/latex/luasseq install -m 644 luasseq.pdf $(DOCDIR)/luasseq binary-indep: build install dh_testdir dh_testroot dh_installchangelogs dh_installtex dh_installdocs dh_installdeb dh_compress dh_fixperms dh_gencontrol dh_md5sums dh_builddeb binary-arch: build install binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure .PHONY: build-arch build-indep debian/luasseq.doc-base0000644000000000000000000000046012264546500012246 0ustar Document: luasseq Title: Extending LATEX s color facilities: the xcolor package Author: Tilman Bauer Abstract: This manual describes what luasseq is and how it can be used to generate spectral sequence diagrams in LuaLaTeX. Section: Text Format: pdf Files: /usr/share/doc/texmf/luasseq/luasseq.pdf.gz debian/control0000644000000000000000000000217212264546500010577 0ustar Source: luasseq Maintainer: Debian Science Team Uploaders: Rupert Swarbrick Section: tex Priority: optional Build-Depends: debhelper (>= 9) Build-Depends-Indep: tex-common, texlive-latex-base, luatex (>= 0.63), pgf, texlive-latex-recommended, texlive-fonts-recommended Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/debian-science/packages/luasseq.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/luasseq.git Homepage: http://www.ctan.org/pkg/luasseq Package: luasseq Architecture: all Depends: texlive-latex-base, luatex (>= 0.63), pgf, texlive-latex-recommended, texlive-fonts-recommended, ${misc:Depends} Description: LuaLaTeX package for drawing spectral sequences. luasseq is the LuaTeX version of sseq, a package for drawing spectral sequences in LaTeX. It has some extra features and should run faster than the author's original version (which doesn't require LuaTeX).