diff options
author | xue <> | 2006-02-24 21:01:34 +0000 |
---|---|---|
committer | xue <> | 2006-02-24 21:01:34 +0000 |
commit | 4ae95cf1e50ab37ccf3ba95a8776573bcf77319a (patch) | |
tree | e0242418290909fc85f2a2827ad7c4b31da5cd6a | |
parent | 6228d146f105f9edc88d3341dd68944e9bf8b882 (diff) |
Fixed an issue about demo link path.
-rw-r--r-- | buildscripts/texbuilder/build.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/buildscripts/texbuilder/build.php b/buildscripts/texbuilder/build.php index 5149b879..4c9aa5d0 100644 --- a/buildscripts/texbuilder/build.php +++ b/buildscripts/texbuilder/build.php @@ -177,7 +177,7 @@ function parse_html($page,$html) //runbar
$html = preg_replace('/<com:RunBar\s+PagePath="([^"]*)"\s+\/>/',
- 'Try, \href{http://www.pradosoft.com/prado3/demos/quickstart/index.php?page=$1}{$1}', $html);
+ 'Try, \href{http://www.pradosoft.com/demos/quickstart/index.php?page=$1}{$1}', $html);
//text modifiers
$html = preg_replace('/<b>([^<]*)<\/b>/', '\textbf{$1}', $html);
@@ -257,7 +257,7 @@ foreach($pages as $chapter => $sections) if($argc <= 1 && $count > 1)
{
- echo "** Use pdftex to compile prado3_quick_start.tex to obtain PDF version of quickstart tutorial. **\n";
+ echo "** Use pdflatex to compile prado3_quick_start.tex to obtain PDF version of quickstart tutorial. **\n";
exit;
}
if($argv[1] == 'pdf')
@@ -266,7 +266,7 @@ if($argv[1] == 'pdf') {
//build pdfTex
$command=sprintf($pdfTex,$mainTexFile);
- system($command);
+ system($command);
system($command); //run it twice
echo "\n\n** PDF file prado3_quick_start.pdf created **\n\n";
|