3 <style|<tuple|source|std-pattern>>
7 <src-package-dtd|title-base|1.0|header-title|1.0>
10 Common macros for title information
13 <src-copyright|1998--2004|Joris van der Hoeven>
16 This software falls under the <hlink|GNU general public license,
17 version 3 or later|$TEXMACS_PATH/LICENSE>. It comes WITHOUT ANY
18 WARRANTY WHATSOEVER. You should have received a copy of the license
19 which the software. If not, see <hlink|http://www.gnu.org/licenses/gpl-3.0.html|http://www.gnu.org/licenses/gpl-3.0.html>.
29 <assign|by-text|<macro|<localize|by>>>
31 <assign|email-text|<macro|<localize|Email>>>
33 <assign|homepage-text|<macro|<localize|Web>>>
35 <assign|abstract-text|<macro|<localize|Abstract>>>
37 <assign|keywords-text|<macro|<localize|Keywords>>>
39 <assign|AMS-class-text|<macro|<localize|A.M.S. subject classification>>>
41 <assign|with-TeXmacs-text|<macro|This document has been written using the
42 GNU <TeXmacs> text editor (see <hlink|<with|font-family|tt|www.texmacs.org>|http://www.texmacs.org>).>>
46 DRD properties of tags with title and author data.
48 FIXME: running title and author should be made ``hidden''.
52 <drd-props|doc-data|arity|<tuple|repeat|1|1>|accessible|all>
54 <drd-props|doc-title|border|no>
56 <drd-props|doc-subtitle|border|no>
58 <drd-props|doc-author-data|arity|<tuple|repeat|1|1>|border|no|accessible|all>
60 <drd-props|doc-date|border|no>
62 <drd-props|doc-note|border|no>
64 <drd-props|doc-inactive|arity|1|border|no|accessible|all>
66 <drd-props|doc-running-title|arity|1|accessible|all>
68 <drd-props|doc-running-author|arity|1|accessible|all>
70 <drd-props|doc-keywords|arity|<tuple|repeat|1|1>|accessible|all>
72 <drd-props|doc-AMS-class|arity|<tuple|repeat|1|1>|accessible|all>
74 <drd-props|author-name|border|no>
76 <drd-props|author-address|border|no>
78 <drd-props|author-email|border|no>
80 <drd-props|author-homepage|border|no>
82 <drd-props|author-note|border|no>
90 <assign|doc-title-block|<macro|body|<tabular*|<tformat|<twith|table-width|1par>|<cwith|1|1|1|1|cell-lsep|0spc>|<cwith|1|1|1|1|cell-rsep|0spc>|<cwith|1|1|1|1|cell-bsep|0spc>|<cwith|1|1|1|1|cell-tsep|0spc>|<cwith|1|1|1|1|cell-hyphen|t>|<table|<row|<\cell>
91 <\with|par-mode|center>
96 <assign|doc-make-title|<macro|body|<surround||<vspace|2fn>|<doc-title-block|<arg|body>>>>>
98 <assign|doc-render-title|<macro|x|<\surround|<vspace*|0.5fn>|<vspace|0.5fn>>
99 <doc-title-block|<font-magnify|1.682|<with|math-font-series|bold|font-series|bold|<arg|x>>>>
102 <assign|doc-title|<macro|body|<doc-render-title|<style-with|src-compact|none|<arg|body><doc-footnote-ref|<quasi|<doc-data-note|<unquote*|<quote-value|the-doc-data>>>>>>>>>
104 <assign|doc-subtitle|<macro|x|<\surround|<vspace*|0.25fn>|<vspace|0.5fn>>
105 <doc-title-block|<font-magnify|1.297|<with|math-font-series|bold|font-series|bold|<arg|x>>>>
108 <assign|doc-author|<macro|body|<\surround|<vspace*|1fn>|<vspace|1fn>>
109 <\with|par-par-sep|0fn>
110 <doc-title-block|<arg|body>>
114 <assign|doc-authors|<\macro|body>
116 <font-magnify|0.917|<arg|body>>
120 <assign|doc-date|<macro|body|<style-with|src-compact|none|<vspace*|0.5fn><doc-title-block|<with|font-shape|italic|<arg|body>>><vspace|0.5fn>>>>
122 <assign|doc-running-title|<macro|body|<if|<unequal|<arg|body>|<uninit>>|<header-title|<arg|body>>>>>
124 <assign|doc-running-author|<macro|body|<if|<unequal|<arg|body>|<uninit>>|<header-author|<arg|body>>>>>
126 <assign|doc-inactive|<\macro|body>
128 <\surround|<vspace*|0.5fn>|>
129 <doc-title-block|<style-with|src-compact|none|<inline-tag|<unquote|<get-label|<quote-arg|body>>>|<unquote*|<quote-arg|body>>>>>
134 <active*|<src-short-comment|For backward compatability>>
136 <assign|address-block|<macro|x|<tformat|<cwith|1|-1|1|1|cell-lsep|1.5fn>|<cwith|1|-1|-1|-1|cell-rsep|1.5fn>|<twith|table-valign|T>|<arg|x>>>>
140 Rendering the abstract.
144 <assign|doc-abstract|<\macro|body>
145 <\padded-normal|2fn|1fn>
146 <\with|par-left|15mm|par-right|15mm>
148 <sectional-centered-bold|<abstract-text>><vspace|0.5fn>
156 <assign|doc-abstract*|<\macro|body|note>
159 <surround||<vspace|0.5fn>|<unquote|<quote-arg|body>>>
161 <\with|par-par-sep|0.25fn>
162 <unquote*|<arg|note>>
168 <assign|doc-keywords|<xmacro|args|<style-with|src-compact|none|<no-indent><theorem-name|<keywords-text><localize|:>
169 ><concat-tuple|<copy|<quote-arg|args>>|, >>>>
171 <assign|msc-ref|<macro|x|<style-with|src-compact|none|<hlink|<arg|x>|<style-with|src-compact|none|<merge|http://www.ams.org/mathscinet/search/mscbrowse.html?sk=default&sk=|<arg|x>|&submit=Search>>>>>>
173 <assign|doc-AMS-class|<xmacro|args|<style-with|src-compact|none|<no-indent><theorem-name|<AMS-class-text><localize|:>
174 ><concat-tuple|<copy|<map|msc-ref|<quote-arg|args>>>|, >>>>
178 <assign|abstract|<\macro|body>
179 <style-with|src-compact|none|<with|abstract-note|<look-up|<quasi|<doc-data-abstract|<unquote*|<quote-value|the-doc-data>>>>|0>|<style-with|src-compact|none|<compound|<style-with|src-compact|none|<if|<equal|<get-arity|<quote-value|abstract-note>>|0>|doc-abstract|doc-abstract*>>|<arg|body>|<quote-value|abstract-note>>>>>
188 <new-counter|doc-note>
190 <assign|the-doc-note|<macro|<number|<value|doc-note-nr>|fnsymbol>>>
192 <assign|doc-author-note-next|<macro|<inc-doc-note><the-doc-note>>>
196 <assign|doc-footnote-ref|<macro|body|<style-with|src-compact|none|<if|<quasi|<unequal|<get-arity|<unquote|<quote-arg|body>>>|0>>|<rsup|<doc-author-note-next>>>>>>
198 <assign|doc-footnote-sub|<macro|x|; <arg|x>>>
200 <assign|doc-footnote|<macro|body|<style-with|src-compact|none|<if|<unequal|<get-arity|<quote-arg|body>>|0>|<quasi|<style-with|src-compact|none|<render-footnote|<unquote|<doc-author-note-next>>|<arg|body|0><map-args|doc-footnote-sub|concat|body|1>>>>>>>>
204 <assign|doc-title-note|<macro|body|<quasi|<doc-footnote|<unquote|<quote-arg|body>>>>>>
206 <assign|doc-author-note|<macro|body|<quasi|<doc-footnote|<unquote|<quote-arg|body>>>>>>
214 <assign|doc-data-main|<\xmacro|data>
216 <unquote*|<select|<quote-arg|data>|doc-title>>
218 <unquote*|<select|<quote-arg|data>|doc-subtitle>>
220 <unquote*|<select|<quote-arg|data>|doc-author-data>>
222 <unquote*|<select|<quote-arg|data>|doc-date>>
224 <unquote*|<select|<quote-arg|data>|doc-inactive>>
228 <assign|doc-data-main*|<\xmacro|data>
230 <unquote*|<select|<quote-arg|data>|doc-title>>
232 <unquote*|<select|<quote-arg|data>|doc-subtitle>>
234 <doc-authors-data|<unquote*|<select|<quote-arg|data>|doc-author-data>>>
236 <unquote*|<select|<quote-arg|data>|doc-date>>
238 <unquote*|<select|<quote-arg|data>|doc-inactive>>
242 <assign|doc-note|<macro|body|>><active*|<src-short-comment|Added as a
243 temporary fix for problem with doc-note>>
245 <assign|doc-data-hidden|<xmacro|data|<quasi|<style-with|src-compact|none|<style-with|src-compact|none|<doc-note|<unquote*|<select|<quote-arg|data>|doc-note>>>><doc-data-bis|<unquote*|<quote-arg|data>>><doc-authors-data-bis|<unquote*|<select|<quote-arg|data>|doc-author-data>>><style-with|src-compact|none|<doc-running-title|<unquote*|<select|<quote-arg|data>|doc-title|0>>>><style-with|src-compact|none|<doc-running-title|<unquote*|<select|<quote-arg|data>|doc-running-title|0>>>><doc-running-author|<style-with|src-compact|none|<author-from-authors|<unquote*|<select|<quote-arg|data>|doc-author-data|author-name|0>>>>><style-with|src-compact|none|<doc-running-author|<unquote*|<select|<quote-arg|data>|doc-running-author|0>>>>>>>>
247 <assign|doc-data-abstract|<\xmacro|data>
249 <unquote*|<select|<quote-arg|data>|doc-keywords>>
251 <unquote*|<select|<quote-arg|data>|doc-AMS-class>>
255 <assign|doc-data-note|<xmacro|data|<\quasi>
256 <unquote*|<select|<quote-arg|data>|doc-note|document|<pat-any>>>
259 <assign|doc-data|<\xmacro|data>
260 <style-with|src-compact|none|<\surround|<assign|the-doc-data|<quote-arg|data>>|<with|doc-note-nr|0|<quasi|<doc-data-hidden|<unquote*|<quote-arg|data>>>>>>
262 <with|doc-note-nr|0|<\quasi>
263 <style-with|src-compact|none|<compound|<unquote|<style-with|src-compact|none|<if|<lesseq|<length|<select|<quote-arg|data>|doc-author-data>>|1>|<value|doc-data-main>|<value|doc-data-main*>>>>|<unquote*|<quote-arg|data>>>>
269 <assign|doc-data-bis|<xmacro|body|<quasi|<style-with|src-compact|none|<doc-title-note|<unquote|<quasi|<doc-data-note|<unquote*|<quote-arg|body>>>>>>>>>>
273 Rendering author infomation.
277 <assign|doc-author-block|<\macro|body>
278 <style-with|src-compact|none|<space|0pt><tabular*|<tformat|<cwith|1|1|1|1|cell-lsep|0spc>|<cwith|1|1|1|1|cell-rsep|0spc>|<cwith|1|1|1|1|cell-bsep|0spc>|<cwith|1|1|1|1|cell-tsep|0spc>|<cwith|1|1|1|1|cell-hyphen|t>|<cwith|1|1|1|1|cell-hmode|min>|<cwith|1|1|1|1|cell-width|1par>|<table|<row|<\cell>
279 <\with|par-mode|center>
285 <assign|author-by|<macro|body|<by-text> <arg|body>>>
287 <assign|author-from-authors*|<macro|x|, <arg|x>>>
289 <assign|author-from-authors|<xmacro|x|<style-with|src-compact|none|<if|<unequal|<get-arity|<quote-arg|x>>|0>|<arg|x|0><map-args|author-from-authors*|concat|x|1>>>>>
291 <assign|author-render-name|<macro|x|<surround|<vspace*|0.5fn>|<vspace|0.5fn>|<doc-author-block|<name|<arg|x>>>>>>
293 <assign|author-name|<macro|x|<author-render-name|<style-with|src-compact|none|<author-by|<arg|x>><style-with|src-compact|none|<doc-footnote-ref|<quasi|<doc-author-data-note|<unquote*|<quote-value|the-author-data>>>>>>>>>>
295 <assign|author-address|<\macro|x>
296 <surround|<vspace*|0.5fn>|<vspace|0.5fn>|<doc-author-block|<arg|x>>>
299 <assign|author-email|<macro|x|<doc-author-block|<style-with|src-compact|none|<with|font-shape|italic|<email-text><localize|:>
300 ><with|font-family|tt|<arg|x>>>>>>
302 <assign|author-homepage|<macro|x|<doc-author-block|<style-with|src-compact|none|<with|font-shape|italic|<homepage-text><localize|:>
303 ><with|font-family|tt|<arg|x>>>>>>
305 <assign|author-note|<\macro|x>
311 Documents with one author.
315 <assign|doc-author-main|<\macro|data>
317 <unquote*|<select|<quote-arg|data>|author-name>>
319 <unquote*|<select|<quote-arg|data>|author-address>>
321 <unquote*|<select|<quote-arg|data>|author-email>>
323 <unquote*|<select|<quote-arg|data>|author-homepage>>
327 <assign|doc-author-data-note|<xmacro|data|<\quasi>
328 <unquote*|<select|<quote-arg|data>|author-note|document|<pat-any>>>
331 <assign|doc-author-data|<\xmacro|data>
333 <\with|the-author-data|<quote-arg|data>>
335 <doc-author-block|<doc-author-main|<unquote|<quote-arg|data>>>>
341 <assign|doc-author-data-bis|<macro|body|<quasi|<style-with|src-compact|none|<doc-author-note|<unquote|<quasi|<doc-author-data-note|<unquote*|<quote-arg|body>>>>>>>>>>
345 Documents with several authors.
349 <assign|doc-authors-block|<\macro|body>
350 <style-with|src-compact|none|<space|0pt><tabular*|<tformat|<twith|table-valign|T>|<cwith|1|1|1|1|cell-lsep|0spc>|<cwith|1|1|1|1|cell-rsep|0spc>|<cwith|1|1|1|1|cell-bsep|0.75fn>|<cwith|1|1|1|1|cell-tsep|0.75fn>|<cwith|1|1|1|1|cell-hyphen|t>|<cwith|1|1|1|1|cell-hmode|min>|<cwith|1|1|1|1|cell-width|1par>|<table|<row|<\cell>
351 <\with|par-mode|center>
357 <assign|doc-author-data*|<macro|data|<quasi|<style-with|src-compact|none|<space|1em><with|the-author-data|<quote-arg|data>|<style-with|src-compact|none|<doc-authors-block|<doc-author-main|<unquote|<quote-arg|data>>>>>><space|1em><line-break>>>>>
359 <assign|doc-authors-data|<\xmacro|data>
360 <\style-with|src-compact|none>
362 <\with|author-by|<macro|body|<arg|body>>>
364 <space|0spc><unquote*|<map|doc-author-data*|<quote-arg|data>>>
371 <assign|doc-authors-data-bis|<xmacro|x|<style-with|src-compact|none|<quasi|<space|0spc><unquote*|<map|doc-author-data-bis|<quote-arg|x>>>>>>>
378 <associate|preamble|true>