From 09e93b5e0fde06480b36415b477e0fc309160e95 Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Fri, 3 Jan 2025 11:58:36 +0100 Subject: [PATCH] fix documentation (scripts.html) --- doc/xschem_man/scripts.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/xschem_man/scripts.html b/doc/xschem_man/scripts.html index 531dba39..e43172de 100644 --- a/doc/xschem_man/scripts.html +++ b/doc/xschem_man/scripts.html @@ -38,13 +38,13 @@ p{padding: 15px 30px 10px;}
  • - In the xschemrc you may set the tcl_files tcl variable with a list of files + In the xschemrc you may set the tcl_files tcl variable with a list of files to read in and execute after xschem is started:

    set tcl_files {/path/to/file1.tcl  /path/to/file2.tcl}

  • - the postinit_commands variable in xschemrc can be filled with tcl code , + the postinit_commands variable in xschemrc can be filled with tcl code , it is executed when starting xschem:

    set postinit_commands {
       puts hello
    @@ -54,15 +54,15 @@ p{padding: 15px  30px 10px;}
       
  • - On the unix shell command line with --tcl (this code is executed after reading xschemrc, - this is usually done to override xschemrc settings: + On the unix shell command line with --tcl (this code is executed after reading + xschemrc, this is usually done to override xschemrc settings:

    xschem --tcl 'set intuitive_interface 0'

  • On the unix shell command line with --preinit. Same as --tcl, but the commands are executed - at the very beginning of xschem startup, before reading xschemrc. + at the very beginning of xschem startup, before reading xschemrc. Usually done to change some internal variables for testing

    xschem --preinit 'some_weird_tcl_code'

  • @@ -70,9 +70,9 @@ p{padding: 15px 30px 10px;}
  • On the unix shell command line with --command. The specified tcl code is executed after complete startup so all extended - xschem commands are available: + xschem commands are available:

    -xschem solar_panel.sch --command 'simulate'  #there are other ways to do this, just an example
    +xschem solar_panel.sch --command 'xschem netlist; simulate'  #there are other ways to do this, just an example