<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I'd probably just use a search and replace with the regex option.<br><br>Sent from my iPhone</div><div><br>On 28.03.2015, at 10:25, Ross Ahmed <<a href="mailto:rossahmed@googlemail.com">rossahmed@googlemail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>In my .tex file, I have section titles and labels like this:</div><div><br></div><div>\section{My section title}</div><div>\label{sec:my_section_title}</div><div><br></div><div>I can then cross-reference this section in my text like this:</div><div><br></div><div>Lorem ipsum dolor sit amet \ref{<span style="background-color: rgba(255, 255, 255, 0);">my_section_title}</span></div><div><span style="background-color: rgba(255, 255, 255, 0);"><br></span></div><div>I'm frequently changing my section titles to something very different different which forces me to change my labels and cross references. This can becomes tedious when my cross references are scattered through a long document.</div><div><br></div><div>What is the best way of changing labels in which the cross references are scattered through long development? Is there any way to automate the process?</div><div><br><div><span style="background-color: rgba(255, 255, 255, 0);">Ross Ahmed</span></div><div>Ecologist</div><div>--</div><div>07875533906</div><div><span style="background-color: rgba(255, 255, 255, 0);">Twitter: <a href="https://twitter.com/RossAhmed">@RossAhmed</a></span></div><div><span style="background-color: rgba(255, 255, 255, 0);">LinkedIn: <a href="https://www.linkedin.com/pub/ross-ahmed/2a/775/590">Ross Ahmed</a></span></div></div></div></blockquote><blockquote type="cite"><div><span></span><br><span>_______________________________________________</span><br><span>textmate mailing list</span><br><span><a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a></span><br><span><a href="http://lists.macromates.com/listinfo/textmate">http://lists.macromates.com/listinfo/textmate</a></span></div></blockquote></body></html>