1 /*@ This file contains a very simple set of routines which might be shared by
2 *@ preprocessors. It allows a preprocessor to indicate when an inline image
3 *@ should be created. This string is intercepted by pre-html and substituted
4 *@ for the image name and suppression escapes. pre-html runs troff twice,
5 *@ once with -Thtml (or -Txhtml) and once with -Tps. `troff -Thtml'
6 *@ (and `troff -Txhtml') emit(s) a <src='image'.png> tag and the postscript
7 *@ device driver works out the min/max limits of the graphic region. These
8 *@ region limits are read by pre-html and an image is generated via
9 *@ troff -Tps -> gs -> png
11 * Copyright (c) 2014 - 2017 Steffen (Daode) Nurpmeso <steffen@sdaoden.eu>.
13 * Copyright (C) 2000 - 2002, 2008 Free Software Foundation, Inc.
14 * Written by Gaius Mulley (gaius@glam.ac.uk)
16 * This is free software; you can redistribute it and/or modify it under
17 * the terms of the GNU General Public License as published by the Free
18 * Software Foundation; either version 2, or (at your option) any later
21 * This is distributed in the hope that it will be useful, but WITHOUT ANY
22 * WARRANTY; without even the implied warranty of MERCHANTABILITY or
23 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
26 * You should have received a copy of the GNU General Public License along
27 * with groff; see the file COPYING. If not, write to the Free Software
28 * Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA.
37 #include "html-strings.h"
39 #include "stringclass.h"
42 * html_begin_suppress - emit a start of image tag which will be seen
45 void html_begin_suppress()
47 put_string(HTML_IMAGE_INLINE_BEGIN
, stdout
);
51 * html_end_suppress - emit an end of image tag which will be seen
54 void html_end_suppress()
56 put_string(HTML_IMAGE_INLINE_END
, stdout
);