From 501a35b2fb60d20cebb30460f113d0e7e3692c31 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Wed, 12 Oct 2005 14:35:03 +0000 Subject: [PATCH] Added area/@linkends instance to programlistingco.001.xml and removed redundant test case from calloutlist.003.xml. --- testdocs/tests/calloutlist.003.xml | 73 +------------------------ testdocs/tests/programlistingco.001.xml | 10 ++-- 2 files changed, 8 insertions(+), 75 deletions(-) diff --git a/testdocs/tests/calloutlist.003.xml b/testdocs/tests/calloutlist.003.xml index 5c241b408..7a852fc75 100644 --- a/testdocs/tests/calloutlist.003.xml +++ b/testdocs/tests/calloutlist.003.xml @@ -19,9 +19,9 @@ <date>2003-10-20</date> </info> <refmeta> - <refentrytitle>gtk<:-options</refentrytitle> + <refentrytitle>gtk-options</refentrytitle> <manvolnum>7</manvolnum> - <refmiscinfo class="source-name"><1:GTK+</refmiscinfo> + <refmiscinfo class="source-name">GTK+</refmiscinfo> <refmiscinfo class="version">1.2</refmiscinfo> <refmiscinfo class="manual">GTK+ User's Manual</refmiscinfo> </refmeta> @@ -104,75 +104,6 @@ also that several items in co/@linkends are correctly handled.
Programlistingco -In this case the markups are all at the end of the lines, except for line -11. It checks that enough spaces are added to reach the specified column. It -checks also that the area linkends coords hotspot appears. - - - - - - - - - - - - -@rem = '--*-Perl-*-- -@echo off -perl.exe %_batchname %$ -goto endofperl -@rem '; - -# Compress mail... - -require 'n:/home/nwalsh/lib/cygnus.pl'; -require 'timelocal.pl'; -use Cwd; - -select (STDERR); $| = 1; -select (STDOUT); $| = 1; - -@DIRS = ("/home/nwalsh/Mail"); -while (@DIRS) { - $dir = shift @DIRS; - opendir (DIR, $dir); - while ($fname = readdir(DIR)) { - $file = "$dir/$fname"; - next if ! -d $file; - next if $fname =~ /^\.\.?$/; - - print "$file\n"; - push (@DIRS, $file); - &compress ($file); - } -} - -exit; - - -The prologue handles embedding a Perl script in a DOS batch file. - - -The goto statement, interpreted by the DOS batch -file interpreter, skips over the body of the Perl script. - - -The require statement sources in external program -fragments. - - -The use statement is similar, but has additional -utility. It is a Perl5 function. (Note that this callout area specifies -both a line and a column.) - - -This is a user subroutine call. - - - - This case checks that spaces are added to reach the expected column. diff --git a/testdocs/tests/programlistingco.001.xml b/testdocs/tests/programlistingco.001.xml index 06098eeab..2a506d557 100644 --- a/testdocs/tests/programlistingco.001.xml +++ b/testdocs/tests/programlistingco.001.xml @@ -13,7 +13,7 @@ - + @@ -56,9 +56,11 @@ exit; The prologue handles embedding a Perl script in a DOS batch file. - -The goto statement, interpreted by the DOS batch -file interpreter, skips over the body of the Perl script. + +The goto statement, interpreted by the DOS +batch file interpreter, skips over the body of the Perl script. (Note +that this callout has an “id” attribute that is referenced by a +“linkends” attribute on the callout bug for line 4 above.) The require statement sources in external program -- 2.40.0