From f7da2a17818db423b8221e8e0e3b743e1ff9abca Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 28 Feb 2012 23:47:35 +0000 Subject: new latex package issuulinks (28feb12) git-svn-id: svn://tug.org/texlive/trunk@25534 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/issuulinks/Makefile | 65 +++++++++++++++++++++ Master/texmf-dist/doc/latex/issuulinks/README | 21 +++++++ .../texmf-dist/doc/latex/issuulinks/issuulinks.pdf | Bin 0 -> 258047 bytes Master/texmf-dist/doc/latex/issuulinks/sample.pdf | Bin 0 -> 117797 bytes Master/texmf-dist/doc/latex/issuulinks/sample.tex | 39 +++++++++++++ 5 files changed, 125 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/issuulinks/Makefile create mode 100644 Master/texmf-dist/doc/latex/issuulinks/README create mode 100644 Master/texmf-dist/doc/latex/issuulinks/issuulinks.pdf create mode 100644 Master/texmf-dist/doc/latex/issuulinks/sample.pdf create mode 100644 Master/texmf-dist/doc/latex/issuulinks/sample.tex (limited to 'Master/texmf-dist/doc/latex') diff --git a/Master/texmf-dist/doc/latex/issuulinks/Makefile b/Master/texmf-dist/doc/latex/issuulinks/Makefile new file mode 100644 index 00000000000..70b153def03 --- /dev/null +++ b/Master/texmf-dist/doc/latex/issuulinks/Makefile @@ -0,0 +1,65 @@ +# +# Makefile for issuulinks package +# +# This file is in public domain +# +# $Id: Makefile,v 1.2 2012-02-25 21:06:49 boris Exp $ +# + +PACKAGE=issuulinks + +SAMPLESTEX = sample.tex + +SAMPLESPDF = ${SAMPLESTEX:%.tex=%.pdf} + +all: $(PACKAGE).pdf $(SAMPLESPDF) + + +%.pdf: %.dtx $(PACKAGE).sty + pdflatex $< + - bibtex $* + pdflatex $< + - makeindex -s gind.ist -o $*.ind $*.idx + - makeindex -s gglo.ist -o $*.gls $*.glo + pdflatex $< + while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \ + do pdflatex $<; done + + +%.pdf: %.tex $(PACKAGE).sty + pdflatex $< + - bibtex $* + pdflatex $< + - makeindex -o $*.ind $*.idx + pdflatex $< + while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \ + do pdflatex $<; done + + + +%.sty: %.ins %.dtx + pdflatex $< + + + +.PRECIOUS: $(PACKAGE).cfg $(PACKAGE).sty + + +clean: + $(RM) *.sty *.log *.aux \ + *.cfg *.glo *.idx *.toc \ + *.ilg *.ind *.out *.lof \ + *.lot *.bbl *.blg *.gls \ + *.dvi *.ps *.hd + +distclean veryclean: clean + $(RM) *.pdf + +# +# Archive for the distribution. Includes typeset documentation +# +archive: all clean + cd ..; \ + tar -czvf $(PACKAGE).tgz --exclude '*~' --exclude '*.tgz' --exclude CVS $(PACKAGE);\ + mv $(PACKAGE).tgz $(PACKAGE);\ + cd $(PACKAGE) diff --git a/Master/texmf-dist/doc/latex/issuulinks/README b/Master/texmf-dist/doc/latex/issuulinks/README new file mode 100644 index 00000000000..9135b45b0d7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/issuulinks/README @@ -0,0 +1,21 @@ + Package issuulinks + Boris Veytsman + v1.0 + +PDF visualizer ISSUU (http://issuu.com) is a popular service +allowing to show PDF documents ``one page a time''. Due to the way +it is implemented, internal links in these documents are not +allowed. Instead, they must be converted to external ones in the +form http://issuu.com/action/page?page=PAGENUMBER. + +This package patches hyperref to produce external links in the +required form instead of internal links created by \ref, \cite and +other commands. + +Since the package redefines the internals of hyperref, you need to +call it AFTER hyperref. + +The author is grateful to FAO UN which partially funded this work +and to Matthieu Stigler, Adam Prakash \& Filippo Gheri for +suggesting and testing this package. + diff --git a/Master/texmf-dist/doc/latex/issuulinks/issuulinks.pdf b/Master/texmf-dist/doc/latex/issuulinks/issuulinks.pdf new file mode 100644 index 00000000000..b57bbd62700 Binary files /dev/null and b/Master/texmf-dist/doc/latex/issuulinks/issuulinks.pdf differ diff --git a/Master/texmf-dist/doc/latex/issuulinks/sample.pdf b/Master/texmf-dist/doc/latex/issuulinks/sample.pdf new file mode 100644 index 00000000000..cc36c8d056f Binary files /dev/null and b/Master/texmf-dist/doc/latex/issuulinks/sample.pdf differ diff --git a/Master/texmf-dist/doc/latex/issuulinks/sample.tex b/Master/texmf-dist/doc/latex/issuulinks/sample.tex new file mode 100644 index 00000000000..c195d05fdf5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/issuulinks/sample.tex @@ -0,0 +1,39 @@ +\documentclass{article} +\usepackage{lipsum,makeidx,natbib,hyperref} +\usepackage{issuulinks} +\makeindex +\begin{document} +\title{Sample Document for Issuulinks} +\author{Boris Veytsman} +\date{2012} +\maketitle +\tableofcontents +\clearpage +\section{First Section} +\label{sec:first} + +The next section is Section~\ref{sec:second}, +called~\nameref{sec:second} on page~\pageref{sec:second}. + +See also~\cite{Knuth94:TheTeXbook} and~\cite{Lamport94} and +\url{http://www.tug.org}. + +\lipsum[1-2]\index{blandit}\index{ligula|(} +\lipsum[5-8]\index{ligula|)}\index{dolor|see{blandit}} + +\begin{equation} + \label{eq:trig} + e^{i\phi} = \cos\phi+i\sin\phi +\end{equation} + +\pagenumbering{roman} + +\section{Second Section} +\label{sec:second} + +\lipsum[10-14] +See equation~(\ref{eq:trig}) on page~\pageref{eq:trig}. +\printindex +\bibliography{tex} +\bibliographystyle{abbrvnat} +\end{document} -- cgit v1.2.3