summaryrefslogtreecommitdiff
path: root/fontproto.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-01-14 23:17:45 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-01-22 09:55:51 -0800
commit710892b2ad5e374252ded6080d5e00cee8c70cfc (patch)
treeee3e9f7683cb7124e880570f847668810488de79 /fontproto.h
parentc7d49c240737afe938c59a9c7a75dbe1c754c82a (diff)
spec: Make links to data types, requests, events & errors
Extracted each set of section ids to file and converted to a perl script: next if m{^\d}; # skip over encoding section body lines next if m{^[adfmnpv] }; # skip over encoding section body lines s{<type>ACCESSCONTEXT</type>}{<link linkend="Data_Types:ACCESSCONTEXT">$&</link>}g; [...] s{<type>XFONTINFO</type>}{<link linkend="Data_Types:XFONTINFO">$&</link>}g; s{<type>LISTofACCESSCONTEXT</type>}{<link linkend="Data_Types:ACCESSCONTEXT">$&</link>}g; [...] s{<type>LISTofXFONTINFO</type>}{<link linkend="Data_Types:XFONTINFO">$&</link>}g; s{<function>NoOp</function>}{<link linkend="Requests:NoOp">$&</link>}g; [...] s{<function>CloseFont</function>}{<link linkend="Requests:CloseFont">$&</link>}g; s{<errorname>Request</errorname>}{<link linkend="Errors:Request">$&</link>}g; [...] s{<errorname>Extensions</errorname>}{<link linkend="Errors:Extensions">$&</link>}g; s{<function>KeepAlive</function>}{<link linkend="Events:KeepAlive">$&</link>}g; [...] s{<function>Extensions</function>}{<link linkend="Events:Extensions">$&</link>}g; s{<title><link linkend="[^"]+">(.*?)</link></title>}{<title>$1</title>}g; s{<row><entry><link linkend="[^"]+"><type>(.*?)</type></link>}{<row><entry><type>$1</type>}g; s{<row><entry morerows=([\d'"]+)><link linkend="[^"]+"><type>(.*?)</type></link>}{<row><entry morerows=$1><type>$2</type>}g; s{<link linkend="([^"]+)"><emphasis role="bold"><link linkend="\1">(.*?)</link></emphasis></link>}{<link linkend="$1"><emphasis role="bold">$2</emphasis></link>}g; if ($_ =~ m{ id=['"]([^"]+)['"]}) { $sectionid = $1; } s{<link linkend="$sectionid">(.*?)</link>}{$1}g; Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'fontproto.h')
0 files changed, 0 insertions, 0 deletions