[RPL/2] How to draw anything ?

BERTRAND Joël joel.bertrand at systella.fr
Lun 16 Juil 18:30:45 CEST 2007


DEMAINE Benoit-Pierre wrote:
>>> 'X' steq draw // Y=X
>>> { "droite.eps" "postscript eps enhanced monochrome dashed" } LCD->
>>> // create an EPS file with name: "droite.eps"
> 
> Would there be a way to have RPL CLI accept '//' as comment tag as weel
> ? I am used that most interpreters accept raw copy/paste of scripts
> inside CLI, it's not the case of RPL:

	RPL/2 uses like C: // and /* */ _but_ only in scripts, not in CLI.

> dhp at moon_gen_2:~/documents/programmation/rpl$ rpl -is
> +++RPL/2 version 4.00pre8w (Monday 07/16/07, 17:42:44 CEST)
> +++Copyright (C) 1989 to 2006, 2007 BERTRAND Joël
> 
> +++This is a free software with absolutely no warranty.
> +++For details, type 'warranty'.
> 
> +++'X' steq draw // Y=X
> 
> 2: '//'
> 1: 'Y=X'
> +++
> 
>> I will rebuild now (after gv install). Sounds it shall fix my issue.
> 
> Did not. Same problems as 1h ago.
> 
> *********************************************************
> 
> dhp at moon_gen_2:~/documents/programmation/rpl$ rpl -is
> +++RPL/2 version 4.00pre8w (Monday 07/16/07, 17:42:44 CEST)
> +++Copyright (C) 1989 to 2006, 2007 BERTRAND Joël
> 
> +++This is a free software with absolutely no warranty.
> +++For details, type 'warranty'.
> 
> +++ 'X' steq draw
> +++ { "droite.eps" "postscript eps enhanced monochrome dashed" } LCD->
> +++print
> +++Error : Empty printing spool queue
> +++

	You have to use prlcd to print your plot. I have found a major 
regression bug in print. Print tries to open a ps file with gv but 
doesn't found this file due to a false path. I will quickly fix this bug.

> ************************************************************
> 
> "hello" pr1 print
> 
> produces a DVI file that contains "hello". This is fine.
> 
> *************************************************************
> 
> Some that may (or not) be related:
> 
> $ dvips  RPL2-22278-4.conv.dvi
> This is dvips(k) 5.95b Copyright 2005 Radical Eye Software
> (www.radicaleye.com)
> ' TeX output 2007.07.16:1751' -> |lpr
> <tex.pro><special.pro><color.pro>. [1] sh: lpr: command not found
> 
> 
> dvipdf was OK for me.
> 
> May RPL depend on lpr for graphic view ?

	No.

	JKB


Plus d'informations sur la liste de diffusion RPL2