I know there's the jsMath plugin for typsetting math equations in TW,
which is great. But is there also a way to type text in tiddlers with
LaTeX markup? I'd like to make later transferring quotes & notes from
TW to my LaTeX document as easy as possible. Currently '' (two single
quotes) in a tiddler transform text to bold, but what I want a (LaTeX)
quotation mark.
Any ideas?
Silke
Funny; I had thought about exactly that just today (even though I've
never actually worked with LaTeX)...
Anyway, I don't think there's a LatexMarkupPlugin yet - but if you know
a bit of programming, you could try modifying Martin's
CreoleFormatterPlugin for you needs:
http://www.martinswiki.com/#CreoleFormatterPlugin
(Yes, Daniel, it's the Programmer's Curse, again... )
-- F.
Well, I don't really like adding this to my long list of "things to do",
but if you could provide a quick overview of the required syntax, I
might give it a quick try (no promises though!).
All I need is a list like this:
* ''bold''
* //italic//
* ...
> At least I know now that I'll for now have to continue enclosing LaTeX
> markup in <html>...</html>.
You mean using LaTeX markup as raw HTML - how would that work?
-- F.
I don't understand that either. But as far as I can tell he's just
referring to a Wikifier for LaTeX. I started such a thing a long time
ago for another Wiki I was using, and would be interested in such a
wikifier too... LaTeX, as a wiki syntax, is kind of verbose and runs
into the problem that everyone wants their favorite macros to work
(which can't...). LaTeX is a macro language, and has no regular
grammar, so cannot be implemented fully by a simple Wikifier. However
one can define an interesting subset of LaTeX that corresponds to wiki
syntax. This is useful so the scientists/engineers among us can
cut/paste between our LaTeX works and TW.
e.g.
{\it italic}
{\bf bold}
\begin{itemize}
\item item 1
\item item 2
\end{itemize}
\section{heading 2}
\subsection{heading 3}
\subsubsection{heading 4}
% comment
One should probably start by extending my jsMath plugin, which already
contains some of the necessary pieces. (e.g. proper escaping of the
backslash that is necessary) http://bob.mcelrath.org/tiddlyjsmath.html
Anyone up to the task?
--
Cheers,
Bob McElrath [Univ. of California at Davis, Department of Physics]
"All wars come to an end, at least temporarily. But the authority acquired by
the state hangs on; political power never abdicates." -- Frank Chodorov