"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "wml_include/des/typography.src" between
wml-2.28.0.tar.xz and wml-2.30.0.tar.xz

About: WML (Website META Language) is an extensible Webdesigner’s off-line HTML generation toolkit.

typography.src  (wml-2.28.0.tar.xz):typography.src  (wml-2.30.0.tar.xz)
skipping to change at line 18 skipping to change at line 18
<require 2.0.3 /> <require 2.0.3 />
#use wml::std::tags #use wml::std::tags
#use wml::des::imgdot #use wml::des::imgdot
#use wml::des::gfont #use wml::des::gfont
#use wml::des::space #use wml::des::space
#use wml::fmt::verbatim #use wml::fmt::verbatim
# #
# typographical paragraph skip (ps) # typographical paragraph skip (ps)
# [german variant: *D*urch*S*chu (ds)] # [german variant: *D*urch*S*chuß (ds)]
# #
<define-tag ps> <define-tag ps>
<br /> <br />
<imgdot height=<or %0 4 /> /><br /> <imgdot height=<or %0 4 /> /><br />
</define-tag> </define-tag>
<let ds=ps /> <let ds=ps />
# #
# typographical paragraph indention (pi) # typographical paragraph indention (pi)
# [german variant: *Ein*rckung (ein)] # [german variant: *Ein*rückung (ein)]
# #
<define-tag pi> <define-tag pi>
<br /> <br />
<imgdot height=16 width=<or %0 40 /> /> <imgdot height=16 width=<or %0 40 /> />
</define-tag> </define-tag>
<let ein=pi /> <let ein=pi />
# #
# big letter # big letter
skipping to change at line 115 skipping to change at line 115
<restore interchar interline /> <restore interchar interline />
</define-tag> </define-tag>
<let gesperrt=spaced /> <let gesperrt=spaced />
# #
# Small Caps (sc) # Small Caps (sc)
# i.e. change all lower case letters to upper case but lower # i.e. change all lower case letters to upper case but lower
# them a little bit by font size. Optionally all words can # them a little bit by font size. Optionally all words can
# begin with an upper case letter # begin with an upper case letter
# [german variant: "Kapitlchen"] # [german variant: "Kapitälchen"]
# #
<define-tag sc endtag=required>\ <define-tag sc endtag=required>\
<preserve complete />\ <preserve complete />\
<set-var complete=* />\ <set-var complete=* />\
<set-var %attributes />\ <set-var %attributes />\
<perl> <perl>
{ {
my $complete = (qq|<get-var complete />| eq '' ? 1 : 0); my $complete = (qq|<get-var complete />| eq '' ? 1 : 0);
<perl:assign:sq $body>%body</perl:assign:sq> <perl:assign:sq $body>%body</perl:assign:sq>
$body =~ s|\n$||s; $body =~ s|\n$||s;
skipping to change at line 196 skipping to change at line 196
# #
<define-tag verbcode endtag=required> <define-tag verbcode endtag=required>
<p*> <p*>
<over 30> <over 30>
<b><verbatim>%body</verbatim></b> <b><verbatim>%body</verbatim></b>
</over> </over>
</define-tag> </define-tag>
# #
# Headline # Headline
# [german variant: "berschrift"] # [german variant: "Überschrift"]
# #
<define-tag headline endtag=required> <define-tag headline endtag=required>
<if %0 "<a* name="%0">" />\ <if %0 "<a* name="%0">" />\
<font face="Arial,Helvetica" size=+4><b>%body</b></font>\ <font face="Arial,Helvetica" size=+4><b>%body</b></font>\
<if %0 "</a*>" /> <if %0 "</a*>" />
<ds 5 />\ <ds 5 />\
</define-tag> </define-tag>
<let ue=headline /> <let ue=headline />
# #
# Sub Headline # Sub Headline
# [german variant: "Zwischenberschrift"] # [german variant: "Zwischenüberschrift"]
# #
<define-tag subheadline endtag=required> <define-tag subheadline endtag=required>
<if %0 "<a* name="%0">" />\ <if %0 "<a* name="%0">" />\
<font face="Arial,Helvetica" size=+2><b>%body</b></font> <font face="Arial,Helvetica" size=+2><b>%body</b></font>
<if %0 "</a*>" /> <if %0 "</a*>" />
<ds 2 />\ <ds 2 />\
</define-tag> </define-tag>
<let zwue=subheadline /> <let zwue=subheadline />
skipping to change at line 340 skipping to change at line 340
=item B<Typographical Paragraph Indention> =item B<Typographical Paragraph Indention>
B<C<E<lt>pi >>[I<width>]B<C<E<gt>>> B<C<E<lt>pi >>[I<width>]B<C<E<gt>>>
This is the typographical way to glue This is the typographical way to glue
paragraphs which should become one optical block. A complete blank line paragraphs which should become one optical block. A complete blank line
between them would be ugly and without any inserts the reader cannot between them would be ugly and without any inserts the reader cannot
distinguish between the two paragraphs. The typographical solution here is to distinguish between the two paragraphs. The typographical solution here is to
indent the second paragraph by I<width> pixels. The default is 40 pixels. indent the second paragraph by I<width> pixels. The default is 40 pixels.
Optically C<E<lt>piE<gt>> also includes the effect of C<E<lt>psE<gt>>. In Optically C<E<lt>piE<gt>> also includes the effect of C<E<lt>psE<gt>>. In
german this is called `Einrckung', so you can also use the alterntive name german this is called `Einrückung', so you can also use the alterntive name
C<E<lt>einE<gt>> for this tag. C<E<lt>einE<gt>> for this tag.
Example: Example:
...The last line of the previous paragraph. ...The last line of the previous paragraph.
<pi>The new line of the following paragraph... <pi>The new line of the following paragraph...
=item B<Big Paragraph Starting Letter> =item B<Big Paragraph Starting Letter>
B<C<E<lt>big >>I<X>B<C<E<gt>>> B<C<E<lt>big >>I<X>B<C<E<gt>>>
skipping to change at line 374 skipping to change at line 374
...The last line of the previous paragraph. ...The last line of the previous paragraph.
<p> <p>
<big T>he new line of the following paragraph... <big T>he new line of the following paragraph...
=item B<Small Caps Text> =item B<Small Caps Text>
B<C<E<lt>sc >>[B<complete>]B<C<E<gt>>>...B<C<E<lt>/scE<gt>>> B<C<E<lt>sc >>[B<complete>]B<C<E<gt>>>...B<C<E<lt>/scE<gt>>>
This container tag renders its body with small caps, i.e. This container tag renders its body with small caps, i.e.
all lower case letters are changed to upper case while lowered optically via all lower case letters are changed to upper case while lowered optically via
font size. In german typography this is also known as `Kapitlchen'. font size. In german typography this is also known as `Kapitälchen'.
Optionally when adding the attribute B<complete>, all words are forced to Optionally when adding the attribute B<complete>, all words are forced to
begin with an upper case letter, too. begin with an upper case letter, too.
If you have support for i18n (internationalization) you may also convert case If you have support for i18n (internationalization) you may also convert case
of non-ASCII characters. See your local documentation locale(7) for details of non-ASCII characters. See your local documentation locale(7) for details
or ask your system administrator. or ask your system administrator.
=item B<Spaced Text> =item B<Spaced Text>
B<C<E<lt>spaced >>[B<interchar=>I<N>] [B<interline=>I<N>]B<C<E<gt>>>...B<C<E<lt> /spacedE<gt>>> B<C<E<lt>spaced >>[B<interchar=>I<N>] [B<interline=>I<N>]B<C<E<gt>>>...B<C<E<lt> /spacedE<gt>>>
skipping to change at line 405 skipping to change at line 405
B<C<E<lt>headline >>[I<name>]B<C<E<gt>>>...B<C<E<lt>/headlineE<gt>>> B<C<E<lt>headline >>[I<name>]B<C<E<gt>>>...B<C<E<lt>/headlineE<gt>>>
This container tag creates a typographically better headline as This container tag creates a typographically better headline as
the standard HTML C<E<lt>h1E<gt>> does, i.e. it renders the text in Helvetica the standard HTML C<E<lt>h1E<gt>> does, i.e. it renders the text in Helvetica
and used better whitespaces around it. Actually it does not create any and used better whitespaces around it. Actually it does not create any
whitespace above it, but the correct one below it. This way you can create the whitespace above it, but the correct one below it. This way you can create the
leading whitespace your own (which is usually different according to the leading whitespace your own (which is usually different according to the
context) but get nice trailing whitespace (which has to be chosen carefully context) but get nice trailing whitespace (which has to be chosen carefully
to make the headline and the following paragraph one unit). In german this is to make the headline and the following paragraph one unit). In german this is
called `berschrift' hence the alias C<E<lt>ueE<gt>>. called `Überschrift' hence the alias C<E<lt>ueE<gt>>.
Example: Example:
...The last line of the previous paragraph. ...The last line of the previous paragraph.
<p> <p>
<ue>The headline</ue> <ue>The headline</ue>
The new line of the following paragraph... The new line of the following paragraph...
=item B<Sub-Headline> =item B<Sub-Headline>
B<C<E<lt>subheadline >>[I<name>]B<C<E<gt>>>...B<C<E<lt>/subheadlineE<gt>>> B<C<E<lt>subheadline >>[I<name>]B<C<E<gt>>>...B<C<E<lt>/subheadlineE<gt>>>
This container tag creates a typographically better This container tag creates a typographically better
sub-headline as the standard HTML C<E<lt>h2E<gt>> does, i.e. it renders the sub-headline as the standard HTML C<E<lt>h2E<gt>> does, i.e. it renders the
text in Helvetica and used better whitespaces around it. Actually it does not text in Helvetica and used better whitespaces around it. Actually it does not
create any whitespace above it, but the correct one below it. This way you can create any whitespace above it, but the correct one below it. This way you can
create the leading whitespace your own (which is usually different according create the leading whitespace your own (which is usually different according
to the context) but get nice trailing whitespace (which has to be chosen to the context) but get nice trailing whitespace (which has to be chosen
carefully to make the headline and the following paragraph one unit). In carefully to make the headline and the following paragraph one unit). In
german this is called `Zwischenberschrift' hence the alias C<E<lt>zwueE<gt>>. german this is called `Zwischenüberschrift' hence the alias C<E<lt>zwueE<gt>>.
Example: Example:
...The last line of the previous paragraph. ...The last line of the previous paragraph.
<p> <p>
<zwue>The headline</zwue> <zwue>The headline</zwue>
The new line of the following paragraph... The new line of the following paragraph...
=item B<Verbatim Code> =item B<Verbatim Code>
 End of changes. 9 change blocks. 
9 lines changed or deleted 9 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)