summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-11-10 22:19:23 +0000
committerKarl Berry <karl@freefriends.org>2015-11-10 22:19:23 +0000
commit38d357ac3a320398e30d4a18616908fbef22d03c (patch)
tree49f37220ba7f37d6fbbf5cfc176dc806612d0715 /Master/texmf-dist/source
parentf68f59a8625bc76f04fe0f5e292eab41fde302b3 (diff)
morehype (10nov15)
git-svn-id: svn://tug.org/texlive/trunk@38815 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/latex/morehype/texlinks.tex61
1 files changed, 49 insertions, 12 deletions
diff --git a/Master/texmf-dist/source/latex/morehype/texlinks.tex b/Master/texmf-dist/source/latex/morehype/texlinks.tex
index 01d3e5dbf54..4c81991f9c9 100644
--- a/Master/texmf-dist/source/latex/morehype/texlinks.tex
+++ b/Master/texmf-dist/source/latex/morehype/texlinks.tex
@@ -1,4 +1,4 @@
-\ProvidesFile{texlinks.tex}[2013/01/21 documenting texlinks.sty]
+\ProvidesFile{texlinks.tex}[2015/05/24 documenting texlinks.sty]
\title{{\Huge\textsf{texlinks.sty}}\\---\\\TeX-Related Links
for \textsf{hyperref}, \textsf{blog.sty}\\
(and maybe more)\thanks{This
@@ -8,11 +8,14 @@
% \listfiles
{ \RequirePackage{makedoc} \ProcessLineMessage{}
% %% 2011/01/24:
+ \MakeJobDoc{17}% %% 2011/01/24
+ {\SectionLevelThreeParseInput}
% \renewcommand*{\mdSectionLevelOne}{\string\subsection}
% \renewcommand*{\mdSectionLevelTwo}{\string\subsubsection}
-% \renewcommand*{\mdSectionLevelThree}{\string\paragraph}
- \MakeJobDoc{17}% %% 2011/01/24
- {\SectionLevelThreeParseInput} }
+% % \renewcommand*{\mdSectionLevelThree}{\string\paragraph}
+% \HeaderLines{2}
+% \MakeSingleDoc{wikimed.sty}
+}
\documentclass[fleqn]{article} %% TODO paper dimensions!?
\input{makedoc.cfg} %% shared formatting settings
\newcommand*{\xmltagcode}[1]{\texttt{<#1>}}
@@ -40,25 +43,50 @@
\fbox{\def~{\string~}%% TODO etc.
\strut\CmdSyntaxVerb#1}}
\newcommand*{\simplecodeoutfbox}[1]{%
- \fbox{\MakeActiveLet\&\empty \strut #1}}
-%% <- TODO 2012/12/30 \href mod.s &
+ \fbox{\MakeActiveLetHere\&\empty \strut %% 2015/05/21:
+% \pdfstringdefDisableCommands{\MakeActiveLetHere\&\PDFempty}%
+ \let\nvCSV\empty
+ #1}}
+% \newcommand*{\PDFempty}{\134}
+\newlet\nvCSV\CmdSyntaxVerb
\newenvironment*{simpleexamples}{%
\fboxrule=0pt
- \def\simpleexample##1{\hskip-\fboxsep
- \simplecodefbox{##1}\endcell
- \simplecodeoutfbox{##1}\cr\hline}%
+ \let\simpleexample\innersimpleexample %% 2015/05/21
%% <- TODO by Plain TeX ->
\center\strong{Examples}\\[\topsep]%
\def\arraystretch{1.5}
\tabular{|l|l|}%
\hline
- \fbox{\strong{Code}}\endcell
- \fbox{\strong{Outcome}}\cr\hline\hline}{%
+% \exampletitlefbox{\strong{Code}}\endcell
+% \exampletitlefbox{\strong {Outcome}}\cr\hline\hline}{%
+%% 2015/05/21:
+ \exampletitlefbox{\strong{Code:}}\endcell
+ \exampletitlefbox{\strong{clickable:}}\cr\hline\hline}{%
\endtabular
\endcenter}
+\newcommand*{\exampletitlefbox}[1]{%
+ \fbox{\exampletablenarrow#1\exampletablenarrow}}
+\newcommand*{\exampletablenarrow}{\kern-.3333em} %% 2015/05/21
+\newcommand*{\innersimpleexample}[1]{%
+% \hskip-\fboxsep %% ?? 2015/05/21
+ \exampletablenarrow
+ \simplecodefbox{#1}\exampletablenarrow\endcell
+ \exampletablenarrow
+ \simplecodeoutfbox{#1}\exampletablenarrow\cr
+ \hline}
\newcommand*{\simpleyields}[1]{% %% 2012/12/30
\simplecodefbox{#1} yields \simplecodeoutfbox{#1}}
-\RequirePackage{filesdo} \MDfinaldatechecks %% 2012/12/20
+\newcommand*{\longsimpleexample}[1]{% %% 2015/05/22f.
+ \example\leavevmode\[\simplecodefbox{#1}\]%
+ \makebox[\mathindent][l]{for}\simplecodeoutfbox{#1}%
+ \endexample}
+% %% 2015/05/23:
+% \newcommand*{\titlefootnote}[1]{%
+% \IfTypesetting{\footnote{#1}{}}}
+% \makeatletter
+\pdfstringdefDisableCommands{\let\titlefootnote\@gobble}
+\makeatother
+\RequirePackage{filesdo} \MDfinaldatechecks %% 2012/12/20
\sloppy
\begin{document}
\maketitle
@@ -129,6 +157,10 @@ below in the implementation section.
\subsection{Package File Header (Legalese)} %% ize -> ese 2012/11/09
\input{texlinks.doc}
+% \section{\file{wikimed.sty}}
+% \ResetCodeLineNumbers
+% \input{wikimed.doc}
+
%% rm. 2012/12/30 for \MDfinaldatechecks:
% \ModDates
% \CheckDateOfPDFmod{texlinks.sty}
@@ -159,3 +191,8 @@ VERSION HISTORY
2012/12/31 corr. M\"unch; see sec:fonts
2013/01/20 {singthm}
2013/01/21 \section{Preliminaries}
+2015/03/28 wikimed.sty
+2015/05/21 \awfulsimpleexample -- replaced by \nvCSV,
+ \longsimpleexample, \exampletablenarrow
+2015/05/22 \longcodesimpleexample corrected
+2015/05/23 -> longsimpleexample