Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add final Publishing (Blue) 1.1 DTD to GitHub repository from FTP site #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
all: publishing/1.1

publishing/1.1:
@mkdir -p $@
bash merge.sh ftp://ftp.ncbi.nih.gov/pub/jats/$@/JATS-Publishing-1-1-MathML2-DTD.zip $@
bash merge.sh ftp://ftp.ncbi.nih.gov/pub/jats/$@/JATS-Publishing-1-1-MathML3-DTD.zip $@
bash merge.sh ftp://ftp.ncbi.nih.gov/pub/jats/$@/JATS-Publishing-1-1-OASIS-MathML2-DTD.zip $@
bash merge.sh ftp://ftp.ncbi.nih.gov/pub/jats/$@/JATS-Publishing-1-1-OASIS-MathML3-DTD.zip $@
16 changes: 16 additions & 0 deletions merge.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash

# Download a zip from the first argument, merge into the directory specified by the second argument, and clean up
# Example:
# bash merge-zip.sh ftp://ftp.ncbi.nih.gov/pub/jats/publishing/1.1/JATS-Publishing-1-1-MathML2-DTD.zip publishing/1.1

# download, unzip, and remove zip
NAME=$(basename -s .zip $1)
curl $1 > $NAME.zip
unzip -o $NAME.zip
rm $NAME.zip

# merge and remove directory
cp -fR $NAME/* $2/
rm -rf $NAME
mv Publishing-Readme.txt $2/README.txt
501 changes: 501 additions & 0 deletions publishing/1.1/JATS-XHTMLtablesetup1.ent

Large diffs are not rendered by default.

154 changes: 154 additions & 0 deletions publishing/1.1/JATS-ali-namespace1.ent
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
<!-- ============================================================= -->
<!-- MODULE: ALI Namespace Module (NISO RP-22-2015) -->
<!-- NISO Access License and Indicators (ALI) -->
<!-- VERSION: ANSI/NISO JATS Version 1.1 (Z39.96-2015) -->
<!-- DATE: December 2015 -->
<!-- -->
<!-- ============================================================= -->

<!-- ============================================================= -->
<!-- PUBLIC DOCUMENT TYPE DEFINITION -->
<!-- TYPICAL INVOCATION -->
<!--
"-//NLM//DTD JATS ALI Namespace Module v1.1 20151215//EN"
Delivered as file "JATS-ali-namespace1.ent" -->
<!-- ============================================================= -->


<!-- ============================================================= -->
<!-- SYSTEM: JATS DTD Suite -->
<!-- -->
<!-- PURPOSE: Establish the prefix for the NISO Access and -->
<!-- Indicators elements (prefix "ali:"). -->
<!-- -->
<!-- TAG SET SPONSOR -->
<!-- National Center for Biotechnology -->
<!-- Information (NCBI) -->
<!-- National Library of Medicine (NLM) -->
<!-- -->
<!-- CREATED FOR: -->
<!-- This module was created for the JATS DTD Suite. -->
<!-- Digital archives and publishers may use the -->
<!-- DTD as is for markup of journal literature or -->
<!-- related material for archiving and transferring -->
<!-- such material between archives or create a -->
<!-- custom XML DTD from the Suite for -->
<!-- these purposes. -->
<!-- -->
<!-- This DTD is in the public domain. An organization -->
<!-- that wishes to create its own DTD from the suite -->
<!-- may do so without permission from NLM. -->
<!-- -->
<!-- The suite has been set up to be extended using a -->
<!-- new DTD file and a new DTD-specific customization -->
<!-- module to redefine the many Parameter Entities. -->
<!-- Do not modify the suite directly or redistribute -->
<!-- modified versions of the suite. -->
<!-- -->
<!-- In the interest of maintaining consistency and -->
<!-- clarity for potential users, NLM requests: -->
<!-- -->
<!-- 1. If you create a DTD from the JATS DTD Suite -->
<!-- and intend to stay compatible with the suite, -->
<!-- then please include the following statement -->
<!-- as a comment in all of your DTD modules: -->
<!-- "Created from, and fully compatible with, -->
<!-- the ANSI/NISO Z39.96 Journal Article Tag -->
<!-- Suite (JATS)." -->
<!-- -->
<!-- 2. If you alter one or more modules of the suite, -->
<!-- then please rename your version and all its -->
<!-- modules to avoid any confusion with the -->
<!-- original suite. Also, please include the -->
<!-- following statement as a comment in all your -->
<!-- DTD modules: -->
<!-- "Based in part on, but not fully compatible -->
<!-- with, the ANSI/NISO Z39.96 Journal Article -->
<!-- Tag Suite (JATS)." -->
<!-- -->
<!-- ORIGINAL CREATION DATE: -->
<!-- February 2015 -->
<!-- -->
<!-- CREATED BY: Mulberry Technologies, Inc. for the NISO Z39.96 -->
<!-- Working Group. Mulberry Technologies was -->
<!-- supported by National Center for Biotechnology -->
<!-- Information (NCBI), a center of the US National -->
<!-- Library of Medicine (NLM). -->
<!-- -->
<!-- The Journal Publishing DTD is built from the -->
<!-- Archiving and Interchange DTD Suite. -->
<!-- -->
<!-- Suggestions for refinements and enhancements to -->
<!-- this DTD should be sent in email to: -->
<!-- [email protected] -->
<!-- ============================================================= -->


<!-- ============================================================= -->
<!-- DTD VERSION/CHANGE HISTORY -->
<!-- ============================================================= -->
<!--
Version Reason/Occasion (who) vx.x (yyyy-mm-dd)
=============================================================
JATS Version 1.1 (DAL/BTU) v1.1 (2015-12-15)

JATS is a continuing maintenance NISO Standard, which
requires voting by the ANSI and NISO memberships to be changed.
JATS 1.1 was approved in late 2015, so the formal public
identifiers were changed in the modules and the catalogs.
No model or attribute changes were made at this time.

1. JATS became version "1.1" and "v1.1 20151215"

=============================================================

Details concerning ANSI/NISO Z39.96-2015 JATS-based DTDs, XSDs,
RNGs and supporting documentation are available at
http://jats.nlm.nih.gov/1.1/
-->
<!-- ============================================================= -->
<!-- ALI NAMESPACE SETUP -->
<!-- ============================================================= -->


<!-- NAME ALI NAMESPACE BASE URI -->
<!-- Set the ALI namespace URI,as named in
NISO RP-22-2015 -->
<!ENTITY % ali.xmlns
"http://www.niso.org/schemas/ali/1.0/" >


<!-- NAME ALI NAMESPACE PREFIX -->
<!-- Set the namespace prefix for the ALI
elements to the JATS-named prefix "ali".
Implementor's Note: This parameter entity
should always be set, even if you need to turn
off the namespace prefix. -->
<!ENTITY % ali.prefix "ali" >


<!-- NAME OASIS NAMESPACE PREFIX -->
<!-- Construct the ALI namespace prefix to be
used in the xmlns pseudo-attribute from:
- the word "xmlns",
- a colon, and
- the prefix just defined in %ali.prefix;
-->
<!ENTITY % ali.xmlns.attrname
"xmlns:%ali.prefix;" >


<!-- DEFAULT ALI NAMESPACE -->
<!-- The default namespace to be used when
calling in the ALI elements. This is set on
the article level as well as on the ALI
elements themselves.
Implementor's Note: The parameter entity is
constructed from the parameter entities set
above. -->
<!ENTITY % ali.xmlns.attrib
"%ali.xmlns.attrname;
CDATA #FIXED '%ali.xmlns;'" >


<!-- ================== End ALI Namespace Setup ================= -->
Loading