08-11-2023, 08:24 AM
Earlier today I posted a Zip file with short text files, one per page. The file naming convention is one I routinely use, and is based on the page variables available in the IVTFF files.
The variable $Q has a single upper case character identifying the quire, where A=1 and T=20.
The variable $P has a single upper case character identifying the 'page in quire', starting at A and running up to whatever is the limit. For several reasons, some letters may be skipped. However, the $P variable increases as one leafs through the quire.
Page file name EN.txt refers to quire E (5), page-in-quire N, which turns out to be f39v.
This system has several advantages:
- all file names have the same pattern
- you can identify the quire from the file name
- the regexp ??.txt expands to the complete set of pages in the right order
Unfortunately, these names are unfamiliar and not easily mapped to the normal folio names.
Of course, the regexp f*.txt would expand to all pages in the MS using the familiar folio names, but not in the right order.
Perhaps I have a simple script somewhere (227 lines long) that renames all files, but I won't bet on it as I never needed it. It would probably take about 10 minutes of copying, pasting and modifying, which is unfortunately error-prone.
The variable $Q has a single upper case character identifying the quire, where A=1 and T=20.
The variable $P has a single upper case character identifying the 'page in quire', starting at A and running up to whatever is the limit. For several reasons, some letters may be skipped. However, the $P variable increases as one leafs through the quire.
Page file name EN.txt refers to quire E (5), page-in-quire N, which turns out to be f39v.
This system has several advantages:
- all file names have the same pattern
- you can identify the quire from the file name
- the regexp ??.txt expands to the complete set of pages in the right order
Unfortunately, these names are unfamiliar and not easily mapped to the normal folio names.
Of course, the regexp f*.txt would expand to all pages in the MS using the familiar folio names, but not in the right order.
Perhaps I have a simple script somewhere (227 lines long) that renames all files, but I won't bet on it as I never needed it. It would probably take about 10 minutes of copying, pasting and modifying, which is unfortunately error-prone.

