﻿# PasHi config file for backards compatibility with PasHi v1
# ----------------------------------------------------------
#
# ****************************************************************
# This file is DEPRECATED and may be removed from a future release
# ****************************************************************
#
#
# PURPOSE
# -------
#
# This file reverts PasHi to as near as possible the default behaviour of PasHi
# version 1, with the following exceptions:
#
#  - Output encoding is windows-1252 (nearest available option to the older
#    program's use of system default ANSI encoding).
#
#  - Generated HTML code differs from that generated by PasHi v1, although,
#    providing the correct style sheets are used, the appearance is the same.
#
#  - Any input file encoding supported by PasHi v2 and later will be accepted:
#    PasHi v1 only accepted the default ANSI encoding.
#
#  - There may have been upper and / or lower margins in the output HTML due to
#    the <pre> block that contained all the output with PasHi v1. PasHi v2 uses
#    a <div> block instead that has no margins. The difference will depend on
#    your browser defaults.
#
# FILE FORMAT
# -----------
#
# Each command must be placed on its own line. Any parameters required by the
# command must follow the command and be separated from it by one or more
# spaces. Parameters containing spaces must not be enclosed in quotes.
#
# Blank lines are ignored, as are lines beginning with #. Leading and trailing
# spaces and tabs are also ignored.
#
# The file must be saved in UTF-8 encoding, with or without BOM (byte order
# mark).
#
# WARNING: Errors in this file will crash PasHi. The program can usually work
# out if an error was caused by this file and will report the fact in its error
# message.
#
# USAGE
# -----
#
# To use this file you must copy it as "config", over-writing any existing file.
#
# WARNING: Any changes to this file before renaming are likely to be overwritten
# by PasHi, so do not run PasHi while editing the original file. Preferrably you
# should make changes to a copy of the file.
#
# Commands entered on PasHi's command line override commands in this file.


# v1 had the following fixed document title

title File generated by DelphiDabbler PasHi Pascal Highlighter

# v1 always generated files marked as being in English

language en

# v1 actually used the default ANSI code page. v2 does not support this, so
# uses Windows-1252 as the next best thing. Comment this out to return to v2's
# default UTF-8 encoding.

encoding windows-1252

# v1 used different css class names to v2. This command reverts to using those
# classes

# DEPRECATED COMMAND: legacy-css
legacy-css on

# v1 had a different highlighting style to v2's default style. The following
# style sheet replicates the v1 style while keeping the abiility to use
# striping and line numbers.

embed-css v1-default.css
