texlive[59720] Master: huawei (26jun21)

commits+karl at tug.org commits+karl at tug.org
Sat Jun 26 22:38:18 CEST 2021


Revision: 59720
          http://tug.org/svn/texlive?view=revision&revision=59720
Author:   karl
Date:     2021-06-26 22:38:18 +0200 (Sat, 26 Jun 2021)
Log Message:
-----------
huawei (26jun21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/huawei/huawei.pdf
    trunk/Master/texmf-dist/doc/latex/huawei/huawei.tex
    trunk/Master/texmf-dist/doc/latex/huawei/samples/huawei-cfp.tex
    trunk/Master/texmf-dist/tex/latex/huawei/huawei.cls
    trunk/Master/tlpkg/libexec/ctan2tds

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/latex/huawei/huawei-cover-picture.pdf

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/huawei/cover-picture.pdf

Deleted: trunk/Master/texmf-dist/doc/latex/huawei/cover-picture.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/huawei/huawei.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/huawei/huawei.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/huawei/huawei.tex	2021-06-26 20:37:29 UTC (rev 59719)
+++ trunk/Master/texmf-dist/doc/latex/huawei/huawei.tex	2021-06-26 20:38:18 UTC (rev 59720)
@@ -29,9 +29,9 @@
 \begin{document}
 \maketitle
 
-\ff{Version: 0.6.1}
+\ff{Version: 0.7.0}
 \newline
-\ff{Date: 2021/06/15}
+\ff{Date: 2021/06/26}
 
 \section{Overview}
 
@@ -123,6 +123,9 @@
 \ff{nopaging}
   avoids page numbers at the bottom of each page.
 
+\ff{authordraft}
+  prints a big ``It's a draft'' message across each page.
+
 \section{Preamble}
 
 In the preamble you can specify meta information about the document,

Modified: trunk/Master/texmf-dist/doc/latex/huawei/samples/huawei-cfp.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/huawei/samples/huawei-cfp.tex	2021-06-26 20:37:29 UTC (rev 59719)
+++ trunk/Master/texmf-dist/doc/latex/huawei/samples/huawei-cfp.tex	2021-06-26 20:38:18 UTC (rev 59720)
@@ -20,7 +20,7 @@
 % OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 % SOFTWARE.
 
-\documentclass[nobrand,nosecurity,anonymous,nopaging]{../huawei}
+\documentclass[nobrand,nosecurity,anonymous,nopaging,authordraft]{../huawei}
 \usepackage{ffcode}
 \renewcommand*\thetitle{Test Call for Proposal}
 \renewcommand*\theauthor{Yegor Bugayenko}

Added: trunk/Master/texmf-dist/tex/latex/huawei/huawei-cover-picture.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/tex/latex/huawei/huawei-cover-picture.pdf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/huawei/huawei-cover-picture.pdf	2021-06-26 20:37:29 UTC (rev 59719)
+++ trunk/Master/texmf-dist/tex/latex/huawei/huawei-cover-picture.pdf	2021-06-26 20:38:18 UTC (rev 59720)

Property changes on: trunk/Master/texmf-dist/tex/latex/huawei/huawei-cover-picture.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/huawei/huawei.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/huawei/huawei.cls	2021-06-26 20:37:29 UTC (rev 59719)
+++ trunk/Master/texmf-dist/tex/latex/huawei/huawei.cls	2021-06-26 20:38:18 UTC (rev 59720)
@@ -21,10 +21,12 @@
 % SOFTWARE.
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{huawei}[2021/06/15 0.6.1 Template for Huawei Documents]
+\ProvidesClass{huawei}[2021/06/26 0.7.0 Template for Huawei Documents]
 
 \newif\ifnosecurity
 \DeclareOption{nosecurity}{\nosecuritytrue}
+\newif\ifauthordraft
+\DeclareOption{authordraft}{\authordrafttrue}
 \newif\ifnobrand
 \DeclareOption{nobrand}{\nobrandtrue}
 \newif\ifnodate
@@ -149,7 +151,13 @@
   \renewcommand{\headrulewidth}{0pt}
   \fancyhf{}
   \fancyfoot[L]{
-    \LeftHuaweiBar{}
+    \ifauthordraft%
+      \begin{textblock}{14}[0.5,0.5](8,8)%
+        \tikz \node[minimum width=14\TPHorizModule] {%
+          \fontsize{64}{64}\selectfont\sffamily\scshape\color{gray!20}\rotatebox{30}{it is a draft}
+        };%
+      \end{textblock}%
+    \else\fi%
     \ifnum\value{page}=1\else%
       \ifnobrand\else%
         \begin{textblock}{8}[0,0](1.2,0.2)%
@@ -207,17 +215,27 @@
     {\color{gray!50!black}\large\thesubtitle}
   \fi
   \\[18pt]
-  \ifanonymous\else%
-    \ifx\thecompany\empty\else%
-      \thecompany\newline
+  \ifnobrand\else%
+    \ifanonymous\else%
+      \ifx\thecompany\empty\else%
+        \thecompany\newline
+      \fi
     \fi
   \fi
   \ifx\theauthor\empty\else%
-    {\scshape\theauthor}%
+    {\scshape\ifanonymous
+      Anonymous Authors
+    \else%
+      \theauthor
+    \fi}%
   \fi%
-  \ifx\theauthor\empty\else
-    \ifx\theid\empty\else
-      \;/ {\theid}
+  \ifanonymous\else%
+    \ifx\theauthor\empty\else
+      \ifnobrand\else%
+        \ifx\theid\empty\else
+          \;/ {\theid}
+        \fi
+      \fi
     \fi
   \fi\newline
   \vspace{2em}
@@ -264,7 +282,7 @@
   \maketitle
   \iflandscape\ifnocover\else
     \begin{textblock}{14}[1,1](14,14)
-      \raggedleft\includegraphics[height=3.6in]{cover-picture.pdf}
+      \raggedleft\includegraphics[height=3.6in]{huawei-cover-picture.pdf}
     \end{textblock}
   \fi\fi
 }

Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds	2021-06-26 20:37:29 UTC (rev 59719)
+++ trunk/Master/tlpkg/libexec/ctan2tds	2021-06-26 20:38:18 UTC (rev 59720)
@@ -1989,6 +1989,7 @@
  'hlist',	'hlist\.tex|' . $standardtex,
  'hobby',       'code\.tex|' . $standardtex,
  'hrefhide',    '\.sty|[^c]\.cfg',      # omit ltxdoc.cfg, would be system-wide
+ 'huawei',	'.*cover-picture\.pdf|' . $standardtex,
  'hyper',       '^[^d].*\.sty|\.hyp',   # not defpattern.sty
  'hyphenex',    'ushyphex\.tex',
  'hyplain',     '(hyrules|hy.*plain|hylang)\..*',



More information about the tex-live-commits mailing list.