Changeset 1128 for plugins/latexrender
- Timestamp:
- 04/30/09 12:10:46 (14 years ago)
- Location:
- plugins/latexrender
- Files:
-
- 1 added
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/latexrender/_admin.php
r1066 r1128 10 10 # http://www.gnu.org/licenses/lgpl-2.1.html 11 11 # -- END LICENSE BLOCK ------------------------------------ 12 if (!defined('DC_CONTEXT_ADMIN')) {return;} 12 13 13 14 $_menu['Plugins']->addItem('LaTeXrender','plugin.php?p=latexrender', -
plugins/latexrender/_define.php
r1066 r1128 10 10 # http://www.gnu.org/licenses/lgpl-2.1.html 11 11 # -- END LICENSE BLOCK ------------------------------------ 12 if (!defined('DC_RC_PATH')) {return;} 12 13 13 14 $this->registerModule( … … 15 16 'Allows rendering of some blocks by LaTeX',/*Description*/ 16 17 'Jean-Christophe Dubacq', /* Author */ 17 '0.9. 1', /* Version */18 '0.9.2', /* Version */ 18 19 'usage,contentadmin' /* Permissions */ 19 20 ); -
plugins/latexrender/_prepend.php
r1066 r1128 10 10 # http://www.gnu.org/licenses/lgpl-2.1.html 11 11 # -- END LICENSE BLOCK ------------------------------------ 12 if (!defined('DC_RC_PATH')) {return;} 12 13 14 $GLOBALS['__autoload']['LatexRender'] = dirname(__FILE__).'/class.latexrender.php'; 13 15 $core->addBehavior('initStacker', 14 16 array('latexrenderStacker','initStacker')); -
plugins/latexrender/_public.php
r1066 r1128 10 10 # http://www.gnu.org/licenses/lgpl-2.1.html 11 11 # -- END LICENSE BLOCK ------------------------------------ 12 13 include_once(dirname(__FILE__).'/class.latexrender.php'); 12 if (!defined('DC_RC_PATH')) {return;} 14 13 15 14 class tplLatexRender -
plugins/latexrender/doc/LISEZMOI.html
r1067 r1128 14 14 <h3>Installation</h3> 15 15 <p>Utilisez le fichier zippé fourni en annexe de ce billet. Ensuite, 16 rendez-vous en zone d'administration en tant 17 que <strong>super-administrateur</strong>, et remplissez les chemins 18 d'accès aux divers exécutables ([tex]\LaTeX[/tex] et la suite 19 ImageMagick; les valeurs par défauts doivent être suffisantes pour la 20 plupart des installations) ainsi que quelques paramètres supplémentaires 21 (dans le menu Extensions). Les paramètres doivent être évidents ; si ce 22 n'est pas le cas, soumettez un rapport de bug.</p> 16 rendez-vous en zone d'administration Extensions > LaTeXrender > 17 Paramètres en tant que <strong>super-administrateur</strong>, et 18 remplissez les chemins d'accès aux divers exécutables ([tex]\LaTeX[/tex] 19 et la suite ImageMagick; les valeurs par défauts doivent être 20 suffisantes pour la plupart des installations) ainsi que quelques 21 paramètres supplémentaires (dans le menu Extensions). Les paramètres 22 doivent être évidents ; si ce n'est pas le cas, soumettez un rapport de 23 bug.</p> 23 24 <div class="photo"><a href="/public/photos/dotclear/latexrender-admin.png"><img src="/public/photos/dotclear/.latexrender-admin_m.jpg" alt="Interface d'administration de LaTeXrender" title="Interface d'administration de LaTeXrender" /></a><div class="legende">Interface d'administration de LaTeXrender</div></div> 25 <div class="photo"><a href="/public/photos/dotclear/latexrender-admin2.png"><img src="/public/photos/dotclear/latexrender-admin2.png" alt="Auto-test de LaTeXrender" title="Auto-test de LaTeXrender" /></a><div class="legende">Auto-test de LaTeXrender</div></div> 24 26 <p>L'extension nécessite une installation sur le serveur 25 27 de <code>latex</code> et du paquet … … 37 39 au contenu des billets (note: comme l'auteur en utilise plusieurs, il 38 40 considère ceci comme un bug).</p> 39 <p class="version">La version courante de cette extension est 0.9. 1 (local svn 348).</p><p class="licence">Cette extension est sous la licence <a href="http://www.gnu.org/licenses/lgpl-2.1.html" hreflang="en">GPL version 2.0</a>.</p>41 <p class="version">La version courante de cette extension est 0.9.2 (local svn 369).</p><p class="licence">Cette extension est sous la licence <a href="http://www.gnu.org/licenses/lgpl-2.1.html" hreflang="en">GPL version 2.0</a>.</p> 40 42 <h3>Utilisation</h3> 41 43 <h4>Utilisation basique</h4> 42 <p>L'utilisation en est souple, il suffit de taper son texte [tex]\LaTeX[/tex] entre 43 deux pseudos-balises <code>[tex]...[/tex]</code>. Par exemple, 44 <p>L'utilisation en est souple, il suffit de taper son texte 45 [tex]\LaTeX[/tex] entre deux 46 pseudos-balises <code>[tex]...[/tex]</code>. Par exemple, 44 47 [tex]$\displaystyle\int_{0}^{1}\frac{x^{4}\left(1-x\right)^{4}}{1+x^{2}}dx 45 =\frac{22}{7}-\pi$[/tex]. 46 </p> 48 =\frac{22}{7}-\pi$[/tex].</p> 47 49 <p>Les équations sont représentées sous forme d'image, et le code [tex]\LaTeX[/tex] est 48 50 donné comme titre de l'image.</p> … … 76 78 <p>FFFFFF est à remplacer par la <a href="http://www.commentcamarche.net/html/htmlcouleurs.php3" hreflang="fr">couleur voulue en hexadécimal</a> (ici, blanc; 77 79 jaune est FFFF00, rouge est FF0000...).</p> 78 <div class="bug"><h3>Pour signaler un bug ou aider cette extension</h3><p>Le mieux est de me contacter <a href="http://jean-christophe.dubacq.fr/pages/Contact">par courrier</a> (pour un bug) ou de laisser un commentaire (pour dire que vous avez testé cette extension). En cas de mise à jour, je modifierai ce billet.</p></div><div class="changelog"><h3>Liste des changements</h3><p>Note : ce journal est non-exhaustif, généré automatiquement, en anglais, et sans doute non-informatif avant 2009.</p><ul><li>Local SVN release 3 48 (jcdubacq,2009-04-22)<ul> <li>Fix documentation</li> </ul></li> <li>Local SVN release 346 (jcdubacq,2009-04-22)<ul> <li>Fix licence block, reindent</li> <li>Switch to LGPL 2.1 in order to keep the original licence</li> </ul></li> <li>Local SVN release 333 (jcdubacq,2009-04-18)<ul> <li>Allow for public path to be an absolute path, release</li> </ul></li> <li>Local SVN release 303 (jcdubacq,2009-01-27)<ul> <li>Fix locales</li> </ul></li> <li>Local SVN release 297 (jcdubacq,2009-01-26)<ul> <li>Adapt to version 0.3 of stacker (behavior initStacker)</li> </ul></li> <li>Local SVN release 292 (jcdubacq,2009-01-22)<ul> <li>Update documentation, release new version 0.6</li> </ul></li> <li>Local SVN release 259 (jcdubacq,2008-11-18)<ul> <li>Fix public url usage in admin area</li> </ul></li> <li>Local SVN release 205 (jcdubacq,2008-07-24)<ul> <li>Add documentation, new version</li> </ul></li> <li>Local SVN release 187 (jcdubacq,2008-07-09)<ul> <li>Add admin page, rewrite latexrender class to better fit the needs of DC2</li> </ul></li> <li>Local SVN release 168 (jcdubacq,2008-05-06)<ul> <li>Order plugins and themes</li> </ul></li> <li>Local SVN release 47 (jcdubacq,2008-02-15)<ul> <li>Add latexrender plugin</li> </ul></li></ul></div>80 <div class="bug"><h3>Pour signaler un bug ou aider cette extension</h3><p>Le mieux est de me contacter <a href="http://jean-christophe.dubacq.fr/pages/Contact">par courrier</a> (pour un bug) ou de laisser un commentaire (pour dire que vous avez testé cette extension). En cas de mise à jour, je modifierai ce billet.</p></div><div class="changelog"><h3>Liste des changements</h3><p>Note : ce journal est non-exhaustif, généré automatiquement, en anglais, et sans doute non-informatif avant 2009.</p><ul><li>Local SVN release 369 (jcdubacq,2009-04-30)<ul> <li> latexrender-admin2.png latexrender-admin.png latexrender-exemple.png LISEZMOI.html LISEZMOI.txt README.html README.txt Clean code</li> <li> latexrender-admin2.png latexrender-admin.png latexrender-exemple.png LISEZMOI.html LISEZMOI.txt README.html README.txt Lift for the admin backend</li> <li> latexrender-admin2.png latexrender-admin.png latexrender-exemple.png LISEZMOI.html LISEZMOI.txt README.html README.txt New screenshot</li> </ul></li> <li>Local SVN release 348 (jcdubacq,2009-04-22)<ul> <li>Fix documentation</li> </ul></li> <li>Local SVN release 346 (jcdubacq,2009-04-22)<ul> <li>Fix licence block, reindent</li> <li>Switch to LGPL 2.1 in order to keep the original licence</li> </ul></li> <li>Local SVN release 333 (jcdubacq,2009-04-18)<ul> <li>Allow for public path to be an absolute path, release</li> </ul></li> <li>Local SVN release 303 (jcdubacq,2009-01-27)<ul> <li>Fix locales</li> </ul></li> <li>Local SVN release 297 (jcdubacq,2009-01-26)<ul> <li>Adapt to version 0.3 of stacker (behavior initStacker)</li> </ul></li> <li>Local SVN release 292 (jcdubacq,2009-01-22)<ul> <li>Update documentation, release new version 0.6</li> </ul></li> <li>Local SVN release 259 (jcdubacq,2008-11-18)<ul> <li>Fix public url usage in admin area</li> </ul></li> <li>Local SVN release 205 (jcdubacq,2008-07-24)<ul> <li>Add documentation, new version</li> </ul></li> <li>Local SVN release 187 (jcdubacq,2008-07-09)<ul> <li>Add admin page, rewrite latexrender class to better fit the needs of DC2</li> </ul></li> <li>Local SVN release 168 (jcdubacq,2008-05-06)<ul> <li>Order plugins and themes</li> </ul></li> <li>Local SVN release 47 (jcdubacq,2008-02-15)<ul> <li>Add latexrender plugin</li> </ul></li></ul></div> 79 81 <h3>Travail restant à faire</h3> 80 82 <ul><li>Faire une version qui ne dépend pas de l'extension <code>stacker</code></li> -
plugins/latexrender/doc/LISEZMOI.txt
r1067 r1128 22 22 23 23 Utilisez le fichier zippé fourni en annexe de ce billet. Ensuite, rendez-vous en 24 zone d'administration en tant que super-administrateur, et remplissez les25 chemins d'accès aux divers exécutables ([tex]\LaTeX[/tex] et la suite 26 ImageMagick; les valeurs par défauts doivent être suffisantes pour la plupart 27 des installations) ainsi que quelques paramètres supplémentaires (dans le menu 28 Extensions). Les paramètres doivent être évidents ; si ce n'est pas le cas, 29 soumettez un rapport de bug.24 zone d'administration Extensions > LaTeXrender > Paramètres en tant que 25 super-administrateur, et remplissez les chemins d'accès aux divers exécutables 26 ([tex]\LaTeX[/tex] et la suite ImageMagick; les valeurs par défauts doivent être 27 suffisantes pour la plupart des installations) ainsi que quelques paramètres 28 supplémentaires (dans le menu Extensions). Les paramètres doivent être évidents 29 ; si ce n'est pas le cas, soumettez un rapport de bug. 30 30 31 31 L'extension nécessite une installation sur le serveur de latex et du paquet … … 43 43 ceci comme un bug). 44 44 45 La version courante de cette extension est 0.9. 1 (local svn 348).45 La version courante de cette extension est 0.9.2 (local svn 369). 46 46 47 47 Cette extension est sous la licence [5]GPL version 2.0. … … 101 101 Note : ce journal est non-exhaustif, généré automatiquement, en anglais, et sans 102 102 doute non-informatif avant 2009. 103 * Local SVN release 369 (jcdubacq,2009-04-30) 104 + latexrender-admin2.png latexrender-admin.png latexrender-exemple.png 105 LISEZMOI.html LISEZMOI.txt README.html README.txt Clean code 106 + latexrender-admin2.png latexrender-admin.png latexrender-exemple.png 107 LISEZMOI.html LISEZMOI.txt README.html README.txt Lift for the admin backend 108 + latexrender-admin2.png latexrender-admin.png latexrender-exemple.png 109 LISEZMOI.html LISEZMOI.txt README.html README.txt New screenshot 103 110 * Local SVN release 348 (jcdubacq,2009-04-22) 104 111 + Fix documentation -
plugins/latexrender/doc/README.html
r1067 r1128 28 28 <h3>Installation</h3> 29 29 <p>Use the zipped file attached to this post.Go then to the 30 administration area as <strong>super-admin</strong>, and fill in the various access paths 31 to the auxiliary programs (the default values should be fine on most 32 servers ; [tex]\LaTeX[/tex] and the <a href="http://www.imagemagick.org/script/index.php" hreflang="en">ImageMagick</a> set of programs are used) as well as 33 a few other parameters. Their meaning should be self-evident; if this is 34 not the case, please submit a bug report.</p> 30 administration area Plugins > LaTeXrender > Settings 31 as <strong>super-admin</strong>, and fill in the various access paths to 32 the auxiliary programs (the default values should be fine on most 33 servers ; [tex]\LaTeX[/tex] and 34 the <a href="http://www.imagemagick.org/script/index.php" 35 hreflang="en">ImageMagick</a> set of programs are used) as well as a few 36 other parameters. Their meaning should be self-evident; if this is not 37 the case, please submit a bug report.</p> 35 38 <div class="photo"><a href="/public/photos/dotclear/latexrender-admin.png"><img src="/public/photos/dotclear/.latexrender-admin_m.jpg" alt="Administration area for LaTeXrender" title="Administration area for LaTeXrender" /></a><div class="legende">Administration area for LaTeXrender</div></div> 39 <div class="photo"><a href="/public/photos/dotclear/latexrender-admin2.png"><img src="/public/photos/dotclear/latexrender-admin2.png" alt="Auto-test for LaTeXrender" title="Auto-test for LaTeXrender" /></a><div class="legende">Auto-test for LaTeXrender</div></div> 36 40 <p>The extension requires an installation on the server of latex and the 37 41 ImageMagick set of programs (mostly the <code>convert</code> … … 48 52 contents (note: as the author uses several of them, this is therefore 49 53 considered as a bug).</p> 50 <p class="version">The current version of this plugin is 0.9. 1 (local svn 348).</p><p class="licence">This plugin is licensed under <a href="http://www.gnu.org/licenses/lgpl-2.1.html" hreflang="en">GPL version 2.0</a>.</p>54 <p class="version">The current version of this plugin is 0.9.2 (local svn 369).</p><p class="licence">This plugin is licensed under <a href="http://www.gnu.org/licenses/lgpl-2.1.html" hreflang="en">GPL version 2.0</a>.</p> 51 55 <h3>Usage</h3> 52 56 <h4>Basic usage</h4> … … 87 91 <pre class="code"><?php $core->theme_color='FFFFFF'; ?></pre> 88 92 <p>FFFFFF is to be replaced by the desired colour, coded in hexadecimal (here, white; yellow is FFFF00, red is FF0000).</p> 89 <div class="bug"><h3>To tell me about a bug or helping this plugin</h3><p>The best way is to contact me <a href="http://jean-christophe.dubacq.fr/pages/Contact">by mail</a> (for a bug) or leave a comment (telling me you tested this extension) at the maintenance page. In case of an update, I will modify the maintenance page accordingly.</p></div><div class="changelog"><p>Note: this changelog is not complete, automatically generated and probably not even informative before 2009.</p><ul><li>Local SVN release 3 48 (jcdubacq,2009-04-22)<ul> <li>Fix documentation</li> </ul></li> <li>Local SVN release 346 (jcdubacq,2009-04-22)<ul> <li>Fix licence block, reindent</li> <li>Switch to LGPL 2.1 in order to keep the original licence</li> </ul></li> <li>Local SVN release 333 (jcdubacq,2009-04-18)<ul> <li>Allow for public path to be an absolute path, release</li> </ul></li> <li>Local SVN release 303 (jcdubacq,2009-01-27)<ul> <li>Fix locales</li> </ul></li> <li>Local SVN release 297 (jcdubacq,2009-01-26)<ul> <li>Adapt to version 0.3 of stacker (behavior initStacker)</li> </ul></li> <li>Local SVN release 292 (jcdubacq,2009-01-22)<ul> <li>Update documentation, release new version 0.6</li> </ul></li> <li>Local SVN release 259 (jcdubacq,2008-11-18)<ul> <li>Fix public url usage in admin area</li> </ul></li> <li>Local SVN release 205 (jcdubacq,2008-07-24)<ul> <li>Add documentation, new version</li> </ul></li> <li>Local SVN release 187 (jcdubacq,2008-07-09)<ul> <li>Add admin page, rewrite latexrender class to better fit the needs of DC2</li> </ul></li> <li>Local SVN release 168 (jcdubacq,2008-05-06)<ul> <li>Order plugins and themes</li> </ul></li> <li>Local SVN release 47 (jcdubacq,2008-02-15)<ul> <li>Add latexrender plugin</li> </ul></li></ul></div>93 <div class="bug"><h3>To tell me about a bug or helping this plugin</h3><p>The best way is to contact me <a href="http://jean-christophe.dubacq.fr/pages/Contact">by mail</a> (for a bug) or leave a comment (telling me you tested this extension) at the maintenance page. In case of an update, I will modify the maintenance page accordingly.</p></div><div class="changelog"><p>Note: this changelog is not complete, automatically generated and probably not even informative before 2009.</p><ul><li>Local SVN release 369 (jcdubacq,2009-04-30)<ul> <li> latexrender-admin2.png latexrender-admin.png latexrender-exemple.png LISEZMOI.html LISEZMOI.txt README.html README.txt Clean code</li> <li> latexrender-admin2.png latexrender-admin.png latexrender-exemple.png LISEZMOI.html LISEZMOI.txt README.html README.txt Lift for the admin backend</li> <li> latexrender-admin2.png latexrender-admin.png latexrender-exemple.png LISEZMOI.html LISEZMOI.txt README.html README.txt New screenshot</li> </ul></li> <li>Local SVN release 348 (jcdubacq,2009-04-22)<ul> <li>Fix documentation</li> </ul></li> <li>Local SVN release 346 (jcdubacq,2009-04-22)<ul> <li>Fix licence block, reindent</li> <li>Switch to LGPL 2.1 in order to keep the original licence</li> </ul></li> <li>Local SVN release 333 (jcdubacq,2009-04-18)<ul> <li>Allow for public path to be an absolute path, release</li> </ul></li> <li>Local SVN release 303 (jcdubacq,2009-01-27)<ul> <li>Fix locales</li> </ul></li> <li>Local SVN release 297 (jcdubacq,2009-01-26)<ul> <li>Adapt to version 0.3 of stacker (behavior initStacker)</li> </ul></li> <li>Local SVN release 292 (jcdubacq,2009-01-22)<ul> <li>Update documentation, release new version 0.6</li> </ul></li> <li>Local SVN release 259 (jcdubacq,2008-11-18)<ul> <li>Fix public url usage in admin area</li> </ul></li> <li>Local SVN release 205 (jcdubacq,2008-07-24)<ul> <li>Add documentation, new version</li> </ul></li> <li>Local SVN release 187 (jcdubacq,2008-07-09)<ul> <li>Add admin page, rewrite latexrender class to better fit the needs of DC2</li> </ul></li> <li>Local SVN release 168 (jcdubacq,2008-05-06)<ul> <li>Order plugins and themes</li> </ul></li> <li>Local SVN release 47 (jcdubacq,2008-02-15)<ul> <li>Add latexrender plugin</li> </ul></li></ul></div> 90 94 <h3>To do</h3> 91 95 <ul> -
plugins/latexrender/doc/README.txt
r1067 r1128 20 20 === Installation === 21 21 22 Use the zipped file attached to this post.Go then to the administration area as23 super-admin, and fill in the various access paths to the auxiliary programs (the 24 default values should be fine on most servers ; [tex]\LaTeX[/tex] and the 25 [3]ImageMagick set of programs are used) as well as a few other parameters. 26 Their meaning should be self-evident; if this is not the case, please submit a 27 bug report.22 Use the zipped file attached to this post.Go then to the administration area 23 Plugins > LaTeXrender > Settings as super-admin, and fill in the various access 24 paths to the auxiliary programs (the default values should be fine on most 25 servers ; [tex]\LaTeX[/tex] and the [3]ImageMagick set of programs are used) as 26 well as a few other parameters. Their meaning should be self-evident; if this is 27 not the case, please submit a bug report. 28 28 29 29 The extension requires an installation on the server of latex and the … … 40 40 considered as a bug). 41 41 42 The current version of this plugin is 0.9. 1 (local svn 348).42 The current version of this plugin is 0.9.2 (local svn 369). 43 43 44 44 This plugin is licensed under [5]GPL version 2.0. … … 95 95 Note: this changelog is not complete, automatically generated and probably not 96 96 even informative before 2009. 97 * Local SVN release 369 (jcdubacq,2009-04-30) 98 + latexrender-admin2.png latexrender-admin.png latexrender-exemple.png 99 LISEZMOI.html LISEZMOI.txt README.html README.txt Clean code 100 + latexrender-admin2.png latexrender-admin.png latexrender-exemple.png 101 LISEZMOI.html LISEZMOI.txt README.html README.txt Lift for the admin backend 102 + latexrender-admin2.png latexrender-admin.png latexrender-exemple.png 103 LISEZMOI.html LISEZMOI.txt README.html README.txt New screenshot 97 104 * Local SVN release 348 (jcdubacq,2009-04-22) 98 105 + Fix documentation -
plugins/latexrender/index.php
r1066 r1128 10 10 # http://www.gnu.org/licenses/lgpl-2.1.html 11 11 # -- END LICENSE BLOCK ------------------------------------ 12 if (!defined('DC_CONTEXT_ADMIN')) { return; } 12 13 13 if (!defined('DC_CONTEXT_ADMIN')) { return; }14 14 dcPage::checkSuper(); 15 15 $commands=array('latex','dvips','convert','identify'); … … 49 49 http::redirect($p_url.'&clean='.$core->latex->searchCache(1)); 50 50 } 51 ?><html> 52 <head> 53 <title>LaTeXrender</title> 54 </head> 55 <body><?php 56 echo '<h2>LaTeXrender</h2>'; 51 # default tab 52 $default_tab = 'settings'; 53 if (!empty($_REQUEST['tab'])) 54 { 55 switch ($_REQUEST['tab']) 56 { 57 case 'autotest' : 58 $default_tab = 'autotest'; 59 break; 60 } 61 } 62 echo '<html><head><title>LaTeXrender</title>'; 63 echo dcPage::jsPageTabs($default_tab); 64 echo '</head><body>'; 65 echo '<h2>'.html::escapeHTML($core->blog->name).' › LaTeXrender</h2>'; 66 $msg=''; 57 67 if (!empty($_GET['up'])) { 58 echo '<p class="message">'.__('Settings have been successfully updated.'). 59 '</p>'; 68 $msg=__('Settings have been successfully updated.'); 60 69 } 61 70 if (!empty($_GET['clean'])) { 62 echo '<p class="message">'.__('Cache has been successfully cleaned.'). 63 '</p>'; 71 $msg=__('Cache has been successfully cleaned.'); 64 72 } 65 echo '<h3>'.__('Plugin auto-test').'</h3>'; 66 $core->latex=new LatexRender($core); 67 echo '<p>'.__('The LaTeX logo should be displayed here colored in black then red:').'<ul><li>'; 68 echo $core->latex->getFormulaHTML('\LaTeX','000000',true); 69 echo '</li><li>'; 70 echo $core->latex->getFormulaHTML('\LaTeX','FF0000',true); 71 echo '</li></ul>'; 72 echo '<p>'.__('Files in cache:').$core->latex->searchCache(0).'</p>'; 73 if ($core->stacker) { 74 echo __('<p>The stacker extension is installed. Public display will take place.</p>'); 75 } else { 76 echo __('<p>Please install the stacker extension for public display to take place.</p>'); 77 } 78 echo '</body>'; 79 echo '<h3>'.__('Plugin parameters').'</h3>'; 80 echo '<p>'.__('Images go in the following directory:').' <tt>'. 81 $core->latex->_picture_path.'</tt></p>'; 82 echo '<p>'.__('Temp files go in the following directory:').' <tt>'. 83 $core->latex->_tmp_dir.'</tt></p>'; 84 echo '<p>'.__('Images have the following URL:').' <tt>'. 85 $core->latex->_picture_path_httpd.'</tt></p>'; 73 if (!empty($msg)) {echo '<p class="message">'.$msg.'</p>';} 74 echo '<div class="multi-part" id="settings" title="'. 75 __('Settings').'">'; 76 echo '<h3>'.__('Settings').'</h3>'; 86 77 echo 87 78 '<form action="'.$p_url.'" method="post">'. … … 105 96 $core->formNonce().'</p>'. 106 97 '</form>'; 98 echo '</div>'; 99 echo '<div class="multi-part" id="autotest" title="'. 100 __('Plugin auto-test').'">'; 101 echo '<h3>'.__('Plugin auto-test').'</h3>'; 102 $core->latex=new LatexRender($core); 103 echo '<p>'.__('The LaTeX logo should be displayed here colored in black then red:').'<ul><li>'; 104 echo $core->latex->getFormulaHTML('\LaTeX','000000',true); 105 echo '</li><li>'; 106 echo $core->latex->getFormulaHTML('\LaTeX','FF0000',true); 107 echo '</li></ul>'; 108 echo '<p>'.__('Files in cache:').$core->latex->searchCache(0).'</p>'; 109 if ($core->stacker) { 110 echo __('<p>The stacker extension is installed. Public display will take place.</p>'); 111 } else { 112 echo __('<p>Please install the stacker extension for public display to take place.</p>'); 113 } 114 echo '<p>'.__('Images go in the following directory:').' <tt>'. 115 $core->latex->_picture_path.'</tt></p>'; 116 echo '<p>'.__('Temp files go in the following directory:').' <tt>'. 117 $core->latex->_tmp_dir.'</tt></p>'; 118 echo '<p>'.__('Images have the following URL:').' <tt>'. 119 $core->latex->_picture_path_httpd.'</tt></p>'; 120 echo '</div>'; 107 121 echo '</body>'; 108 122 ?> -
plugins/latexrender/locales/_pot/main.pot
r760 r1128 9 9 "Project-Id-Version: latexrender plugin for Dotclear 2\n" 10 10 "Report-Msgid-Bugs-To: Jean-Christophe Dubacq <jcdubacq1@free.fr> \n" 11 "POT-Creation-Date: 2009-0 1-27 09:47+0100\n"11 "POT-Creation-Date: 2009-04-30 12:06+0200\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: Jean-Christophe Dubacq <jcdubacq1@free.fr>\n" … … 17 17 "Content-Transfer-Encoding: 8bit\n" 18 18 19 #: ../../index.php:1 419 #: ../../index.php:19 20 20 msgid "Safe method" 21 21 msgstr "" 22 22 23 #: ../../index.php: 1523 #: ../../index.php:20 24 24 msgid "Colorization method" 25 25 msgstr "" 26 26 27 #: ../../index.php: 5727 #: ../../index.php:71 28 28 msgid "Cache has been successfully cleaned." 29 29 msgstr "" 30 30 31 #: ../../index.php:60 31 #: ../../index.php:75 ../../index.php:76 ../../index.php:88 32 msgid "Settings" 33 msgstr "" 34 35 #: ../../index.php:79 36 msgid "Utilities paths" 37 msgstr "" 38 39 #: ../../index.php:80 40 msgid "<code>latex</code> path:" 41 msgstr "" 42 43 #: ../../index.php:81 44 msgid "<code>dvips</code> path:" 45 msgstr "" 46 47 #: ../../index.php:82 48 msgid "<code>convert</code> path:" 49 msgstr "" 50 51 #: ../../index.php:83 52 msgid "<code>identify</code> path:" 53 msgstr "" 54 55 #: ../../index.php:84 56 msgid "Security limits" 57 msgstr "" 58 59 #: ../../index.php:85 60 msgid "Max width (pixels):" 61 msgstr "" 62 63 #: ../../index.php:86 64 msgid "Max height (pixels):" 65 msgstr "" 66 67 #: ../../index.php:87 68 msgid "Max length (chars):" 69 msgstr "" 70 71 #: ../../index.php:89 72 msgid "Generation method" 73 msgstr "" 74 75 #: ../../index.php:90 76 msgid "Formula density (dpi)" 77 msgstr "" 78 79 #: ../../index.php:91 80 msgid "LaTeX class" 81 msgstr "" 82 83 #: ../../index.php:92 84 msgid "Font size" 85 msgstr "" 86 87 #: ../../index.php:94 88 msgid "return to default values" 89 msgstr "" 90 91 #: ../../index.php:95 92 msgid "clean cache" 93 msgstr "" 94 95 #: ../../index.php:100 ../../index.php:101 32 96 msgid "Plugin auto-test" 33 97 msgstr "" 34 98 35 #: ../../index.php: 6299 #: ../../index.php:103 36 100 msgid "The LaTeX logo should be displayed here colored in black then red:" 37 101 msgstr "" 38 102 39 #: ../../index.php: 67103 #: ../../index.php:108 40 104 msgid "Files in cache:" 41 105 msgstr "" 42 106 43 #: ../../index.php: 69107 #: ../../index.php:110 44 108 msgid "" 45 109 "<p>The stacker extension is installed. Public display will take place.</p>" 46 110 msgstr "" 47 111 48 #: ../../index.php: 71112 #: ../../index.php:112 49 113 msgid "" 50 114 "<p>Please install the stacker extension for public display to take place.</p>" 51 115 msgstr "" 52 116 53 #: ../../index.php:74 54 msgid "Plugin parameters" 55 msgstr "" 56 57 #: ../../index.php:75 117 #: ../../index.php:114 58 118 msgid "Images go in the following directory:" 59 119 msgstr "" 60 120 61 #: ../../index.php: 77121 #: ../../index.php:116 62 122 msgid "Temp files go in the following directory:" 63 123 msgstr "" 64 124 65 #: ../../index.php: 79125 #: ../../index.php:118 66 126 msgid "Images have the following URL:" 67 127 msgstr "" 68 128 69 #: ../../index.php:83 70 msgid "Utilities paths" 71 msgstr "" 72 73 #: ../../index.php:84 74 msgid "<code>latex</code> path:" 75 msgstr "" 76 77 #: ../../index.php:85 78 msgid "<code>dvips</code> path:" 79 msgstr "" 80 81 #: ../../index.php:86 82 msgid "<code>convert</code> path:" 83 msgstr "" 84 85 #: ../../index.php:87 86 msgid "<code>identify</code> path:" 87 msgstr "" 88 89 #: ../../index.php:88 90 msgid "Security limits" 91 msgstr "" 92 93 #: ../../index.php:89 94 msgid "Max width (pixels):" 95 msgstr "" 96 97 #: ../../index.php:90 98 msgid "Max height (pixels):" 99 msgstr "" 100 101 #: ../../index.php:91 102 msgid "Max length (chars):" 103 msgstr "" 104 105 #: ../../index.php:92 106 msgid "Settings" 107 msgstr "" 108 109 #: ../../index.php:93 110 msgid "Generation method" 111 msgstr "" 112 113 #: ../../index.php:94 114 msgid "Formula density (dpi)" 115 msgstr "" 116 117 #: ../../index.php:95 118 msgid "LaTeX class" 119 msgstr "" 120 121 #: ../../index.php:96 122 msgid "Font size" 123 msgstr "" 124 125 #: ../../index.php:98 126 msgid "return to default values" 127 msgstr "" 128 129 #: ../../index.php:99 130 msgid "clean cache" 131 msgstr "" 132 133 #: ../../_prepend.php:21 129 #: ../../_prepend.php:28 134 130 msgid "Marks [tex]...[/tex] text as LaTeX" 135 131 msgstr "" -
plugins/latexrender/locales/fr/main.po
r760 r1128 8 8 "Project-Id-Version: Dotclear 2 LaTeXrender package\n" 9 9 "Report-Msgid-Bugs-To: Jean-Christophe Dubacq <jcdubacq1@free.fr> \n" 10 "POT-Creation-Date: 2009-0 1-27 09:47+0100\n"10 "POT-Creation-Date: 2009-04-30 12:06+0200\n" 11 11 "PO-Revision-Date: 2009-01-22 16:02+0100\n" 12 12 "Last-Translator: Jean-Christophe Dubacq <jcdubacq1@free.fr>\n" … … 16 16 "Content-Transfer-Encoding: 8bit\n" 17 17 "X-Poedit-Language: French\n" 18 19 #: ../../index.php:14 18 # 19 # File: ../../index.php, line: 19 20 # File: ../../index.php, line: 19 21 # File: ../../index.php, line: 19 20 22 msgid "Safe method" 21 23 msgstr "Méthode sûre" 22 23 #: ../../index.php:15 24 # 25 # File: ../../index.php, line: 20 26 # File: ../../index.php, line: 20 27 # File: ../../index.php, line: 20 24 28 msgid "Colorization method" 25 29 msgstr "Méthode avec couleur" 26 27 #: ../../index.php:57 30 # 31 # File: ../../index.php, line: 71 32 # File: ../../index.php, line: 71 33 # File: ../../index.php, line: 71 28 34 msgid "Cache has been successfully cleaned." 29 35 msgstr "Le cache a bien été nettoyé." 30 31 #: ../../index.php:60 36 # 37 # File: ../../index.php, line: 75 38 # File: ../../index.php, line: 76 39 # File: ../../index.php, line: 88 40 # File: ../../index.php, line: 75 41 # File: ../../index.php, line: 76 42 # File: ../../index.php, line: 88 43 # File: ../../index.php, line: 75 44 # File: ../../index.php, line: 76 45 # File: ../../index.php, line: 88 46 msgid "Settings" 47 msgstr "Paramètres" 48 # 49 # File: ../../index.php, line: 79 50 # File: ../../index.php, line: 79 51 # File: ../../index.php, line: 79 52 msgid "Utilities paths" 53 msgstr "Emplacement des utilitaires" 54 # 55 # File: ../../index.php, line: 80 56 # File: ../../index.php, line: 80 57 # File: ../../index.php, line: 80 58 msgid "<code>latex</code> path:" 59 msgstr "Chemin de <code>latex</code> :" 60 # 61 # File: ../../index.php, line: 81 62 # File: ../../index.php, line: 81 63 # File: ../../index.php, line: 81 64 msgid "<code>dvips</code> path:" 65 msgstr "Chemin de <code>dvips</code> :" 66 # 67 # File: ../../index.php, line: 82 68 # File: ../../index.php, line: 82 69 # File: ../../index.php, line: 82 70 msgid "<code>convert</code> path:" 71 msgstr "Chemin de <code>convert</code> :" 72 # 73 # File: ../../index.php, line: 83 74 # File: ../../index.php, line: 83 75 # File: ../../index.php, line: 83 76 msgid "<code>identify</code> path:" 77 msgstr "Chemin de <code>identify</code> :" 78 # 79 # File: ../../index.php, line: 84 80 # File: ../../index.php, line: 84 81 # File: ../../index.php, line: 84 82 msgid "Security limits" 83 msgstr "Limites de sécurité" 84 # 85 # File: ../../index.php, line: 85 86 # File: ../../index.php, line: 85 87 # File: ../../index.php, line: 85 88 msgid "Max width (pixels):" 89 msgstr "Largeur maximale (pixels) :" 90 # 91 # File: ../../index.php, line: 86 92 # File: ../../index.php, line: 86 93 # File: ../../index.php, line: 86 94 msgid "Max height (pixels):" 95 msgstr "Hauteur maximale (pixels) :" 96 # 97 # File: ../../index.php, line: 87 98 # File: ../../index.php, line: 87 99 # File: ../../index.php, line: 87 100 msgid "Max length (chars):" 101 msgstr "Longueur maximale (caractères) :" 102 # 103 # File: ../../index.php, line: 89 104 # File: ../../index.php, line: 89 105 # File: ../../index.php, line: 89 106 msgid "Generation method" 107 msgstr "Mode de génération" 108 # 109 # File: ../../index.php, line: 90 110 # File: ../../index.php, line: 90 111 # File: ../../index.php, line: 90 112 msgid "Formula density (dpi)" 113 msgstr "Densité des formules (dpi)" 114 # 115 # File: ../../index.php, line: 91 116 # File: ../../index.php, line: 91 117 # File: ../../index.php, line: 91 118 msgid "LaTeX class" 119 msgstr "Classe LaTeX" 120 # 121 # File: ../../index.php, line: 92 122 # File: ../../index.php, line: 92 123 # File: ../../index.php, line: 92 124 msgid "Font size" 125 msgstr "Taille de la police" 126 # 127 # File: ../../index.php, line: 94 128 # File: ../../index.php, line: 94 129 # File: ../../index.php, line: 94 130 msgid "return to default values" 131 msgstr "revenir aux valeurs par défaut" 132 # 133 # File: ../../index.php, line: 95 134 # File: ../../index.php, line: 95 135 # File: ../../index.php, line: 95 136 msgid "clean cache" 137 msgstr "nettoyer le cache" 138 # 139 # File: ../../index.php, line: 100 140 # File: ../../index.php, line: 101 141 # File: ../../index.php, line: 100 142 # File: ../../index.php, line: 101 143 # File: ../../index.php, line: 100 144 # File: ../../index.php, line: 101 32 145 msgid "Plugin auto-test" 33 146 msgstr "Auto-test de l'extension" 34 35 #: ../../index.php:62 147 # 148 # File: ../../index.php, line: 103 149 # File: ../../index.php, line: 103 150 # File: ../../index.php, line: 103 36 151 msgid "The LaTeX logo should be displayed here colored in black then red:" 37 152 msgstr "Le logo de LaTeX devrait s'afficher ici en noir, puis en rouge :" 38 39 #: ../../index.php:67 153 # 154 # File: ../../index.php, line: 108 155 # File: ../../index.php, line: 108 156 # File: ../../index.php, line: 108 40 157 msgid "Files in cache:" 41 158 msgstr "Fichiers dans le cache :" 42 43 #: ../../index.php:69 159 # 160 # File: ../../index.php, line: 110 161 # File: ../../index.php, line: 110 162 # File: ../../index.php, line: 110 44 163 msgid "" 45 164 "<p>The stacker extension is installed. Public display will take place.</p>" … … 47 166 "<p>L'extension stacker est installée. L'affichage en zone publique aura lieu." 48 167 "</p>" 49 50 #: ../../index.php:71 168 # 169 # File: ../../index.php, line: 112 170 # File: ../../index.php, line: 112 171 # File: ../../index.php, line: 112 51 172 msgid "" 52 173 "<p>Please install the stacker extension for public display to take place.</p>" … … 54 175 "<p>Installez l'extension stacker pour que l'affichage en zone publique se " 55 176 "fasse.</p>" 56 57 #: ../../index.php:74 58 msgid "Plugin parameters" 59 msgstr "Paramètres de l'extension" 60 61 #: ../../index.php:75 177 # 178 # File: ../../index.php, line: 114 179 # File: ../../index.php, line: 114 180 # File: ../../index.php, line: 114 62 181 msgid "Images go in the following directory:" 63 182 msgstr "Les images sont dans le répertoire suivant :" 64 65 #: ../../index.php:77 183 # 184 # File: ../../index.php, line: 116 185 # File: ../../index.php, line: 116 186 # File: ../../index.php, line: 116 66 187 msgid "Temp files go in the following directory:" 67 188 msgstr "Les fichiers temporaires sont dans le répertoire suivant :" 68 69 #: ../../index.php:79 189 # 190 # File: ../../index.php, line: 118 191 # File: ../../index.php, line: 118 192 # File: ../../index.php, line: 118 70 193 msgid "Images have the following URL:" 71 194 msgstr "Les images ont l'URL suivante :" 72 73 #: ../../index.php:83 74 msgid "Utilities paths" 75 msgstr "Emplacement des utilitaires" 76 77 #: ../../index.php:84 78 msgid "<code>latex</code> path:" 79 msgstr "Chemin de <code>latex</code> :" 80 81 #: ../../index.php:85 82 msgid "<code>dvips</code> path:" 83 msgstr "Chemin de <code>dvips</code> :" 84 85 #: ../../index.php:86 86 msgid "<code>convert</code> path:" 87 msgstr "Chemin de <code>convert</code> :" 88 89 #: ../../index.php:87 90 msgid "<code>identify</code> path:" 91 msgstr "Chemin de <code>identify</code> :" 92 93 #: ../../index.php:88 94 msgid "Security limits" 95 msgstr "Limites de sécurité" 96 97 #: ../../index.php:89 98 msgid "Max width (pixels):" 99 msgstr "Largeur maximale (pixels) :" 100 101 #: ../../index.php:90 102 msgid "Max height (pixels):" 103 msgstr "Hauteur maximale (pixels) :" 104 105 #: ../../index.php:91 106 msgid "Max length (chars):" 107 msgstr "Longueur maximale (caractères) :" 108 109 #: ../../index.php:92 110 msgid "Settings" 111 msgstr "Paramètres" 112 113 #: ../../index.php:93 114 msgid "Generation method" 115 msgstr "Mode de génération" 116 117 #: ../../index.php:94 118 msgid "Formula density (dpi)" 119 msgstr "Densité des formules (dpi)" 120 121 #: ../../index.php:95 122 msgid "LaTeX class" 123 msgstr "Classe LaTeX" 124 125 #: ../../index.php:96 126 msgid "Font size" 127 msgstr "Taille de la police" 128 129 #: ../../index.php:98 130 msgid "return to default values" 131 msgstr "revenir aux valeurs par défaut" 132 133 #: ../../index.php:99 134 msgid "clean cache" 135 msgstr "nettoyer le cache" 136 137 #: ../../_prepend.php:21 195 # 196 # File: ../../_prepend.php, line: 28 197 # File: ../../_prepend.php, line: 28 198 # File: ../../_prepend.php, line: 28 138 199 msgid "Marks [tex]...[/tex] text as LaTeX" 139 200 msgstr "Marque le texte [tex]...[/tex] comme étant du LaTeX" 140 201 # 141 202 msgid "executable not found" 142 203 msgstr "exécutable non trouvé" 143 204 # 144 205 msgid "formula too long" 145 206 msgstr "formule trop longue" 146 207 # 147 208 msgid "blacklisted TeX operator" 148 209 msgstr "commande TeX interdite" 149 210 # 150 211 msgid "file not moved correctly" 151 212 msgstr "fichier non déplacé correctement" 152 213 # 153 214 msgid "compilation failed" 154 215 msgstr "compilation échouée" 155 216 # 156 217 msgid "image too large" 157 218 msgstr "image trop grande"
Note: See TracChangeset
for help on using the changeset viewer.