texlive[66877] Build/source/texk/web2c/hitexdir: HINT: new README.TXT

commits+mruckert at tug.org commits+mruckert at tug.org
Tue Apr 18 11:09:57 CEST 2023


Revision: 66877
          http://tug.org/svn/texlive?view=revision&revision=66877
Author:   mruckert
Date:     2023-04-18 11:09:57 +0200 (Tue, 18 Apr 2023)
Log Message:
-----------
HINT: new README.TXT and driver file for the hyperref package: hhitex.def

Added Paths:
-----------
    trunk/Build/source/texk/web2c/hitexdir/README.TXT
    trunk/Build/source/texk/web2c/hitexdir/tex/hhitex.def

Added: trunk/Build/source/texk/web2c/hitexdir/README.TXT
===================================================================
--- trunk/Build/source/texk/web2c/hitexdir/README.TXT	                        (rev 0)
+++ trunk/Build/source/texk/web2c/hitexdir/README.TXT	2023-04-18 09:09:57 UTC (rev 66877)
@@ -0,0 +1,50 @@
+HINT project home page
+----------------------
+The home page for the HINT project is at https://hint.userweb.mwn.de/
+
+
+HiLaTeX
+-------
+The support of hitex for LaTeX is still in its initial stages.
+To communicate with the LaTeX team and to offer up-to-date
+LaTeX support files there is a github repository for general
+access under: https://github.com/ruckertm/HINT
+
+In the directory hilatex, it features the following subdirectories
+- base
+  the the basic LaTeX support files.
+  Stable versions of these files are mirrored in the hitexdir/tex 
+  subdirectory of TeX Live.
+ 
+- tests various short test files
+
+- bin binaries for hitex and hintview for testing
+
+Displaying HINT Files
+---------------------
+To display HINT files, a viewing applications is required.
+While in the future many such applications might exists,
+currently there is only one (or one family) of such
+applications: hintview.
+
+The hintview application is maintained at https://github.com/ruckertm/HINT
+in the hintview subdirectory.
+
+If you do not want to mess with compiling hintview but prefer downloading
+an app from an app store you should look at 
+https://hint.userweb.mwn.de/hint/hintview.html
+for more information and links.
+
+Currently there are versions for Linux, Windows, Android, MacOS and iOS.
+All viewers share the same backend to open and process HINT files;
+and all do the rendering using OpenGL. The openGL interface is almost 
+identical for all these versions.
+
+Libraries that are used on all or some platforms are collected in the
+external subdirectory for convenience.
+
+The code that implements the user interface is different for the
+different platforms.
+
+
+


