File:  [local] / rpl / src / tex.h
Revision 1.27: download - view: text, annotated - select for diffs - revision graph
Tue Jun 21 15:26:36 2011 UTC (12 years, 10 months ago) by bertrand
Branches: MAIN
CVS tags: HEAD
Correction d'une réinitialisation sauvage de la pile des variables par niveau
dans la copie de la structure de description du processus. Cela corrige
la fonction SPAWN qui échouait sur un segmentation fault car la pile des
variables par niveau était vide alors même que l'arbre des variables contenait
bien les variables. Passage à la prerelease 2.

    1: /*
    2: ================================================================================
    3:   RPL/2 (R) version 4.1.0.prerelease.2
    4:   Copyright (C) 1989-2011 Dr. BERTRAND Joël
    5: 
    6:   This file is part of RPL/2.
    7: 
    8:   RPL/2 is free software; you can redistribute it and/or modify it
    9:   under the terms of the CeCILL V2 License as published by the french
   10:   CEA, CNRS and INRIA.
   11:  
   12:   RPL/2 is distributed in the hope that it will be useful, but WITHOUT
   13:   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
   14:   FITNESS FOR A PARTICULAR PURPOSE.  See the CeCILL V2 License
   15:   for more details.
   16:  
   17:   You should have received a copy of the CeCILL License
   18:   along with RPL/2. If not, write to info@cecill.info.
   19: ================================================================================
   20: */
   21: 
   22: 
   23: #ifndef INCLUSION_TEX
   24: #define INCLUSION_TEX
   25: 
   26: #ifndef OS2
   27: #define ds_tex_commande         "%s/bin/rpliconv " \
   28:                                 "`%s/bin/rplfile -m %s/share/rplfiles " \
   29:                                 " -i %s | %s/bin/rplawk '{ print $3; }' " \
   30:                                 "| %s/bin/rplawk -F= '{ if ($2 != \"\") " \
   31:                                 "printf(\"-f %%s\", $2); }'` -t utf-8 %s " \
   32:                                 "> %s 2> /dev/null; " \
   33:                                 "(cd %s; echo x | latex %s 1> /dev/null " \
   34:                                 "2> /dev/null); "\
   35:                                 "dvips %s -o %s 1> /dev/null 2> /dev/null"
   36: #else
   37: #define ds_tex_commande         BOURNE_SHELL " -c \"%s/bin/rpliconv " \
   38:                                 "`%s/bin/rplfile -m %s/share/rplfiles " \
   39:                                 " -i %s | %s/bin/rplawk '{ print $3; }' " \
   40:                                 "| %s/bin/rplawk -F= '{ if ($2 != \\\"\\\") " \
   41:                                 "printf(\\\"-f %%s\\\", $2); }'` -t utf-8 " \
   42:                                 "%s > %s 2> /dev/null\"; " \
   43:                                 BOURNE_SHELL " -c \"" \
   44:                                 "(cd %s; echo x | latex %s 1> /dev/null " \
   45:                                 "2> /dev/null)\"; " \
   46:                                 BOURNE_SHELL " -c \"dvips %s -o %s " \
   47:                                 "1> /dev/null 2> /dev/null\""
   48: #endif
   49: 
   50: #define ds_tex_postscript       "gv %s"
   51: 
   52: #define ds_tex_classe_document  "article"
   53: #define ds_tex_taille_corps     "10pt"
   54: #define ds_tex_encodage_1       "T1"
   55: #define ds_tex_encodage_2       "utf8"
   56: #define ds_tex_encodage_3       "UTF-8"
   57: #define ds_tex_langue           "frenchb"
   58: #define ds_tex_style            "plain"
   59: 
   60: #define ds_tex_separateur       '/'
   61: 
   62: #endif
   63: 
   64: // vim: ts=4

CVSweb interface <joel.bertrand@systella.fr>