Commit 55c1649d authored by Fred Drake's avatar Fred Drake

do_cmd_moreargs(),

do_cmd_unspecified():  New functions to reflect previously unused markup.

do_cmd_file():  Simplified generated markup to only make use of the
	existing stylesheet.

do_cmd_makevar():  Make the markup more stylesheet-friendly.
parent 4a4fe556
...@@ -122,7 +122,8 @@ sub do_cmd_optional{ ...@@ -122,7 +122,8 @@ sub do_cmd_optional{
# \file and \samp are at the end of this file since they screw up fontlock. # \file and \samp are at the end of this file since they screw up fontlock.
sub do_cmd_pytype{ return @_[0]; } sub do_cmd_pytype{ return @_[0]; }
sub do_cmd_makevar{ return @_[0]; } sub do_cmd_makevar{
return use_wrappers(@_[0], '<span class="makevar">', '</span>'); }
sub do_cmd_code{ sub do_cmd_code{
return use_wrappers(@_[0], '<code>', '</code>'); } return use_wrappers(@_[0], '<code>', '</code>'); }
sub do_cmd_module{ sub do_cmd_module{
...@@ -169,9 +170,7 @@ sub do_cmd_dfn{ ...@@ -169,9 +170,7 @@ sub do_cmd_dfn{
sub do_cmd_emph{ sub do_cmd_emph{
return use_italics(@_); } return use_italics(@_); }
sub do_cmd_file{ sub do_cmd_file{
return use_wrappers(@_[0], return use_wrappers(@_[0], '<span class="file">', '</span>'); }
'<font class="file" face="sans-serif">',
'</font>'); }
sub do_cmd_filenq{ sub do_cmd_filenq{
return do_cmd_file(@_[0]); } return do_cmd_file(@_[0]); }
sub do_cmd_samp{ sub do_cmd_samp{
...@@ -185,6 +184,11 @@ sub do_cmd_textbf{ ...@@ -185,6 +184,11 @@ sub do_cmd_textbf{
sub do_cmd_textit{ sub do_cmd_textit{
return use_wrappers(@_[0], '<i>', '</i>'); } return use_wrappers(@_[0], '<i>', '</i>'); }
sub do_cmd_moreargs{
return '...' . @_[0]; }
sub do_cmd_unspecified{
return '...' . @_[0]; }
sub do_cmd_refmodule{ sub do_cmd_refmodule{
# Insert the right magic to jump to the module definition. # Insert the right magic to jump to the module definition.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment