http, pcspeaker driver

Former-commit-id: a3ad38695e8c1e1040a6a3f4b8470217e8a98489
Former-commit-id: cd3809edcae7b26e7b3d846dab17f1f63761f30f
This commit is contained in:
Song Minjae
2016-09-29 23:04:04 +09:00
parent 793bca4b55
commit 1b4aca320f
35 changed files with 678 additions and 385 deletions

View File

@@ -1,6 +1,6 @@
% !TEX TS-program = lualatex
\documentclass[10pt, stock]{memoir}
\documentclass[10pt, stock, openany]{memoir}
\usepackage{fontspec}
@@ -29,15 +29,6 @@
\aliaspagestyle{part}{empty}
\aliaspagestyle{chapter}{empty}
\makeatletter
\renewcommand\memendofchapterhook{%
\clearpage\m@mindentafterchapter\@afterheading}
\makeatother
\definecolor{black}{HTML}{000000}
\definecolor{white}{HTML}{FFFFFF}
\definecolor{dimgrey}{HTML}{555555}
@@ -68,8 +59,23 @@
\posttitle{\par\end{flushright}\vskip 0.5em}
% new sections are new page
\let\oldsection\section
\renewcommand\section{\clearpage\oldsection}
\let\oldsection\chapter
\renewcommand\chapter{\clearpage\oldsection}
% chapter title -- no now page after
\renewcommand\chapterheadstart{} % kill the drop
\renewcommand\afterchapternum{\vskip 0.5em} % space between number and title
\makeatletter
\renewcommand\memendofchapterhook{%
\m@mindentafterchapter\@afterheading}
\makeatother
\renewcommand{\thefootnote}{\fnsymbol{footnote}}
\aliaspagestyle{part}{empty}
\aliaspagestyle{chapter}{empty}
% The title
@@ -95,70 +101,73 @@
\chapter{APIs and Libraries}
\part{APIs and Libraries}
\section{Filesystem}
\chapter{Filesystem}
\input{api_filesystem}
\section{Hexutils}
\chapter{Hexutils}
\input{api_hexutils}
\section{Input}
\chapter{Input}
\input{api_input}
\section{Keys}
\chapter{Keys}
\input{api_keys}
\section{OS}
\chapter{OS}
\input{api_os}
\section{Security}
\chapter{Security}
\input{api_security}
\section{Shell}
\chapter{Shell}
\input{api_shell}
\section{Speaker}
\chapter{Speaker}
\input{api_speaker}
\section{Terminal}
\chapter{Terminal}
\input{api_terminal}
\section{Lua Globals}
\chapter{Lua Globals}
\input{luaglobals}
\subsection{Changes from Generic Lua Environment}
\input{luadifferences}
\section{Machine}
\chapter{Machine}
\input{api_machine}
\chapter[Compatibility Layers---ComputerCraft]{{\LARGE Compatibility Layers} \\ ComputerCraft}
\part[Compatibility Layers---ComputerCraft]{{\LARGE Compatibility Layers} \\ ComputerCraft}
\section{Bit}
\chapter{Bit}
\input{cc_bit}
\section{Colors}
\chapter{Colors}
\input{cc_colors}
\section{Term}
\chapter{Term}
\section{Filesystem}
\chapter{Filesystem}
\chapter[Compatibility Layers---OpenComputers]{{\LARGE Compatibility Layers} \\ OpenComputers}
\part[Compatibility Layers---OpenComputers]{{\LARGE Compatibility Layers} \\ OpenComputers}
\chapter{Peripherals}
\part{Peripherals}
\section{Line Printer}
\chapter{Line Printer}
\input{peri_lp}
\chapter{PSG}
%\input{peri_psg}
\chapter{References}
\part{References}
Some of the texts are taken from following sources: