|
Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
% (find-LATEX "2026eoo.tex")
% (defun c () (interactive) (find-LATEXsh "lualatex -record 2026eoo.tex" :end))
% (defun C () (interactive) (find-LATEXsh "lualatex 2026eoo.tex" "Success!!!"))
% (defun D () (interactive) (find-pdf-page "~/LATEX/2026eoo.pdf"))
% (defun d () (interactive) (find-pdftools-page "~/LATEX/2026eoo.pdf"))
% (defun e () (interactive) (find-LATEX "2026eoo.tex"))
% (defun o () (interactive) (find-LATEX "2026eoo.tex"))
% (defun u () (interactive) (find-latex-upload-links "2026eoo"))
% (defun v () (interactive) (find-2a '(e) '(d)))
% (defun d0 () (interactive) (find-ebuffer "2026eoo.pdf"))
% (defun cv () (interactive) (C) (ee-kill-this-buffer) (v) (g))
% (defun oe () (interactive) (find-2a '(o) '(e)))
% (code-eec-LATEX "2026eoo")
% (find-pdf-page "~/LATEX/2026eoo.pdf")
% (find-sh0 "cp -v ~/LATEX/2026eoo.pdf /tmp/")
% (find-sh0 "cp -v ~/LATEX/2026eoo.pdf /tmp/pen/")
% (find-xournalpp "/tmp/2026eoo.pdf")
% file:///home/edrx/LATEX/2026eoo.pdf
% file:///tmp/2026eoo.pdf
% file:///tmp/pen/2026eoo.pdf
% http://anggtwu.net/LATEX/2026eoo.pdf
% https://anggtwu.net/LATEX/2026eoo.pdf
% (find-LATEX "2019.mk")
% (find-Deps1-links "Caepro5 Piecewise2 Maxima2")
% (find-Deps1-cps "Caepro5 Piecewise2 Maxima2")
% (find-Deps1-anggs "Caepro5 Piecewise2 Maxima2")
% (find-MM-aula-links "2026eoo" "2" "eoo" "eoo")
% «.geometry» (to "geometry")
% «.edrx26a» (to "edrx26a")
% «.biber» (to "biber")
% «.edrx26b» (to "edrx26b")
% «.edrx26c» (to "edrx26c")
% «.defs» (to "defs")
% «.footer» (to "footer")
% «.defs-T-and-B» (to "defs-T-and-B")
%
% «.title» (to "title")
% «.toc» (to "toc")
% «.links» (to "links")
%
% «.writetoc» (to "writetoc")
% «.references» (to "references")
% ;-- defs
\documentclass[oneside,12pt]{article}
\usepackage[colorlinks,citecolor=DarkRed,urlcolor=DarkRed]{hyperref} % (find-es "tex" "hyperref")
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{pict2e}
\usepackage[x11names,svgnames]{xcolor} % (find-es "tex" "xcolor")
\usepackage{colorweb} % (find-es "tex" "colorweb")
%\usepackage{tikz}
%
% (find-LATEX "dednat7-test1.tex")
%\usepackage{proof} % For derivation trees ("%:" lines)
%\input diagxy % For 2D diagrams ("%D" lines)
%\xyoption{curve} % For the ".curve=" feature in 2D diagrams
%
% «geometry» (to ".geometry")
% (find-es "tex" "geometry")
\usepackage[a6paper, landscape,
top=1.5cm, bottom=.25cm, left=1cm, right=1cm, includefoot
]{geometry}
%
% «edrx26a» (to ".edrx26a")
\usepackage{edrx26a} % (find-LATEX "edrx26a.sty")
%
% «biber» (to ".biber")
%\usepackage[backend=biber,
% style=alphabetic]{biblatex} % (find-es "tex" "biber")
%\addbibresource{catsem-ab.bib} % (find-LATEX "catsem-ab.bib")
%\addbibresource{education.bib} % (find-LATEX "education.bib")
%
\usepackage{fontspec}
\usepackage{courier}
\begin{document}
% «edrx26b» (to ".edrx26b")
\input edrx26b.tex % (find-LATEX "edrx26b.tex")
% «edrx26c» (to ".edrx26c")
% (find-LATEX "edrx26c.tex")
%L processsubfile "edrx26c.tex" -- runs the "%L"s
\input edrx26c % loads the defs
% «defs» (to ".defs")
% (find-LATEX "edrx21defs.tex" "colors")
% (find-LATEX "edrx21.sty")
% «footer» (to ".footer")
% (find-LATEX "edrxheadfoot.tex")
\def\drafturl{http://anggtwu.net/LATEX/2026-1-C2.pdf}
\def\drafturl{http://anggtwu.net/2026.1-C2.html}
\def\draftfooter{\tiny \href{\drafturl}{\jobname{}} \ColorBrown{\shorttoday{} \hours}}
% «defs-T-and-B» (to ".defs-T-and-B")
\long\def\ColorDarkOrange#1{{\color{orange!90!black}#1}}
\def\T(Total: #1 pts){{\bf(Total: #1)}}
\def\T(Total: #1 pts){{\bf(Total: #1 pts)}}
\def\T(Total: #1 pts){\ColorRed{\bf(Total: #1 pts)}}
\def\B (#1 pts){\ColorDarkOrange{\bf(#1 pts)}}
% ;-- title
% _____ _ _ _
% |_ _(_) |_| | ___ _ __ __ _ __ _ ___
% | | | | __| |/ _ \ | '_ \ / _` |/ _` |/ _ \
% | | | | |_| | __/ | |_) | (_| | (_| | __/
% |_| |_|\__|_|\___| | .__/ \__,_|\__, |\___|
% |_| |___/
%
% «title» (to ".title")
% (eoop 1 "title")
% (eooa "title")
\thispagestyle{empty}
\begin{center}
\vspace*{1.2cm}
{\bf \Large eoo.lua}
\ssk
Edrx's implementation of OO for Lua
\bsk
Eduardo Ochs % - RCN/PURO/UFF
\url{https://anggtwu.net/luaforth.html}
\end{center}
%\newpage
% ;-- toc
% «toc» (to ".toc")
% (to "writetoc")
% ;-- links
% «links» (to ".links")
% (eoop 2 "links")
% (eooa "links")
%{\bf Links}
%
%\scalebox{0.6}{\def\colwidth{16cm}\firstcol{
%}\anothercol{
%}}
%\setmonofont{LucidaConsole}
%\setmonofont{Courier New}
%
% (find-google-links "how do i typeset box drawing characters like ╔ in latex")
\section{A simple test of PSNFSS2e in new and old encoding}
\subsection{T1 encoding}
\begin{quote}\begin{tabular}{|ll|ll|ll|}\hline
\verb|\rm| & \rm Roman & \verb|\itshape| & \itshape Italic
& \verb|\scshape| & \scshape Small Caps \\
\verb|\em| & \em Emphatic & \verb|\slshape| & \slshape Slanted
& \verb|\ttfamily| & \ttfamily Typewriter \\
\verb|\bfseries| & \bfseries Boldface & \verb|\sffamily| & \sffamily Sans Serif & &
\\ \hline
\end{tabular}\end{quote}
\begin{quote}\begin{tabular}{|*{5}{ll|}}\hline
\`{o} & \verb|\`{o}| & \~{o} & \verb|\~{o}| & \v{o} & \verb|\v{o}| &
\c{o} & \verb|\c{o}| & \'{o} & \verb|\'{o}| \\
\={o} & \verb|\={o}| & \H{o} & \verb|\H{o}| & \d{o} & \verb|\d{o}| &
\^{o} & \verb|\^{o}| & \.{o} & \verb|\.{o}| \\
\t{oo} & \verb|\t{oo}| & \b{o} & \verb|\b{o}| & \"{o} & \verb|\"{o}| &
\u{o} & \verb|\u{o}| && \\ \hline
\end{tabular}\end{quote}
\begin{quote}\begin{tabular}{|*{4}{ll|}}\hline
\dag & \verb|\dag| & \S & \verb|\S| &
\copyright & \verb|\copyright| &\i & \verb|\i|\\
\ddag & \verb|\ddag| & \P & \verb|\P| &
\pounds & \verb|\pounds| & {\j} & \verb|\j|\\
\oe & \verb|\oe| & \OE & \verb|\OE| &
\ae & \verb|\ae| & & \\
\AE & \verb|\AE| & \aa & \verb|\aa| &
\AA & \verb|\AA| && \\
\o & \verb|\o| & \O & \verb|\O| &
\l & \verb|\l| && \\
\L & \verb|\L| & \ss & \verb|\ss| &
?` & \verb|?`| && \\
!` & \verb|!`| & \ldots & \verb|\ldots| &
\LaTeX & \verb|\LaTeX| && \\
\hline
\end{tabular}\end{quote}
{This costs `\pounds' 45 to do; {\sffamily this costs \pounds 45 to do;
\em this costs \pounds 45 in sans italic to do;}
\scshape this costs ``\pounds'' 45 to do; \em this costs \pounds 45 to do
\bfseries this costs \pounds 45 to do for a f\'ee. And so on.}
The s\=un has got his h\=at in, hip hip hip hooray! !`THE DAZED BROWN
FOX QUICKLY GAVE 12345--67890 JUMPS! --- ?`But aren't Kafka's
Schlo{\ss} and {\AE}sop's {\OE}uvres often na{\"\i}ve vis-\`{a}-vis
the d{\ae}monic ph{\oe}nix's official r\^{o}le in fluffy souffl\'{e}s?
\newpage
\fontencoding{OT1}\renewcommand{\encodingdefault}{OT1}\selectfont
\subsection{OT1 encoding}
Note: do \emph{not} expect the pounds sign to be quite correct --- it
will always be in italic, and will be a dollar in the Helvetica fonts.
\begin{quote}\begin{tabular}{|ll|ll|ll|}\hline
\verb|\rm| & \rm Roman & \verb|\itshape| & \itshape Italic
& \verb|\scshape| & \scshape Small Caps \\
\verb|\em| & \em Emphatic & \verb|\slshape| & \slshape Slanted
& \verb|\ttfamily| & \ttfamily Typewriter \\
\verb|\bfseries| & \bfseries Boldface & \verb|\sffamily| & \sffamily Sans Serif & &
\\ \hline
\end{tabular}\end{quote}
\begin{quote}\begin{tabular}{|*{5}{ll|}}\hline
\`{o} & \verb|\`{o}| & \~{o} & \verb|\~{o}| & \v{o} & \verb|\v{o}| &
\c{o} & \verb|\c{o}| & \'{o} & \verb|\'{o}| \\
\={o} & \verb|\={o}| & \H{o} & \verb|\H{o}| & \d{o} & \verb|\d{o}| &
\^{o} & \verb|\^{o}| & \.{o} & \verb|\.{o}| \\
\t{oo} & \verb|\t{oo}| & \b{o} & \verb|\b{o}| & \"{o} & \verb|\"{o}| &
\u{o} & \verb|\u{o}| && \\ \hline
\end{tabular}\end{quote}
\begin{quote}\begin{tabular}{|*{4}{ll|}}\hline
\dag & \verb|\dag| & \S & \verb|\S| &
\copyright & \verb|\copyright| &\i & \verb|\i|\\
\ddag & \verb|\ddag| & \P & \verb|\P| &
\pounds & \verb|\pounds| & {\j} & \verb|\j|\\
\oe & \verb|\oe| & \OE & \verb|\OE| &
\ae & \verb|\ae| & & \\
\AE & \verb|\AE| & \aa & \verb|\aa| &
\AA & \verb|\AA| && \\
\o & \verb|\o| & \O & \verb|\O| &
\l & \verb|\l| && \\
\L & \verb|\L| & \ss & \verb|\ss| &
?` & \verb|?`| && \\
!` & \verb|!`| & \ldots & \verb|\ldots| &
\LaTeX & \verb|\LaTeX| && \\
\hline
\end{tabular}\end{quote}
{This costs `\pounds' 45 to do; {\sffamily this costs \pounds 45 to do;
\em this costs \pounds 45 in sans italic to do;}
\scshape this costs ``\pounds'' 45 to do; \em this costs \pounds 45 to do
\bfseries this costs \pounds 45 to do for a f\'ee. And so on.}
{\itshape Let's try USD in italic, too: \$ 45.}
The s\=un has got his h\=at in, hip hip hip hooray! !`THE DAZED BROWN
FOX QUICKLY GAVE 12345--67890 JUMPS! --- ?`But aren't Kafka's
Schlo{\ss} and {\AE}sop's {\OE}uvres often na{\"\i}ve vis-\`{a}-vis
the d{\ae}monic ph{\oe}nix's official r\^{o}le in fluffy souffl\'{e}s?
\section{Math alphabets used with Times}
\begin{quote}\begin{tabular}{|ll|}
\hline
$1, 2, 3, \sin, \log $ & \verb|$1, 2, 3, \sin, \log $| \\
$c, v, f, \beta, \Gamma $ & \verb|$c, v, f, \beta, \Gamma $| \\
$\mathcal{A B C F} $ & \verb|$\mathcal{A, B, C, F} $|\\
\hline
\end{tabular}\end{quote}
\begin{verbatim}
abcd
╔═══╗
║ ║
╚═══╝
\end{verbatim}
% ;-- writetoc
% «writetoc» (to ".writetoc")
\directlua{toclines:writetoc()}
% Writes in: (find-LATEXfile "2026eoo.mytoc")
% See: (to "toc")
% ;-- references
% «references» (to ".references")
%\printbibliography
% ;-- write-dnt-file
% «write-dnt-file» (to ".write-dnt-file")
% (find-fline "~/LATEX/" "2026eoo.dnt")
% (find-fline "~/LATEX/2026eoo.dnt")
%L write_dnt_file ("2026eoo.dnt")
\pu
\GenericWarning{Success:}{Success!!!} % Used by `M-x cv'
\end{document}
% (find-pdfpages2-links "~/LATEX/" "2026eoo")
% Local Variables:
% coding: utf-8-unix
% outline-regexp: "% +;--"
% ee-tla: "eoo"
% End: