mirror of
https://git.code.sf.net/p/zint/code
synced 2026-07-30 18:09:50 +00:00
DBAR_STK/DBAR_OMNSTK/DBAR_EXPSTK (including composites): output HRT
if `BARCODE_RAW_TEXT` manual: default to always making html
This commit is contained in:
+3
-3
@@ -1,5 +1,5 @@
|
||||
# Makefile for generating "manual.txt" and "manual.pdf" from "manual.pmd" and "zint.1" from "zint.1.pmd" using pandoc
|
||||
# Copyright (C) 2022-2024 <rstuart114@gmail.com>
|
||||
# Copyright (C) 2022-2025 <rstuart114@gmail.com>
|
||||
# vim: set ts=4 sw=4 noet :
|
||||
#
|
||||
# Requires a recent version of pandoc, plus pandoc-tablenos, xelatex and various other packages - see "README"
|
||||
@@ -8,6 +8,7 @@
|
||||
SOURCE = manual.pmd
|
||||
OUT_PDF = manual.pdf
|
||||
OUT_TXT = manual.txt
|
||||
OUT_HTML = manual.html
|
||||
INC_HEADER_PDF = inc_header_pdf.tex
|
||||
INC_BEFORE_BODY_PDF = inc_before_body_pdf.tex
|
||||
INC_PDF = --include-in-header $(INC_HEADER_PDF) --include-before-body $(INC_BEFORE_BODY_PDF)
|
||||
@@ -149,7 +150,7 @@ TEX_MAN_PAGE = zint.1.tex
|
||||
TXT_OPTS = --filter pandoc-tablenos -M tablenos-warning-level=0 --columns 80 --eol=lf -t plain
|
||||
MAN_PAGE_OPTS = -s -t man
|
||||
|
||||
all : $(OUT_PDF) $(OUT_TXT) $(OUT_MAN_PAGE)
|
||||
all : $(OUT_PDF) $(OUT_TXT) $(OUT_MAN_PAGE) $(OUT_HTML)
|
||||
|
||||
$(OUT_PDF) : $(SOURCE) $(SOURCE_MAN_PAGE) $(INC_HEADER_PDF) $(INC_BEFORE_BODY_PDF) $(IMAGES) Makefile
|
||||
pandoc $(SOURCE_MAN_PAGE) -f markdown \
|
||||
@@ -199,7 +200,6 @@ manual.tex : $(SOURCE) $(SOURCE_MAN_PAGE) $(INC_HEADER_PDF) $(INC_BEFORE_BODY_PD
|
||||
|
||||
# HTML one-page (uses modified "templates/styles.html", unchanged "templates/default.html")
|
||||
|
||||
OUT_HTML = manual.html
|
||||
HTML_OPTS = --filter pandoc-tablenos -M tablenos-warning-level=0 --highlight-style=haddock \
|
||||
--template=templates/default.html --eol=lf -s -t html
|
||||
INC_BEFORE_BODY_HTML = inc_before_body_html.html
|
||||
|
||||
+2
-2
@@ -3963,8 +3963,8 @@ class="footnote-ref" id="fnref14" role="doc-noteref"><sup>14</sup></a>
|
||||
complete with any control characters<a href="#fn15" class="footnote-ref"
|
||||
id="fnref15" role="doc-noteref"><sup>15</sup></a> and check
|
||||
characters,<a href="#fn16" class="footnote-ref" id="fnref16"
|
||||
role="doc-noteref"><sup>16</sup></a> and for all linear symbologies,
|
||||
including those that normally don’t set it.</td>
|
||||
role="doc-noteref"><sup>16</sup></a> and for all linear and DataBar
|
||||
Stacked symbologies, including those that normally don’t set it.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
+2
-2
@@ -2341,8 +2341,8 @@ Value Effect
|
||||
|
||||
`BARCODE_RAW_TEXT` Set HRT with no decoration,[^14] complete with any
|
||||
control characters[^15] and check characters,[^16]
|
||||
and for all linear symbologies, including those
|
||||
that normally don't set it.
|
||||
and for all linear and DataBar Stacked symbologies,
|
||||
including those that normally don't set it.
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
Table: API `output_options` Values {#tbl:api_output_options tag="$ $"}
|
||||
|
||||
+2
-2
@@ -2324,8 +2324,8 @@ together when adjusting this value:
|
||||
|
||||
BARCODE_RAW_TEXT Set HRT with no decoration,[14] complete with any
|
||||
control characters[15] and check characters,[16]
|
||||
and for all linear symbologies, including those
|
||||
that normally don’t set it.
|
||||
and for all linear and DataBar Stacked symbologies,
|
||||
including those that normally don’t set it.
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
: Table : API output_options Values
|
||||
|
||||
+16
-16
@@ -564,55 +564,55 @@ Paintbrush (`PCX`), Portable Network Format (`PNG`), Scalable Vector Graphic (`S
|
||||
`--version`).
|
||||
|
||||
`-1`
|
||||
: Human Readable Text was outputted as raw text (`ZINT_WARN_HRT_RAW_TEXT`)
|
||||
: Human Readable Text was outputted as raw text (`ZINT_WARN_HRT_RAW_TEXT`)
|
||||
|
||||
`1`
|
||||
: Human Readable Text was truncated (maximum 199 bytes) (`ZINT_WARN_HRT_TRUNCATED`)
|
||||
: Human Readable Text was truncated (maximum 199 bytes) (`ZINT_WARN_HRT_TRUNCATED`)
|
||||
|
||||
`2`
|
||||
: Invalid option given but overridden by Zint (`ZINT_WARN_INVALID_OPTION`)
|
||||
: Invalid option given but overridden by Zint (`ZINT_WARN_INVALID_OPTION`)
|
||||
|
||||
`3`
|
||||
: Automatic ECI inserted by Zint (`ZINT_WARN_USES_ECI`)
|
||||
: Automatic ECI inserted by Zint (`ZINT_WARN_USES_ECI`)
|
||||
|
||||
`4`
|
||||
: Symbol created not compliant with standards (`ZINT_WARN_NONCOMPLIANT`)
|
||||
: Symbol created not compliant with standards (`ZINT_WARN_NONCOMPLIANT`)
|
||||
|
||||
`5`
|
||||
: Input data wrong length (`ZINT_ERROR_TOO_LONG`)
|
||||
: Input data wrong length (`ZINT_ERROR_TOO_LONG`)
|
||||
|
||||
`6`
|
||||
: Input data incorrect (`ZINT_ERROR_INVALID_DATA`)
|
||||
: Input data incorrect (`ZINT_ERROR_INVALID_DATA`)
|
||||
|
||||
`7`
|
||||
: Input check digit incorrect (`ZINT_ERROR_INVALID_CHECK`)
|
||||
: Input check digit incorrect (`ZINT_ERROR_INVALID_CHECK`)
|
||||
|
||||
`8`
|
||||
: Incorrect option given (`ZINT_ERROR_INVALID_OPTION`)
|
||||
: Incorrect option given (`ZINT_ERROR_INVALID_OPTION`)
|
||||
|
||||
`9`
|
||||
: Internal error (should not happen) (`ZINT_ERROR_ENCODING_PROBLEM`)
|
||||
: Internal error (should not happen) (`ZINT_ERROR_ENCODING_PROBLEM`)
|
||||
|
||||
`10`
|
||||
: Error opening output file (`ZINT_ERROR_FILE_ACCESS`)
|
||||
: Error opening output file (`ZINT_ERROR_FILE_ACCESS`)
|
||||
|
||||
`11`
|
||||
: Memory allocation (malloc) failure (`ZINT_ERROR_MEMORY`)
|
||||
: Memory allocation (malloc) failure (`ZINT_ERROR_MEMORY`)
|
||||
|
||||
`12`
|
||||
: Error writing to output file (`ZINT_ERROR_FILE_WRITE`)
|
||||
: Error writing to output file (`ZINT_ERROR_FILE_WRITE`)
|
||||
|
||||
`13`
|
||||
: Error counterpart of warning if `--werror` given (`ZINT_ERROR_USES_ECI`)
|
||||
|
||||
`14`
|
||||
: Error counterpart of warning if `--werror` given (`ZINT_ERROR_NONCOMPLIANT`)
|
||||
: Error counterpart of warning if `--werror` given (`ZINT_ERROR_NONCOMPLIANT`)
|
||||
|
||||
`15`
|
||||
: Error counterpart of warning if `--werror` given (`ZINT_ERROR_HRT_TRUNCATED`)
|
||||
: Error counterpart of warning if `--werror` given (`ZINT_ERROR_HRT_TRUNCATED`)
|
||||
|
||||
`16`
|
||||
: Error counterpart of warning if `--werror` given (`ZINT_ERROR_HRT_RAW_TEXT`)
|
||||
: Error counterpart of warning if `--werror` given (`ZINT_ERROR_HRT_RAW_TEXT`)
|
||||
|
||||
# EXAMPLES
|
||||
|
||||
|
||||
Reference in New Issue
Block a user