|
From: <ai...@us...> - 2008-09-23 19:15:46
|
Revision: 8800
http://plplot.svn.sourceforge.net/plplot/?rev=8800&view=rev
Author: airwin
Date: 2008-09-23 19:14:42 +0000 (Tue, 23 Sep 2008)
Log Message:
-----------
Remove configuration, generation, and upload of what ends up as
docbook-manual/index.html as part of the on-going effort to remove the old
website.
Modified Paths:
--------------
trunk/doc/docbook/CMakeLists.txt
trunk/doc/docbook/src/CMakeLists.txt
Removed Paths:
-------------
trunk/doc/docbook/bin/size-href.pl
trunk/doc/docbook/www/
Modified: trunk/doc/docbook/CMakeLists.txt
===================================================================
--- trunk/doc/docbook/CMakeLists.txt 2008-09-23 16:49:50 UTC (rev 8799)
+++ trunk/doc/docbook/CMakeLists.txt 2008-09-23 19:14:42 UTC (rev 8800)
@@ -1,5 +1,3 @@
-add_subdirectory(www)
-
if(BUILD_DOC)
add_subdirectory(bin)
endif(BUILD_DOC)
Deleted: trunk/doc/docbook/bin/size-href.pl
===================================================================
--- trunk/doc/docbook/bin/size-href.pl 2008-09-23 16:49:50 UTC (rev 8799)
+++ trunk/doc/docbook/bin/size-href.pl 2008-09-23 19:14:42 UTC (rev 8800)
@@ -1,51 +0,0 @@
-#!/usr/bin/perl
-#
-# Copyright (C) 2004 Rafael Laboissiere
-#
-# This file is part of PLplot
-#
-# PLplot is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Library General Public License as published
-# by the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# PLplot is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Library General Public License for more details.
-#
-# You should have received a copy of the GNU Library General Public License
-# along with PLplot; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-
-sub get_size {
- my $f = shift;
- my $s = 0;
- $s = `ls -sh $f`;
- $s =~ s/\s*([0-9.]+[MKk])\s+.*/$1/;
- chomp $s;
- return $s;
-}
-
-while (<>) {
- if (/(.*)href="(.*)"(.*)/) {
- $file = $2;
- print "$1href=\"$2\"";
- $_ = "$3\n";
- redo;
- }
- if (/(.*)\@SIZE@(.*)/ || /(.*)\${SIZE}(.*)/) {
- if ( -f $file ) {
- $size = get_size ($file);
- }
- elsif ( -f "src/$file" ) {
- $size = get_size ("src/$file")
- }
- else {
- die "Neither $file nor src/$file exist";
- }
- print "$1($size)$2\n";
- next;
- }
- print;
-}
Modified: trunk/doc/docbook/src/CMakeLists.txt
===================================================================
--- trunk/doc/docbook/src/CMakeLists.txt 2008-09-23 16:49:50 UTC (rev 8799)
+++ trunk/doc/docbook/src/CMakeLists.txt 2008-09-23 19:14:42 UTC (rev 8800)
@@ -511,7 +511,6 @@
set(HTML_TARBALL ${BASE_HTML}.tar.gz)
set(INFO_TARBALL ${BASE_INFO}.tar.gz)
set(MAN_TARBALL ${BASE_MAN}.tar.gz)
- set(INDEX_HTML ${CMAKE_CURRENT_BINARY_DIR}/../www/index.html)
set(DOCUMENTATION_PHP ${CMAKE_CURRENT_BINARY_DIR}/../../../www/documentation.php)
set(WWW_USERAT ${WWW_USER}@)
@@ -550,21 +549,6 @@
)
add_custom_command(
- OUTPUT ${INDEX_HTML}
- COMMAND ${PERL_EXECUTABLE}
- ${BINDIR}/size-href.pl < ${INDEX_HTML}.in > ${INDEX_HTML}
- DEPENDS
- ${BINDIR}/size-href.pl
- ${INDEX_HTML}.in
- ${BASE}.ps.gz
- ${BASE}.pdf
- ${BASE}.dvi
- ${CMAKE_CURRENT_BINARY_DIR}/${INFO_TARBALL}
- ${CMAKE_CURRENT_BINARY_DIR}/${MAN_TARBALL}
- ${CMAKE_CURRENT_BINARY_DIR}/${HTML_TARBALL}
- )
-
- add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${TARBALL}
COMMAND tar cfz ${TARBALL}
${HTML_TARBALL}
@@ -574,7 +558,6 @@
${BASE}.pdf
${BASE}.dvi
-C ${CMAKE_CURRENT_SOURCE_DIR}/.. COPYING
- -C ${CMAKE_CURRENT_BINARY_DIR}/../www index.html
-C ${CMAKE_CURRENT_BINARY_DIR}/../../../www documentation.php
DEPENDS
${CMAKE_CURRENT_BINARY_DIR}/${HTML_TARBALL}
@@ -584,7 +567,6 @@
${BASE}.pdf
${BASE}.dvi
${CMAKE_CURRENT_SOURCE_DIR}/../COPYING
- ${INDEX_HTML}
${DOCUMENTATION_PHP}
)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ai...@us...> - 2013-08-14 20:58:15
|
Revision: 12483
http://sourceforge.net/p/plplot/code/12483
Author: airwin
Date: 2013-08-14 20:58:11 +0000 (Wed, 14 Aug 2013)
Log Message:
-----------
Generate info form of documentation using utf-8 encoding rather than
us-ascii encoding.
This change means we don't have to replace the entities defined in
math.ent by their written out (in ascii) equivalents for the info
case, and Table 3-4 looks correct (for the first time ever) in the generated
info form of our documentation.
Tested by: Alan W. Irwin <ai...@us...> using the
cmake -DBUILD_DOC=ON option and the "info" target.
Modified Paths:
--------------
trunk/doc/docbook/bin/info-clean.pl
trunk/doc/docbook/src/CMakeLists.txt
trunk/doc/docbook/src/inline-info.ent
Modified: trunk/doc/docbook/bin/info-clean.pl
===================================================================
--- trunk/doc/docbook/bin/info-clean.pl 2013-08-13 11:40:19 UTC (rev 12482)
+++ trunk/doc/docbook/bin/info-clean.pl 2013-08-14 20:58:11 UTC (rev 12483)
@@ -47,8 +47,7 @@
if (m{(.*)%([^;]+);(.*)}) {
print "$1";
$tmp = "$3\n";
- print `cat $sysent{$2}`
- if (not m{%Math-Entities;});
+ print `cat $sysent{$2}`;
$_ = $tmp;
redo
}
Modified: trunk/doc/docbook/src/CMakeLists.txt
===================================================================
--- trunk/doc/docbook/src/CMakeLists.txt 2013-08-13 11:40:19 UTC (rev 12482)
+++ trunk/doc/docbook/src/CMakeLists.txt 2013-08-14 20:58:11 UTC (rev 12483)
@@ -375,7 +375,7 @@
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/plplotdoc.texi
- COMMAND ${DB2X_TEXIXML} ${CMAKE_CURRENT_BINARY_DIR}/plplotdoc.txml
+ COMMAND ${DB2X_TEXIXML} --encoding=utf-8 ${CMAKE_CURRENT_BINARY_DIR}/plplotdoc.txml
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/plplotdoc.texi ${CMAKE_CURRENT_BINARY_DIR}/plplotdoc.texi_raw
COMMAND ${CMAKE_COMMAND} -E remove ${CMAKE_CURRENT_BINARY_DIR}/plplotdoc.texi
COMMAND sed "s?The PLplot Plotting Library: (plplotdoc)?PLplot: (plplotdoc)?" < ${CMAKE_CURRENT_BINARY_DIR}/plplotdoc.texi_raw > ${CMAKE_CURRENT_BINARY_DIR}/plplotdoc.texi
Modified: trunk/doc/docbook/src/inline-info.ent
===================================================================
--- trunk/doc/docbook/src/inline-info.ent 2013-08-13 11:40:19 UTC (rev 12482)
+++ trunk/doc/docbook/src/inline-info.ent 2013-08-14 20:58:11 UTC (rev 12483)
@@ -1,57 +1,5 @@
-<!ENTITY Alpha "Alpha">
-<!ENTITY Beta "Beta">
-<!ENTITY Gamma "Gamma">
-<!ENTITY Delta "Delta">
-<!ENTITY Epsilon "Epsilon">
-<!ENTITY Zeta "Zeta">
-<!ENTITY Eta "Eta">
-<!ENTITY Theta "Theta">
-<!ENTITY Iota "Iota">
-<!ENTITY Kappa "Kappa">
-<!ENTITY Lambda "Lambda">
-<!ENTITY Mu "Mu">
-<!ENTITY Nu "Nu">
-<!ENTITY Xi "Xi">
-<!ENTITY Omicron "Omicron">
-<!ENTITY Pi "Pi">
-<!ENTITY Rho "Rho">
-<!ENTITY Sigma "Sigma">
-<!ENTITY Tau "Tau">
-<!ENTITY Upsilon "Upsilon">
-<!ENTITY Phi "Phi">
-<!ENTITY Chi "Chi">
-<!ENTITY Psi "Psi">
-<!ENTITY Omega "Omega">
-<!ENTITY alpha "alpha">
-<!ENTITY beta "beta">
-<!ENTITY gamma "gamma">
-<!ENTITY delta "delta">
-<!ENTITY epsilon "epsilon">
-<!ENTITY zeta "zeta">
-<!ENTITY eta "eta">
-<!ENTITY theta "theta">
-<!ENTITY iota "iota">
-<!ENTITY kappa "kappa">
-<!ENTITY lambda "lambda">
-<!ENTITY mu "mu">
-<!ENTITY nu "nu">
-<!ENTITY xi "xi">
-<!ENTITY omicron "omicron">
-<!ENTITY pi "pi">
-<!ENTITY rho "rho">
-<!ENTITY varsigma "varsigma">
-<!ENTITY sigma "sigma">
-<!ENTITY tau "tau">
-<!ENTITY upsilon "upsilon">
-<!ENTITY phi "phi">
-<!ENTITY chi "chi">
-<!ENTITY psi "psi">
-<!ENTITY omega "omega">
<!ENTITY deg " degrees">
-<!ENTITY less "<">
-<!ENTITY leq "<=">
<!ENTITY ndash "--">
<!ENTITY nbsp " ">
<!ENTITY mdash "---">
-<!ENTITY egrave "e">
<!ENTITY over-under "S-freq">
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|