From 05af59ac9d468410d4feb331dda3c6f376e93bed Mon Sep 17 00:00:00 2001 From: Stefan Frederik Date: Fri, 15 Oct 2021 19:10:33 +0200 Subject: [PATCH] small fixes in pdf creation script and html docs --- doc/xschem_man/create_pdf_man | 4 ++-- doc/xschem_man/install_xschem.html | 2 +- xschem_library/ngspice/amp_xschem.sch | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) mode change 100644 => 100755 doc/xschem_man/create_pdf_man diff --git a/doc/xschem_man/create_pdf_man b/doc/xschem_man/create_pdf_man old mode 100644 new mode 100755 index 68cfa9bf..625e6f23 --- a/doc/xschem_man/create_pdf_man +++ b/doc/xschem_man/create_pdf_man @@ -22,12 +22,12 @@ generate_pdf () { root_file=$1 output_file=$2 - #### transform local urls to video tutorial videos to sourceforge hosted videos. - sed -i '/href *= *"video_tutorials\//s/="/="https:\/\/xschem.sourceforge.io\/stefan\/xschem_man\//' $root_file #### copy all docs in temporary directory since we must resize images. mkdir -p $tmpdir cp $(dirname $root_file)/*.html $(dirname $root_file)/*.png $tmpdir cd $tmpdir + #### transform local urls to video tutorial videos to sourceforge hosted videos. + sed -i '/href *= *"video_tutorials\//s/="/="https:\/\/xschem.sourceforge.io\/stefan\/xschem_man\//' $(basename $root_file) #### resize images since htmldoc does not fit images in pdf pages at all. sed -i '// width="640">/' *.html diff --git a/doc/xschem_man/install_xschem.html b/doc/xschem_man/install_xschem.html index 1d9c91c9..394c99b8 100644 --- a/doc/xschem_man/install_xschem.html +++ b/doc/xschem_man/install_xschem.html @@ -105,7 +105,7 @@ p{padding: 15px 30px 10px;}
  • If ../src/xchem.tcl with respect to current dir is existing and ../xschem_library is also existing then we are starting from a build directory, set XSCHEM_SHAREDIR to <current dir> and - also set
    XSCHEM_LIBRARY_PATH to .:/../xschem_library/devices.
  • + also set
    XSCHEM_LIBRARY_PATH to ../xschem_library/devices.
  • Else use compile-time (generated from configure script) provided XSCHEM_SHAREDIR.
  • Source system-wide xschemrc if existing: XSCHEM_SHAREDIR/xschemrc
  • If in current dir there is a xschemrc file source it.
  • diff --git a/xschem_library/ngspice/amp_xschem.sch b/xschem_library/ngspice/amp_xschem.sch index 8728f019..81c9f5f7 100644 --- a/xschem_library/ngspice/amp_xschem.sch +++ b/xschem_library/ngspice/amp_xschem.sch @@ -1,5 +1,6 @@ -v {xschem version=2.9.5_RC8 file_version=1.1} +v {xschem version=3.0.0 file_version=1.2 } G {} +K {} V {} S {} E {} @@ -37,7 +38,7 @@ C {code_shown.sym} 30 -310 0 0 {name=CONTROL place=end value=".ac oct 1000 100 1 settype decibel response gnuplot amp_xschem response xlog save all - op + * op write amp_xschem.raw .endc