![]() Inside Publisher, I create a box with a unique name (like a textbox) and also templates for text and tables If we had christmas today and if I had the chance to get a present, I would wish for a simple concept to import data into publisher. Also some variables might be inserted by the data merge function, I'm not sure if it was ever designed for that many replacements where some take whole paragraphs in length. That doesn't mean that I don't like the product, but I'm not sure if it's functions are sufficient this single purpose. So I wanted to get the best of both worlds and miserably failed, because scripting is, as far as I know, actually not a big part of Affinity Publisher. For that purpose we luckily have tools like Affinity Publisher.) It's possible, but it's hard work and not really intended. Of course LaTeX creates really great looking documents for many use-cases in science but not for highly customable design which was, and will probably never be, its purpose what's absolutely fine. (I hope I didn't offend any member of the Science / LaTeX community with my last scentence. Why? Because for being honest, it is kind of a pain to create nice-looking documents with LaTeX. I really like Affinity Photo and Designer, so I just wanted to give the Publisher a fair chance and look how a usecase might look there. ![]() ![]() on evaluations for departments, where a table is created for each department)Īdds some text passages for different purposes It adds a dynamic number of tables at some parts of the text with a pre-defined number of rows and columns (think e.g. Pathes to images (or for being more precise, no absolute file names are used, so instead of adding images from C:\myfolder\default_template\graphs, images are just lying in the "graphs" folder of the actual folder where the python script adds some graphs to)ĭue to the fact that I can split a document ober several files, it might just overwrite parts of the document with other files (that might be specified for a special customer) ![]() The script also copies a default LaTeX document to a specified folder and changes My actual LaTeX dataflow looks like that:Ī python script collects data from several sources and evaluates a lot of data / variables from them I really love LaTeX, a tool that was definetly not designed for creating fancy brochures or reports. It is true that I tried to use the data merge function for something it was probably never designed for: For creating automated reports. In the described situation I asked myself if I have overseen something obvious, but perhaps it's just me. It is just a suggestion, but in my humble opinion, an error message (at any point) might be handy for a user while trying to insert data from a second data source due to the fact that actually nothing really happends when trying to insert data from a second source. I think I'm now able to understand the idea behind the whole function. Thanks for your excelent reply which makes things a lot more clear to me. It's not currently possible to use more than one data source to merge a single output page, I'm not convinced that's desirable, it certainly would create a lot of complications regarding advancing the merge index and running out of you could explain your use-case more fully perhaps I can suggest a way to make it work. The multiple sources feature is designed for switching between alternatives (eg a small test and larger production data source) or for merging different page ranges in a document with different data sources (eg a catalog where each chapter has a different template page and a different data source file). You can even Point to an " afphoto"-File that will be linked in the Document and displayed there -> Picture frame. will only be the "dot" and nothing there.Ĭurrently we have an excel sheet that gets the Source-files, format and arrange them with Formulas and link that file to Publisher. At the moment, if you have a record with 8 fields and another with 7, the 8. For an count / specification-List it would be great. If there are empty, the field will not be skipped. I think the best would be, if Publisher gets some sort of "Logic" like: If = "" or NULL then "" else and those Fields are formated. So it is up to the User to fill the source File. When the record is empty Publisher will ignore / write "" in it. It's not currently possible to use more than one data source to merge a single output page, I'm not convinced that's desirable, it certainly would create a lot of complications regarding advancing the merge index and running out of records. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |