One input file - multiple output files - haml

Is it possible to have one input HAML file which produces multiple output files in one folder.
Request is to have one price list for products with links to individual product descriptions which is basically the same html file with small differences.
Is this possible ONLY in HAML?

Related

search within a pdf file and print automatically

I have a pdf file with 1400 pages containing resumes.. there is an excel sheet with list of unique id for each candidate.. is there some tool which could search those ids one by one and print pages containing them.
searching them one by one and printing is very time consuming. there are more then 700 candidates.

Table of content entries without heading

I'm working on auto generated word documents that consist of multiple test reports.
I want to automatically create a table of contents where one entry refers to one report.
But I can't simply use headings because each entry should contain info that is not on one line in the report.
Something like this:
No.
Test Id
Description
Result
Page number
1
ANZ-131QZXY
UV Light test
Passed
3
2
ANZ-132QYXX
Heat resistence test
Failed
8
I know how I can retrieve the information from the individual reports in VBA but I got stuck on how to generate the table. Is it even possible to add entries manually to a ToC without a heading existing?
PS: I use Word 365 and it's important that the ToC will work when saving the document as PDF.

Azure Data Factory - How to create multiple datasets and apply different treatments on files in same blob container?

Starting up with Azure Data factory here.
I have a scenario where I gather csv files (different sources and formats/templates) that I store in a single Azure blob container. I would like to extract the data to an SQL DB. I need to apply different treatments to the files before pushing the data to SQL, based on the format. The format is indicated in each file name (for example: Myfile-formatA-20201201).
I am unclear on my pipeline / datasets setup. I assume I need to create a new (input) dataset for each CSV format, but cannot find a way to create differentiated datasets by relying on the different naming pattern. If creating a single input dataset instead, I can create a pipeline with differentiated copy activity using the same single dataset created in input and applying different filtering rules (relying based on my files naming pattern) - which seems to be working fine for files having the same encoding, column delimiters etc.. but as expected, fails for other files that do not.
I could not find any official information on how to to apply filters on creating multiple datasets from files contained in the same container. Is it possible at all? Or is a prerequisite to store files with different format in different containers or directories?
I created a test to copy different format csv in one pipeline.Then select different copy activities according to the file name. I think this is the answer you want.
In my container, I created csv in two formats:
Creat a dataset to the input container:
Edit: Do not specify a file in the File Path
Using Get Metadata1 activity to get the Child items.
The output is as follows:
Then in ForEach1 activity, we can traverse this array. Add dynamic content #activity('Get Metadata1').output.childItems to the Items tab.
5.Inside ForEach1 activity, we can use Switch1 activity and add dynamic content #split(item().name,'-')[1] to the Expression. It will get the format name. Such as: Myfile-formatA-20201201 -> formatA.
Case default, we can copy csv files of fortmatA.
Edit: in order to select only files of with "formatA" in their name, in the copy activity, use the Wildcard file path option:
enter image description here
Key in #item().name , so we can specify one csv file.
Add formatB case:
Then use the same source dataset.
Edit: as in previous step, use the Wildcard file path option:
enter image description here
That's all. We can set different sink at these Copy activities.

Export multiple files with InDesign Data Merge

I am creating progress reports around 50 different companies in InDesign. The report is 10 pages long and has approximately 40 images and text fields that need to change based on the company.
I set up a data merge in InDesign and mapped all of the text and image fields. When I execute the data merge the text and images are mapping perfectly but it's creating one large 500 page report (10 pages x 50 companies). I.e. Report for Company A is on pages 1-10, report for Company B is on pages 11-20, and so on.
While I could break this up into individual reports in AcrobatPro, this step seems like it should be unnecessary. How can this be automated, preferably within InDesign? And how would I then be able to save each file based on a field in the merge csv?
I agree with Nicolai, I don't think default data merge option can create split documents.
Maybe you can use the following script to split your documents into the parts
https://creativepro.com/free-script-splits-long-indesign-files/

Concatenate pdf and add table of contents

I have several pdf files (say chapters of a book) and I want to concatenate them and add a table of contents to the resulting pdf.
No original pdf file has a table of contents. Simple numbers as the table of contents is more than fine.
I know that I can concatenate the pdf files using tools such as pdftk. Another possibility would be to use LaTeX to create table of contents and include each pdf file.