Changeset 53dece1 for doc/papers


Ignore:
Timestamp:
Mar 12, 2018, 8:40:51 AM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
6171841
Parents:
49eb6a2
Message:

update macros and build

Location:
doc/papers/general
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/papers/general/Makefile

    r49eb6a2 r53dece1  
    3434
    3535DOCUMENT = Paper.pdf
     36BASE = ${basename ${DOCUMENT}}
    3637
    3738# Directives #
     
    4243
    4344clean :
    44         @rm -frv ${DOCUMENT} ${basename ${DOCUMENT}}.ps ${Build}
     45        @rm -frv ${DOCUMENT} ${BASE}.ps WileyNJD-AMA.bst ${BASE}.out.ps ${Build}
    4546
    4647# File Dependencies #
    4748
    48 ${DOCUMENT} : ${basename ${DOCUMENT}}.ps
     49${DOCUMENT} : ${BASE}.ps
    4950        ps2pdf $<
    5051
    51 ${basename ${DOCUMENT}}.ps : ${basename ${DOCUMENT}}.dvi
    52         dvips -h ${Build}/Paper.out.ps -o $@ ${Build}/$<
     52${BASE}.ps : ${BASE}.dvi
     53        dvips -o $@ ${Build}/$<
    5354
    54 ${basename ${DOCUMENT}}.dvi : Makefile ${Build} ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} \
     55${BASE}.dvi : Makefile ${Build} ${BASE}.out.ps WileyNJD-AMA.bst ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} \
    5556                ../../bibliography/pl.bib
    5657        # Must have *.aux file containing citations for bibtex
     
    6768${Build}:
    6869        mkdir -p ${Build}
     70
     71${BASE}.out.ps:
     72        ln -s build/Paper.out.ps .
     73
     74WileyNJD-AMA.bst:
     75        ln -s AMA/AMA-stix/ama/WileyNJD-AMA.bst .
    6976
    7077${GRAPHS} : timing.gp timing.dat
  • doc/papers/general/Paper.tex

    r49eb6a2 r53dece1  
    11\documentclass[AMA,STIX1COL]{WileyNJD-v2}
    2 %\documentclass{article}
    32
    43\articletype{RESEARCH ARTICLE}%
     
    109\raggedbottom
    1110
    12 \usepackage{fullpage}
    1311\usepackage{epic,eepic}
    14 \usepackage{xspace,calc,comment}
     12\usepackage{xspace}
     13\usepackage{comment}
    1514\usepackage{upquote}                                            % switch curled `'" to straight
    1615\usepackage{listings}                                           % format program code
    17 \usepackage{enumitem}
    18 \setlist[itemize]{topsep=3pt,itemsep=2pt,parsep=0pt}% global
    19 \usepackage{rotating}
     16%\usepackage{enumitem}
     17%\setlist[itemize]{topsep=3pt,itemsep=2pt,parsep=0pt}% global
     18%\usepackage{rotating}
    2019\definecolor{ForestGreen}{cmyk}{1, 0, 0.99995, 0}
    2120\hypersetup{breaklinks=true}
     
    2322\usepackage[pagewise]{lineno}
    2423\renewcommand{\linenumberfont}{\scriptsize\sffamily}
    25 
    26 \setlength{\topmargin}{-0.75in}\setlength{\headsep}{0.5in}\setlength{\footskip}{0.25in}
    27 \setlength{\textheight}{9.325in}
    28 \setlength{\textwidth}{6.75in}
    29 \setlength{\evensidemargin}{-0.25in}
    30 \setlength{\oddsidemargin}{-0.25in}
    3124
    3225\lefthyphenmin=4                                                        % hyphen only after 4 characters
     
    17081701as well, parameter names are optional, \eg:
    17091702\begin{cfa}
    1710 [ int x ] f ( /* void */ );             $\C[2in]{// returning int with no parameters}$
     1703[ int x ] f ( /* void */ );             $\C[2.5in]{// returning int with no parameters}$
    17111704[ int x ] f (...);                              $\C{// returning int with unknown parameters}$
    17121705[ * int ] g ( int y );                  $\C{// returning pointer to int with int parameter}$
     
    23272320The following shows one example where \CFA \emph{extends} an existing standard C interface to reduce complexity and provide safety.
    23282321C/\Celeven provide a number of complex and overlapping storage-management operation to support the following capabilities:
    2329 \begin{description}[topsep=3pt,itemsep=2pt,parsep=0pt]
     2322\begin{description}%[topsep=3pt,itemsep=2pt,parsep=0pt]
    23302323\item[fill]
    23312324an allocation with a specified character.
     
    23772370\end{cfa}
    23782371\lstDeleteShortInline@%
    2379 \begin{tabular}{@{}l@{\hspace{\parindentlnth}}l@{}}
    2380 \multicolumn{1}{c@{\hspace{\parindentlnth}}}{\textbf{\CFA}}     & \multicolumn{1}{c}{\textbf{C}}        \\
     2372\begin{tabular}{@{}l@{\hspace{2\parindentlnth}}l@{}}
     2373\multicolumn{1}{c@{\hspace{2\parindentlnth}}}{\textbf{\CFA}}    & \multicolumn{1}{c}{\textbf{C}}        \\
    23812374\begin{cfa}
    23822375ip = alloc();
Note: See TracChangeset for help on using the changeset viewer.