Permalink
Browse files

Not a good idea as this will break people's custom templates

  • Loading branch information...
1 parent 52e2b84 commit ec6f82c2276c03fd59cf1922f87050fc68473570 @protz committed Mar 17, 2011
Showing with 5 additions and 5 deletions.
  1. +3 −3 content/help.html
  2. +1 −1 content/main.js
  3. +1 −1 defaults/preferences/defaults.js
View
@@ -19,7 +19,7 @@
\usepackage[utf8x]{inputenc}
\pagestyle{empty}
\begin{document}
-__PLACEHOLDER__ %this is where your LaTeX expression goes
+__REPLACEME__ %this is where your LaTeX expression goes
\end{document}
</pre>
<p>
@@ -29,7 +29,7 @@
extra output such as page numbers, which is why cropping works.
</p>
<p>
- The <tt>__PLACEHOLDER__</tt> word will be replaced with the LaTeX expression
+ The <tt>__REPLACEME__</tt> word will be replaced with the LaTeX expression
you specified. Therefore, it is important you put it in the right place.
</p>
<p>
@@ -56,7 +56,7 @@
\usepackage{mathpazo}
\pagestyle{empty}
\begin{document}
-__PLACEHOLDER__ %this is where your LaTeX expression goes
+__REPLACEME__ %this is where your LaTeX expression goes
\end{document}
</pre>
View
@@ -326,7 +326,7 @@ var tblatex = {
var elt = nodes[i];
if (!silent)
write_log("*** Found expression "+elt.nodeValue+"\n");
- var latex_expr = replace(template, "__PLACEHOLDER__", elt.nodeValue);
+ var latex_expr = replace(template, "__REPLACEME__", elt.nodeValue);
var [st, url, log] = run_latex(latex_expr, silent);
if (st || !silent)
write_log(log);
@@ -4,6 +4,6 @@ pref("tblatex.convert_path", "");
pref("tblatex.dpi", 150);
pref("tblatex.log", true);
pref("tblatex.debug", false);
-pref("tblatex.template", "\\documentclass{article}\n\\usepackage[utf8x]{inputenc}\n\\pagestyle{empty}\n\\begin{document}\n__PLACEHOLDER__ %this is where your LaTeX expression goes\n\\end{document}\n");
+pref("tblatex.template", "\\documentclass{article}\n\\usepackage[utf8x]{inputenc}\n\\pagestyle{empty}\n\\begin{document}\n__REPLACEME__ %this is where your LaTeX expression goes\n\\end{document}\n");
pref("tblatex.firstrun", 0);

0 comments on commit ec6f82c

Please sign in to comment.