diff --git a/.github/workflows/generatedocs.yml b/.github/workflows/generatedocs.yml index bb0a627..5a37e4d 100644 --- a/.github/workflows/generatedocs.yml +++ b/.github/workflows/generatedocs.yml @@ -15,7 +15,7 @@ jobs: - name: Compile LaTeX document uses: xu-cheng/latex-action@v3 with: - root_file: ada_reference_card_2022_a4_en.tex + root_file: ada_reference_card_2022_en.tex - name: Delete 'continuous' release and tag uses: dev-drprasad/delete-tag-and-release@v1.0 @@ -26,10 +26,9 @@ jobs: - name: Release uses: softprops/action-gh-release@v2 with: - files: ada_reference_card_2022_a4_en.pdf + files: ada_reference_card_2022_en.pdf prerelease: true generate_release_notes: true append_body: true make_latest: true tag_name: continuous - diff --git a/ada_reference_card_2022_a4_en.tex b/ada_reference_card_2022_en.tex similarity index 99% rename from ada_reference_card_2022_a4_en.tex rename to ada_reference_card_2022_en.tex index 5aa0562..cfeaefc 100644 --- a/ada_reference_card_2022_a4_en.tex +++ b/ada_reference_card_2022_en.tex @@ -1,8 +1,7 @@ -\documentclass[english]{article} + \pdfcompresslevel=9 \pdfmapfile{=nodownload.map} \usepackage{babel} -\usepackage[a4paper,margin=0.25cm,landscape]{geometry} \usepackage{multicol} \setlength{\columnsep}{0.3cm} \usepackage[utf8]{inputenc} @@ -45,7 +44,7 @@ \end{titlepage} \begin{document} \begin{scriptsize} -\begin{multicols*}{3} +\begin{multicols*}{\columnnr} \section*{\textsc{Ada 2022 Reference Card}} \begin{tabular}{@{}l l l l l l l l} \textit{italic} & Ada 2022 &&&&&&\\ @@ -362,11 +361,8 @@ \section*{\textsc{Pragmas}} \adaitem{http://www.ada-auth.org/standards/22rm/html/RM-J-15-8.html}{Volatile}{pragma Volatile (local\_name)}{Is used with types and variables to specify that the variable in question may suddenly change in value. For example, this may occur due to a device writing to a shared buffer.} \adaitem{http://www.ada-auth.org/standards/22rm/html/RM-J-15-8.html}{Volatile\_Components}{pragma Volatile\_Components (array\_local\_name)}{notDeclares that the components of the array type — but not the array type itself — are volatile.e} \end{description} -\end{multicols*} -\clearpage -\begin{multicols*}{5} -\section*{\textsc{Standard Library}} +\section*{\textsc{Standard Library}} \begin{itemize}[leftmargin=0mm] \item[] \textbf{package \href{http://www.ada-auth.org/standards/22rm/html/RM-A-1.html}{Standard}} \begin{itemize}[leftmargin=5mm]