Convert within the text file

  Previous topic Next topic JavaScript is required for the print function  


Your choices here are 4:

1. cut out a header



2. make one change only

3. insert numbering

4. use a script to determine a whole set of changes. There is an sample to see.


If you make one change only you type something into the left box which gets replaced by what is in the right box. In the case above Dorothy will get changed to <Tab>+Dorothy, that is, the word Dorothy will get a tab inserted to its left. The tab was inserted simply by dragging it to the box above it, and when that happened {CHR(9)} appeared automatically being the syntax for a <Tab>. If you know the decimal number for a character you can specify it as {CHR(n)} or simply #n where n represents your number.

It might be best to check the confirm each box too if there's any danger of confusing two different Dorothies with each other. The box which is checked will get rid of excessive <Enter>s.


tog_minus        Insert numbering

This allows you to insert paragraph numbering into your corpus texts. When you click the specify numbering button you'll get options like these:



With these choices, for each of your texts, a string like <para "1">, <para "2"> etc. will get inserted at its start if the paragraph has at least 50 characters. The "only if containing" box allows you to specify that numbers only get inserted into paragraphs containing  a particular (case-sensitive) string of your choice, such as Ulan Bator.

Paragraphs here are identified simply as sequences ending in one <Enter>.


See also: convert whole file, sample conversion file, syntax, Text Converter Contents.

Page url: