[FOray-commit] SF.net SVN: foray: [7740] trunk/foray/foray-hyphen-r/resource/hyph-patterns
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2006-06-24 20:50:17
|
Revision: 7740 Author: victormote Date: 2006-06-24 13:50:06 -0700 (Sat, 24 Jun 2006) ViewCVS: http://svn.sourceforge.net/foray/?rev=7740&view=rev Log Message: ----------- 1. Move hyphenation dtd to aXSL. 2. Add more formal DTD declaration to the pattern files, allowing the DTD to come from the web or a catalog. Modified Paths: -------------- trunk/foray/foray-hyphen-r/resource/hyph-patterns/en.xml trunk/foray/foray-hyphen-r/resource/hyph-patterns/es.xml trunk/foray/foray-hyphen-r/resource/hyph-patterns/fi.xml trunk/foray/foray-hyphen-r/resource/hyph-patterns/hu.xml trunk/foray/foray-hyphen-r/resource/hyph-patterns/it.xml trunk/foray/foray-hyphen-r/resource/hyph-patterns/pl.xml trunk/foray/foray-hyphen-r/resource/hyph-patterns/pt.xml trunk/foray/foray-hyphen-r/resource/hyph-patterns/ru.xml Removed Paths: ------------- trunk/foray/foray-hyphen-r/resource/hyph-patterns/hyphenation.dtd Modified: trunk/foray/foray-hyphen-r/resource/hyph-patterns/en.xml =================================================================== --- trunk/foray/foray-hyphen-r/resource/hyph-patterns/en.xml 2006-06-24 16:29:22 UTC (rev 7739) +++ trunk/foray/foray-hyphen-r/resource/hyph-patterns/en.xml 2006-06-24 20:50:06 UTC (rev 7740) @@ -1,5 +1,8 @@ <?xml version="1.0" encoding="US-ASCII"?> -<!DOCTYPE hyphenation-info SYSTEM "hyphenation.dtd"> +<!DOCTYPE hyphenation-info + PUBLIC "-//aXSL//DTD Hyphenation V0.1//EN" + "http://www.axsl.org/dtds/0.1/en/axsl-hyphenation.dtd"> + <!-- % % Created by Jeff Kingston, 16 November 1996, from a TeX Modified: trunk/foray/foray-hyphen-r/resource/hyph-patterns/es.xml =================================================================== --- trunk/foray/foray-hyphen-r/resource/hyph-patterns/es.xml 2006-06-24 16:29:22 UTC (rev 7739) +++ trunk/foray/foray-hyphen-r/resource/hyph-patterns/es.xml 2006-06-24 20:50:06 UTC (rev 7740) @@ -1,5 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE hyphenation-info SYSTEM "hyphenation.dtd"> +<!DOCTYPE hyphenation-info + PUBLIC "-//aXSL//DTD Hyphenation V0.1//EN" + "http://www.axsl.org/dtds/0.1/en/axsl-hyphenation.dtd"> <!-- Adapted by Carlos Villegas from Lout's spanish.lh. Spanish is probably the easiest language to hyphenate! Modified: trunk/foray/foray-hyphen-r/resource/hyph-patterns/fi.xml =================================================================== --- trunk/foray/foray-hyphen-r/resource/hyph-patterns/fi.xml 2006-06-24 16:29:22 UTC (rev 7739) +++ trunk/foray/foray-hyphen-r/resource/hyph-patterns/fi.xml 2006-06-24 20:50:06 UTC (rev 7740) @@ -1,5 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE hyphenation-info SYSTEM "hyphenation.dtd"> +<!DOCTYPE hyphenation-info + PUBLIC "-//aXSL//DTD Hyphenation V0.1//EN" + "http://www.axsl.org/dtds/0.1/en/axsl-hyphenation.dtd"> + <!-- Constructed by Jarno Elovirta from fi8hyph.tex file: % fi8hyph.tex, based on fihyph.tex Modified: trunk/foray/foray-hyphen-r/resource/hyph-patterns/hu.xml =================================================================== --- trunk/foray/foray-hyphen-r/resource/hyph-patterns/hu.xml 2006-06-24 16:29:22 UTC (rev 7739) +++ trunk/foray/foray-hyphen-r/resource/hyph-patterns/hu.xml 2006-06-24 20:50:06 UTC (rev 7740) @@ -1,5 +1,8 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!DOCTYPE hyphenation-info SYSTEM "hyphenation.dtd"> +<!DOCTYPE hyphenation-info + PUBLIC "-//aXSL//DTD Hyphenation V0.1//EN" + "http://www.axsl.org/dtds/0.1/en/axsl-hyphenation.dtd"> + <!-- created from huhyp.tex by sn...@ma... and converted to Latin-2 --> <hyphenation-info> Deleted: trunk/foray/foray-hyphen-r/resource/hyph-patterns/hyphenation.dtd =================================================================== --- trunk/foray/foray-hyphen-r/resource/hyph-patterns/hyphenation.dtd 2006-06-24 16:29:22 UTC (rev 7739) +++ trunk/foray/foray-hyphen-r/resource/hyph-patterns/hyphenation.dtd 2006-06-24 20:50:06 UTC (rev 7740) @@ -1,52 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> - -<!ELEMENT hyphenation-info (hyphen-char?, hyphen-min?, - classes, exceptions?, patterns)> - -<!-- Hyphen character to be used in the exception list as shortcut for - <hyphen pre-break="-"/>. Defaults to '-' ---> -<!ELEMENT hyphen-char EMPTY> -<!ATTLIST hyphen-char value CDATA #REQUIRED> - -<!-- Default minimun length in characters of hyphenated word fragments - before and after the line break. For some languages this is not - only for aesthetic purposes, wrong hyphens may be generated if this - is not accounted for. ---> -<!ELEMENT hyphen-min EMPTY> -<!ATTLIST hyphen-min before CDATA #REQUIRED> -<!ATTLIST hyphen-min after CDATA #REQUIRED> - -<!-- Character equivalent classes: space separated list of character groups, all - characters in a group are to be treated equivalent as far as - the hyphenation algorithm is concerned. The first character in a group - is the group's equivalent character. Patterns should only contain - first characters. It also defines word characters, i.e. a word that - contains characters not present in any of the classes is not hyphenated. ---> -<!ELEMENT classes (#PCDATA)> - -<!-- Hyphenation exceptions: space separated list of hyphenated words. - A hyphen is indicated by the hyphen tag, but you can use the - hyphen-char defined previously as shortcut. This is in cases - when the algorithm procedure finds wrong hyphens or you want - to provide your own hyphenation for some words. ---> -<!ELEMENT exceptions (#PCDATA|hyphen)* > - -<!-- The hyphenation patterns, space separated. A pattern is made of 'equivalent' - characters as described before, between any two word characters a digit - in the range 0 to 9 may be specified. The absence of a digit is equivalent - to zero. The '.' character is reserved to indicate begining or ending - of words. --> -<!ELEMENT patterns (#PCDATA)> - -<!-- A "full hyphen" equivalent to TeX's \discretionary - with pre-break, post-break and no-break attributes. - To be used in the exceptions list, the hyphen character is not - automatically added --> -<!ELEMENT hyphen EMPTY> -<!ATTLIST hyphen pre CDATA #IMPLIED> -<!ATTLIST hyphen no CDATA #IMPLIED> -<!ATTLIST hyphen post CDATA #IMPLIED> Modified: trunk/foray/foray-hyphen-r/resource/hyph-patterns/it.xml =================================================================== --- trunk/foray/foray-hyphen-r/resource/hyph-patterns/it.xml 2006-06-24 16:29:22 UTC (rev 7739) +++ trunk/foray/foray-hyphen-r/resource/hyph-patterns/it.xml 2006-06-24 20:50:06 UTC (rev 7740) @@ -1,5 +1,7 @@ <?xml version="1.0" encoding="ISO-8859-1"?> -<!DOCTYPE hyphenation-info SYSTEM "hyphenation.dtd"> +<!DOCTYPE hyphenation-info + PUBLIC "-//aXSL//DTD Hyphenation V0.1//EN" + "http://www.axsl.org/dtds/0.1/en/axsl-hyphenation.dtd"> <!-- Created by St\xE9phane Bline - Peregrine Systems - sb...@ap... Conversion of the original TEX italian hyphenation patterns written by Modified: trunk/foray/foray-hyphen-r/resource/hyph-patterns/pl.xml =================================================================== --- trunk/foray/foray-hyphen-r/resource/hyph-patterns/pl.xml 2006-06-24 16:29:22 UTC (rev 7739) +++ trunk/foray/foray-hyphen-r/resource/hyph-patterns/pl.xml 2006-06-24 20:50:06 UTC (rev 7740) @@ -1,5 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE hyphenation-info SYSTEM "hyphenation.dtd"> +<!DOCTYPE hyphenation-info + PUBLIC "-//aXSL//DTD Hyphenation V0.1//EN" + "http://www.axsl.org/dtds/0.1/en/axsl-hyphenation.dtd"> <!-- Hyphenation patterns for Polish. Modified: trunk/foray/foray-hyphen-r/resource/hyph-patterns/pt.xml =================================================================== --- trunk/foray/foray-hyphen-r/resource/hyph-patterns/pt.xml 2006-06-24 16:29:22 UTC (rev 7739) +++ trunk/foray/foray-hyphen-r/resource/hyph-patterns/pt.xml 2006-06-24 20:50:06 UTC (rev 7740) @@ -1,26 +1,9 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE hyphenation-info SYSTEM "hyphenation.dtd"> -<!-- - * Copyright 2004 The FOray Project. - * http://www.foray.org - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * This work is in part derived from the following work(s), used with the - * permission of the licensor: - * Apache FOP, licensed by the Apache Software Foundation - * +<!DOCTYPE hyphenation-info + PUBLIC "-//aXSL//DTD Hyphenation V0.1//EN" + "http://www.axsl.org/dtds/0.1/en/axsl-hyphenation.dtd"> +<!-- This file was originally created by Marcelo Jaccoud Amaral <ja...@pe...>. Modified: trunk/foray/foray-hyphen-r/resource/hyph-patterns/ru.xml =================================================================== --- trunk/foray/foray-hyphen-r/resource/hyph-patterns/ru.xml 2006-06-24 16:29:22 UTC (rev 7739) +++ trunk/foray/foray-hyphen-r/resource/hyph-patterns/ru.xml 2006-06-24 20:50:06 UTC (rev 7740) @@ -1,25 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- - * Copyright 2004 The FOray Project. - * http://www.foray.org - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * This work is in part derived from the following work(s), used with the - * permission of the licensor: - * Apache FOP, licensed by the Apache Software Foundation - * ---> <!-- Origin of this file: @@ -61,7 +40,11 @@ - Conversion of BRHYPHEN.TEX to ru.xml and legal clarifications by Jeremias Maerki <jer...@ap...> --> -<!DOCTYPE hyphenation-info SYSTEM "hyphenation.dtd"> + +<!DOCTYPE hyphenation-info + PUBLIC "-//aXSL//DTD Hyphenation V0.1//EN" + "http://www.axsl.org/dtds/0.1/en/axsl-hyphenation.dtd"> + <hyphenation-info> <classes> аА This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |