ISO/IEC JTC 1/SC34 N0xxx
ISO/IEC JTC 1/SC34/WG2 N196

ISO/IEC JTC 1/SC34/WG2

Information Technology --
Document Description and Processing Languages
-- Information Presentation

TITLE: Japanese additional comments on ISO/IEC 10179/FPDAM2
SOURCE: Japan
PROJECT: 34.15.06.01.02 (ID: is10179a2)
PROJECT EDITOR:
STATUS: Informal comments
ACTION:
DATE: 2004-09-24
DISTRIBUTION: SC34/WG2 and Liaisons
REFER TO:
REPLY TO: Dr. Yushi Komachi, ISO/IEC JTC1/SC34/WG2 Convener
Telephone: +81 3 5434 7053
Facsimile: +81 3 5445 3663
Email: [email protected]
SC34/WG2 Web: http://www.y-adagio.com/public/sc34wg2/index.htm

Mr. G. Ken Holman, ISO/IEC JTC1/SC34 Secretariat
Telephone: +1 613 489 0999
Facsimile: +1 613 489 0995
Email: [email protected]

Dr. James David Mason, ISO/IEC JTC1/SC34 Chairman
Telephone: +1 865 574 6973
Facsimile: +1 865 574 1896
Email: [email protected]
Web: http://www.y12.doe.gov/sgml/sc34/


Japanese additional comments on ISO/IEC 10179/FPDAM2



[1] Satisfy the requirement in the NOTE in TR 19758/DAM2

;; Note Following specification is temporary specification for dropcap using table.
;; this specification will be replaced to amended characteristics provided by
;; ISO/IEC 10179 Amendment2

(define (dropcap scale num str width)
  ;; width is number of characters in one line
  (let* ((len (string-length str))
         (fsize (* *font-size* scale))
         (b (* (- width (* scale num)) scale))
         (a (if (< b len) (+ b num) len))
        )
    (make table
      (make table-column width: (* fsize num))
      (make table-column)
      (make table-row
        (make table-cell
          (make paragraph
            line-spacing: (if (< *line-spacing* fsize) fsize *line-spacing*)
            font-size: fsize
            (literal (substring str 0 num))))
        (make table-cell
          (make paragraph
            (literal (substring str num a)))))
      (make table-row
        (make table-cell
          n-columns-spanned: 2
          (make paragraph
            (literal (substring str a len)))))
      )))


[2] Satisfy the requirement in the comment on TR 19758/PDAM3

The style libraries for interline note and ordered list items with spelled-out numbers
should be described by the DSSSL amended with some additional characteristics.