GeneralSorting sections

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
thibaud74
Posts: 13
Joined: Fri May 27, 2011 4:33 pm

Sorting sections

Post by thibaud74 »

Hi,

I have a lot of sections in a very long document (about 600), I'd like to sort them.
Example about what I get:

Code: Select all

\subsection*{261 - a title}
  Text of the section 261
\subsection*{053 - an other title}
  Text of the section 53
\subsection*{138 - a known title}
  Text of the section 138
\end{document}
Here is what I want:

Code: Select all

\subsection*{053 - an other title}
  Text of the section 53
\subsection*{138 - a known title}
  Text of the section 138
\subsection*{261 - a title}
  Text of the section 261
\end{document}
This result concerns not only the toc, but the entire document too...

Is it possible to do that with latex ?

Best,
Thibaud.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

drumsandsail
Posts: 4
Joined: Tue Feb 11, 2014 3:08 pm

Sorting sections

Post by drumsandsail »

Thibaud, I just had the same problem and kind users showed me how to.

Visit http://latex-community.org/forum/viewto ... 19&t=24451 and you will find what you need !
Post Reply