Karakas Online

7.1.2. Set program locations

If the parameter number check is passed, some program locations are set (adapt them to our situation!):

# Program locations
# Adapt to your situation.
LYX="/usr/X11R6/bin/lyx"
SED="/usr/bin/sed"
AWK="/usr/bin/awk"
RUNSED="/usr/local/bin/runsed"
SEDSCR="sedscr"
SEDSCRMATH="sedscr_math"
SEDSCRABI="sedscr_abi"
SEDSCRAPP="sedscr_app"
SEDSCRBIB="sedscr_bib"
AWKSCRMATH="awkscr_math"
PERL="/usr/bin/perl"
COLLATEINDEX="/usr/share/sgml/docbook/docbook-dsssl-stylesheets/bin/collateindex.pl"
UNESCAPEMATH="/usr/local/bin/unescape_math.pl"
TEXMATH2PNGBMP="/usr/local/bin/texmath2pngbmp.pl"
THUMB_PDF="/usr/local/bin/thumbpdf"
OPENJADE="/usr/bin/openjade"
PDFJADETEX="/usr/bin/pdfjadetex"
JADETEX="/usr/bin/jadetex"
DVIPS="/usr/bin/dvips"
GZIP="/usr/bin/gzip"
TAR="/bin/tar"
TIDY="/usr/bin/tidy"
HTMLSPLIT="/usr/local/bin/htmlsplit.awk"
REFDBXP="/usr/bin/refdbxp"
RUNBIB="/usr/bin/runbib"
DATADIR="../"
DOMAIN="www.karakas-online.de"

Further, the stylesheet locations are set (adapt them to your situation too):

  HTML_CHUNKS_DSL="lyxtox-html.dsl"
  HTML_NOCHUNKS_DSL="lyxtox-onehtml.dsl"
  PRINT_PDF_DSL="lyxtox-print-pdf.dsl"
  PRINT_PS_DSL="lyxtox-print-ps.dsl"
  PRINT_RTF_DSL="lyxtox-print-rtf.dsl"
  PRINT_TXT_DSL="lyxtox-print-txt.dsl"

You only need to change this part, if at all. The RefDB part:

  HTML_DSL="refdb-html.dsl"
  HTML_CHUNKS_DSL="$HTML_DSL#html"
  HTML_NOCHUNKS_DSL="$HTML_DSL#onehtml"
  PRINT_DSL="refdb-print.dsl"
  PRINT_PDF_DSL="$PRINT_DSL#print-pdf"
  PRINT_PS_DSL="$PRINT_DSL#print-ps"
  PRINT_RTF_DSL="$PRINT_DSL#print-rtf"
  PRINT_TXT_DSL="$PRINT_DSL#print-txt"

works automatically and it is does not play any role how you name (or where you place) the HTML_DSL and PRINT_DSL files in this case - they will be automatically created through awkscr_refdb_html and awkscr_refdb_print with whatever filename you pass to them for their output respectively, see the source code of lyxtox.

Last updated Mon Sep 24 01:19:25 CEST 2007 Permalink: http://www.karakas-online.de/mySGML/explain-program-locations.html All contents © 2002-2007 Chris Karakas