Property changes on: trunk/Build/source/texk/web2c/hitexdir/README.TXT
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Build/source/texk/web2c/hitexdir/tex/hhitex.def
===================================================================
--- trunk/Build/source/texk/web2c/hitexdir/tex/hhitex.def	                        (rev 0)
+++ trunk/Build/source/texk/web2c/hitexdir/tex/hhitex.def	2023-04-18 09:09:57 UTC (rev 66877)
@@ -0,0 +1,343 @@
+%%% Preliminary Draft for testing
+%%
+%% This is file `hhitex.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% hyperref.dtx  (with options: `pdftex,pdfform,outlines')
+%% 
+%% Copyright
+%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek,
+%% 2001-2015 Heiko Oberdiek.
+%% 2016-2019 Oberdiek Package Support Group
+%% 2019-2022 LaTeX Project
+%%      https://github.com/latex3/hyperref/issues
+%% 
+%% This file is part of the `Hyperref Bundle'.
+%% -------------------------------------------
+%% 
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%%   http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%% 
+%% This work has the LPPL maintenance status `maintained'.
+%% 
+%% The Current Maintainer of this work is the LaTeX Project.
+%% 
+%% The list of all files belonging to the `Hyperref Bundle' is
+%% given in the file `manifest.txt'.
+%% 
+%% File: hyperref.dtx
+\ProvidesFile{hhitex.def}
+  [2022-09-22 v7.00t %
+  Hyperref driver for hiTeX]
+
+\chardef\Hy at VersionChecked=1 % prevent hyperref from checking the version.
+
+\ifHy at pdfpagelabels
+  \def\HyPL at StorePageLabel#1{%
+    \toks@\expandafter{\HyPL at Labels}%
+    \xdef\HyPL at Labels{%
+      \the\toks@
+      \the\Hy at abspage<<#1>>%
+    }%
+  }%
+%  \RequirePackage{atveryend}[2009/12/07]%
+%  \AtVeryEndDocument{%
+%    \HyPL at SetPageLabels
+%  }%
+\fi
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname pdf at escapestring\endcsname\relax
+  \begingroup
+    \catcode`\|=0 %
+    \@makeother\\%
+  |@firstofone{|endgroup
+    |def|Hy at pstringdef#1#2{%
+      |begingroup
+        |edef~{|string~}%
+        |xdef|Hy at gtemp{#2}%
+      |endgroup
+      |let#1|Hy at gtemp
+      |@onelevel at sanitize#1%
+      |edef#1{|expandafter|Hy at ExchangeBackslash#1\|@nil}%
+      |edef#1{|expandafter|Hy at ExchangeLeftParenthesis#1(|@nil}%
+      |edef#1{|expandafter|Hy at ExchangeRightParenthesis#1)|@nil}%
+    }%
+    |def|Hy at ExchangeBackslash#1\#2|@nil{%
+      #1%
+      |ifx|\#2|\%%
+      |else
+        \\%
+        |ltx at ReturnAfterFi{%
+          |Hy at ExchangeBackslash#2|@nil
+        }%
+      |fi
+    }%
+  }%
+  \def\Hy at ExchangeLeftParenthesis#1(#2\@nil{%
+    #1%
+    \ifx\\#2\\%
+    \else
+      \@backslashchar(%
+      \ltx at ReturnAfterFi{%
+        \Hy at ExchangeLeftParenthesis#2\@nil
+      }%
+    \fi
+  }%
+  \def\Hy at ExchangeRightParenthesis#1)#2\@nil{%
+    #1%
+    \ifx\\#2\\%
+    \else
+      \@backslashchar)%
+      \ltx at ReturnAfterFi{%
+        \Hy at ExchangeRightParenthesis#2\@nil
+      }%
+    \fi
+  }%
+\else
+  \def\Hy at pstringdef#1#2{%
+    \begingroup
+      \edef~{\string~}%
+      \xdef\Hy at gtemp{\pdf at escapestring{#2}}%
+    \endgroup
+    \let#1\Hy at gtemp
+  }%
+\fi
+\providecommand*{\XR at ext}{pdf}
+\Hy at setbreaklinks{true}
+\def\HyPat at ObjRef{%
+  [0-9]*[1-9][0-9]* 0 R%
+}
+
+\def\setpdflinkmargin#1{}%????
+\def\Hy at PutCatalog{}
+\Hy at WrapperDef\new at pdflink#1{%
+  \ifhmode
+    \@savsf\spacefactor
+  \fi
+  \Hy at SaveLastskip
+  \Hy at VerboseAnchor{#1}%
+  \Hy at pstringdef\Hy at pstringDest{\HyperDestNameFilter{#1}}%
+  \Hy at DestName\Hy at pstringDest\@pdfview
+  \Hy at RestoreLastskip
+  \ifhmode
+    \spacefactor\@savsf
+  \fi
+}
+\let\pdf at endanchor\@empty
+\def\Hy at DestName#1#2{%
+  \HINTdest name {#1}\relax
+}
+\providecommand*\@pdfborder{0 0 1}
+\providecommand*\@pdfborderstyle{}
+\def\Hy at undefinedname{UNDEFINED}
+\def\find at pdflink#1#2{%
+  \leavevmode
+  \protected at edef\Hy at testname{#2}%
+  \ifx\Hy at testname\@empty
+    \Hy at Warning{%
+      Empty destination name,\MessageBreak
+      using `\Hy at undefinedname'%
+    }%
+    \let\Hy at testname\Hy at undefinedname
+  \else
+    \Hy at pstringdef\Hy at testname{%
+      \expandafter\HyperDestNameFilter\expandafter{\Hy at testname}%
+    }%
+  \fi
+  \Hy at StartlinkName{%
+    %\ifHy at pdfa /F 4\fi
+%    \Hy at setpdfborder
+%    \Hy at setpdfhighlight
+%    \ifx\CurrentBorderColor\relax
+%    \else
+%      /C[\CurrentBorderColor]%
+%    \fi
+  }\Hy at testname
+  \expandafter\Hy at colorlink\csname @#1color\endcsname
+}
+\def\Hy at StartlinkName#1#2{%
+  \HINTstartlink goto name{#2}\relax
+}
+\def\close at pdflink{%
+  \Hy at endcolorlink
+  \Hy at VerboseLinkStop
+  \HINTendlink
+}
+\def\hyper at anchor#1{%
+  \new at pdflink{#1}\anchor at spot\pdf at endanchor
+}
+\def\hyper at anchorstart#1{%
+  \new at pdflink{#1}%
+  \Hy at activeanchortrue
+}
+\def\hyper at anchorend{%
+  \pdf at endanchor
+  \Hy at activeanchorfalse
+}
+\def\hyper at linkstart#1#2{%
+  \Hy at VerboseLinkStart{#1}{#2}%
+  \ltx at IfUndefined{@#1bordercolor}{%
+    \let\CurrentBorderColor\relax
+  }{%
+    \edef\CurrentBorderColor{\csname @#1bordercolor\endcsname}%
+  }%
+  \find at pdflink{#1}{#2}%
+}
+\def\hyper at linkend{\close at pdflink}
+\def\hyper at link#1#2#3{%
+  \Hy at VerboseLinkStart{#1}{#2}%
+  \ltx at IfUndefined{@#1bordercolor}{%
+    \let\CurrentBorderColor\relax
+  }{%
+    \edef\CurrentBorderColor{\csname @#1bordercolor\endcsname}%
+  }%
+  \find at pdflink{#1}{#2}#3\Hy at xspace@end
+  \close at pdflink
+}
+\let\CurrentBorderColor\@linkbordercolor
+\def\hyper at linkurl#1#2{}%
+\def\hyper at linkfile#1#2#3{}% anchor text, filename, linkname
+\def\@hyper at launch run:#1\\#2#3{}% filename, anchor text linkname
+\def\PDF at SetupDoc{}
+\def\PDF at FinishDoc{}%
+ 
+
+\def\Hy at writebookmark#1#2#3#4#5{%
+    % section number, text, label, level, file
+  \ifx\WriteBookmarks\relax%
+  \else
+     \HINToutline goto name{#3} depth #4 {#2}%
+  \fi
+}
+\def\Hy at currentbookmarklevel{0}
+\def\Hy at numberline#1{#1 }
+\def\Hy at OutlineRerunCheck{}
+\def\ReadBookmarks{}
+\def\Hy at OutlineName#1#2#3#4{}
+\ifHy at implicit
+\else
+  \expandafter\endinput
+\fi
+\newlength\Hy at SectionHShift
+\def\Hy at SectionAnchorHref#1{%
+  \ifx\protect\@typeset at protect
+    \Hy@@SectionAnchor{#1}%
+  \fi
+}
+\DeclareRobustCommand*{\Hy@@SectionAnchor}[1]{%
+  \leavevmode
+  \hbox to 0pt{%
+    \kern-\Hy at SectionHShift
+    \Hy at raisedlink{%
+      \hyper at anchorstart{#1}\hyper at anchorend
+    }%
+    \hss
+  }%
+}
+\@ifundefined{hyper at nopatch@sectioning}
+{
+\let\H at old@ssect\@ssect
+\def\@ssect#1#2#3#4#5{%
+  \Hy at MakeCurrentHrefAuto{section*}%
+  \setlength{\Hy at SectionHShift}{#1}%
+  \begingroup
+    \toks@{\H at old@ssect{#1}{#2}{#3}{#4}}%
+    \toks\tw@\expandafter{%
+      \expandafter\Hy at SectionAnchorHref\expandafter{\@currentHref}%
+      #5%
+    }%
+  \edef\x{\endgroup
+    \the\toks@{\the\toks\tw@}%
+  }\x
+}
+\let\H at old@schapter\@schapter
+\def\@schapter#1{%
+  \begingroup
+    \let\@mkboth\@gobbletwo
+    \Hy at MakeCurrentHrefAuto{\Hy at chapapp*}%
+    \Hy at raisedlink{%
+      \hyper at anchorstart{\@currentHref}\hyper at anchorend
+    }%
+  \endgroup
+  \H at old@schapter{#1}%
+}
+\ltx at IfUndefined{@chapter}{}{%
+  \let\Hy at org@chapter\@chapter
+  \def\@chapter{%
+    \def\Hy at next{%
+      \Hy at MakeCurrentHrefAuto{\Hy at chapapp*}%
+      \Hy at raisedlink{%
+        \hyper at anchorstart{\@currentHref}\hyper at anchorend
+      }%
+    }%
+    \ifnum\c at secnumdepth>\m at ne
+      \ltx at IfUndefined{if at mainmatter}%
+      \iftrue{\csname if at mainmatter\endcsname}%
+        \let\Hy at next\relax
+      \fi
+    \fi
+    \Hy at next
+    \Hy at org@chapter
+  }%
+}
+\let\H at old@part\@part
+\@ifundefined{chapter}
+  {\let\Hy at secnum@part\z@}
+  {\let\Hy at secnum@part\m at ne}
+\def\@part{%
+  \ifnum\Hy at secnum@part>\c at secnumdepth
+    \phantomsection
+  \fi
+  \H at old@part
+}
+\let\H at old@spart\@spart
+\def\@spart#1{%
+  \Hy at MakeCurrentHrefAuto{part*}%
+  \Hy at raisedlink{%
+    \hyper at anchorstart{\@currentHref}\hyper at anchorend
+  }%
+  \H at old@spart{#1}%
+}
+\let\H at old@sect\@sect
+\def\@sect#1#2#3#4#5#6[#7]#8{%
+  \ifnum #2>\c at secnumdepth
+    \expandafter\@firstoftwo
+  \else
+    \expandafter\@secondoftwo
+  \fi
+  {%
+    \Hy at MakeCurrentHrefAuto{section*}%
+    \setlength{\Hy at SectionHShift}{#3}%
+    \begingroup
+      \toks@{\H at old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]}%
+      \toks\tw@\expandafter{%
+        \expandafter\Hy at SectionAnchorHref\expandafter{\@currentHref}%
+        #8%
+      }%
+    \edef\x{\endgroup
+      \the\toks@{\the\toks\tw@}%
+    }\x
+  }{%
+    \H at old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}%
+  }%
+}
+}{}
+\expandafter\def\csname Parent-4\endcsname{}
+\expandafter\def\csname Parent-3\endcsname{}
+\expandafter\def\csname Parent-2\endcsname{}
+\expandafter\def\csname Parent-1\endcsname{}
+\expandafter\def\csname Parent0\endcsname{}
+\expandafter\def\csname Parent1\endcsname{}
+\expandafter\def\csname Parent2\endcsname{}
+\expandafter\def\csname Parent3\endcsname{}
+\expandafter\def\csname Parent4\endcsname{}
+\endinput
+%%
+%% End of file `hpdftex.def'.


Property changes on: trunk/Build/source/texk/web2c/hitexdir/tex/hhitex.def
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property


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