Skip to content

Commit

Permalink
made build.lua and files ready for ctan upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrike Fischer committed Jul 5, 2018
1 parent 6efcc96 commit 1072d41
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 6 deletions.
3 changes: 3 additions & 0 deletions Readme.md
Expand Up @@ -19,7 +19,10 @@ Comments, feedback, examples are welcome.

Use the issue tracker, sent me a mail or make a pull-request.

## Licence

The tagpdf package may be modified and distributed under the terms and conditions of the
[LaTeX Project Public License](https://www.latex-project.org/lppl/), version 1.3c or greater.



26 changes: 22 additions & 4 deletions build.lua
@@ -1,6 +1,6 @@
-- Build script for tagpdf
packageversion="0.1"
packagedate="2018/03/25"
packagedate="2018/07/05"

module = "tagpdf"
ctanpkg = "tagpdf"
Expand All @@ -14,9 +14,9 @@ pdfext=""
sourcefiledir = "./source"

tagfiles = {"*.md",
"texmf/tex/latex/tagpdf/*.sty",
"texmf/tex/latex/tagpdf/*.def",
"texmf/tex/latex/tagpdf/*.lua"}
"**/*.sty",
"**/*.def",
"**/*.lua"}

function update_tag (file,content,tagname,tagdate)
tagdate = string.gsub (tagdate,"-", "/")
Expand Down Expand Up @@ -50,6 +50,24 @@ function update_tag (file,content,tagname,tagdate)
return content
end

-- ctan setup
docfiles = {"source/tagpdf.bib", "source/examples/**/*.tex", "source/examples/**/*.pdf"}
textfiles= {"*.md"}
packtdszip = false
installfiles = {
"**/*.sty",
"**/*.def",
"**/*.lua"
}

sourcefiles = {
"**/*.sty",
"**/*.def",
"**/*.lua"
}

typesetfiles = {"source/tagpdf.tex"}

kpse.set_program_name ("kpsewhich")
if not release_date then
dofile ( kpse.lookup ("l3build.lua"))
Expand Down
6 changes: 4 additions & 2 deletions source/README.md
Expand Up @@ -4,7 +4,9 @@ Packagedate: 2018/04/07
Author: Ulrike Fischer

## License
LaTeX Project Public License
The tagpdf package may be modified and distributed under the terms and conditions of the
[LaTeX Project Public License](https://www.latex-project.org/lppl/), version 1.3c or greater.


## Contents

Expand All @@ -19,7 +21,7 @@ LaTeX Project Public License
- tagpdf-pdftex.def (pdftex specific code)
- tagpdf-luatex.def (luatex specific code)
- tagpdf.lua (lua code for luatex)
- tagpdf.tex, tagpdf.pdf (the docu)
- tagpdf.tex, tagpdf.pdf, tagpdf.bib (the docu)
- various examples (part of the documentation)

## Installation
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added tagpdf.zip
Binary file not shown.

0 comments on commit 1072d41

Please sign in to comment.