Posts Tagged ‘LaTeX’

Real-time LaTeX Collaboration

August 11th, 2012

I’m still looking for real-time collaboration tools for LaTeX. I need to try shareLaTeX again. Sadly, LaTeX-lab (which layers ontop of Google Docs) is only designed for a single editor at a time (kind of defeating the purpose). Apparently, ScribTeX (discovered via pinboard search) is popular (and there’s also verbosus) — and sounds useful.

One of the sticking points of using Google Docs (which is useful at some points of the editing) was its use of smartquotes. That, at least is avoidable: Tools -> Preferences gives the option to disable smart quotes and automatic substitution.

Google Docs preferences - disable smart quotes

Tags: , , , ,
Posted in PhD diary | Comments (0)

Searching for LaTeX code (Springer only)

January 6th, 2011

Springer’s LaTeX search service (example results) allow searching for LaTeX strings or finding the LaTeX equations in an article. Since LaTeX is used to markup equations in many scientific publications this could be an interesting way to find related work or view an equation-centric summary of a paper.

You can provide a LaTeX string, and Springer says that besides exact matches they can return similar LaTeX strings:
exact matches to a LaTeX search

Or, you can search by DOI or title to get all the equations in a given publication:
results for a particular title

Under each equation in the search results you can click “show LaTeX code”:
show the LaTeX code for an equation
Right now it just searches Springer’s publications; Springer would like to add open access databases and preprint servers. Coverage even in Springer journals seems spotty: I couldn’t find two particular discrete math articles papers, so I’ve written Springer for clarification. As far as I can tell, there’s no way to get from SpringerLink to this LaTeX search yet: it’s a shame, because “show all equations in this article” would be useful, even with the proviso that only LaTeX equations were shown.

A nice touch is their sandbox where you can test LaTeX code, with a LaTeX dictionary conveniently below.

via Eric Hellman

Tags: , , , ,
Posted in future of publishing, information ecosystem, library and information science, math, scholarly communication | Comments (1)

For LaTeX referencing glitches, check the \label location

December 15th, 2010

Problem: LaTeX gives the section number instead of the figure number in a text reference.
Solution: Be sure that the figure’s label is AFTER its caption.

Correct:

\begin{figure}
\includegraphics{./images/myimage.png}
\caption{A beautiful, wonderful image.}
\label{fig:myimage}
\end{figure}

Wrong:

\begin{figure}
\includegraphics{./images/myimage.png}
\label{fig:myimage}
\caption{A beautiful, wonderful image.}
\end{figure}

LaTeX requires \label to follow \caption. That is, a \label preceding a \caption is ignored.
If you’re getting section numbers instead of figure numbers as the response to a \ref, check where the \label is specified.

Tags: , , , , , , , , ,
Posted in PhD diary, random thoughts | Comments (0)