summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-03-05 22:09:59 +0000
committerKarl Berry <karl@freefriends.org>2018-03-05 22:09:59 +0000
commit45b6a4705fb0917584f76cd9b3389ff3bd2822e4 (patch)
tree2eb0fd77806b25cc99f350897346c503f6353432 /Master/texmf-dist/source
parentd1d89472cc5d8d93558bad5df38c8c15e611b69f (diff)
texvc (5mar18)
git-svn-id: svn://tug.org/texlive/trunk@46844 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/latex/texvc/texvc.dtx35
1 files changed, 19 insertions, 16 deletions
diff --git a/Master/texmf-dist/source/latex/texvc/texvc.dtx b/Master/texmf-dist/source/latex/texvc/texvc.dtx
index 83e4e652af6..429a1a5e6e1 100644
--- a/Master/texmf-dist/source/latex/texvc/texvc.dtx
+++ b/Master/texmf-dist/source/latex/texvc/texvc.dtx
@@ -22,8 +22,9 @@
%<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
%<package>\ProvidesPackage{texvc}
%<*package>
-[2015/11/09 v1.0 Initial Version]
+[2018/03/04 v1.1 Bugfixes]
%</package>
+%<package>
%<package>\RequirePackage{amsmath}
%<package>\RequirePackage{amsfonts}
%<package>\RequirePackage{amssymb}
@@ -31,16 +32,17 @@
%<package>\PassOptionsToPackage{dvips,usenames}{color}
%<package>\RequirePackage{color}
%<package>
-%%<package>\PassOptionsToPackage{greek}{babel}
-%%<package>\RequirePackage{babel}
-%%<package>\RequirePackage{teubner}
+%<package>\PassOptionsToPackage{greek,english}{babel}
+%<package>\RequirePackage{babel}
+%<package>\RequirePackage{teubner}
%<package>
%<package>\RequirePackage{eurosym}
%<package>
%<package>\RequirePackage{cancel}
+%<package>
%<*driver>
\documentclass{ltxdoc}
-\usepackage{texvc}[2015/11/09]
+\usepackage{texvc}[2018/03/04]
\EnableCrossrefs
\CodelineIndex
\RecordChanges
@@ -72,7 +74,7 @@
%
%
% \changes{v1.0}{2015/11/09}{Initial version}
-%
+% \changes{v1.1}{2018/03/04}{Fix bug with varcoppa, document usage of or}
% \GetFileInfo{texvc.sty}
%
% \DoNotIndex{\newcommand,\newenvironment}
@@ -80,17 +82,17 @@
% \title{The \textsf{texvc} package\thanks{This document
% corresponds to \textsf{texvc}~\fileversion,
% dated \filedate.}}
-% \author{Moritz Schubotz \\ \texttt{schubotz@tu-berlin.de}}
+% \author{Moritz Schubotz \\ \texttt{moritz.schubotz@uni-konstanz.de}}
%
% \maketitle
%
% \begin{abstract}
-% This package provides all LaTeX command availible in MediaWiki.
+% This package provides all\footnote{The command \texttt{\textbackslash or} is only availible if custom code is copied into your \LaTeX-file. See page \pageref{cmd.or} for details.} LaTeX command availible in MediaWiki.
% This includes several packages like amsmath, and adds some specific
% commands such as \texttt{\textbackslash Reals}.
% \end{abstract}
%
-% \section{Introduction}
+% \section{Provided Macros}
%
% \subsection{Arrows}
% The first group of MediaWiki coustom command (other\_delimiters2) defines short hand notations for some arrorws.
@@ -332,7 +334,7 @@
% \DescribeMacro{\thetasym} Short hand notation for literal $\vartheta.$
%
%
-% \DescribeMacro{\varcoppa} Short hand notation for literal $\mbox{\\coppa}.$
+% \DescribeMacro{\varcoppa} Short hand notation for literal $\mbox{\coppa}.$
%
%
% \DescribeMacro{\weierp} Short hand notation for literal $\wp.$
@@ -411,7 +413,7 @@
% \begin{macro}{\C}
% This macro does the following replacement.
% \begin{macrocode}
-\newcommand{\C}{\mathbb{C}}
+%\newcommand{\C}{\mathbb{C}}
% \end{macrocode}
% \end{macro}
%
@@ -819,10 +821,11 @@
%
%
%
-% \begin{macro}{\orMediaWiki}
-% This macro does the following replacement.
+% \begin{macro}{\or}\label{cmd.or}
+% This is a problematic macro, since it redefines the plain \TeX~macro \verb|\or|. For instance, the \verb|\thanks| command uses a custom function to determine the footnotesymol, which relies on the availibilty of the \verb|\or| command in math mode. Thus, the macro has to be defined after \verb|\maketitle| was executed. However, there might be more commands that use \verb|\or| used in mathmode. Thus we don't overwrite \verb|\or| in this pacakge. To enable the overwriting copy the code below to an appropriate position in your \LaTeX-file. However, it might be easier to manually replace \verb|\or| with \verb|\lor| which is all what the macro above does.
% \begin{macrocode}
-\newcommand{\orMediaWiki}{\lor}
+%\let\@oldor\or
+%\def\or{\ifmmode\lor\else\expandafter\@oldor\fi}
% \end{macrocode}
% \end{macro}
%
@@ -974,7 +977,7 @@
% \begin{macro}{\varcoppa}
% This macro does the following replacement.
% \begin{macrocode}
-\newcommand{\varcoppa}{\mbox{\\coppa}}
+\newcommand{\varcoppa}{\mbox{\coppa}}
% \end{macrocode}
% \end{macro}
%
@@ -996,4 +999,4 @@
%
%
% \Finale
-\endinput \ No newline at end of file
+\endinput