You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created a label document (attached) with the variable tag in each of the label text boxes and a %SG_NEXT-RECORD% tag preceding it in all but the first label text box.
If I have a space between the two tags, "%SG_NEXT-RECORD% %VAR_Name-Address%", then ScribusGenerator correctly populates the label text box from the csv file.
If I don't have a space between the two tags, "%SG_NEXT-RECORD%%VAR_Name-Address%", then ScribusGenerator deletes the first word of the data merged from the csv file.
Since works with the first example, this is not urgent at the moment. However, I suspect it's not ideal behavior. I hope the samples help. I have the scribus documents and the csv file available, but apparently they are not supported file types here. So contact me if you need them.
I'm running scribus 1.5.5 on Windows 10 64 bit. Thanks to all who make it possible!
I couldn't find an easy fix for this problem. My current workaround when the space is not wanted is to select the %SG_NEXT-RECORD% portion of the text and reduce its size (in the text editor CTRL+T). Changing its size (or style) has the effect to create a separate scribus (ITEXT) element, and thus the script can differentiate between the two tags without having to add a space.
Maybe there's a better option, if you have some interest and time feel free to look at the regular expressions in function substituteData in ScribusGeneratorBackend.py.
I've created a label document (attached) with the variable tag in each of the label text boxes and a %SG_NEXT-RECORD% tag preceding it in all but the first label text box.
If I have a space between the two tags, "%SG_NEXT-RECORD% %VAR_Name-Address%", then ScribusGenerator correctly populates the label text box from the csv file.
If I don't have a space between the two tags, "%SG_NEXT-RECORD%%VAR_Name-Address%", then ScribusGenerator deletes the first word of the data merged from the csv file.
Since works with the first example, this is not urgent at the moment. However, I suspect it's not ideal behavior. I hope the samples help. I have the scribus documents and the csv file available, but apparently they are not supported file types here. So contact me if you need them.
I'm running scribus 1.5.5 on Windows 10 64 bit. Thanks to all who make it possible!
Sample No-Space.pdf
Sample W-Space.pdf
The text was updated successfully, but these errors were encountered: