Annotation of rpl/src/tex.h, revision 1.14
1.1 bertrand 1: /*
2: ================================================================================
1.12 bertrand 3: RPL/2 (R) version 4.0.18
1.1 bertrand 4: Copyright (C) 1989-2010 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:
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 " \
29: " -i %s | awk '{ print $3; }' " \
30: "| awk -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
! 37: #define ds_tex_commande "sh -c \"%s/bin/rpliconv " \
! 38: "`%s/bin/rplfile -m %s/share/rplfiles " \
! 39: " -i %s | awk '{ print $3; }' " \
! 40: "| awk -F= '{ if ($2 != \\\"\\\") " \
! 41: "printf(\\\"-f %%s\\\", $2); }'` -t utf-8 " \
! 42: "%s \" > %s 2> /dev/null; sh -c \"" \
! 43: "(cd %s; echo x | latex %s \" 1> /dev/null " \
! 44: "2> /dev/null); "\
! 45: "dvips %s -o %s 1> /dev/null 2> /dev/null"
! 46: #endif
! 47:
1.1 bertrand 48: #define ds_tex_postscript "gv %s"
49:
50: #define ds_tex_classe_document "article"
51: #define ds_tex_taille_corps "10pt"
52: #define ds_tex_encodage_1 "T1"
53: #define ds_tex_encodage_2 "utf8"
1.5 bertrand 54: #define ds_tex_encodage_3 "UTF-8"
1.1 bertrand 55: #define ds_tex_langue "frenchb"
56: #define ds_tex_style "plain"
57:
58: #define ds_tex_separateur '/'
59:
60: #endif
61:
62: // vim: ts=4
CVSweb interface <joel.bertrand@systella.fr>