Annotation of rpl/src/tex.h, revision 1.61

1.1       bertrand    1: /*
                      2: ================================================================================
1.61    ! bertrand    3:   RPL/2 (R) version 4.1.26
1.60      bertrand    4:   Copyright (C) 1989-2016 Dr. BERTRAND Joël
1.1       bertrand    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: 
1.14      bertrand   26: #ifndef OS2
1.1       bertrand   27: #define ds_tex_commande            "%s/bin/rpliconv " \
                     28:                                "`%s/bin/rplfile -m %s/share/rplfiles " \
1.16      bertrand   29:                                " -i %s | %s/bin/rplawk '{ print $3; }' " \
                     30:                                "| %s/bin/rplawk -F= '{ if ($2 != \"\") " \
1.3       bertrand   31:                                "printf(\"-f %%s\", $2); }'` -t utf-8 %s " \
1.1       bertrand   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"
1.14      bertrand   36: #else
1.17      bertrand   37: #define ds_tex_commande            BOURNE_SHELL " -c \"%s/bin/rpliconv " \
1.14      bertrand   38:                                "`%s/bin/rplfile -m %s/share/rplfiles " \
1.16      bertrand   39:                                " -i %s | %s/bin/rplawk '{ print $3; }' " \
                     40:                                "| %s/bin/rplawk -F= '{ if ($2 != \\\"\\\") " \
1.14      bertrand   41:                                "printf(\\\"-f %%s\\\", $2); }'` -t utf-8 " \
1.19      bertrand   42:                                "%s > %s 2> /dev/null\"; " \
1.18      bertrand   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\""
1.14      bertrand   48: #endif
                     49: 
1.1       bertrand   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"
1.5       bertrand   56: #define ds_tex_encodage_3      "UTF-8"
1.1       bertrand   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>