diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/cascadilla |
Initial commit
Diffstat (limited to 'macros/latex/contrib/cascadilla')
-rw-r--r-- | macros/latex/contrib/cascadilla/LICENSE.txt | 416 | ||||
-rw-r--r-- | macros/latex/contrib/cascadilla/README | 95 | ||||
-rw-r--r-- | macros/latex/contrib/cascadilla/cascadilla.bst | 1490 | ||||
-rw-r--r-- | macros/latex/contrib/cascadilla/cascadilla.cls | 275 | ||||
-rw-r--r-- | macros/latex/contrib/cascadilla/example.pdf | bin | 0 -> 79612 bytes | |||
-rw-r--r-- | macros/latex/contrib/cascadilla/example.tex | 309 | ||||
-rw-r--r-- | macros/latex/contrib/cascadilla/exampleref.bib | 41 |
7 files changed, 2626 insertions, 0 deletions
diff --git a/macros/latex/contrib/cascadilla/LICENSE.txt b/macros/latex/contrib/cascadilla/LICENSE.txt new file mode 100644 index 0000000000..2244313901 --- /dev/null +++ b/macros/latex/contrib/cascadilla/LICENSE.txt @@ -0,0 +1,416 @@ +The LaTeX Project Public License +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- + +LPPL Version 1.3c 2008-05-04 + +Copyright 1999 2002-2008 LaTeX3 Project + Everyone is allowed to distribute verbatim copies of this + license document, but modification of it is not allowed. + + +PREAMBLE +======== + +The LaTeX Project Public License (LPPL) is the primary license under +which the LaTeX kernel and the base LaTeX packages are distributed. + +You may use this license for any work of which you hold the copyright +and which you wish to distribute. This license may be particularly +suitable if your work is TeX-related (such as a LaTeX package), but +it is written in such a way that you can use it even if your work is +unrelated to TeX. + +The section `WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE', +below, gives instructions, examples, and recommendations for authors +who are considering distributing their works under this license. + +This license gives conditions under which a work may be distributed +and modified, as well as conditions under which modified versions of +that work may be distributed. + +We, the LaTeX3 Project, believe that the conditions below give you +the freedom to make and distribute modified versions of your work +that conform with whatever technical specifications you wish while +maintaining the availability, integrity, and reliability of +that work. If you do not see how to achieve your goal while +meeting these conditions, then read the document `cfgguide.tex' +and `modguide.tex' in the base LaTeX distribution for suggestions. + + +DEFINITIONS +=========== + +In this license document the following terms are used: + + `Work' + Any work being distributed under this License. + + `Derived Work' + Any work that under any applicable law is derived from the Work. + + `Modification' + Any procedure that produces a Derived Work under any applicable + law -- for example, the production of a file containing an + original file associated with the Work or a significant portion of + such a file, either verbatim or with modifications and/or + translated into another language. + + `Modify' + To apply any procedure that produces a Derived Work under any + applicable law. + + `Distribution' + Making copies of the Work available from one person to another, in + whole or in part. Distribution includes (but is not limited to) + making any electronic components of the Work accessible by + file transfer protocols such as FTP or HTTP or by shared file + systems such as Sun's Network File System (NFS). + + `Compiled Work' + A version of the Work that has been processed into a form where it + is directly usable on a computer system. This processing may + include using installation facilities provided by the Work, + transformations of the Work, copying of components of the Work, or + other activities. Note that modification of any installation + facilities provided by the Work constitutes modification of the Work. + + `Current Maintainer' + A person or persons nominated as such within the Work. If there is + no such explicit nomination then it is the `Copyright Holder' under + any applicable law. + + `Base Interpreter' + A program or process that is normally needed for running or + interpreting a part or the whole of the Work. + + A Base Interpreter may depend on external components but these + are not considered part of the Base Interpreter provided that each + external component clearly identifies itself whenever it is used + interactively. Unless explicitly specified when applying the + license to the Work, the only applicable Base Interpreter is a + `LaTeX-Format' or in the case of files belonging to the + `LaTeX-format' a program implementing the `TeX language'. + + + +CONDITIONS ON DISTRIBUTION AND MODIFICATION +=========================================== + +1. Activities other than distribution and/or modification of the Work +are not covered by this license; they are outside its scope. In +particular, the act of running the Work is not restricted and no +requirements are made concerning any offers of support for the Work. + +2. You may distribute a complete, unmodified copy of the Work as you +received it. Distribution of only part of the Work is considered +modification of the Work, and no right to distribute such a Derived +Work may be assumed under the terms of this clause. + +3. You may distribute a Compiled Work that has been generated from a +complete, unmodified copy of the Work as distributed under Clause 2 +above, as long as that Compiled Work is distributed in such a way that +the recipients may install the Compiled Work on their system exactly +as it would have been installed if they generated a Compiled Work +directly from the Work. + +4. If you are the Current Maintainer of the Work, you may, without +restriction, modify the Work, thus creating a Derived Work. You may +also distribute the Derived Work without restriction, including +Compiled Works generated from the Derived Work. Derived Works +distributed in this manner by the Current Maintainer are considered to +be updated versions of the Work. + +5. If you are not the Current Maintainer of the Work, you may modify +your copy of the Work, thus creating a Derived Work based on the Work, +and compile this Derived Work, thus creating a Compiled Work based on +the Derived Work. + +6. If you are not the Current Maintainer of the Work, you may +distribute a Derived Work provided the following conditions are met +for every component of the Work unless that component clearly states +in the copyright notice that it is exempt from that condition. Only +the Current Maintainer is allowed to add such statements of exemption +to a component of the Work. + + a. If a component of this Derived Work can be a direct replacement + for a component of the Work when that component is used with the + Base Interpreter, then, wherever this component of the Work + identifies itself to the user when used interactively with that + Base Interpreter, the replacement component of this Derived Work + clearly and unambiguously identifies itself as a modified version + of this component to the user when used interactively with that + Base Interpreter. + + b. Every component of the Derived Work contains prominent notices + detailing the nature of the changes to that component, or a + prominent reference to another file that is distributed as part + of the Derived Work and that contains a complete and accurate log + of the changes. + + c. No information in the Derived Work implies that any persons, + including (but not limited to) the authors of the original version + of the Work, provide any support, including (but not limited to) + the reporting and handling of errors, to recipients of the + Derived Work unless those persons have stated explicitly that + they do provide such support for the Derived Work. + + d. You distribute at least one of the following with the Derived Work: + + 1. A complete, unmodified copy of the Work; + if your distribution of a modified component is made by + offering access to copy the modified component from a + designated place, then offering equivalent access to copy + the Work from the same or some similar place meets this + condition, even though third parties are not compelled to + copy the Work along with the modified component; + + 2. Information that is sufficient to obtain a complete, + unmodified copy of the Work. + +7. If you are not the Current Maintainer of the Work, you may +distribute a Compiled Work generated from a Derived Work, as long as +the Derived Work is distributed to all recipients of the Compiled +Work, and as long as the conditions of Clause 6, above, are met with +regard to the Derived Work. + +8. The conditions above are not intended to prohibit, and hence do not +apply to, the modification, by any method, of any component so that it +becomes identical to an updated version of that component of the Work as +it is distributed by the Current Maintainer under Clause 4, above. + +9. Distribution of the Work or any Derived Work in an alternative +format, where the Work or that Derived Work (in whole or in part) is +then produced by applying some process to that format, does not relax or +nullify any sections of this license as they pertain to the results of +applying that process. + +10. a. A Derived Work may be distributed under a different license + provided that license itself honors the conditions listed in + Clause 6 above, in regard to the Work, though it does not have + to honor the rest of the conditions in this license. + + b. If a Derived Work is distributed under a different license, that + Derived Work must provide sufficient documentation as part of + itself to allow each recipient of that Derived Work to honor the + restrictions in Clause 6 above, concerning changes from the Work. + +11. This license places no restrictions on works that are unrelated to +the Work, nor does this license place any restrictions on aggregating +such works with the Work by any means. + +12. Nothing in this license is intended to, or may be used to, prevent +complete compliance by all parties with all applicable laws. + + +NO WARRANTY +=========== + +There is no warranty for the Work. Except when otherwise stated in +writing, the Copyright Holder provides the Work `as is', without +warranty of any kind, either expressed or implied, including, but not +limited to, the implied warranties of merchantability and fitness for a +particular purpose. The entire risk as to the quality and performance +of the Work is with you. Should the Work prove defective, you assume +the cost of all necessary servicing, repair, or correction. + +In no event unless required by applicable law or agreed to in writing +will The Copyright Holder, or any author named in the components of the +Work, or any other party who may distribute and/or modify the Work as +permitted above, be liable to you for damages, including any general, +special, incidental or consequential damages arising out of any use of +the Work or out of inability to use the Work (including, but not limited +to, loss of data, data being rendered inaccurate, or losses sustained by +anyone as a result of any failure of the Work to operate with any other +programs), even if the Copyright Holder or said author or said other +party has been advised of the possibility of such damages. + + +MAINTENANCE OF THE WORK +======================= + +The Work has the status `author-maintained' if the Copyright Holder +explicitly and prominently states near the primary copyright notice in +the Work that the Work can only be maintained by the Copyright Holder +or simply that it is `author-maintained'. + +The Work has the status `maintained' if there is a Current Maintainer +who has indicated in the Work that they are willing to receive error +reports for the Work (for example, by supplying a valid e-mail +address). It is not required for the Current Maintainer to acknowledge +or act upon these error reports. + +The Work changes from status `maintained' to `unmaintained' if there +is no Current Maintainer, or the person stated to be Current +Maintainer of the work cannot be reached through the indicated means +of communication for a period of six months, and there are no other +significant signs of active maintenance. + +You can become the Current Maintainer of the Work by agreement with +any existing Current Maintainer to take over this role. + +If the Work is unmaintained, you can become the Current Maintainer of +the Work through the following steps: + + 1. Make a reasonable attempt to trace the Current Maintainer (and + the Copyright Holder, if the two differ) through the means of + an Internet or similar search. + + 2. If this search is successful, then enquire whether the Work + is still maintained. + + a. If it is being maintained, then ask the Current Maintainer + to update their communication data within one month. + + b. If the search is unsuccessful or no action to resume active + maintenance is taken by the Current Maintainer, then announce + within the pertinent community your intention to take over + maintenance. (If the Work is a LaTeX work, this could be + done, for example, by posting to comp.text.tex.) + + 3a. If the Current Maintainer is reachable and agrees to pass + maintenance of the Work to you, then this takes effect + immediately upon announcement. + + b. If the Current Maintainer is not reachable and the Copyright + Holder agrees that maintenance of the Work be passed to you, + then this takes effect immediately upon announcement. + + 4. If you make an `intention announcement' as described in 2b. above + and after three months your intention is challenged neither by + the Current Maintainer nor by the Copyright Holder nor by other + people, then you may arrange for the Work to be changed so as + to name you as the (new) Current Maintainer. + + 5. If the previously unreachable Current Maintainer becomes + reachable once more within three months of a change completed + under the terms of 3b) or 4), then that Current Maintainer must + become or remain the Current Maintainer upon request provided + they then update their communication data within one month. + +A change in the Current Maintainer does not, of itself, alter the fact +that the Work is distributed under the LPPL license. + +If you become the Current Maintainer of the Work, you should +immediately provide, within the Work, a prominent and unambiguous +statement of your status as Current Maintainer. You should also +announce your new status to the same pertinent community as +in 2b) above. + + +WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE +====================================================== + +This section contains important instructions, examples, and +recommendations for authors who are considering distributing their +works under this license. These authors are addressed as `you' in +this section. + +Choosing This License or Another License +---------------------------------------- + +If for any part of your work you want or need to use *distribution* +conditions that differ significantly from those in this license, then +do not refer to this license anywhere in your work but, instead, +distribute your work under a different license. You may use the text +of this license as a model for your own license, but your license +should not refer to the LPPL or otherwise give the impression that +your work is distributed under the LPPL. + +The document `modguide.tex' in the base LaTeX distribution explains +the motivation behind the conditions of this license. It explains, +for example, why distributing LaTeX under the GNU General Public +License (GPL) was considered inappropriate. Even if your work is +unrelated to LaTeX, the discussion in `modguide.tex' may still be +relevant, and authors intending to distribute their works under any +license are encouraged to read it. + +A Recommendation on Modification Without Distribution +----------------------------------------------------- + +It is wise never to modify a component of the Work, even for your own +personal use, without also meeting the above conditions for +distributing the modified component. While you might intend that such +modifications will never be distributed, often this will happen by +accident -- you may forget that you have modified that component; or +it may not occur to you when allowing others to access the modified +version that you are thus distributing it and violating the conditions +of this license in ways that could have legal implications and, worse, +cause problems for the community. It is therefore usually in your +best interest to keep your copy of the Work identical with the public +one. Many works provide ways to control the behavior of that work +without altering any of its licensed components. + +How to Use This License +----------------------- + +To use this license, place in each of the components of your work both +an explicit copyright notice including your name and the year the work +was authored and/or last substantially modified. Include also a +statement that the distribution and/or modification of that +component is constrained by the conditions in this license. + +Here is an example of such a notice and statement: + + %% pig.dtx + %% Copyright 2005 M. Y. Name + % + % This work may be distributed and/or modified under the + % conditions of the LaTeX Project Public License, either version 1.3 + % of this license or (at your option) any later version. + % The latest version of this license is in + % http://www.latex-project.org/lppl.txt + % and version 1.3 or later is part of all distributions of LaTeX + % version 2005/12/01 or later. + % + % This work has the LPPL maintenance status `maintained'. + % + % The Current Maintainer of this work is M. Y. Name. + % + % This work consists of the files pig.dtx and pig.ins + % and the derived file pig.sty. + +Given such a notice and statement in a file, the conditions +given in this license document would apply, with the `Work' referring +to the three files `pig.dtx', `pig.ins', and `pig.sty' (the last being +generated from `pig.dtx' using `pig.ins'), the `Base Interpreter' +referring to any `LaTeX-Format', and both `Copyright Holder' and +`Current Maintainer' referring to the person `M. Y. Name'. + +If you do not want the Maintenance section of LPPL to apply to your +Work, change `maintained' above into `author-maintained'. +However, we recommend that you use `maintained', as the Maintenance +section was added in order to ensure that your Work remains useful to +the community even when you can no longer maintain and support it +yourself. + +Derived Works That Are Not Replacements +--------------------------------------- + +Several clauses of the LPPL specify means to provide reliability and +stability for the user community. They therefore concern themselves +with the case that a Derived Work is intended to be used as a +(compatible or incompatible) replacement of the original Work. If +this is not the case (e.g., if a few lines of code are reused for a +completely different task), then clauses 6b and 6d shall not apply. + + +Important Recommendations +------------------------- + + Defining What Constitutes the Work + + The LPPL requires that distributions of the Work contain all the + files of the Work. It is therefore important that you provide a + way for the licensee to determine which files constitute the Work. + This could, for example, be achieved by explicitly listing all the + files of the Work near the copyright notice of each file or by + using a line such as: + + % This work consists of all files listed in manifest.txt. + + in that place. In the absence of an unequivocal list it might be + impossible for the licensee to determine what is considered by you + to comprise the Work and, in such a case, the licensee would be + entitled to make reasonable conjectures as to which files comprise + the Work. + diff --git a/macros/latex/contrib/cascadilla/README b/macros/latex/contrib/cascadilla/README new file mode 100644 index 0000000000..deaf5b398f --- /dev/null +++ b/macros/latex/contrib/cascadilla/README @@ -0,0 +1,95 @@ +This is the distribution package for cascadilla.cls, a LaTeX document class for +typesetting documents that conform to the Cascadilla Proceedings Project +stylesheet, used by various linguistics conference proceedings (such as WCCFL). +Also included are an example document (example.tex and example.pdf), a BibTeX +bibliography style (cascadilla.bst) and a BibTeX database used by the example +document (exampleref.bib). + +This package was written by Max Bane, copyright 2008-2012, and is maintained by +the same. It is distributed under the conditions of the LaTeX Project Public +License, a copy of which is included in LICENSE.txt; the license boilerplate is +also included at the top of each source file. + +The reference stylesheet that this document class aims to implement is described +by the Cascadilla Proceedings Project at the following location: +http://www.lingref.com/cpp/authors/style.html + +The style is occasionally updated by Cascadilla; if you find that this document +class no longer implements the stylesheet correctly, or if you discover any +bugs, please contact Max Bane at max.bane@gmail.com. + +As of version 1.7, you may now also report and view bugs, check out the latest +source code, or even contribute your own changes to the source code, at the +github project page for this project: +https://github.com/maxbane/cascadilla.cls + +Special thanks to Jonathan Brindle for helping to resolve some glitches in +previous versions. Thanks also to Christopher Piñón for spotting a +difficult-to-detect layout error, and suggesting a solution. + +TO USE: + +Simply place cascadilla.cls and cascadilla.bst in the same directory as the +paper you are writing, and use "\documentclass{cascadilla}" instead of +"\documentclass{article}". See the example paper (example.tex) for more details +of usage, including optional arguments to the \documentclass command. + +To make cascadilla.cls and cascadilla.bst available for all of your papers, +without having to put separate copies in the directory of each, consult your +LaTeX distribution's documentation to find out where to place them so that they +are globally available. This is usually somewhere in your "texmf" tree. + +VERSION HISTORY + +Version 1.8.2 (Jan 17, 2012): + Made footnote marks flush with left edge of body text. + +Version 1.8.1 (Nov 12, 2011): + Fixed centering of author line by simplifying \blankline command - thanks to +Christopher Piñón. + +Version 1.8 (Jul 20, 2011): + Added author's signature statement at the top of the first page, +and the "nosignature" option to suppress it. + +Version 1.7.1 (Jun 18, 2011): + Added commented example of listing multiple authors/institutions to +example.tex. + +Version 1.7 (Jun 17, 2011): + Added "a4paper" option for typsetting on A4 paper, which is allowed by the +Cascadilla stylesheet with particular margin settings. + +Version 1.6.1: + Fixed compile bug caused by ill-formed date string in \ProvidesClass. + +Version 1.6 + Redefined \thanks command once more, to conform with the new requirement for +an "invisible asterisk". + +Version 1.5 + Redefined the \thanks command for use in titles. + +Version 1.4 + Updated the appearance of citations and references to be more in line with +the Cascadilla stylesheet. + +Version 1.3 + Put in some missing \selectfont's + Adjusted \abovecaptionskip and \belowcaptionskip for use with \centering +rather than the center environment. + +Version 1.2 + Restored blank space between title and author + +Version 1.1 + Made title matter optional + Added notimes option + Added additional blank line after title + Section labels end with a space rather than a quad + Made figure/table captions bold + Added "immediate" subsection commands for proper spacing of sub-headings +that immediately follow super-headings. + +Version 1.0 + Initial release diff --git a/macros/latex/contrib/cascadilla/cascadilla.bst b/macros/latex/contrib/cascadilla/cascadilla.bst new file mode 100644 index 0000000000..4769af57c9 --- /dev/null +++ b/macros/latex/contrib/cascadilla/cascadilla.bst @@ -0,0 +1,1490 @@ +%% cascadilla.bst +%% Hacked from sole.bst by Max Bane, 2008. +%% This file is heavily derivative of sole.bst, and I can claim no +%% copyright. -MB +%% The principle changes are: +%% - eliminating blank lines between bibliographic entries +%% - printing the full names of authors + +%% +%% This is file `sole.bst', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% proba.mbs (with options: `ay,nat,seq-lab,vonx,nm-rev1,ed-rev,jnrlst,blkyear,dt-beg,yr-par,yrp-per,note-yr,vnum-cm,volp-com,jwdpg,num-xser,numser,jnm-x,pre-pub,edpar,blk-tit,blknt,in-x,pp,ed,abr,xedn,amper,and-xcom,url,url-blk,nfss') +%% ---------------------------------------- +%% *** Bibstyle for the proceedings of ConSOLE *** +%% + % =============================================================== + % IMPORTANT NOTICE: + % This bibliographic style (bst) file has been generated from one or + % more master bibliographic style (mbs) files, listed above. + % + % This generated file can be redistributed and/or modified under the terms + % of the LaTeX Project Public License Distributed from CTAN + % archives in directory macros/latex/base/lppl.txt; either + % version 1 of the License, or any later version. + % =============================================================== + % Name and version information of the main mbs file: + % \ProvidesFile{proba.mbs}[2003/03/18 4.05 (PWD, AO, DPC)] + % For use with BibTeX version 0.99a or later + %------------------------------------------------------------------- + % This bibliography style file is intended for texts in ENGLISH + % This is an author-year citation style bibliography. As such, it is + % non-standard LaTeX, and requires a special package file to function properly. + % Such a package is natbib.sty by Patrick W. Daly + % The form of the \bibitem entries is + % \bibitem[Jones et al.(1990)]{key}... + % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}... + % The essential feature is that the label (the part in brackets) consists + % of the author names, as they should appear in the citation, with the year + % in parentheses following. There must be no space before the opening + % parenthesis! + % With natbib v5.3, a full list of authors may also follow the year. + % In natbib.sty, it is possible to define the type of enclosures that is + % really wanted (brackets or parentheses), but in either case, there must + % be parentheses in the label. + % The \cite command functions as follows: + % \citet{key} ==>> Jones et al. (1990) + % \citet*{key} ==>> Jones, Baker, and Smith (1990) + % \citep{key} ==>> (Jones et al., 1990) + % \citep*{key} ==>> (Jones, Baker, and Smith, 1990) + % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2) + % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990) + % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32) + % \citeauthor{key} ==>> Jones et al. + % \citeauthor*{key} ==>> Jones, Baker, and Smith + % \citeyear{key} ==>> 1990 + %--------------------------------------------------------------------- + +ENTRY + { address + author + booktitle + chapter + edition + editor + howpublished + institution + journal + key + month + note + number + organization + pages + publisher + school + series + title + type + url + volume + year + } + {} + { label extra.label sort.label short.list } +INTEGERS { output.state before.all mid.sentence after.sentence after.block } +FUNCTION {init.state.consts} +{ #0 'before.all := + #1 'mid.sentence := + #2 'after.sentence := + #3 'after.block := +} +STRINGS { s t} +FUNCTION {output.nonnull} +{ 's := + output.state mid.sentence = + { ", " * write$ } + { output.state after.block = + { add.period$ write$ + newline$ + "\newblock " write$ + } + { output.state before.all = + 'write$ + { add.period$ " " * write$ } + if$ + } + if$ + mid.sentence 'output.state := + } + if$ + s +} +FUNCTION {output} +{ duplicate$ empty$ + 'pop$ + 'output.nonnull + if$ +} +FUNCTION {output.check} +{ 't := + duplicate$ empty$ + { pop$ "empty " t * " in " * cite$ * warning$ } + 'output.nonnull + if$ +} +%FUNCTION {fin.entry} +%{ add.period$ +% write$ +% newline$ +%} +FUNCTION {fin.entry} +{ add.period$ + write$ + "\vspace{-0.9em}" + write$ + newline$ +} + +FUNCTION {new.block} +{ output.state before.all = + 'skip$ + { after.block 'output.state := } + if$ +} +FUNCTION {new.sentence} +{ output.state after.block = + 'skip$ + { output.state before.all = + 'skip$ + { after.sentence 'output.state := } + if$ + } + if$ +} +FUNCTION {add.blank} +{ " " * before.all 'output.state := +} + +FUNCTION {date.block} +{ + new.sentence +} + +FUNCTION {not} +{ { #0 } + { #1 } + if$ +} +FUNCTION {and} +{ 'skip$ + { pop$ #0 } + if$ +} +FUNCTION {or} +{ { pop$ #1 } + 'skip$ + if$ +} +FUNCTION {new.block.checkb} +{ empty$ + swap$ empty$ + and + 'skip$ + 'new.block + if$ +} +FUNCTION {field.or.null} +{ duplicate$ empty$ + { pop$ "" } + 'skip$ + if$ +} +FUNCTION {emphasize} +{ duplicate$ empty$ + { pop$ "" } + { "\emph{" swap$ * "}" * } + if$ +} +FUNCTION {tie.or.space.prefix} +{ duplicate$ text.length$ #3 < + { "~" } + { " " } + if$ + swap$ +} + +FUNCTION {capitalize} +{ "u" change.case$ "t" change.case$ } + +FUNCTION {space.word} +{ " " swap$ * " " * } + % Here are the language-specific definitions for explicit words. + % Each function has a name bbl.xxx where xxx is the English word. + % The language selected here is ENGLISH +FUNCTION {bbl.and} +{ "and"} + +FUNCTION {bbl.etal} +{ "et~al." } + +FUNCTION {bbl.editors} +{ "eds." } + +FUNCTION {bbl.editor} +{ "ed." } + +FUNCTION {bbl.edby} +{ "edited by" } + +FUNCTION {bbl.edition} +{ "edn." } + +FUNCTION {bbl.volume} +{ "vol." } + +FUNCTION {bbl.of} +{ "of" } + +FUNCTION {bbl.number} +{ "no." } + +FUNCTION {bbl.nr} +{ "no." } + +FUNCTION {bbl.in} +{ "in" } + +FUNCTION {bbl.pages} +{ "" } + +FUNCTION {bbl.page} +{ "p." } + +FUNCTION {bbl.chapter} +{ "chap." } + +FUNCTION {bbl.techrep} +{ "Tech. Rep." } + +FUNCTION {bbl.mthesis} +{ "Master's thesis" } + +FUNCTION {bbl.phdthesis} +{ "Ph.D. thesis" } + +MACRO {jan} {"Jan."} + +MACRO {feb} {"Feb."} + +MACRO {mar} {"Mar."} + +MACRO {apr} {"Apr."} + +MACRO {may} {"May"} + +MACRO {jun} {"Jun."} + +MACRO {jul} {"Jul."} + +MACRO {aug} {"Aug."} + +MACRO {sep} {"Sep."} + +MACRO {oct} {"Oct."} + +MACRO {nov} {"Nov."} + +MACRO {dec} {"Dec."} + +MACRO {acmcs} {"ACM Computing Surveys"} + +MACRO {acta} {"Acta Informatica"} + +MACRO {cacm} {"Communications of the ACM"} + +MACRO {ibmjrd} {"IBM Journal of Research and Development"} + +MACRO {ibmsj} {"IBM Systems Journal"} + +MACRO {ieeese} {"IEEE Transactions on Software Engineering"} + +MACRO {ieeetc} {"IEEE Transactions on Computers"} + +MACRO {ieeetcad} + {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"} + +MACRO {ipl} {"Information Processing Letters"} + +MACRO {jacm} {"Journal of the ACM"} + +MACRO {jcss} {"Journal of Computer and System Sciences"} + +MACRO {scp} {"Science of Computer Programming"} + +MACRO {sicomp} {"SIAM Journal on Computing"} + +MACRO {tocs} {"ACM Transactions on Computer Systems"} + +MACRO {tods} {"ACM Transactions on Database Systems"} + +MACRO {tog} {"ACM Transactions on Graphics"} + +MACRO {toms} {"ACM Transactions on Mathematical Software"} + +MACRO {toois} {"ACM Transactions on Office Information Systems"} + +MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"} + +MACRO {tcs} {"Theoretical Computer Science"} +FUNCTION {bibinfo.check} +{ swap$ + duplicate$ missing$ + { + pop$ pop$ + "" + } + { duplicate$ empty$ + { + swap$ pop$ + } + { swap$ + pop$ + } + if$ + } + if$ +} +FUNCTION {bibinfo.warn} +{ swap$ + duplicate$ missing$ + { + swap$ "missing " swap$ * " in " * cite$ * warning$ pop$ + "" + } + { duplicate$ empty$ + { + swap$ "empty " swap$ * " in " * cite$ * warning$ + } + { swap$ + pop$ + } + if$ + } + if$ +} +FUNCTION {format.url} +{ url empty$ + { "" } + { "\urlprefix\url{" url * "}" * } + if$ +} + +STRINGS { bibinfo} +INTEGERS { nameptr namesleft numnames } + +FUNCTION {format.names} +{ 'bibinfo := + duplicate$ empty$ 'skip$ { + 's := + "" 't := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr + duplicate$ #1 > + { "{ff~}{vv~}{ll}{, jj}" } + { "{vv~}{ll}{, ff}{, jj}" } + if$ + format.name$ + bibinfo bibinfo.check + 't := + nameptr #1 > + { + namesleft #1 > + { ", " * t * } + { + s nameptr "{ll}" format.name$ duplicate$ "others" = + { 't := } + { pop$ } + if$ + t "others" = + { + " " * bbl.etal * + } + { + "\&" + space.word * t * + } + if$ + } + if$ + } + 't + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ + } if$ +} + +%FUNCTION {format.names} +%{'s := +% "" 't := +% #1 'nameptr := +% s num.names$ 'numnames := +% numnames 'namesleft := +% { namesleft #0 > } +% { s nameptr +% "{vv~}{ll}" format.name$ +% 't := +% nameptr #1 > +% { +% namesleft #1 > +% { ", " * t * } +% { +% s nameptr "{ll}" format.name$ duplicate$ "others" = +% { 't := } +% { pop$ } +% if$ +% t "others" = +% { +% " " * bbl.etal * +% } +% { +% "\&" +% space.word * t * +% } +% if$ +% } +% if$ +% } +% 't +% if$ +% nameptr #1 + 'nameptr := +% namesleft #1 - 'namesleft := +% } +% while$ +%} + +FUNCTION {format.names.ed} +{ + format.names +} +FUNCTION {format.key} +{ empty$ + { key field.or.null } + { "" } + if$ +} + +FUNCTION {format.authors} +{ author "author" format.names +} +FUNCTION {get.bbl.editor} +{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ } + +FUNCTION {format.editors} +{ editor "editor" format.names duplicate$ empty$ 'skip$ + { + " " * + get.bbl.editor + "(" swap$ * ")" * + * + } + if$ +} +FUNCTION {format.note} +{ + note empty$ + { "" } + { note #1 #1 substring$ + duplicate$ "{" = + 'skip$ + { output.state mid.sentence = + { "l" } + { "u" } + if$ + change.case$ + } + if$ + note #2 global.max$ substring$ * "note" bibinfo.check + } + if$ +} + +FUNCTION {format.title} +{ title + duplicate$ empty$ 'skip$ + { "t" change.case$ } + if$ + "title" bibinfo.check +} +FUNCTION {format.full.names} +{'s := + "" 't := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr + "{vv~}{ll}" format.name$ + 't := + nameptr #1 > + { + namesleft #1 > + { ", " * t * } + { + s nameptr "{ll}" format.name$ duplicate$ "others" = + { 't := } + { pop$ } + if$ + t "others" = + { + " " * bbl.etal * + } + { + "\&" + space.word * t * + } + if$ + } + if$ + } + 't + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {author.editor.key.full} +{ author empty$ + { editor empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { editor format.full.names } + if$ + } + { author format.full.names } + if$ +} + +FUNCTION {author.key.full} +{ author empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { author format.full.names } + if$ +} + +FUNCTION {editor.key.full} +{ editor empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { editor format.full.names } + if$ +} + +FUNCTION {make.full.names} +{ type$ "book" = + type$ "inbook" = + or + 'author.editor.key.full + { type$ "proceedings" = + 'editor.key.full + 'author.key.full + if$ + } + if$ +} + +FUNCTION {output.bibitem} +{ newline$ + "\bibitem[{" write$ + label write$ + ")" make.full.names duplicate$ short.list = + { pop$ } + { * } + if$ + "}]{" * write$ + cite$ write$ + "}" write$ + newline$ + "" + before.all 'output.state := +} + +FUNCTION {n.dashify} +{ + 't := + "" + { t empty$ not } + { t #1 #1 substring$ "-" = + { t #1 #2 substring$ "--" = not + { "--" * + t #2 global.max$ substring$ 't := + } + { { t #1 #1 substring$ "-" = } + { "-" * + t #2 global.max$ substring$ 't := + } + while$ + } + if$ + } + { t #1 #1 substring$ * + t #2 global.max$ substring$ 't := + } + if$ + } + while$ +} + +FUNCTION {word.in} +{ "" } + +FUNCTION {format.date} +{ year "year" bibinfo.check duplicate$ empty$ + { + } + 'skip$ + if$ + extra.label * + before.all 'output.state := + " (" swap$ * ")" * +} +FUNCTION {format.btitle} +{ title "title" bibinfo.check + duplicate$ empty$ 'skip$ + { + emphasize + } + if$ +} +FUNCTION {either.or.check} +{ empty$ + 'pop$ + { "can't use both " swap$ * " fields in " * cite$ * warning$ } + if$ +} +FUNCTION {format.bvolume} +{ volume empty$ + { "" } + { bbl.volume volume tie.or.space.prefix + "volume" bibinfo.check * * + series "series" bibinfo.check + duplicate$ empty$ 'pop$ + { swap$ bbl.of space.word * swap$ + emphasize * } + if$ + "volume and number" number either.or.check + } + if$ +} +FUNCTION {format.number.series} +{ volume empty$ + { number empty$ + { series field.or.null } + { series empty$ + { number "number" bibinfo.check } + { output.state mid.sentence = + { bbl.number } + { bbl.number capitalize } + if$ + number tie.or.space.prefix "number" bibinfo.check * * + bbl.in space.word * + series "series" bibinfo.check * + } + if$ + } + if$ + } + { "" } + if$ +} + +FUNCTION {format.edition} +{ edition duplicate$ empty$ 'skip$ + { + output.state mid.sentence = + { "l" } + { "t" } + if$ change.case$ + "edition" bibinfo.check + " " * bbl.edition * + } + if$ +} +INTEGERS { multiresult } +FUNCTION {multi.page.check} +{ 't := + #0 'multiresult := + { multiresult not + t empty$ not + and + } + { t #1 #1 substring$ + duplicate$ "-" = + swap$ duplicate$ "," = + swap$ "+" = + or or + { #1 'multiresult := } + { t #2 global.max$ substring$ 't := } + if$ + } + while$ + multiresult +} +FUNCTION {format.pages} +{ pages duplicate$ empty$ 'skip$ + { duplicate$ multi.page.check + { + bbl.pages swap$ + n.dashify + } + { + bbl.page swap$ + } + if$ + tie.or.space.prefix + "pages" bibinfo.check + * * + } + if$ +} +FUNCTION {format.journal.pages} +{ pages duplicate$ empty$ 'pop$ + { swap$ duplicate$ empty$ + { pop$ pop$ format.pages } + { + ", " * + swap$ + n.dashify + pages multi.page.check + 'bbl.pages + 'bbl.page + if$ + swap$ tie.or.space.prefix + "pages" bibinfo.check + * * + * + } + if$ + } + if$ +} +FUNCTION {format.vol.num.pages} +{ volume field.or.null + duplicate$ empty$ 'skip$ + { + "volume" bibinfo.check + } + if$ + number "number" bibinfo.check duplicate$ empty$ 'skip$ + { + swap$ duplicate$ empty$ + { "there's a number but no volume in " cite$ * warning$ } + 'skip$ + if$ + swap$ + ":" swap$ * + } + if$ * + format.journal.pages +} + +FUNCTION {format.chapter.pages} +{ chapter empty$ + 'format.pages + { type empty$ + { bbl.chapter } + { type "l" change.case$ + "type" bibinfo.check + } + if$ + chapter tie.or.space.prefix + "chapter" bibinfo.check + * * + pages empty$ + 'skip$ + { ", " * format.pages * } + if$ + } + if$ +} + +FUNCTION {format.booktitle} +{ + booktitle "booktitle" bibinfo.check + emphasize +} +FUNCTION {format.in.ed.booktitle} +{ format.booktitle duplicate$ empty$ 'skip$ + { + editor "editor" format.names.ed duplicate$ empty$ 'pop$ + { + " " * + get.bbl.editor + "(" swap$ * "), " * + * swap$ + * } + if$ + word.in swap$ * + } + if$ +} +FUNCTION {format.thesis.type} +{ type duplicate$ empty$ + 'pop$ + { swap$ pop$ + "t" change.case$ "type" bibinfo.check + } + if$ +} +FUNCTION {format.tr.number} +{ number "number" bibinfo.check + type duplicate$ empty$ + { pop$ bbl.techrep } + 'skip$ + if$ + "type" bibinfo.check + swap$ duplicate$ empty$ + { pop$ "t" change.case$ } + { tie.or.space.prefix * * } + if$ +} +FUNCTION {format.article.crossref} +{ + word.in + " \cite{" * crossref * "}" * +} +FUNCTION {format.book.crossref} +{ volume duplicate$ empty$ + { "empty volume in " cite$ * "'s crossref of " * crossref * warning$ + pop$ word.in + } + { bbl.volume + capitalize + swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word * + } + if$ + " \cite{" * crossref * "}" * +} +FUNCTION {format.incoll.inproc.crossref} +{ + word.in + " \cite{" * crossref * "}" * +} +FUNCTION {format.org.or.pub} +{ 't := + "" + address empty$ t empty$ and + 'skip$ + { + t empty$ + { address "address" bibinfo.check * + } + { t * + address empty$ + 'skip$ + { ", " * address "address" bibinfo.check * } + if$ + } + if$ + } + if$ +} +FUNCTION {format.publisher.address} +{ publisher "publisher" bibinfo.warn format.org.or.pub +} + +FUNCTION {format.organization.address} +{ organization "organization" bibinfo.check format.org.or.pub +} + +FUNCTION {article} +{ output.bibitem + format.authors "author" output.check + author format.key output + format.date "year" output.check + date.block + format.title "title" output.check + new.sentence + crossref missing$ + { + journal + "journal" bibinfo.check + emphasize + "journal" output.check + add.blank + format.vol.num.pages output + } + { format.article.crossref output.nonnull + format.pages output + } + if$ + format.url output + new.sentence + format.note output + fin.entry +} +FUNCTION {book} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check + editor format.key output + } + { format.authors output.nonnull + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + format.date "year" output.check + date.block + format.btitle "title" output.check + crossref missing$ + { format.bvolume output + new.sentence + format.number.series output + format.publisher.address output + } + { + new.sentence + format.book.crossref output.nonnull + } + if$ + format.edition output + format.url output + new.sentence + format.note output + fin.entry +} +FUNCTION {booklet} +{ output.bibitem + format.authors output + author format.key output + format.date "year" output.check + date.block + format.title "title" output.check + new.sentence + howpublished "howpublished" bibinfo.check output + address "address" bibinfo.check output + format.url output + new.sentence + format.note output + fin.entry +} + +FUNCTION {inbook} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check + editor format.key output + } + { format.authors output.nonnull + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + format.date "year" output.check + date.block + format.btitle "title" output.check + crossref missing$ + { + format.number.series output + format.publisher.address output + format.bvolume output + format.chapter.pages "chapter and pages" output.check + new.sentence + } + { + format.chapter.pages "chapter and pages" output.check + new.sentence + format.book.crossref output.nonnull + } + if$ + format.edition output + format.url output + new.sentence + format.note output + fin.entry +} + +FUNCTION {incollection} +{ output.bibitem + format.authors "author" output.check + author format.key output + format.date "year" output.check + date.block + format.title "title" output.check + new.sentence + crossref missing$ + { format.in.ed.booktitle "booktitle" output.check + format.number.series output + format.publisher.address output + format.bvolume output + format.chapter.pages output + format.edition output + } + { format.incoll.inproc.crossref output.nonnull + format.chapter.pages output + } + if$ + format.url output + new.sentence + format.note output + fin.entry +} +FUNCTION {inproceedings} +{ output.bibitem + format.authors "author" output.check + author format.key output + format.date "year" output.check + date.block + format.title "title" output.check + new.sentence + crossref missing$ + { format.in.ed.booktitle "booktitle" output.check + format.number.series output + publisher empty$ + { format.organization.address output } + { organization "organization" bibinfo.check output + format.publisher.address output + } + if$ + format.bvolume output + format.pages output + } + { format.incoll.inproc.crossref output.nonnull + format.pages output + } + if$ + format.url output + new.sentence + format.note output + fin.entry +} +FUNCTION {conference} { inproceedings } +FUNCTION {manual} +{ output.bibitem + format.authors output + author format.key output + format.date "year" output.check + date.block + format.btitle "title" output.check + new.sentence + organization "organization" bibinfo.check output + address "address" bibinfo.check output + format.edition output + format.url output + new.sentence + format.note output + fin.entry +} + +FUNCTION {mastersthesis} +{ output.bibitem + format.authors "author" output.check + author format.key output + format.date "year" output.check + date.block + format.btitle + "title" output.check + new.sentence + bbl.mthesis format.thesis.type output.nonnull + school "school" bibinfo.warn output + address "address" bibinfo.check output + format.url output + new.sentence + format.note output + fin.entry +} + +FUNCTION {misc} +{ output.bibitem + format.authors output + author format.key output + format.date "year" output.check + date.block + format.title output + new.sentence + howpublished "howpublished" bibinfo.check output + format.url output + new.sentence + format.note output + fin.entry +} +FUNCTION {phdthesis} +{ output.bibitem + format.authors "author" output.check + author format.key output + format.date "year" output.check + date.block + format.btitle + "title" output.check + new.sentence + bbl.phdthesis format.thesis.type output.nonnull + school "school" bibinfo.warn output + address "address" bibinfo.check output + format.url output + new.sentence + format.note output + fin.entry +} + +FUNCTION {proceedings} +{ output.bibitem + format.editors output + editor format.key output + format.date "year" output.check + date.block + format.btitle "title" output.check + format.bvolume output + format.number.series output + publisher empty$ + { format.organization.address output } + { organization "organization" bibinfo.check output + format.publisher.address output + } + if$ + format.url output + new.sentence + format.note output + fin.entry +} + +FUNCTION {techreport} +{ output.bibitem + format.authors "author" output.check + author format.key output + format.date "year" output.check + date.block + format.title + "title" output.check + new.sentence + format.tr.number output.nonnull + institution "institution" bibinfo.warn output + address "address" bibinfo.check output + format.url output + new.sentence + format.note output + fin.entry +} + +FUNCTION {unpublished} +{ output.bibitem + format.authors "author" output.check + author format.key output + format.date "year" output.check + date.block + format.title "title" output.check + format.url output + new.sentence + format.note "note" output.check + fin.entry +} + +FUNCTION {default.type} { misc } +READ +FUNCTION {sortify} +{ purify$ + "l" change.case$ +} +INTEGERS { len } +FUNCTION {chop.word} +{ 's := + 'len := + s #1 len substring$ = + { s len #1 + global.max$ substring$ } + 's + if$ +} +FUNCTION {format.lab.names} +{ 's := + "" 't := + s #1 "{vv~}{ll}" format.name$ + s num.names$ duplicate$ + #2 > + { pop$ + " " * bbl.etal * + } + { #2 < + 'skip$ + { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = + { + " " * bbl.etal * + } + { " \& " * s #2 "{vv~}{ll}" format.name$ + * } + if$ + } + if$ + } + if$ +} + +FUNCTION {author.key.label} +{ author empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { author format.lab.names } + if$ +} + +FUNCTION {author.editor.key.label} +{ author empty$ + { editor empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { editor format.lab.names } + if$ + } + { author format.lab.names } + if$ +} + +FUNCTION {editor.key.label} +{ editor empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { editor format.lab.names } + if$ +} + +FUNCTION {calc.short.authors} +{ type$ "book" = + type$ "inbook" = + or + 'author.editor.key.label + { type$ "proceedings" = + 'editor.key.label + 'author.key.label + if$ + } + if$ + 'short.list := +} + +FUNCTION {calc.label} +{ calc.short.authors + short.list + "(" + * + year duplicate$ empty$ + { pop$ "" } + 'skip$ + if$ + * + 'label := +} + +FUNCTION {sort.format.names} +{ 's := + #1 'nameptr := + "" + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr + "{ll{ }}{ f{ }}{ jj{ }}" + format.name$ 't := + nameptr #1 > + { + " " * + namesleft #1 = t "others" = and + { "zzzzz" * } + { numnames #2 > nameptr #2 = and + { "zz" * year field.or.null * " " * } + 'skip$ + if$ + t sortify * + } + if$ + } + { t sortify * } + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {sort.format.title} +{ 't := + "A " #2 + "An " #3 + "The " #4 t chop.word + chop.word + chop.word + sortify + #1 global.max$ substring$ +} +FUNCTION {author.sort} +{ author empty$ + { key empty$ + { "to sort, need author or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { author sort.format.names } + if$ +} +FUNCTION {author.editor.sort} +{ author empty$ + { editor empty$ + { key empty$ + { "to sort, need author, editor, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { editor sort.format.names } + if$ + } + { author sort.format.names } + if$ +} +FUNCTION {editor.sort} +{ editor empty$ + { key empty$ + { "to sort, need editor or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { editor sort.format.names } + if$ +} +FUNCTION {presort} +{ calc.label + label sortify + " " + * + type$ "book" = + type$ "inbook" = + or + 'author.editor.sort + { type$ "proceedings" = + 'editor.sort + 'author.sort + if$ + } + if$ + #1 entry.max$ substring$ + 'sort.label := + sort.label + * + " " + * + title field.or.null + sort.format.title + * + #1 entry.max$ substring$ + 'sort.key$ := +} + +ITERATE {presort} +SORT +STRINGS { last.label next.extra } +INTEGERS { last.extra.num number.label } +FUNCTION {initialize.extra.label.stuff} +{ #0 int.to.chr$ 'last.label := + "" 'next.extra := + #0 'last.extra.num := + #0 'number.label := +} +FUNCTION {forward.pass} +{ last.label label = + { last.extra.num #1 + 'last.extra.num := + last.extra.num int.to.chr$ 'extra.label := + } + { "a" chr.to.int$ 'last.extra.num := + "" 'extra.label := + label 'last.label := + } + if$ + number.label #1 + 'number.label := +} +FUNCTION {reverse.pass} +{ next.extra "b" = + { "a" 'extra.label := } + 'skip$ + if$ + extra.label 'next.extra := + extra.label + duplicate$ empty$ + 'skip$ + { "{\natexlab{" swap$ * "}}" * } + if$ + 'extra.label := + label extra.label * 'label := +} +EXECUTE {initialize.extra.label.stuff} +ITERATE {forward.pass} +REVERSE {reverse.pass} +FUNCTION {bib.sort.order} +{ sort.label + " " + * + year field.or.null sortify + * + " " + * + title field.or.null + sort.format.title + * + #1 entry.max$ substring$ + 'sort.key$ := +} +ITERATE {bib.sort.order} +SORT +FUNCTION {begin.bib} +{ preamble$ empty$ + 'skip$ + { preamble$ write$ newline$ } + if$ + "\begin{thebibliography}{" number.label int.to.str$ * "}" * + write$ newline$ + "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi" + write$ newline$ + "\expandafter\ifx\csname url\endcsname\relax" + write$ newline$ + " \def\url#1{\texttt{#1}}\fi" + write$ newline$ + "\expandafter\ifx\csname urlprefix\endcsname\relax\def\urlprefix{URL }\fi" + write$ newline$ +} +EXECUTE {begin.bib} +EXECUTE {init.state.consts} +ITERATE {call.type$} +FUNCTION {end.bib} +{ newline$ + "\end{thebibliography}" write$ newline$ +} +EXECUTE {end.bib} +%% End of customized bst file +%% +%% End of file `sole1.bst'. diff --git a/macros/latex/contrib/cascadilla/cascadilla.cls b/macros/latex/contrib/cascadilla/cascadilla.cls new file mode 100644 index 0000000000..7f41bc39a6 --- /dev/null +++ b/macros/latex/contrib/cascadilla/cascadilla.cls @@ -0,0 +1,275 @@ +%% cascadilla.cls +%% Copyright 2008-2012 Max Bane +%% Version 1.8.2 +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Max Bane. +% +% This work consists of the files cascadilla.cls and example.tex. + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% This LaTeX class provides an extension of the "article" document class that +% can be used to typeset papers conforming to the stylesheet of the Cascadilla +% Proceedings Project (http://www.lingref.com/cpp/authors/style.html), which +% is used by a number of linguistics conference proceedings (e.g., WCCFL). +% Suggestions, questions, and bug reports should be directed to Max Bane at +% max.bane@gmail.com. + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Changes: +% Version 1.8.2: Made footnote marks flush with left edge of body text. +% Version 1.8.1: Fixed centering of author line by simplifying \blankline +% command - thanks to Christopher Piñón. +% Version 1.8: Added author's signature statement at the top of the first page, +% and the "nosignature" option to suppress it. +% Version 1.7.1: Added commented example of listing multiple +% authors/institutions to example.tex. +% Version 1.7: Added "a4paper" option for typsetting on A4 paper, which is +% allowed by the Cascadilla stylesheet with particular margin settings. +% Version 1.6.1: Fixed compile bug caused by ill-formed date string in +% \ProvidesClass. +% Version 1.6: Redefined \thanks command once more, to conform with the new +% requirements for an "invisible asterisk". +% Version 1.5: Redefined \thanks command for use in titles. +% Version 1.4: Modified bibpunct to use cascadilla's (Cascadilla, 2006:13) +% style. +% Version 1.3: Put in some missing \selectfont's, adjusted \abovecaptionskip +% and \belowcaptionskip for use with \centering rather than the center +% environment. +% Version 1.2: Restored blank space between title and author +% Version 1.1: Made title matter optional, added notimes option, added +% additional blank line after title, section labels end with a space rather +% than a quad, made figure/table captions bold, added immediate subsection +% commands. +% Version 1.0: Initial release. + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Identification + +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{cascadilla}[2012/01/17 v1.8.2 Class for Cascadilla Proceedings +Project articles, by Max Bane] + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Class Options + +\RequirePackage{ifthen} + +\newboolean{hyphenate} +\newboolean{copyright} +\setboolean{copyright}{true} +\newboolean{nopagenums} +\setboolean{nopagenums}{true} +\newboolean{times} +\setboolean{times}{true} +\newboolean{a4paper} +\newboolean{signature} +\setboolean{signature}{true} + +\DeclareOption{hyphenate}{\setboolean{hyphenate}{true}} +\DeclareOption{nocopyright}{\setboolean{copyright}{false}} +\DeclareOption{pagenums}{\setboolean{nopagenums}{false}} +\DeclareOption{notimes}{\setboolean{times}{false}} +\DeclareOption{a4paper}{\setboolean{a4paper}{true}} +\DeclareOption{nosignature}{\setboolean{signature}{false}} + +\ProcessOptions \relax + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Package Loading + +% We're just an extension of the built-in article class. +% The Cascadilla stylesheet requires US Letter paper and 10pt body fontsize +% (which is happily LaTeX's default fontsize) +% Update (version 1.7): the Cascadilla stylesheet now admits A4 paper, with +% different margins; check for the "a4paper" option before loading the article +% class and setting the margins. +\ifthenelse{\boolean{a4paper}}{ + \LoadClass[a4paper]{article} + % Set up the margin widths/heights using the geometry package + \RequirePackage[a4paper,left=3.15cm,right=3.15cm,top=2.54cm,bottom=4.29cm,foot=0.75in]{geometry} +}{ + \LoadClass[letterpaper]{article} + % Set up the margin widths/heights using the geometry package + \RequirePackage[letterpaper,left=1.38in,right=1.38in,top=1.0in,bottom=1.0in,foot=0.75in]{geometry} +} + + +% Stylesheet requires Times Roman font +\ifthenelse{\boolean{times}}{ + \RequirePackage{times} +}{} + +% Stylesheet requires the the first paragraphs of all sections be indented. +% The standardly available indentfirst package does that for us. +\RequirePackage{indentfirst} + +% We'll need fancyhdr for typesetting the copyright notice required by the +% stylesheet +\RequirePackage{fancyhdr} + +% We'll use titlesec to format section titles according to the stylesheet +\RequirePackage{titlesec} + +% We use natbib for formatting the bibliography (plus a hacked .bst file) +\RequirePackage{natbib} + +% Cascadilla prefers if table/figure captions are labeled bold +\RequirePackage[labelfont=bf]{caption} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Main Definitions + +\newcommand{\blankline}{\quad\\} + +% Booleans for whether various strings have been set +\newboolean{haveAuthor} +\newboolean{haveTitle} +\newboolean{haveInstitution} + +\newboolean{afterPar} + +% Commands for setting author, title, completed date, institution and copyright year +\renewcommand{\author}[1]{\gdef\@cascauthor{#1}\gdef\@author{#1}\setboolean{haveAuthor}{true}} +\renewcommand{\title}[1]{\gdef\@casctitle{#1}\gdef\@title{#1}\setboolean{haveTitle}{true}} +\newcommand{\completed}[1]{\gdef\@cascdate{#1}} +\newcommand{\institution}[1]{\gdef\@institution{#1}\setboolean{haveInstitution}{true}} +\newcommand{\copyrightyear}[1]{\gdef\@copyrightyear{#1}} +%\renewcommand{\thanks}[1]{\def\thefootnote{\fnsymbol{footnote}}\footnote[1]{#1}} +\renewcommand{\thanks}[1]{\def\thefootnote{\fnsymbol{footnote}}\footnotetext[1]{#1}} + +%% Redefine \maketitle to conform to cascadilla stylesheet +\renewcommand{\maketitle}{% + \begin{center} + \ifthenelse{\boolean{signature}}{ + \normalsize + \selectfont + This printout has been approved by me, the author. Any mistakes in +this printout will not be fixed by the publisher. Here is my signature and the +date: +\underline{\qquad\qquad\qquad\qquad\qquad\qquad\qquad\qquad\qquad\qquad\qquad\quad}\\ + \blankline + }{\blankline\blankline\blankline} + \ifthenelse{\boolean{haveTitle}}{ + \fontsize{18}{18} + \selectfont + \textbf{\@title}\\ + %\blankline + \vspace{18pt} + \normalsize + }{} + + \ifthenelse{\boolean{haveAuthor}}{ + \ifthenelse{\boolean{haveTitle}}{\blankline}{} + \fontsize{14pt}{14pt} + \selectfont + \textbf{\@author} + \normalsize + \selectfont + }{} + + \ifthenelse{\boolean{haveInstitution}}{ + \normalsize + \selectfont + \textbf{\@institution} + }{} + + \blankline + \end{center} +} + +% The stylesheet (apparently) demands justified text *without* any +% hyphenation (i.e., only word and letter spacing), even though this is +% really ugly and violates every typographic convention, and ends up +% looking like a cheap MS Word document. The following parameter settings +% discourage TeX's layout algorithm from breaking lines with syllabic hyphens. +% Can be suppressed by the "hyphenate" class option. +\ifthenelse{\boolean{hyphenate}}{}{ + \hyphenpenalty=5000 + \tolerance=1000 +} + +% Paragraph indents should be one quarter inch +\parindent=0.25in + +% Footnotes should be set in 9pt, which is \small +\let\footnotesize\small + +% Adjust footnotes so that numbers appear flush with margin. +% Implementation inspired by answers at: +% http://tex.stackexchange.com/questions/40976/align-footnote-mark-with-text-margin +\renewcommand{\@makefntext}[1]{% + \settowidth{\@tempdima}{\@thefnmark} \parindent \dimexpr\@tempdima+.75em\relax% + \noindent\makebox[1em][l]{\textsuperscript{\@thefnmark}}#1 +} + +% Disable page numbers. Suppressed by "pagenums" class option. +\ifthenelse{\boolean{nopagenums}}{ + \pagestyle{empty} + \setlength{\footskip}{0in} +}{} + +% Reduce the spacing around captions in tables and figures +\setlength{\abovecaptionskip}{12pt} +\setlength{\belowcaptionskip}{-5pt} + +% The following bit of code increases the size of the bottom margin on the +% first page only, to make room for the copyright statement +\ifthenelse{\boolean{copyright}}{ + \setlength{\textheight}{8.75in} + \AtBeginDocument{\setlength{\textheight}{9in}} +}{} + +% The first page of the article gets a copyright statement, as specified in +% the cascadilla stylesheet +% Suppressed by the "nocopyright" class option. +\newcommand\CascadillaCopyright { + \fancypagestyle{plain}{ + \fancyhf{} + \fancyfoot[L]{\ifthenelse{\boolean{nopagenums}}{\vspace{0.1in}}{\vspace{-0.65in}}\small\copyright{}\ \@copyrightyear\ \@cascauthor\\Cascadilla Proceedings + Project\\Completed \@cascdate} + \renewcommand{\headrulewidth}{0pt} + } +} +\ifthenelse{\boolean{copyright}}{ + \AtBeginDocument{\CascadillaCopyright{}} + \AtBeginDocument{\thispagestyle{plain}} +}{ + \ifthenelse{\boolean{nopagenums}}{ + \AtBeginDocument{\thispagestyle{empty}} + }{} +} + +% Tell natbib to indent hanging lines by a quarter inch +\setlength{\bibhang}{0.25in} + +% Format section headings according to the cascadilla stylesheet +\titlelabel{\thetitle.\ } +\titleformat*{\section}{\fontsize{12pt}{0}\bf} +\titleformat*{\subsection}{\fontsize{11pt}{0}\itshape} +\titleformat*{\subsubsection}{\fontsize{11pt}{0}\itshape} +\titlespacing{\section}{0pt}{11pt}{10pt} +\titlespacing{\subsection}{0pt}{11pt}{10pt} +\titlespacing{\subsubsection}{0pt}{11pt}{10pt} + +% Commands for immediate subsections, which require different spacing than +% normal headings +\newcommand{\immedsubsection}[1]{\vspace{-9pt}\subsection{#1}} +\newcommand{\immedsubsubsection}[1]{\vspace{-9pt}\subsubsection{#1}} + +% Provide a command for the bibliography +\newcommand{\cascadillabibliography}[1]{\small\renewcommand{\baselinestretch}{2}\bibliographystyle{cascadilla}\bibliography{#1}} + +% Set up citation punctuation for, e.g., (Shosted, 2006:13). +\AtBeginDocument{ + \bibpunct[:]{(}{)}{;}{a}{,}{,} +} diff --git a/macros/latex/contrib/cascadilla/example.pdf b/macros/latex/contrib/cascadilla/example.pdf Binary files differnew file mode 100644 index 0000000000..3b274ca2eb --- /dev/null +++ b/macros/latex/contrib/cascadilla/example.pdf diff --git a/macros/latex/contrib/cascadilla/example.tex b/macros/latex/contrib/cascadilla/example.tex new file mode 100644 index 0000000000..5ca0777853 --- /dev/null +++ b/macros/latex/contrib/cascadilla/example.tex @@ -0,0 +1,309 @@ +%% example.tex +%% Copyright 2008-2012 Max Bane +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Max Bane. +% +% This work consists of the files cascadilla.cls and example.tex. + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% This file demonstrates how to use everything that cascadilla.cls has to +% offer. The result of typsetting it should conform more or less to the +% Cascadilla Proceedings Project stylesheet +% (http://www.lingref.com/cpp/authors/style.html), which is used by +% a number of linguistics conference proceedings (e.g., WCCFL). + +% Declare "cascadilla" as the document class +\documentclass{cascadilla} + +% You could optionally specify the "nocopyright" option to suppress the +% Cascadilla Proceedings Project copyright notice, "nosignature" to suppress the +% author's signature statement at the top of the title page, and "hyphenate" to +% restore normal LaTeX end-of-line hyphenation. You can also give "pagenums" to +% generate page numbers (contrary to the Cascadilla stylesheet); page numbers +% start on the second page if the copyright notice is present on the first page. +% You may also give "notimes" to generate a document without the Times New Roman +% font required by the Cascadilla stylesheet---your system's default font (most +% likely Computer Modern) will be used instead, or anything else that you +% specify manually. Finally, you can also use "a4paper" to generate a document +% on A4 sized paper instead of the default US Letter; the Cascadilla stylesheet +% makes allowance for this, with different margin requirements, which will be +% applied automatically. +% EXAMPLES: +%\documentclass[nocopyright,hyphenate,pagenums]{cascadilla} +%\documentclass[a4paper]{cascadilla} + +% Include any \usepackage statements you might need here. + +% Specify the title and author(s) as normal in LaTeX +\title{Lorem Ipsum: Dolor Sit Amet\thanks{I would like to thank caffeine for its +unflagging and unconditional support over the years.}} +\author{John Doe} + +% Additionally, specify the author's institution, the date of manuscript +% completion, and the year to appear in the copyright statement. +% If the copyright statement is not suppressed (via the "nocopyright" option +% above), then the following must be specified: +% \author{...} +% \completed{...} +% \copyrightyear{...} +\institution{University of Somewhere} +\completed{\today} +\copyrightyear{2008} + +% More complex example with multiple authors/institutions. Comment out the above +% \author and \institution commands, and uncomment the following to see the +% results. +%\author{John Doe,\textsuperscript{a} Mary Q.~Snodgrass,\textsuperscript{b} and Eric +% P.~Hamp\textsuperscript{a}} +%\institution{\textsuperscript{a}University of Somewhere and +% \textsuperscript{b}National University of Nowhere} + + +% Then begin your document and write it as normal! +% Do note, though, the special command for typsetting the bibliography (see +% bottom of file). +% cascadilla.cls automatically includes the natbib package for you to use when +% citing bibliographic references. +\begin{document} + +\maketitle + +\section{Introduction} +Lorem ipsum dolor sit amet, consectetuer adipiscing elit \citet{Goodman1943}. +Donec ut massa. Nam quis tortor at leo congue accumsan. In nisl justo, +consequat ac, dictum nec, hendrerit nec, nisl.\footnote{Morbi viverra +pellentesque velit. Nulla elit urna, pharetra at, ultrices quis, tempus ut, +libero. Praesent elementum, est vitae volutpat tincidunt, sapien nibh ornare +ligula, in consequat risus erat quis quam. In porta adipiscing nisi.} Nulla ac +erat et ligula pharetra nonummy. Cras consectetuer lorem et est. Suspendisse +commodo euismod orci. Vestibulum mollis nulla non dolor. Suspendisse +consectetuer dictum ligula. Nam viverra lacinia lorem. Proin arcu eros, +convallis ut, sagittis eu, viverra vel, lacus. Pellentesque diam enim, tempus +sed, rhoncus a, cursus in, metus. Morbi nibh purus, blandit sit amet, +porttitor eu, pellentesque porttitor, felis. Quisque vitae magna a dolor +euismod scelerisque. + +Nulla mollis elementum dolor. Aliquam accumsan aliquet +\citet[3]{Shosted2006} ipsum. Sed velit ipsum, porttitor ut, sollicitudin +nec, viverra nec, neque. Suspendisse potenti. Fusce condimentum dolor +pellentesque orci. Nulla tellus. Aliquam erat volutpat. Suspendisse venenatis +auctor eros. Aenean luctus. Sed id est. Phasellus sapien sapien, aliquam id, +sagittis eget, placerat non, justo. Donec quis mi. + +\section{Donec mollis} +Fusce vitae nunc. Donec mollis mattis odio. Etiam et libero. Vivamus ac erat +non purus molestie malesuada. Vestibulum tincidunt. Maecenas nec nisi ut sem +eleifend luctus. Aliquam elementum congue dui. Curabitur dignissim turpis eu +justo. Aliquam erat volutpat. Nulla id metus. Nullam lorem. Nullam semper +lectus eget neque. Morbi sollicitudin sem vehicula ligula. + +\subsection{Cras sagittis} +In hac habitasse platea dictumst. Maecenas vel risus. Proin molestie risus +vestibulum ligula. Class aptent taciti sociosqu ad litora torquent per conubia +nostra, per inceptos hymenaeos. Vivamus facilisis mattis sem. Proin facilisis +posuere tellus. Fusce est enim, pharetra in, posuere eu, vehicula sagittis, +pede. Aenean auctor est sed diam. Maecenas nibh erat, mollis eget, tempus non, +nonummy quis, erat. Pellentesque habitant morbi tristique senectus et netus et +malesuada fames ac turpis egestas. Etiam eros. Vivamus urna. Pellentesque +dignissim elit eget tellus. Vestibulum quis dui. Vivamus nisi arcu, pretium +sed, gravida et, aliquam non, elit. Pellentesque sed ligula. Aliquam erat +volutpat. Maecenas in purus ullamcorper ante dapibus venenatis. Praesent +consequat lacus nec arcu. + +Cras sagittis \cite{Shannon1948}, nibh id blandit viverra, purus lacus +dignissim nisl, id ultrices turpis arcu sit amet enim. Vestibulum aliquet +lorem sit amet erat. Ut dapibus viverra metus. Donec sed velit. Nunc posuere +rutrum neque. In hac habitasse platea dictumst. Integer placerat, risus vel +lobortis sagittis, nunc augue dictum magna, id consequat lectus metus vitae +felis. Aenean porttitor pretium orci. Nulla faucibus. Integer vel enim eu +tellus interdum pharetra. Nam turpis nulla, sagittis et, faucibus nec, +sollicitudin ut, enim. Sed tempus tortor faucibus nunc. + +\subsection{Sed gravida} +Maecenas semper blandit ante. Sed gravida dolor et orci consectetuer pretium. +Nam lacinia. In leo. Nulla euismod suscipit dui. Aliquam iaculis tellus at +nulla bibendum bibendum. Mauris dui neque, vehicula et, fermentum sed, +fringilla non, risus. In hac habitasse platea dictumst. Praesent dignissim +dignissim lorem. Nulla sed sem. Sed ut odio quis risus dapibus dictum. +Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac +turpis egestas. Sed porta arcu in quam. Donec luctus ligula nec sapien. Sed +neque nunc, posuere sed, convallis egestas, tempus molestie, est. Nullam est +libero, gravida et, vehicula vulputate, commodo placerat, dui. Ut +pellentesque, eros sed tincidunt ullamcorper, ante odio dapibus ligula, id +viverra metus metus ac tortor. + +Sed turpis. Cras eget pede.\footnote{Aliquam vitae risus id ante ornare +rhoncus.} Sed at nulla nec arcu mollis vehicula. Fusce vel magna vitae odio +vulputate gravida. Quisque velit. Pellentesque dignissim mi et tellus. Donec +erat sem, pharetra eget, sagittis vitae, dignissim eu, diam. Sed egestas velit +in libero. Integer sollicitudin metus non massa. Donec accumsan. Nullam quam. +Vivamus non magna. + +\section{In consectetuer lorem et quam} +% If a subsection heading immediately follows a section heading, use +% \immedsubsection. There is also an analogous \immedsubsubsection +\immedsubsection{Nam condimentum egestas dolor} + +In consectetuer lorem et quam. Nam condimentum egestas dolor. Nullam +adipiscing. Fusce vitae nibh. Suspendisse ut pede et nibh imperdiet interdum. +Sed rhoncus tincidunt augue. In hac habitasse platea dictumst. Curabitur +pharetra nunc eu velit. Nullam elementum, elit quis ornare pretium, leo velit +bibendum augue, molestie consectetuer sem dolor et dui. Aenean dapibus, elit +id dignissim bibendum, dui eros aliquam massa, non volutpat risus dolor quis +velit. Donec varius, arcu quis feugiat dictum, nisi velit semper lacus, non +tempus pede diam non massa. Sed pede leo, ultrices sed, vehicula non, faucibus +ut, dui. Nunc pulvinar metus eu nulla. Nullam sed turpis ut purus vulputate +interdum. Mauris quis quam eu odio venenatis posuere. + +\subsection{Cras sagittis} +In hac habitasse platea dictumst. Maecenas vel risus. Proin molestie risus +vestibulum ligula. Class aptent taciti sociosqu ad litora torquent per conubia +nostra, per inceptos hymenaeos. Vivamus facilisis mattis sem. Proin facilisis +posuere tellus. Fusce est enim, pharetra in, posuere eu, vehicula sagittis, +pede. Aenean auctor est sed diam. Maecenas nibh erat, mollis eget, tempus non, +nonummy quis, erat. Pellentesque habitant morbi tristique senectus et netus et +malesuada fames ac turpis egestas. Etiam eros. Vivamus urna. Pellentesque +dignissim elit eget tellus. Vestibulum quis dui. Vivamus nisi arcu, pretium +sed, gravida et, aliquam non, elit. Pellentesque sed ligula. Aliquam erat +volutpat. Maecenas in purus ullamcorper ante dapibus venenatis. Praesent +consequat lacus nec arcu. + +\begin{table} + \centering + \begin{tabular}{lrlr} + \emph{Language} & \emph{Bits}& \emph{Language} & + \emph{Bits}\\ + Danish&7,159,576 & + Dutch&8,182,264 \\ + English&6,895,608 & + French&8,240,232 \\ + German&8,039,792 & + Haitian Creole&7,298,360 \\ + Hungarian&8,163,704 & + Icelandic&7,953,120 \\ + Italian&9,049,912 & + Latin&7,887,288 \\ + Maori&7,064,968 & + Spanish&7,412,232 \\ + Swedish&7,597,400 + \end{tabular} + \caption{Upper bounds on the Kolmogorov complexity of the Bible, as + translated into thirteen languages; computed by the \texttt{bzip2} + compression algorithm.} + \label{Bzip2} +\end{table} + +Cras sagittis, nibh id blandit viverra, purus lacus dignissim nisl, id +ultrices turpis arcu sit amet enim. Vestibulum aliquet lorem sit amet erat. Ut +dapibus viverra metus. Donec sed velit. Nunc posuere rutrum neque. In hac +habitasse platea dictumst. Integer placerat, risus vel lobortis sagittis, nunc +augue dictum magna, id consequat lectus metus vitae felis. Aenean porttitor +pretium orci. Nulla faucibus. Integer vel enim eu tellus interdum pharetra. +Nam turpis nulla, sagittis et, faucibus nec, sollicitudin ut, enim. Sed tempus +tortor faucibus nunc. + +Cras molestie mi vitae quam. Aliquam viverra odio. Nam vitae arcu sit amet +odio eleifend sollicitudin. Suspendisse erat purus, vehicula ut, eleifend +mollis, pretium eu, nulla. Nulla gravida arcu ut nibh. Pellentesque auctor +blandit ligula. In condimentum, mauris quis sagittis faucibus, erat orci +mattis quam, sed rutrum tellus sem a elit. Etiam porta nulla nec arcu. Etiam +aliquet tristique dolor. Donec metus massa, fringilla eget, vulputate non, +pretium vitae, nisl. Cras ullamcorper nibh nec massa. Pellentesque augue diam, +condimentum et, blandit vitae, tempus non, leo. Phasellus dignissim massa non +orci. Donec ut justo. Suspendisse pulvinar diam eget nunc. Nullam accumsan, +dolor et vehicula placerat, nunc tellus tincidunt ligula, vitae volutpat metus +libero non leo. + +\subsection{Quisque orci} +Quisque orci. Praesent eget mauris. Suspendisse potenti. Morbi vel tellus. +Maecenas blandit interdum mi. Aenean tellus. Donec molestie. Sed nonummy +tempor dui. Donec ullamcorper, justo eu venenatis vulputate, est magna tempus +elit, sed facilisis risus velit in risus. Fusce eu magna. + +Morbi a orci sit amet dolor condimentum aliquet. Curabitur sit amet lacus non +massa elementum luctus. Donec eu turpis. Sed lobortis accumsan lacus. Proin +blandit pede non quam. Ut neque. Nunc dignissim pharetra nunc. Sed ultrices +rutrum pede. Curabitur tincidunt vulputate odio. Nulla ipsum ante, luctus ut, +volutpat quis, iaculis ac, justo. Phasellus nibh ipsum, vestibulum ut, laoreet +ac, viverra in, dolor. + +\section{Suspendisse tempor dolor a quam} +\immedsubsection{Donec consectetuer} +Suspendisse tempor dolor a quam. Donec consectetuer. Lorem ipsum dolor sit +amet, consectetuer adipiscing elit. Curabitur eleifend scelerisque enim. Donec +volutpat. Maecenas neque turpis, vulputate ultricies, auctor ac, congue vitae, +tellus. Pellentesque dui. Phasellus semper nibh non enim. Suspendisse quis +tortor. Praesent nulla. Class aptent taciti sociosqu ad litora torquent per +conubia nostra, per inceptos hymenaeos. Proin pretium varius pede. + +Cum sociis natoque penatibus et magnis dis parturient montes, nascetur +ridiculus mus. Nunc id arcu ac ligula tincidunt aliquet. Pellentesque interdum +mauris non ante. Integer sed lacus vel lacus egestas tristique. Nunc +venenatis. Nulla placerat laoreet nisi. Praesent ornare vulputate pede. Duis +pretium elementum lorem. Maecenas tellus nulla, tincidunt vitae, lacinia quis, +porta quis, tellus. Mauris massa dui, ornare vitae, consectetuer ut, consequat +vitae, mauris. + +\subsection{In hac habitasse platea dictumst} +In hac habitasse platea dictumst. Donec pulvinar augue in purus. Vivamus justo +nisi, hendrerit quis, molestie fringilla, cursus non, nibh. Aliquam ultricies +odio ac libero. Duis non quam. Nulla facilisi. Donec elementum rhoncus nunc. +Nam velit elit, ultricies in, fringilla vitae, placerat nec, sapien. Morbi +nisi magna, mattis ac, gravida vulputate, vulputate quis, mauris. Aenean a +tellus sit amet justo consectetuer dignissim. Ut sollicitudin elit sit amet +magna. Sed mauris mi, tincidunt nec, sagittis eu, accumsan quis, lacus. Mauris +libero. Nulla felis. In adipiscing libero euismod tortor. Suspendisse at nunc +lacinia pede venenatis sollicitudin. Aliquam gravida elit at nunc. Quisque +euismod risus ut dolor. Donec velit sem, ultricies ac, imperdiet a, elementum +quis, metus. Donec blandit eros et augue. + +Phasellus commodo. Praesent non enim vitae mauris tempus venenatis. Duis +malesuada interdum enim. Phasellus orci mauris, pulvinar ut, blandit at, +pretium eget, enim. Proin a lacus vel tortor tristique mollis. Maecenas id +orci at nunc mattis auctor. Etiam mollis lorem vel augue. Nunc laoreet +eleifend ligula. Vestibulum ante ipsum primis in faucibus orci luctus et +ultrices posuere cubilia Curae; Integer pharetra commodo mi. Suspendisse in +dui. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur +ridiculus mus. Phasellus vestibulum metus quis nisi. Aliquam erat volutpat. In +hac habitasse platea dictumst. Ut consectetuer lacinia purus. + +Aliquam feugiat, lacus in nonummy nonummy, ante magna ullamcorper dolor, sed +sodales metus lacus sed leo. Maecenas pede urna, egestas a, dapibus sed, +mollis at, quam. Morbi sed magna. Donec condimentum nisi eu velit. Integer +imperdiet mi vel arcu condimentum interdum. Vestibulum tincidunt mi quis nibh +tincidunt hendrerit. Nam velit justo, cursus ut, nonummy sagittis, adipiscing +tincidunt, eros. Nunc imperdiet. Integer turpis. In pretium, dui et +ullamcorper fermentum, felis orci semper ante, ac ultricies nulla tellus sed +nibh. Vestibulum at dui quis ligula pharetra pulvinar. Lorem ipsum dolor sit +amet, consectetuer adipiscing elit. Nunc vitae dui sed orci adipiscing +convallis. + +\section{Conclusion} + +Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere +cubilia Curae; Phasellus aliquam metus ac neque. Duis faucibus. Nullam at +enim. Nulla mauris neque, placerat et, vehicula eget, blandit et, sem. In +vitae quam. Mauris ut nisi. Suspendisse potenti. Vivamus sed est id ante +sodales tincidunt. Quisque ultrices, mi in consequat ullamcorper, lacus sapien +mollis ipsum, a accumsan odio nisl dapibus arcu. Pellentesque habitant morbi +tristique senectus et netus et malesuada fames ac turpis egestas. Nunc +volutpat, velit ut condimentum sagittis, leo sapien viverra ligula, sed +gravida nisl lectus ut arcu. Nulla imperdiet ultrices tortor. + +% Use the \cascadillabibliography command to generate your bibliography. It +% takes the name of your .bib database as its argument. You do not need to +% specify a bibliographystyle; it automatically uses cascadilla.bst, which +% produces `Author (year)' entries. +\cascadillabibliography{exampleref} + +\end{document} diff --git a/macros/latex/contrib/cascadilla/exampleref.bib b/macros/latex/contrib/cascadilla/exampleref.bib new file mode 100644 index 0000000000..ec65d87168 --- /dev/null +++ b/macros/latex/contrib/cascadilla/exampleref.bib @@ -0,0 +1,41 @@ + +%% Created for Max Bane at 2007-12-06 17:31:44 -0600 + + +%% Saved with string encoding Western (ASCII) + + +@string{newmacro = {definition}} + +@article{Goodman1943, + Author = {Nelson Goodman}, + Date-Modified = {2007-09-11 00:32:30 -0500}, + Journal = {Journal of Symbolic Logic}, + Keywords = {philosophy, complexity, information}, + Owner = {t-maxb}, + Pages = {107--21}, + Timestamp = {2007.06.29}, + Title = {On the simplicity of ideas}, + Volume = {8}, + Year = {1943}} + +@article{Shannon1948, + Author = {Claude E. Shannon}, + Journal = {Bell System Technical Journal}, + Owner = {t-maxb}, + Pages = {379--423, 623--656}, + Timestamp = {2007.06.29}, + Title = {A mathematical theory of communication}, + Volume = {27}, + Year = {1948}} + +@article{Shosted2006, + Author = {Ryan Shosted}, + Journal = {Linguistic Typology}, + Owner = {t-maxb}, + Pages = {1--40}, + Timestamp = {2007.06.29}, + Title = {Correlating Complexity: A Typological Approach}, + Volume = {10}, + Year = {2006}} + |