Values will be formatted to two decimal places. Specifies the number of digits that will appear after the decimal point. Values greater than a thousand will use a comma as a thousands separator. The thousands separator is used to divide the value into groups of three, right-to-left from the decimal point. Specifies a character or characters to use to as the thousands separator. Specifies the decimal separator (radix point) character(s) to use. The position "*" character specifies that a minimum of 2 decimal places are required. No decimal point is provided in the format string, therefore the value will appear as a whole number.Ĥ places are available after the decimal point - the output value is truncated, not rounded.Īs the characters "USD" do not have any special meaning, they appear untranslated in the output. The comma may be used to separate groups of digits. Only 2 positions are available after the decimal point. Used after the decimal point, the * character indicates the minimum number of characters that must appear.įor example, you can specify that a field must appear with at least two decimal places, but more will be output if required. May or may not be present as a divider between groups of digits, such as thousands, millions, etc. No rounding will be performed on the value. Specifies where the decimal point should appear and, by the use of the # character after the point, how many decimal places the number should be formatted to. The # character indicates where digits from the source field should appear. The two formatting strings are separated by a semi-colon ( ). The bottom line is, I’d like to see if anyone has dealt with something like this before or has any ideas for something that I’m not thinking of.A formatting string should be defined for when the field contains a positive number and a negative number. This wouldn’t work for the images, so I’d need another solution for that. Using my variable import script could work for the references, but I’d need to use a script to “flatten” them before exporting, and then undo that before saving. It seems to me that this would not be a very good fitģ. I have no idea what potential road blocks there might be here.Ģ. Keep and edit the entire book in XML form, and let InDesign do the layout. The issues here are described very well here: (unfortunately I didn’t see this article till I’d finished my variable import script.)ġ. I can easily export my references and image data from the database, I planned to use GREP styles to format the reference data. Given my background in web development, I studied a bit on ExtendScript, and pulling from several scripts that are around, I made a script that will import text variables from a text file. These all seem to be centered on variable data printing (catalogs, personalized mailing, etc.) and while I can see making one or more of them work for my needs, they’re all very far from being made to do what I need.ģ. Downloaded and worked with the trial version of: DataLinker, Eas圜atalog, InCatalog and InData. This obviously move it under the story’s node and broke it’s connection to the XML file.Ģ. After reading about how to import XML data and maintain the link to the data file, I fantasized that I could just drag the data I wanted from the structure panel, to the spot in the text where it belonged. In a perfect world, I’d have a panel in InDesign with a list of all the image IDs and with a click the image and caption would be inserted to the document, I’d have another panel with a list of reference IDs that would have the same functionality.ġ. Winston.) All of the data for both the photos and references are currently being stored in a database. So, here it is: I’ve got a book that has hundreds of photos (with captions) and over a thousand references (this kind of thing: Atkinson, J. I have a use case where I’d like to use a bunch of data from a database, but I’m not seeing anyone online who’s done or is doing what I’m trying to do.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |