From 37008cfc0e58d958b8f4b477a78e6b44d47825a1 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 21 Sep 2007 23:34:04 +0000 Subject: makecirc doc in metapost git-svn-id: svn://tug.org/texlive/trunk@4997 c570f23f-e606-0410-a88d-b1316a301751 --- Build/cdbuild/ctan2tds.pl | 23 +++++++++++++++++++++ .../texmf-dist/doc/latex/makecirc/MakeCirc-en.pdf | Bin 259764 -> 0 bytes Master/texmf-dist/doc/latex/makecirc/MakeCirc.pdf | Bin 241753 -> 0 bytes Master/texmf-dist/doc/latex/makecirc/README | 17 --------------- Master/texmf-dist/doc/latex/makecirc/ejemplos.pdf | Bin 62658 -> 0 bytes .../doc/metapost/makecirc/MakeCirc-en.pdf | Bin 0 -> 259764 bytes .../texmf-dist/doc/metapost/makecirc/MakeCirc.pdf | Bin 0 -> 241753 bytes Master/texmf-dist/doc/metapost/makecirc/README | 17 +++++++++++++++ .../texmf-dist/doc/metapost/makecirc/ejemplos.pdf | Bin 0 -> 62658 bytes 9 files changed, 40 insertions(+), 17 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/makecirc/MakeCirc-en.pdf delete mode 100644 Master/texmf-dist/doc/latex/makecirc/MakeCirc.pdf delete mode 100644 Master/texmf-dist/doc/latex/makecirc/README delete mode 100644 Master/texmf-dist/doc/latex/makecirc/ejemplos.pdf create mode 100644 Master/texmf-dist/doc/metapost/makecirc/MakeCirc-en.pdf create mode 100644 Master/texmf-dist/doc/metapost/makecirc/MakeCirc.pdf create mode 100644 Master/texmf-dist/doc/metapost/makecirc/README create mode 100644 Master/texmf-dist/doc/metapost/makecirc/ejemplos.pdf diff --git a/Build/cdbuild/ctan2tds.pl b/Build/cdbuild/ctan2tds.pl index b6e5fa14423..ef6e92885d7 100755 --- a/Build/cdbuild/ctan2tds.pl +++ b/Build/cdbuild/ctan2tds.pl @@ -139,6 +139,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; 'ebong', "&MAKEebong", 'ecc', "&MAKEecc", 'eco', "&MAKEeco", + 'edmac', "warn \"skipping edmac, needs work (unzip xx)\n\"", 'ednotes', "&MAKEnosymlinks", 'elhyphen', "&MAKEelhyphen", 'epiolmec', "&MAKEflatten", @@ -1179,6 +1180,8 @@ for (@ARGV) { print "Package $packagedir has a TeXlive-aware Makefile. Make and send to $DEST\n"; } else { + &set_dir_defaults ($opt_ctan_dir); + $insrunner = $specialinsrunner{$package} || $standardinsrunner; $whichformat = $specialfmt{$package} || $standardfmt; @@ -1198,7 +1201,27 @@ for (@ARGV) { &xchdir ($startdir); } + +# Override our default guess of "latex" if we can intuit from the CTAN +# path, which ctan2tl kindly passes us. +# +sub set_dir_defaults +{ + my ($ctan_dir) = @_; + my $changed = 1; + + if ($ctan_dir =~ m!/graphics/metapost!) { + $standardfmt = $standarddocfmt = $standardsourcefmt = "metapost"; + } else { + $changed = 0; + } + + print "\t reset fmt/docfmt/srcfmt to $standardfmt (based on $ctan_dir)\n" + if $changed; +} + + sub xchdir { my ($dir) = @_; diff --git a/Master/texmf-dist/doc/latex/makecirc/MakeCirc-en.pdf b/Master/texmf-dist/doc/latex/makecirc/MakeCirc-en.pdf deleted file mode 100644 index d96ce6367a3..00000000000 Binary files a/Master/texmf-dist/doc/latex/makecirc/MakeCirc-en.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/makecirc/MakeCirc.pdf b/Master/texmf-dist/doc/latex/makecirc/MakeCirc.pdf deleted file mode 100644 index 812a192dc3f..00000000000 Binary files a/Master/texmf-dist/doc/latex/makecirc/MakeCirc.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/makecirc/README b/Master/texmf-dist/doc/latex/makecirc/README deleted file mode 100644 index 22b2d8fccb9..00000000000 --- a/Master/texmf-dist/doc/latex/makecirc/README +++ /dev/null @@ -1,17 +0,0 @@ -MakeCirc: A METAPOST library for electrical circuit diagrams drawing. ---------------------------------------------------------------------- -Copyright (c) 2003 GS Bustamante Argaņaraz - -MakeCirc is a METAPOST library that contains diverse symbols (the mayority -of wich are electrician) for the use in circuit diagrams. MakeCirc tries to -offer a high quality tool, with a simple syntax. - -MakeCirc is completely integrated with LaTeX documents and with other METAPOST -drawings/graphics. Its output is a PostScript file. - -MakeCirc only requires (La)TeX and METAPOST to run, together with the files -makecirc.mp and latex.mp. - -The file MakeCirc.pdf is the spanish version manual and the file MakeCirc-en.pdf -is the english version. The file ejemplos.pdf is an example file (in spanish). -Its source is ejemplos.mp. \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/makecirc/ejemplos.pdf b/Master/texmf-dist/doc/latex/makecirc/ejemplos.pdf deleted file mode 100644 index cf13fa545c1..00000000000 Binary files a/Master/texmf-dist/doc/latex/makecirc/ejemplos.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/metapost/makecirc/MakeCirc-en.pdf b/Master/texmf-dist/doc/metapost/makecirc/MakeCirc-en.pdf new file mode 100644 index 00000000000..d96ce6367a3 Binary files /dev/null and b/Master/texmf-dist/doc/metapost/makecirc/MakeCirc-en.pdf differ diff --git a/Master/texmf-dist/doc/metapost/makecirc/MakeCirc.pdf b/Master/texmf-dist/doc/metapost/makecirc/MakeCirc.pdf new file mode 100644 index 00000000000..812a192dc3f Binary files /dev/null and b/Master/texmf-dist/doc/metapost/makecirc/MakeCirc.pdf differ diff --git a/Master/texmf-dist/doc/metapost/makecirc/README b/Master/texmf-dist/doc/metapost/makecirc/README new file mode 100644 index 00000000000..22b2d8fccb9 --- /dev/null +++ b/Master/texmf-dist/doc/metapost/makecirc/README @@ -0,0 +1,17 @@ +MakeCirc: A METAPOST library for electrical circuit diagrams drawing. +--------------------------------------------------------------------- +Copyright (c) 2003 GS Bustamante Argaņaraz + +MakeCirc is a METAPOST library that contains diverse symbols (the mayority +of wich are electrician) for the use in circuit diagrams. MakeCirc tries to +offer a high quality tool, with a simple syntax. + +MakeCirc is completely integrated with LaTeX documents and with other METAPOST +drawings/graphics. Its output is a PostScript file. + +MakeCirc only requires (La)TeX and METAPOST to run, together with the files +makecirc.mp and latex.mp. + +The file MakeCirc.pdf is the spanish version manual and the file MakeCirc-en.pdf +is the english version. The file ejemplos.pdf is an example file (in spanish). +Its source is ejemplos.mp. \ No newline at end of file diff --git a/Master/texmf-dist/doc/metapost/makecirc/ejemplos.pdf b/Master/texmf-dist/doc/metapost/makecirc/ejemplos.pdf new file mode 100644 index 00000000000..cf13fa545c1 Binary files /dev/null and b/Master/texmf-dist/doc/metapost/makecirc/ejemplos.pdf differ -- cgit v1.2.3