Deyan Ginev edited subsection_Generating_a_Christmass_Caroll__.tex  almost 9 years ago

Commit id: 0ec3cf090349ea113ae89649e87eafe0d52cd67a

deletions | additions      

       

\subsection{Generating a Christmass Caroll}  Source: \url{http://ctan.org/pkg/xii}  In a classic argument about whether a naive approach to counting the words of a {\TeX} manuscript could be successful, David Carlisle provided the following snippet as an example:  \begin{lstlisting} 

LcYlaDLbJsW,SWXJW ree @rzchLhzsW,;WERcesInW qt.'oL.Rtrul;e  doTsW,Wk;Rri@stW aHAHHFndZPpqar.tridgeLinZpe.LtYer.W,:  \end{lstlisting}  Source: \url{http://ctan.org/pkg/xii}  Clearly, a naive approach may find a handful, if any words, as this TeX program is obfuscated to a degree of infamy. In fact, it is a demonstration that the only correct way of counting words in a {\latex} document is by inspecting the final produced output, be it the PDF or HTML document. Authorea is one of the few tools that correctly approaches word count and can tackle this example successfully, with a click of a button.