Bug #1490

TBX: 0.7.7, start automatic numbering at 1 instead of 0 in TXT based import modules

Added by Serge Heiden over 4 years ago. Updated 9 months ago.

Status:New Start date:09/10/2015
Priority:Urgent Due date:
Assignee:- % Done:

10%

Category:Import Spent time: -
Target version:TXM X.X

Description

The Clipboard and TXT+CSV import modules try to encode lines and paragraphs in texts. While doing that they add an automatically incremented 'n' property numbered starting from '0'.

For example:
  • line number for words: 'lbid' starts from 0
  • paragraph number: 'n' starts from 0

Users are not used to '0', they are more used to numbering starting at '1'.

Moreother independant tools they may use to verify if the import process was correct, for example to read a particular line in a source file (for example in a text editor), use numbering starting from 1.

Solution

If an import module wants to automatically number an element in a corpus, the numbering has to start at '1'.

History

#1 Updated by Matthieu Decorde over 4 years ago

  • % Done changed from 0 to 10

Done for TXT+CSV import module

#2 Updated by Matthieu Decorde about 4 years ago

  • Target version changed from TXM 0.7.8 to TXM 0.8.0a (split/restructuration)

#3 Updated by Sebastien Jacquot over 1 year ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0

#4 Updated by Matthieu Decorde 9 months ago

  • Target version changed from TXM 0.8.0 to TXM X.X

Also available in: Atom PDF