Skip to content

Commit

Permalink
Merge pull request #36 from lmichel/draft-0.1
Browse files Browse the repository at this point in the history
MANGO Working draft
  • Loading branch information
lmichel authored Sep 30, 2024
2 parents 838aa7c + e4a6948 commit b80ac29
Show file tree
Hide file tree
Showing 261 changed files with 5,817 additions and 9,110 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
push:
branches:
- master
- draft-0.1

jobs:
build:
Expand All @@ -28,24 +29,24 @@ jobs:
- name: Setup dependencies
run: |
sudo apt update
sudo apt install texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended xsltproc
sudo apt install texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended xsltproc latexmk cm-super
sudo snap install pdftk
- name: Build the document
run: |
make biblio ${{ env.doc_name }}-draft.pdf
make forcetex
make ${{ env.doc_name }}-draft.pdf
- name: Check the output
run: |
ls
test -f ${{ env.doc_name }}-draft.pdf
test -f ${{ env.doc_name }}.bbl
- name: Move the auto-pdf-preview tag
uses: weareyipyip/walking-tag-action@v1
uses: weareyipyip/walking-tag-action@v2
with:
TAG_NAME: auto-pdf-preview
TAG_MESSAGE: |
tag-name: auto-pdf-preview
tag-message: |
Last commit taken into account for the automatically updated PDF preview of this IVOA document.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,10 @@ target/
release.properties
pom.xml.releaseBackup
pom.xml.tag
*.pdf

.pydevproject
*.html

trash/*
exercise*
Binary file removed doc/MANGO.pdf
Binary file not shown.
Binary file removed doc/MANGO.synctex.gz(busy)
Binary file not shown.
1,039 changes: 446 additions & 593 deletions doc/MANGO.tex

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
DOCNAME = MANGO

# count up; you probably do not want to bother with versions <1.0
DOCVERSION = 1.0
DOCVERSION = 0.1

# Publication date, ISO format; update manually for "releases"
DOCDATE = 2020-07-24
DOCDATE = 2024-09-26

# What is it you're writing: NOTE, WD, PR, REC, PEN, or EN
DOCTYPE = WD
Expand Down
10 changes: 5 additions & 5 deletions doc/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### generating the model doc from the VODML

```shell
xsltproc -o model.tex ivoatex/vo-dml2ivoatex.xslt ../vo-dml/mango.vo-dml.xml
```
DataOrigin.reference_url### generating the model doc from the VODML

```shell
xsltproc -o model.tex ivoatex/vo-dml2ivoatex.xslt ../vo-dml/mango.vo-dml.xml
```
81 changes: 0 additions & 81 deletions doc/WD_cab_msd.text

This file was deleted.

71 changes: 48 additions & 23 deletions doc/ivoa.cls
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
\RequirePackage{graphicx}
\RequirePackage{xcolor}
\RequirePackage{ifthen}
\RequirePackage{doc}
\RequirePackage{listings}
\RequirePackage{textcomp}
\RequirePackage{paralist}
\RequirePackage{url}
\RequirePackage[nottoc]{tocbibind}
\RequirePackage[labelfont=it]{caption}
\RequirePackage[T1]{fontenc}
\RequirePackage[utf8]{inputenc}
Expand All @@ -28,6 +29,12 @@
\RequirePackage{natbib}
\bibliographystyle{ivoatex/ivoa}

% people usually want to cut and paste from our listings, so keep
% lstlistings from mangling quotes.
\lstset{upquote=true}

\urlstyle{same}

\renewcommand{\topfraction}{0.9}
\renewcommand{\bottomfraction}{0.7}
\renewcommand{\textfraction}{0.1}
Expand All @@ -39,7 +46,12 @@

%%%%%%%%%%%%%%%%%%% Metadata definition macros

\newcommand{\ivoagroup}[1]{\def\ivo@group{#1}}
\newcommand{\ivoagroup}[2][WG]{%
\def\ivo@group{#2}%
\ifthenelse{\equal{#1}{IG}}
{\gdef\gr@uptype{Interest Group}}
{\gdef\gr@uptype{Working Group}}
}

% these are accumulators for sequences
\def\previ@usversions{}
Expand Down Expand Up @@ -126,28 +138,28 @@
\Large\color{ivoacolor}\quad\textsl{\textsf{\textbf{V}irtual}} \\
\Large\color{ivoacolor}\quad\textsl{\textsf{\textbf{O}bservatory}} \\
\Large\color{ivoacolor}\textsl{\textsf{\textbf{A}lliance}}}}\hfil}

\vskip 1.4cm
\begin{sloppypar}\raggedright
\LARGE\color{ivoacolor}\sffamily\bfseries \@title\par
\end{sloppypar}

\bigskip
\noindent{\LARGE\color{ivoacolor}\sffamily\bfseries
\noindent{\LARGE\color{ivoacolor}\sffamily\bfseries
Version \ivoaDocversion}
\medskip
\titlehe@d{\expandedDoctype{\ivoaDoctype} \ivoaDocdate}%


\begin{bigdescription}
\item[Working group]
\item[\gr@uptype]
\ivo@group

\item[This version]
\currentDocURL
\currentDocRef

\item[Latest version]
\latestDocURL
\latestDocRef

\item[Previous versions]
\begin{compactitem}[]
Expand Down Expand Up @@ -239,12 +251,12 @@
{This is an IVOA Proposed Endorsed Note for review by IVOA
members and other interested parties. It is appropriate to
reference this document only as a Proposed Endorsed Note that
is under review and may change before it is endorsed or may
not be endorsed.
is under review and may change before it is endorsed or may
not be endorsed.
}
{\ifthenelse{\equal{#1}{EN}}
{This document is an IVOA Endorsed Note. It has been reviewed and endorsed
by the IVOA Technical Coordination Group as a stable, citable document
by the IVOA Technical Coordination Group as a stable, citable document
which constitutes valuable information for the IVOA community and
beyond.
}
Expand All @@ -258,20 +270,20 @@
attention to the specification and to promote its
widespread deployment. This enhances the functionality and
interoperability inside the Astronomical Community.}
{UNKNOWN DOCUMENT (fix DOCTYPE)}}}}}}\par
{UNKNOWN DOCUMENT TYPE (fix DOCTYPE)}}}}}}\par
A list of current IVOA Recommendations and other technical documents
can be found at \href{http://www.ivoa.net/documents/
}{http://www.ivoa.net/documents/}.}

can be found in the IVOA document
repository\footnotemark\footnotetext{\url{https://www.ivoa.net/documents/}}.}

\newcommand\currentBaseURL %
{http://www.ivoa.net/documents/\ivoaDocname/\ivoaDocdatecode}
\newcommand\currentDocURL % URL of this document's landing page
{\href{\currentBaseURL}{\currentBaseURL}}
\newcommand\latestDocURL
% URL of a potential successor to the document's landing page
{\href{http://www.ivoa.net/documents/\ivoaDocname}
{http://www.ivoa.net/documents/\ivoaDocname}}
% legacy definition when ivoatexmeta.tex does not yet define it
\newcommand{\ivoaBaseURL}{https://www.ivoa.net/documents/\ivoaDocname}
\newcommand\currentDocURL %
{\ivoaBaseURL/\ivoaDocdatecode}
\newcommand\currentDocRef % formatted reference to this document's landing page
{\href{\currentDocURL}{\currentDocURL}}
\newcommand\latestDocRef
% formatted reference to a potential successor to the document's landing page
{\href{\ivoaBaseURL}{\ivoaBaseURL}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Styling various item
Expand Down Expand Up @@ -337,12 +349,24 @@

\newcommand{\xmlel}[1]{{\ttfamily\itshape #1}}
\newcommand{\vorent}[1]{\textsc{#1}}
\def\ucd{\st@rtucd\re@lucd}
\def\re@lucd#1{\sl#1\@nducd}
\begingroup
% let LaTeX break UCD componds and at dots and semicolons in UCDs
\gdef\bre@kabledot{.\hskip0pt}
\gdef\bre@kablesemicolon{;\hskip0pt}
\catcode`\.=\active\catcode`\;=\active
\gdef\st@rtucd{\begingroup
\catcode`\.=\active\let.=\bre@kabledot
\catcode`\;=\active\let;=\bre@kablesemicolon}
\gdef\@nducd{\endgroup}
\endgroup

\newcommand{\sptablerule}{\noalign{\vspace{2pt}}\hline\noalign{\vspace{2pt}}}

\newcommand{\ivoatex}{\mbox{\textsc{Ivoa}\TeX}}

\newcommand{\auxiliaryurl}[1]{\href{\currentBaseURL/#1}{\currentBaseURL/#1}}
\newcommand{\auxiliaryurl}[1]{\href{\currentDocURL/#1}{\currentDocURL/#1}}

\chardef\dquote'042

Expand All @@ -357,4 +381,5 @@

\makeatother

\input aas_macros.tex
\input ivoatexmeta.tex
7 changes: 4 additions & 3 deletions doc/ivoatexmeta.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
% GENERATED FILE -- edit this in the Makefile
\newcommand{\ivoaDocversion}{1.0}
\newcommand{\ivoaDocdate}{2020-07-24}
\newcommand{\ivoaDocdatecode}{20200724}
\newcommand{\ivoaDocversion}{0.1}
\newcommand{\ivoaDocdate}{2024-09-26}
\newcommand{\ivoaDocdatecode}{20240926}
\newcommand{\ivoaDoctype}{WD}
\newcommand{\ivoaDocname}{MANGO}
\renewcommand{\ivoaBaseURL}{https://www.ivoa.net/documents/MANGO}
Loading

0 comments on commit b80ac29

Please sign in to comment.