Hello everyone,
I live in the latex bundle, but this feature request may be relevant to others. I would like to be able to move blocks of text in the latex file by simply moving corresponding headers in the "Go to Symbol" sidebar. This would replace my need to use OminOutliner to organize material. (There seems to be no satisfactory way to port a Latex file from TextMate into OmniOutliner without a great deal of hand work.)
A related feature request would be a Latex logic checker. No matter how we move blocks around, we may wish to check that the references maintain their logical ordering. It would be nice to have a command to do this for us, especially for long documents. I am no programmer, but I imagine this should be easy to do -- find each \ref that occurs before its \label.
Cheers,
Jenny
____________________________________
Jenny Harrison Professor of Mathematics University of California, Berkeley 851 Evans Hall Berkeley CA 94720-3270 Tele: 510-642-9666 Fax: 510-642-5270 Email: harrison@math.berkeley.edu Web: http://math.berkeley.edu/~harrison/
On May 10, 2007, at 3:11 PM, Jenny Harrison wrote:
Hello everyone,
I live in the latex bundle, but this feature request may be relevant to others. I would like to be able to move blocks of text in the latex file by simply moving corresponding headers in the "Go to Symbol" sidebar. This would replace my need to use OminOutliner to organize material. (There seems to be no satisfactory way to port a Latex file from TextMate into OmniOutliner without a great deal of hand work.)
That's an interesting idea. Don't about about in general, but we might be able to have something like this in place with a custom command using a custom nib with a tree structure, where it presents the various sectioning items and you can then move them around. Once you are done, the command then rearranges the text and replaces the entire contents of the current document with the new contents. I would be very hesitant about making it work across multiple files, but within a single file it shouldn't be too hard to do. Such a command would of course have to work under the assumption that, once it encounters a \section{} command, then everything until the next \section{} command is part of this section.
A related feature request would be a Latex logic checker. No matter how we move blocks around, we may wish to check that the references maintain their logical ordering. It would be nice to have a command to do this for us, especially for long documents. I am no programmer, but I imagine this should be easy to do -- find each \ref that occurs before its \label.
But very often you want \refs to appear before their \labels. I don't see how you can establish a logical ordering by determining that a \ref appears before its \label. Plus, you might also have multiple \refs. Or perhaps I have misunderstood what you mean?
Cheers,
Jenny
Jenny Harrison Professor of Mathematics University of California, Berkeley 851 Evans Hall Berkeley CA 94720-3270 Tele: 510-642-9666 Fax: 510-642-5270 Email: harrison@math.berkeley.edu Web: http://math.berkeley.edu/~harrison/
Haris Skiadas Department of Mathematics and Computer Science Hanover College
On May 10, 2007, at 1:50 PM, Charilaos Skiadas wrote:
I live in the latex bundle, but this feature request may be relevant to others. I would like to be able to move blocks of text in the latex file by simply moving corresponding headers in the "Go to Symbol" sidebar. This would replace my need to use OminOutliner to organize material. (There seems to be no satisfactory way to port a Latex file from TextMate into OmniOutliner without a great deal of hand work.)
That's an interesting idea. Don't about about in general, but we might be able to have something like this in place with a custom command using a custom nib with a tree structure, where it presents the various sectioning items and you can then move them around. Once you are done, the command then rearranges the text and replaces the entire contents of the current document with the new contents. I would be very hesitant about making it work across multiple files, but within a single file it shouldn't be too hard to do. Such a command would of course have to work under the assumption that, once it encounters a \section{} command, then everything until the next \section{} command is part of this section.
I would be delighted to see this working in a single file.
A related feature request would be a Latex logic checker. No matter how we move blocks around, we may wish to check that the references maintain their logical ordering. It would be nice to have a command to do this for us, especially for long documents. I am no programmer, but I imagine this should be easy to do -- find each \ref that occurs before its \label.
But very often you want \refs to appear before their \labels. I don't see how you can establish a logical ordering by determining that a \ref appears before its \label. Plus, you might also have multiple \refs. Or perhaps I have misunderstood what you mean?
Yes, you do often want \refs to appear before \labels, such as in an introduction, but it would be nice to double check each of these, especially when proving theorems using lemmas spread throughout a book, say.
Jenny
Jenny Harrison wrote:
I live in the latex bundle, but this feature request may be relevant to others. I would like to be able to move blocks of text in the latex file by simply moving corresponding headers in the "Go to Symbol" sidebar. This would replace my need to use OminOutliner to organize material. (There seems to be no satisfactory way to port a Latex file from TextMate into OmniOutliner without a great deal of hand work.)
Glad you put this up in an email. After you chatted with us at Macworld about it, I did mention it to haris and allan. :)
It would be nice to solve more generally than just for LaTeX, if possible.
-Jacob
If you fold your code then you can just drag and drop the folds around. Not quite what you want especially as latex doesn't fold cleanly unless you add extra fold markers (AFAIK), and nothing like as powerful as rearranging things in a true outliner, but may be good enough.
Dave.
On 11 May 2007, at 04:45, Jacob Rus wrote:
Jenny Harrison wrote:
I live in the latex bundle, but this feature request may be relevant to others. I would like to be able to move blocks of text in the latex file by simply moving corresponding headers in the "Go to Symbol" sidebar. This would replace my need to use OminOutliner to organize material. (There seems to be no satisfactory way to port a Latex file from TextMate into OmniOutliner without a great deal of hand work.)
Glad you put this up in an email. After you chatted with us at Macworld about it, I did mention it to haris and allan. :)
It would be nice to solve more generally than just for LaTeX, if possible.
-Jacob
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On May 10, 2007, at 11:45 PM, Jacob Rus wrote:
It would be nice to solve more generally than just for LaTeX, if possible.
I also like the idea, but how would it work for something like Markdown where only the H1, H2, etc. headers show up in the Symbols list, while in the user's mind, there are probably a lot of other things (paragraphs, lists) that should move along with that "Symbol"?
--- Rob McBroom http://www.skurfer.com/ I didn't "switch" to Apple... my OS did.