Skip to content

Commit

Permalink
Merge branch 'fix-apdx'
Browse files Browse the repository at this point in the history
  • Loading branch information
mhucka committed Aug 16, 2017
2 parents 138b5b3 + 065cf28 commit 47c93f5
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 7 deletions.
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
News for version 1.7.1 (2017-08-16)
-----------------------------------

This release fixes a bug in commands for referencing sections, caused by a poor implementation of `\apdx`. This fixes the problem that references to sections would sometimes end up as `Section Appendix 3.3.12`. (Thanks to Lucian Smith for reporting this issue.)


News for version 1.7.0 (2017-05-05)
-----------------------------------

Expand Down
9 changes: 9 additions & 0 deletions NEWS.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
=============================================================================
News for version 1.7.1 (2017-08-16 <mhucka@caltech.edu>)
=============================================================================

This release fixes a bug in commands for referencing sections, caused by a
poor implementation of \apdx. This fixes the problem that references to
sections would sometimes end up as "Section Appendix 3.3.12". (Thanks to
Lucian Smith for reporting this issue.)

=============================================================================
News for version 1.7.0 (2017-05-05 <mhucka@caltech.edu>)
=============================================================================
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SBMLPkgSpec
The SBMLPkgSpec class for LaTeX provides a standard document format for [SBML Level 3](http://sbml.org/Documents/Specifications) package specifications.

[![License](http://img.shields.io/:license-LGPL-blue.svg)](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html)
[![Latest version](https://img.shields.io/badge/Latest_version-1.7-brightgreen.svg)](http://shields.io)
[![Latest version](https://img.shields.io/badge/Latest_version-1.7.1-brightgreen.svg)](http://shields.io)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.583702.svg)](https://doi.org/10.5281/zenodo.583702)

----
Expand All @@ -19,6 +19,8 @@ The SBMLPkgSpec class for LaTeX provides a standard document format for [SBML Le
🏁 Recent news and activities
------------------------------

_August 2017_: Fixed bug in commands for referencing sections, caused by a poor implementation of `\apdx`. This fixes the problem that references to sections would sometimes end up as `Section Appendix 3.3.12`. (Thanks to Lucian Smith for reporting this issue.)

_May 2017_: Moved the SBMLPkgClass directory to a [separate GitHub repository](https://github.com/sbmlteam/sbmlpkgspec), away from its original location as a subdirectory in the general [SBML project area on SourceForge](https://sourceforge.net/p/sbml/code/HEAD/tree/trunk/project/). There are no code, LaTeX or licensing changes in this release.

☀ Introduction
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.7.0
1.7.1
Binary file modified sbmlpkgspec-doc.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions sbmlpkgspec-doc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
\begin{document}
\packageTitle{\latex Class for SBML Package Specifications}
\packageVersion{Version 1.7.0}
\packageVersionDate{5 May 2017}
\packageVersion{Version 1.7.1}
\packageVersionDate{16 August 2017}
\title{\sbmlpkghead: A \latex Class for SBML Level~3
\texorpdfstring{\\[3pt]}{}\mbox{Package Specification Documents}}
Expand Down
6 changes: 3 additions & 3 deletions sbmlpkgspec.cls
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
%% along with this library; if not, write to the Free Software Foundation,
%% Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

\def\filedate{2014/08/10}
\def\filedate{2017/08/16}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{sbmlpkgspec}[\filedate\space SBML Level 3
Package Specification Style]
Expand Down Expand Up @@ -1122,8 +1122,8 @@ Package Specification Style]
\newcommand{\sect}[1]{\normallabels\@commonRefNoStar{#1}}
\WithSuffix\newcommand\sect*[1]{\normallabels\@commonRefStar{#1}}
\newcommand{\apdx}[1]{\appendixlabels\@commonRefNoStar{#1}}
\WithSuffix\newcommand\apdx*[1]{\appendixlabels\@commonRefStar{#1}}
\newcommand{\apdx}[1]{\appendixlabels\@commonRefNoStar{#1}\normallabels}
\WithSuffix\newcommand\apdx*[1]{\appendixlabels\@commonRefStar{#1}\normallabels}
% Misc.
Expand Down

0 comments on commit 47c93f5

Please sign in to comment.