On Do, 2015-05-14 at 00:35 +0200, lookman sanni wrote: > I have a project whereby I would be using a one and only form, which > is published by the European Union. I understand from your explanation > that the only way to use SDAPS would then be to have the .tex source > of that form, because the use of any pdf to LaTeX converter would > still show some discrepancies with the original file. Is that > correct ?
Well, you need to use SDAPS specific commands in the LaTeX class. It is not possible to automatically convert another format into something that SDAPS understands. Really, the only chance you have is to build a form that looks very similar using LaTeX. Or LibreOffice, both won't be trivial but it should be possible[1]. Otherwise you would need to write some sort of utility that takes an existing PDF document, lets the user select areas for detection and generates a survey for that[2]. Even with that SDAPS would still need to add its own corner marks and barcode(s)! Benjamin [1] There are still some things that cannot (easily) be changed. i.e. the location and size of the corner marks, the barcodes and the width of the box outlines. [2] Or manually generate the metadata (similar to the question.sdaps file that the LaTeX class produces). > On Wed, May 13, 2015 at 11:54 PM, Benjamin Berg > <[email protected]> wrote: > Hi, > > On Mi, 2015-05-13 at 00:28 +0200, lookman sanni wrote: > > I am pretty new to SDAPS and have a question regarding its > usage. I > > went through the tutorial of questionnaire creation, > printing, > > scanning and recognition. What remains unclear to me is how > he > > recognition process works. Does it rely on the defined LaTeX > layout. > > stored in the same working folder or it completely does it > from > > scratch ? > > It relies on the layout that the document had when the project > was > created. The LaTeX class writes out all the information (look > at the > questionnaire.sdaps file) which is parsed by SDAPS and stored > internally. So it is impossible to change the > layout/questionnaire after > the setup step. > > > Let's suppose I have an existing survey that I would like to > read > > optically. Should I first "clone" or rebuild the survey in > LaTex for > > SDAPS to be able to read through it? > > SDAPS needs to know the exact location of all the checkboxes. > It also > requires the barcodes and corner marks to be exactly as it > expects them > to be. > You really need to do everything with the utilities provided > by SDAPS, > using a print/scan of another (similar) document together with > SDAPS is > *not* possible. > > Hope this answers your question, > Benjamin > > > > > > -- > Best Regards > > Lookman SANNI >
signature.asc
Description: This is a digitally signed message part
