1、National Standard of CanadaCAN/CSA-ISO/IEC TR 19758:04(ISO/IEC TR 19758:2003)Technical Report ISO/IEC TR 19758:2003 (first edition, 2003-04-01) has been adopted withoutmodification (IDT) as CSA Standard CAN/CSA-ISO/IEC TR 19758:04, which has been approved as a NationalStandard of Canada by the Stand
2、ards Council of Canada.ISBN 1-55397-761-0 December 2004Reference numberISO/IEC TR 19758:2003(E)ISO/IEC 2003Information technology Document description and processing languages DSSSL library for complex compositionsTechnologies de linformation Description de document et langages de traitement Bibliot
3、hque DSSSL pour compositions complexes The Canadian Standards Association (CSA), under whose auspices this National Standard has been produced, was chartered in 1919 and accredited by the Standards Council of Canada to the National Standards system in 1973. It is a not-for-profit, nonstatutory, volu
4、ntary membership association engaged in standards development and certification activities. CSA standards reflect a national consensus of producers and users including manufacturers, consumers, retailers, unions and professional organizations, and governmental agencies. The standards are used widely
5、 by industry and commerce and often adopted by municipal, provincial, and federal governments in their regulations, particularly in the fields of health, safety, building and construction, and the environment. Individuals, companies, and associations across Canada indicate their support for CSAs sta
6、ndards development by volunteering their time and skills to CSA Committee work and supporting the Associations objectives through sustaining memberships. The more than 7000 committee volunteers and the 2000 sustaining memberships together form CSAs total membership from which its Directors are chose
7、n. Sustaining memberships represent a major source of income for CSAs standards development activities. The Association offers certification and testing services in support of and as an extension to its standards development activities. To ensure the integrity of its certification process, the Assoc
8、iation regularly and continually audits and inspects products that bear the CSA Mark. In addition to its head office and laboratory complex in Toronto, CSA has regional branch offices in major centres across Canada and inspection and testing agencies in eight countries. Since 1919, the Association h
9、as developed the necessary expertise to meet its corporate mission: CSA is an independent service organization whose mission is to provide an open and effective forum for activities facilitating the exchange of goods and services through the use of standards, certification and related services to me
10、et national and international needs.For further information on CSA services, write toCanadian Standards Association5060 Spectrum Way, Suite 100Mississauga, Ontario, L4W 5N6CanadaThe Standards Council of Canada is the coordinating body of the National Standards system, a federation of independent, au
11、tonomous organizations working towards the further development and improvement of voluntary standardization in the national interest. The principal objects of the Council are to foster and promote voluntary standardization as a means of advancing the national economy, benefiting the health, safety,
12、and welfare of the public, assisting and protecting the consumer, facilitating domestic and international trade, and furthering international cooperation in the field of standards. A National Standard of Canada is a standard which has been approved by the Standards Council of Canada and one which re
13、flects a reasonable agreement among the views of a number of capable individuals whose collective interests provide to the greatest practicable extent a balance of representation of producers, users, consumers, and others with relevant interests, as may be appropriate to the subject in hand. It norm
14、ally is a standard which is capable of making a significant and timely contribution to the national interest. Approval of a standard as a National Standard of Canada indicates that a standard conforms to the criteria and procedures established by the Standards Council of Canada. Approval does not re
15、fer to the technical content of the standard; this remains the continuing responsibility of the accredited standards development organization. Those who have a need to apply standards are encouraged to use National Standards of Canada whenever practicable. These standards are subject to periodic rev
16、iew; therefore, users are cautioned to obtain the latest edition from the organization preparing the standard.The responsibility for approving National Standards of Canada rests with theStandards Council of Canada270 Albert Street, Suite 200Ottawa, Ontario, K1P 6N7CanadaAlthough the intended primary
17、 application of this Standard is stated in its Scope, it is importantto note that it remains the responsibility of the users to judge its suitability for their particular purpose.Registered trade-mark of Canadian Standards AssociationCAN/CSA-ISO/IEC TR 19758:04Information technology Document descrip
18、tion andprocessing languages DSSSL library for complex compositionsDecember 2004 Canadian Standards Association CSA/1CAN/CSA-ISO/IEC TR 19758:04Information technology Document description and processing languages DSSSL library for complex compositionsCSA PrefaceStandards development within the Infor
19、mation Technology sector is harmonized with international standards development. Through the CSA Technical Committee on Information Technology (TCIT), Canadians serve as the Canadian Advisory Committee (CAC) on ISO/IEC Joint Technical Committee 1 on Information Technology (ISO/IEC JTC1) for the Stan
20、dards Council of Canada (SCC), the ISO member body for Canada and sponsor of the Canadian National Committee of the IEC. Also, as a member of the International Telecommunication Union (ITU), Canada participates in the International Telegraph and Telephone Consultative Committee (ITU-T).This Technica
21、l Report was reviewed by the CSA TCIT under the jurisdiction of the Strategic Steering Committee on Information Technology and deemed acceptable for use in Canada. (A committee membership list is available on request from the CSA Project Manager.) From time to time, ISO/IEC may publish addenda, corr
22、igenda, etc. The CSA TCIT will review these documents for approval and publication. For a listing, refer to the CSA Information Products catalogue or CSA Info Update or contact a CSA Sales representative. This Standard has been formally approved as a National Standard of Canada by the Standards Coun
23、cil of Canada.December 2004 Canadian Standards Association 2004All rights reserved. No part of this publication may be reproduced in any form whatsoever without the prior permission ofthe publisher. ISO/IEC material is reprinted with permission. Where the words “this Technical Report” appear in the
24、text, they should be interpreted as “this National Standard of Canada”.Inquiries regarding this National Standard of Canada should be addressed toCanadian Standards Association5060 Spectrum Way, Suite 100, Mississauga, Ontario, Canada L4W 5N61-800-463-6727 416-747-4044www.csa.caReference numberISO/I
25、EC TR 19758:2003(E)ISO/IEC 2003TECHNICAL REPORT ISO/IECTR19758First edition2003-04-01Information technology Document description and processing languages DSSSL library for complex compositionsTechnologies de linformation Description de document et langages de traitement Bibliothque DSSSL pour compos
26、itions complexes ISO/IEC TR 19758:2003(E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performi
27、ng the editing. In downloading this file, parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF f
28、ile can be found in the General Info relative to the file; the PDF-creation parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secr
29、etariat at the address given below. ISO/IEC 2003 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO at th
30、e address below or ISOs member body in the country of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org ii ISO/IEC 2003 All rights reservedISO/IEC TR 19758:2003(E) ISO/IEC 2003 All rights reserve
31、d iiiContents Page Foreword.v Introduction .vi 1 Scope 1 2 Normative references . 1 3 Terms and definitions. 1 4 Formatting objects and properties 4 4.1 Paper size 4 4.2 Paper placement . 4 4.3 Unit . 4 4.4 Basic composition style. 5 4.5 Model of basic composition style . 5 4.5.1 Position of image a
32、rea on a paper 5 4.5.2 Models of basic composition styles . 5 4.6 Font. 8 4.7 Unit of character size 8 4.8 Headline . 8 4.8.1 Number of headlines. 8 4.8.2 Position of headline 8 4.8.3 Contents of headline. 8 4.9 Page Number . 8 4.10 Note 9 4.10.1 Type of note. 9 4.10.2 Reference Mark . 10 4.11 Inlin
33、enote . 11 4.12 Emphasizing mark 11 4.13 Superscript / Subscript (Superior / Inferior ) 11 4.14 Word-length adjustment. 12 4.15 Character space adjustment 12 4.16 Clause. 13 4.16.1 Ordered clause 13 4.16.2 Unordered clause 13 4.16.3 Indentation of clause 14 4.17 List 14 4.17.1 Ordered list 14 4.17.2
34、 Unordered list 14 4.17.3 Indentation of list 14 4.18 Table. 14 4.18.1 Character size 14 4.18.2 Position 14 4.19 Heading 15 4.19.1 Character size 15 4.19.2 Heading composition 15 4.20 Ruby . 22 4.21 Paragraph indentation 23 4.22 Score 23 4.23 Rule. 23 4.24 Inline. 24 4.24.1 Line width 24 4.24.2 Line
35、 position 24 ISO/IEC TR 19758:2003(E) iv ISO/IEC 2003 All rights reserved5 Configuration of DSSSL Library 24 5.1 Processing flow.24 5.1.1 Simple parameter data25 5.1.2 Full parameter generator 25 5.1.3 Function set .25 5.1.4 Page model set 26 5.1.5 Flow object construction rules 26 5.2 Simple parame
36、ter data26 6 Full parameter generator 28 7 Function set .38 8 Page model set 46 9 Flow object construction rules 52 ISO/IEC TR 19758:2003(E) ISO/IEC 2003 All rights reserved vForeword ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) for
37、m the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the respective organization to deal with particular fields of technical activity. ISO and IEC t
38、echnical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1
39、. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of the joint technical committee is to prepare International Standards. Draft International Standards adopted by the joint technical committee are circulated to national bodies f
40、or voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. In exceptional circumstances, the joint technical committee may propose the publication of a Technical Report of one of the following types: type 1, when the required support
41、 cannot be obtained for the publication of an International Standard, despite repeated efforts; type 2, when the subject is still under technical development or where for any other reason there is the future but not immediate possibility of an agreement on an International Standard; type 3, when the
42、 joint technical committee has collected data of a different kind from that which is normally published as an International Standard (“state of the art”, for example). Technical Reports of types 1 and 2 are subject to review within three years of publication, to decide whether they can be transforme
43、d into International Standards. Technical Reports of type 3 do not necessarily have to be reviewed until the data they provide are considered to be no longer valid or useful. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO and
44、 IEC shall not be held responsible for identifying any or all such patent rights. ISO/IEC TR 19758, which is a Technical Report of type 2, was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 34, Document description and processing languages. This specific
45、ation is a translation of a JIS/Technical Report “DSSSL library for complex compositions” (TR X 0010:2000) published by Japanese Standards Association (JSA) in September 01, 2000. ISO/IEC TR 19758:2003(E) vi ISO/IEC 2003 All rights reservedIntroduction This Technical Report is based on the activitie
46、s taken by Application Standards Committee of JBMA (Japan Business Machine Makers Association) and Electronic Publishing Committee of INSTAC/JSA for application technology of DSSSL (ISO/IEC 10179, Document Style Semantics and Specification Language). The DSSSL library specified in this Technical Rep
47、ort encourages interchanging SGML (Standard Generalized Markup Language) or XML (Extensible Markup Language) documents with such a complicated style specification by DSSSL as multilingual composition including Japanese and English texts within a page, clause or paragraph. TECHNICAL REPORT ISO/IEC TR
48、 19758:2003(E) ISO/IEC 2003 All rights reserved 1Information technology Document description and processing languages DSSSL library for complex compositions 1 Scope This Technical Report provides a DSSSL library that can specify styles for the documents described by SGML (Standard Generalized Markup
49、 Language, ISO 8879) or XML (Extensible Markup Language, W3C REC-xml-980210). The library makes it feasible to describe DSSSL specification for those documents, without any particular knowledge of DSSSL or particular composition rules. The library deals with some complex compositions described by a number of complicated DSSSL specification statements. They are typically required in fixed-pitch document styles. Some of them can be applied to proportional pitch styles and fixed/proportional mixtures as well. Mo