Replies: 4 comments 5 replies
-
The documents you list (letters, invoices, envelopes and even printed return receipts) looks doable to me. If you were asking about more text like documents like magazines, scientific papers or such, I'd say TeX is more suitable. Your third point is not possible with the speedata Publisher, but it may be possible to create n separate data files and one publishing run for each data file. That said, I suggest you try to create a document and if you have questions, don't hesitate to ask. I cannot answer the question if the Publisher is the right tool for you, but I can help you to find out. |
Beta Was this translation helpful? Give feedback.
-
I have seen that there that CSV files may be read (and converted to XML, https://doc.speedata.de/publisher/en/advancedtopics/preprocessing/#_read_csv_files). The ability to generate single documents is essential for us. Of course, I have to learn how to Publisher myself. But I need to know whether it is going to fit. Imagine the following CSV data:
The following XML source: <p><variable:c1/> has the following subjects: <variable:c2/></p> And the layout: <Layout
xmlns="urn:speedata.de:2009/publisher/en"
xmlns:sd="urn:speedata:2009/publisher/functions/en">
<!-- <Options mainlanguage="en" /> not required, luatex defaults this -->
<Trace hyphenation="yes" />
<LoadFontfile name="CrimsonPro-Regular" filename="CrimsonPro-Regular.ttf" />
<DefineFontfamily name="textfont" fontsize="9" leading="11">
<Regular fontface="CrimsonPro-Regular"/>
</DefineFontfamily>
<Pageformat width="100mm" height="50mm"/>
<Record element="p">
<PlaceObject>
<Textblock fontfamily="textfont">
<Paragraph>
<Value select="."/>
</Paragraph>
</Textblock>
</PlaceObject>
</Record>
</Layout> I don’t know how to get individual PDF documents (only by merging CSV and XML data), containing each the following content:
This is the most basic way of sampling what I need to achieve. Many thanks for your help. |
Beta Was this translation helpful? Give feedback.
-
@pr-apes currently there is no way to start another sp process from the Lua filter, so the last idea does not at the moment. |
Beta Was this translation helpful? Give feedback.
-
Just in case you're still interested, the speedata Publisher can now run external programs from the Lua preprocessing state (version 4.9.7, command is |
Beta Was this translation helpful? Give feedback.
-
@pgundlach,
I have some templates in ConTeXt (written about five years ago [or so I was told]).
These help to generate different PDF documents (letters, invoices, envelopes and even printed return receipts), used by other people.
Although the system is pretty efficient in solving the document generation needs, it is a pain for me to extend (or even modify) it.
My have extremely basic coding abilities (no actual programming knowledge) and very limited exposure to XML, ConTeXt and Lua.
I was told that your Publisher could be a tool for this task.
I must confess that Publisher looks pretty amazing and the examples look gorgeous.
I wonder whether Publisher may fit our needs.
Our main requirements are very strict, mainly because of workflows (which cannot be changed):
Mail merging capabilities reading data for template from a CSV file.
All different document classes should be generated from a single template.
Mail merging should generate single PDF files (not imposed from a single PDF document).
Before starting to learn Publisher I need to summarize the requirements for this project.
The above list doesn’t contain all requirements (I have to elaborate further), but I think these ones are a must.
As a first question to decide whether I should go for it (or use another tool), will Publisher be the right tool for me?
Many thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions