I have a .bib file with entries formatted like this:
@Article{Calenge2006, title = {The package adehabitat for the R software: tool for the analysis of space and habitat use by animals}, journal = {Ecological Modelling}, volume = {197}, pages = {1035}, year = {2006}, author = {C. Calenge}}
Instead of manually clicking/hitting return, is there a more automated way to format the code. The result should be:
@Article{Calenge2006, title = {The package adehabitat for the R software: tool for the analysis of space and habitat use by animals}, journal = {Ecological Modelling}, volume = {197}, pages = {1035}, year = {2006}, author = {C. Calenge} }
Thanks R
* Skriv a reas Ross Ahmed (rossahmed@googlemail.com): |> I have a .bib file with entries formatted like this: |> |> @Article{Calenge2006, title = {The package adehabitat for the R software: |> tool for the analysis of space and habitat use by animals}, |> journal = {Ecological Modelling}, volume = {197}, pages = {1035}, year |> = {2006}, author = {C. Calenge}} |>
I would use regular expressions in Find and do ,\s* to find the commas followed by repeat white space, and replace with ,\n
--gildas
Works well thanks
Ross
On 24 May 2013, at 22:07, Gildas Hamel gweltaz@ucsc.edu wrote:
- Skriv a reas Ross Ahmed (rossahmed@googlemail.com):
|> I have a .bib file with entries formatted like this: |> |> @Article{Calenge2006, title = {The package adehabitat for the R software: |> tool for the analysis of space and habitat use by animals}, |> journal = {Ecological Modelling}, volume = {197}, pages = {1035}, year |> = {2006}, author = {C. Calenge}} |>
I would use regular expressions in Find and do ,\s* to find the commas followed by repeat white space, and replace with ,\n
--gildas
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate