Re: (dsssl) Doubt

Subject: Re: (dsssl) Doubt
From: "Samantha Mozart" <mozart@xxxxxxxxxxx>
Date: Thu, 13 Jun 2002 11:44:27 -0400
Hi, thanks for help me.

Here a piece of my code. First style, after SGML.
I'm using simpara element to try to insert blank pages.
Remembering, I would like to have an element, and when I
 will insert
this element, I'll have a blank page. If I insert 2 times,
 I'll have
2 blank pages. Etc.

Thanks
Samantha.

Style
(element para
  (make sequence
    (make paragraph
      ;; break-before: 'page)
      ;; start-indent: 1cm
      ;; first-line-start-indent: 1cm
      (process-children))))

(element simpara
  (sosofo-append
     (make simple-page-sequence
     (empty-sosofo))
     (make simple-page-sequence
     (process-children))))

SGML

   <bookinfo>

;; In my mind, for example, if I want to insert a blank
 page, 
;; I insert <simpara></simpara>
;; If I want 2 blank pages, I use <simpara> 2 times and etc
;; Here, I have 2 simpara and 1 blank page
<bookinfo>
    <abstract>
      <simpara></simpara>
    </abstract>

    <authorgroup>
      <author>
        <firstname>Example</firstname>
        <surname>Example</surname>
      </author>
    </authorgroup>

    <affiliation>
      <orgname>&example;</orgname>
      <orgdiv>blah blah</orgdiv>
      <address><email>mozart@xxxxxxxxxxx</email></address>
    </affiliation>

    <copyright>
      <year>2002</year>
      <holder>&example;</holder>
    </copyright>
    <title>Example</title>
    <subtitle>Bla bla bla</subtitle>

    <legalnotice>

      <para>A empresa tal é a pioneira no desenvolvimento
 de
      tal coisa.</para>

      <para>A empresa foi fundada em 1995 e iniciou suas
 atividades
      bla bla bla.</para>

      <para>Pelas características econômicas do mercado
      bla blablabla</para>

      <para>Hoje, contando com centenas de funcionários
      mundo. </para>

      <para>Este material de apoio desenvolvido pela equipe
 de
      apoio.</para>

      <para>Os termos Sound Blaster, IBM, xt, Adaptec, AMI,
 Award,
      direitos reservados a seus autores e
 proprietários.</para>

    </legalnotice>
    <edition>Primeira</edition>
    <publisher>

    <publishername>&example;</publishername>
    </publisher>
    <printhistory>

    <para>Maio de 2001: Primeira Edição</para>
    </printhistory>
    <pubdate>29/05/2001</pubdate>

   </bookinfo>

&conceitos;
&planejamento;
&ipchains;
&iptables;
&ipmasq;
&implementa;
&impl-proxy;
&vpn;
&atualizando;
&servicos;
  <![%professor;[
&lab;
]]>
</book>

Thanks





On Thu, 13 Jun 2002 09:32:24 +0200
Jany Quintard <jany.quintard@xxxxxxx> wrote:
>* Trent Shipley [Wed, 12/06/2002 at 22:54 -0700]
>> Janny is assuming that the insertion of blank pages is
> rule driven instead of 
>> definition driven.
>Not really. But I would need to know more on the SGML
> input.
>We could then imagine a bettr solution, using for example
> things as
>break-before or brak-after and so on.
>Jany
>
> DSSSList info and archive:
>  http://www.mulberrytech.com/dsssl/dssslist

________________________________________________
Don't E-Mail, ZipMail! http://www.zipmail.com/

 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist

Current Thread