Re: how to convert a non-org list to org headings

2022-07-06 Thread Uwe Brauer
> On 2022-07-06, at 17:31, Kaushal Modi wrote: > No period after "1.1" above - makes things slightly more difficult. Right, I repaired those manually before running queery resplace > This might be a bit overzealous if there are more numbers with a period > after them. Another way would be

Re: how to convert a non-org list to org headings

2022-07-06 Thread Uwe Brauer
> On Wed, Jul 6, 2022 at 11:17 AM Uwe Brauer wrote: > The method that I show below is quick but not robust. You'll need to review > all the replacements. > - Do query-replace-regexp [default binding: C-M-%] > - Search for [0-9]+\. > - Replace with * Thanks, I tried [0-9]* and that failed.

Re: how to convert a non-org list to org headings

2022-07-06 Thread Marcin Borkowski
On 2022-07-06, at 17:31, Kaushal Modi wrote: > On Wed, Jul 6, 2022 at 11:17 AM Uwe Brauer wrote: > >> Hi >> >> I have a file that contains a list as: >> >> >> 1.1 Funciones de una variable No period after "1.1" above - makes things slightly more difficult. > The method that I show below is

Re: how to convert a non-org list to org headings

2022-07-06 Thread Kaushal Modi
On Wed, Jul 6, 2022 at 11:17 AM Uwe Brauer wrote: > Hi > > I have a file that contains a list as: > > > 1.1 Funciones de una variable > > 1.1.1. Catálogo de funciones. Translaciones y dilataciones > > 1.1.2. Derivación > > 1.1.2.1. Optimización. Tasa de cambio > > 1.1.2.2. Aproximación de

how to convert a non-org list to org headings

2022-07-06 Thread Uwe Brauer
Hi I have a file that contains a list as: 1.1 Funciones de una variable 1.1.1. Catálogo de funciones. Translaciones y dilataciones 1.1.2. Derivación 1.1.2.1. Optimización. Tasa de cambio 1.1.2.2. Aproximación de funciones 1.1.2.3.1. Interpolación vs. ajuste 1.1.2.3.2. Polinomio de Taylor