From radfordp at sales.oregonian.com Fri Jun 20 18:21:40 2008 From: radfordp at sales.oregonian.com (Radford Parsons) Date: Fri Jun 20 18:40:14 2008 Subject: [EmData] Alternating Greybar question Message-ID: <485BCB04020000FA0000FEE3@gw.oregonian.com> I am producing an employment advertisement, comprised of liners and columns--a perfect construct for InData. I have set the prototype to create a six-field, horizontal grid, separated by headlines. Here is my question: Is is possible to set (within the data, for instance) a "field-independent" command that will create an alternating greybar listing (for readibility)? I have not been able to find a prototype command that will create this effect without duplicating the listing, other than to add an additional "empty/not empty" field. I've attempted an ?if/else? statement but the effect is the same: duplication. The database from which I'm drawing is restricted to a six-field grid. Has anyone encountered/overcome this InData challenge? Thank you. R. Parsons "The Oregonian" From emma.glaisher at fourninety.com Sat Jun 21 04:17:10 2008 From: emma.glaisher at fourninety.com (Emma Glaisher) Date: Sat Jun 21 04:39:42 2008 Subject: [EmData] Alternating Greybar question References: <485BCB04020000FA0000FEE3@gw.oregonian.com> Message-ID: <87DCBE43E5529041AB7E2CD4C377EDCF17CAD1@ms-001-mail01.mediasquare.net> Yes. There is a command recordnumber(true) which returns the record number being handled. It sounds like you want a greybar every alternate line? So ?if recordnumber(true) mod 2 = 1? will be true for odd lines. The actual bar should be handled via InDesign - in Quark I would create 2 paragraph styles, one with a rule above starting slightly below the type and wide enough to encompass all the text, the other with no rule. You then need to put two lines in your Prototype to cover both possibilities: ?if recordnumber(true) mod 2 = 1? Put in the text with the rule ?else? Put in the text without the rule ?endif? This is described on p94 of my XData Users Guide, under the heading 'Doing something every nth record'. Good luck! -----Original Message----- From: data-users-bounces@emsoftware.com on behalf of Radford Parsons Sent: Fri 6/20/2008 11:21 PM To: data-users@emsoftware.com Subject: [EmData] Alternating Greybar question I am producing an employment advertisement, comprised of liners and columns--a perfect construct for InData. I have set the prototype to create a six-field, horizontal grid, separated by headlines. Here is my question: Is is possible to set (within the data, for instance) a "field-independent" command that will create an alternating greybar listing (for readibility)? I have not been able to find a prototype command that will create this effect without duplicating the listing, other than to add an additional "empty/not empty" field. I've attempted an ?if/else? statement but the effect is the same: duplication. The database from which I'm drawing is restricted to a six-field grid. Has anyone encountered/overcome this InData challenge? Thank you. R. Parsons "The Oregonian" _______________________________________________ Data-users mailing list Data-users@emsoftware.com http://mail.emsoftware.com/mailman/listinfo/data-users - - Inbound email: This email has been scanned for viruses by MessageLabs (Fourninety) - - Fourninety Limited, a member company of the Media Square plc group. Registered in England No. 3737606. Registered address Clarence Mill, Clarence Road, Bollington, Cheshire. SK10 5JZ Confidentiality Notice: The information in this document and any attachments are confidential. It is intended only for the use of the named recipient. If you are not the intended recipient please notify us immediately and delete this document. The contents on this document must not be disclosed to any other person nor may any copies be taken. The views of the author may not represent the views of the Company. Security Warning: This e-mail has been created in the knowledge that Internet e-mail is not a 100% secure communications medium. All liability for any claims arising as a result of using this medium to transmit information by us or to us is excluded to the extent permitted by law. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://emsoftware.com/pipermail/data-users/attachments/20080621/f3eabdc6/attachment.html From agrant at Artcraft.com Mon Jun 23 11:24:10 2008 From: agrant at Artcraft.com (Ariana Grant) Date: Mon Jun 23 11:47:17 2008 Subject: [EmData] Help with importing problems Message-ID: <888A3CE1E931C945A313D6C5FAEB600C7F4E43@EXCHANGE1.Artcraft2007.com> Hi all, I am working on an Xdata template the issues are arising when the data is being imported. I can only get one file to appear, and not all the time, only with certain excel/text/csv files. not all and not all of the data will show up, the new box character does show up in the "empty fields" but none of the information is there does anyone have any suggestions??? here is my prototype if that helps: ?fields fullname, title, businessunit, legalentity, address1, address2, city, state, zipcode, tel, fax, direct, mobile, webaddress, email ?if fax is empty ?put "" into PH2 ?else ?if fax is not empty ?put " " & "fax +1 " & fax & return into PH2 ?endif ?if direct is empty ?put "" into PH3 ?else ?if direct is not empty and fax is not empty ?put "direct +1 " & direct & " " into PH3 ?else if direct is not empty and fax is empty ?put "direct +1 " & direct & " " & return into PH3 ?endif ?if mobile is empty ?put "" into PH4 ?else ?if mobile is not empty and fax is empty and direct is empty then put "mobile +1 " & mobile & return into PH4 ?else if mobile is not empty and fax is not empty and direct is not empty then put "mobile +1 " & mobile into PH4 ?endif??endif??fullname? ?if trim(title) is not empty??title? ?endif??if trim(businessunit) is not empty??businessunit??endif? ?if trim(legalentity) is not empty??legalentity? ?endif??if length(address1) + length(address2) >50 ?address1? ?address2? ?city? ?state? ?zipcode? ?else if length(address1) + length(address2) <=50 ?if address1 is not empty and address2 is not empty??address1? ?address2? ?city? ?state? ?zipcode? ?else if address1 is not empty and address2 is empty??address1? ?city? ?state? ?zipcode? ?endif?tel ?tel? ?trim(PH2 & PH3 & PH4)??if tel is not empty OR fax is not empty OR direct is not empty OR mobile is not empty? ?endif??if trim(email) is not empty??email??endif??if trim(webaddress) is not empty? ?webaddress? ?endif??endif??endif??endif? Ariana Grant *************************** Prepress Department The Artcraft Company, Inc. agrant@artcraft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://emsoftware.com/pipermail/data-users/attachments/20080623/cad96e3b/attachment.html From support at emsoftware.com Mon Jun 23 13:36:01 2008 From: support at emsoftware.com (Joe Mathia - Em Support) Date: Mon Jun 23 13:57:09 2008 Subject: [EmData] Help with importing problems In-Reply-To: <888A3CE1E931C945A313D6C5FAEB600C7F4E43@EXCHANGE1.Artcraft2007.com> Message-ID: Hi Ariana, There were some issues with file selectability in earlier versions of Xdata for Quark 7. These have been addressed in more recent releases; you might want to try the latest: http://www.emsoftware.com/products/xdata/beta/ Regarding the import problems, it is really impossible to say without seeing your actual files, though it sounds like it is either a problem with your fields statement, or (shudder) something in your logic. Anyhow, if you could zip up and send us your quark document/Xdata prototype and your data file (please be sure that the data file as a header row so that we know what we are looking at), we can have a look. Regards, Joe Mathia Em Software Support / support@emsoftware.com / www.emsoftware.com (+1) 740 284 1010, fax (+1) 740 284 1210 On 6/23/08 11:24 AM, "Ariana Grant" wrote: > Hi all, > I am working on an Xdata template > the issues are arising when the data is being imported. > I can only get one file to appear, and not all the time, only with certain > excel/text/csv files. > not all and not all of the data will show up, the new box character does show > up in the "empty fields" > but none of the information is there > > does anyone have any suggestions??? > here is my prototype if that helps: > > ?fields fullname, title, businessunit, legalentity, address1, address2, city, > state, zipcode, tel, fax, direct, mobile, webaddress, email > > ?if fax is empty > > ?put "" into PH2 > > ?else > > ?if fax is not empty > > ?put " " & "fax +1 " & fax & return into PH2 > > ?endif > > ?if direct is empty > > ?put "" into PH3 > > ?else > > ?if direct is not empty and fax is not empty > > ?put "direct +1 " & direct & " " into PH3 > > ?else if direct is not empty and fax is empty > > ?put "direct +1 " & direct & " " & return into PH3 > > ?endif > > ?if mobile is empty > > ?put "" into PH4 > > ?else > > ?if mobile is not empty and fax is empty and direct is empty then put "mobile > +1 " & mobile & return into PH4 > > ?else if mobile is not empty and fax is not empty and direct is not empty then > put "mobile +1 " & mobile into PH4 > > ?endif??endif??fullname? > > ?if trim(title) is not empty??title? > > ?endif??if trim(businessunit) is not empty??businessunit??endif? > > > > ?if trim(legalentity) is not empty??legalentity? > > ?endif??if length(address1) + length(address2) >50 > > ?address1? ?address2? > > ?city? ?state? ?zipcode? > > ?else if length(address1) + length(address2) <=50 > > ?if address1 is not empty and address2 is not empty??address1? ?address2? > ?city? ?state? ?zipcode? > > ?else if address1 is not empty and address2 is empty??address1? ?city? ?state? > ?zipcode? > > ?endif?tel ?tel? ?trim(PH2 & PH3 & PH4)??if tel is not empty OR fax is not > empty OR direct is not empty OR mobile is not empty? > > ?endif??if trim(email) is not empty??email??endif??if trim(webaddress) is not > empty? ?webaddress? > > ?endif??endif??endif??endif? > > > > Ariana Grant > *************************** > Prepress Department > The Artcraft Company, Inc. > agrant@artcraft.com > > > _______________________________________________ > Data-users mailing list > Data-users@emsoftware.com > http://mail.emsoftware.com/mailman/listinfo/data-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://emsoftware.com/pipermail/data-users/attachments/20080623/51fac860/attachment-0001.html From jojo.mendoza at chronicle.com Tue Jun 24 13:12:29 2008 From: jojo.mendoza at chronicle.com (Jojo Mendoza) Date: Tue Jun 24 13:33:23 2008 Subject: [EmData] Putting Comments In-Reply-To: Message-ID: I want to comment out some lines in my prototype. Here?s an example: ?fields data1, data2, data3, data4 Data1: ?data1? Data2: ?data2? Data3: ?data3? Data4: ?data4? Data5: ?data5? When I run the prototype, I get this, which is what I wanted to get. Data1: This Data1 Data2: This Data2 Data3: This Data3 Data4: This Data4 Data5: data5 Data1: Good1 Data2: Good2 Data3: Good3 Data4: Good4 Data5: data5 Data1: Apple1 Data2: Apple2 Data3: Apple3 Data4: Apple4 Data5: data5 But what if I don?t want the whole line Data3 and Data4 to appear? Instead of deleting those 2 lines, (Data3 and Data4) how can I comment it so that the results will be: Data1: This Data1 Data2: This Data2 Data5: data5 Data1: Good1 Data2: Good2 Data5: data5 Data1: Apple1 Data2: Apple2 Data5: data5 I want to comment certain lines in case I need to use it in the future. Thanks in advance for your assistance. ------ Jojo Mendoza Information Systems Department The Chronicle of Higher Education 202-416-1345 jojo.mendoza@chronicle.com www.chronicle.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://emsoftware.com/pipermail/data-users/attachments/20080624/3ed0c366/attachment.html From support at emsoftware.com Tue Jun 24 16:16:17 2008 From: support at emsoftware.com (Joe Mathia - Em Support) Date: Tue Jun 24 16:37:14 2008 Subject: [EmData] Putting Comments In-Reply-To: Message-ID: Hi Jojo, The correct mechanism to use would be if...endif conditionals. For instance, you could do something like: ?fields data1, data2, data3, data4 > Data1: ?data1? > Data2: ?data2? > ?if data3 is not empty?Data3: ?data3? > ?endif??if data4 is not empty?Data4: ?data4? > ?endif?Data5: ?data5? Does this help? Regards, Joe Mathia Em Software Support / support@emsoftware.com / www.emsoftware.com (+1) 740 284 1010, fax (+1) 740 284 1210 On 6/24/08 1:12 PM, "Jojo Mendoza" wrote: > I want to comment out some lines in my prototype. > > Here?s an example: > > ?fields data1, data2, data3, data4 > Data1: ?data1? > Data2: ?data2? > Data3: ?data3? > Data4: ?data4? > Data5: ?data5? > > > When I run the prototype, I get this, which is what I wanted to get. > > Data1: This Data1 > Data2: This Data2 > Data3: This Data3 > Data4: This Data4 > Data5: data5 > Data1: Good1 > Data2: Good2 > Data3: Good3 > Data4: Good4 > Data5: data5 > Data1: Apple1 > Data2: Apple2 > Data3: Apple3 > Data4: Apple4 > Data5: data5 > > But what if I don?t want the whole line Data3 and Data4 to appear? Instead of > deleting those 2 lines, (Data3 and Data4) how can I comment it so that the > results will be: > > Data1: This Data1 > Data2: This Data2 > Data5: data5 > Data1: Good1 > Data2: Good2 > Data5: data5 > Data1: Apple1 > Data2: Apple2 > Data5: data5 > > I want to comment certain lines in case I need to use it in the future. Thanks > in advance for your assistance. > > ------ > > Jojo Mendoza > Information Systems Department > The Chronicle of Higher Education > 202-416-1345 > jojo.mendoza@chronicle.com > www.chronicle.com > > > > > _______________________________________________ > Data-users mailing list > Data-users@emsoftware.com > http://mail.emsoftware.com/mailman/listinfo/data-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://emsoftware.com/pipermail/data-users/attachments/20080624/b75164a6/attachment.html From iseli at dtp-magic.ch Thu Jun 26 07:00:05 2008 From: iseli at dtp-magic.ch (Iseli) Date: Wed Jun 25 07:21:15 2008 Subject: [EmData] Indata Put marked Message-ID: <486376B5.3020809@dtp-magic.ch> Hi I would like to force gladly with PUT MARKED (Headers) a change of the Stylesheet in a Prototype of Indata. Example ?If field1 is "A"??put "" & Field1 into Field1??put Field1 marked Z??endif? The result of Field 1 should be "A" The Stylesheet is not converted in the marked Text Y of the masterpage (defaultisstyled is true) Is that possible and does give it a correct construction for it? Thanks fo an answer Urs -- +++++++++++++++++++++++++ DTP Magic GmbH Schaffhauserstrasse 111 8180 B?lach Tel. 043 928 26 88 Fax 043 928 24 48 Mail: info@dtp-magic.ch +++++++++++++++++++++++++ From support at emsoftware.com Wed Jun 25 07:15:38 2008 From: support at emsoftware.com (Joe Mathia - Em Support) Date: Wed Jun 25 07:36:38 2008 Subject: [EmData] Putting Comments In-Reply-To: Message-ID: Hi Jojo, Should have included this in my original reply. If you?re just trying to exclude those fields w/out actually deleting them from the prototype then the comment designator might be appropriate, like: ?-- Data3: ?data3? ?-- Data4: ?data4? Regards, Joe Mathia Em Software Support / support@emsoftware.com / www.emsoftware.com (+1) 740 284 1010, fax (+1) 740 284 1210 On 6/24/08 4:16 PM, "Joe Mathia - Em Support" wrote: > Hi Jojo, > > The correct mechanism to use would be if...endif conditionals. > > For instance, you could do something like: > > ?fields data1, data2, data3, data4 >> Data1: ?data1? >> Data2: ?data2? >> ?if data3 is not empty?Data3: ?data3? >> ?endif??if data4 is not empty?Data4: ?data4? >> ?endif?Data5: ?data5? > > Does this help? > > Regards, > > Joe Mathia > Em Software Support / support@emsoftware.com / www.emsoftware.com > (+1) 740 284 1010, fax (+1) 740 284 1210 > > > > > On 6/24/08 1:12 PM, "Jojo Mendoza" wrote: > >> I want to comment out some lines in my prototype. >> >> Here?s an example: >> >> ?fields data1, data2, data3, data4 >> Data1: ?data1? >> Data2: ?data2? >> Data3: ?data3? >> Data4: ?data4? >> Data5: ?data5? >> >> >> When I run the prototype, I get this, which is what I wanted to get. >> >> Data1: This Data1 >> Data2: This Data2 >> Data3: This Data3 >> Data4: This Data4 >> Data5: data5 >> Data1: Good1 >> Data2: Good2 >> Data3: Good3 >> Data4: Good4 >> Data5: data5 >> Data1: Apple1 >> Data2: Apple2 >> Data3: Apple3 >> Data4: Apple4 >> Data5: data5 >> >> But what if I don?t want the whole line Data3 and Data4 to appear? Instead of >> deleting those 2 lines, (Data3 and Data4) how can I comment it so that the >> results will be: >> >> Data1: This Data1 >> Data2: This Data2 >> Data5: data5 >> Data1: Good1 >> Data2: Good2 >> Data5: data5 >> Data1: Apple1 >> Data2: Apple2 >> Data5: data5 >> >> I want to comment certain lines in case I need to use it in the future. >> Thanks in advance for your assistance. >> >> ------ >> >> Jojo Mendoza >> Information Systems Department >> The Chronicle of Higher Education >> 202-416-1345 >> jojo.mendoza@chronicle.com >> www.chronicle.com >> >> >> >> >> _______________________________________________ >> Data-users mailing list >> Data-users@emsoftware.com >> http://mail.emsoftware.com/mailman/listinfo/data-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://emsoftware.com/pipermail/data-users/attachments/20080625/582e5460/attachment.html From radfordp at sales.oregonian.com Thu Jun 26 02:01:53 2008 From: radfordp at sales.oregonian.com (Radford Parsons) Date: Thu Jun 26 02:20:19 2008 Subject: [EmData] Duplication Error Message-ID: <4862CE61020000FA00010143@gw.oregonian.com> I am writing simple ?If...? conditional statements to produce real estate listings. Some include Open inline graphics and others just bold text. The problem I'm encountering is duplication, primarily with statements involving inline graphics. I set the graphic with an InDesign object style; it runs in fine. However, InData produces an immediate duplicate listing--WITHOUT the graphic--following the previous listing. Nothing I do to the prototype seems to alter this fact (i.e. ?if...else? statements). Has anyone experiened/overcome this type of duplication? Thanks in advance. R. Parsons From emma.glaisher at fourninety.com Thu Jun 26 04:07:27 2008 From: emma.glaisher at fourninety.com (Emma Glaisher) Date: Thu Jun 26 04:28:34 2008 Subject: [EmData] Duplication Error In-Reply-To: <4862CE61020000FA00010143@gw.oregonian.com> Message-ID: This is a long shot... I've had a similar experience with data exported from a Filemaker database. The database picks up images by sku code from a separate database. For some reason if there is more than one image with that name, a second copy of the record gets imported. Check your data by flowing in the text without InData - are there actually 2 records? If not, there must be something wrong in your logic. Can you post the prototype and a sample of the data? Emma on 26.06.2008 07:01, Radford Parsons at radfordp@sales.oregonian.com wrote: > I am writing simple ?If...? conditional statements to produce real > estate listings. Some include Open inline graphics and others just bold > text. The problem I'm encountering is duplication, primarily with > statements involving inline graphics. I set the graphic with an InDesign > object style; it runs in fine. However, InData produces an immediate > duplicate listing--WITHOUT the graphic--following the previous listing. > Nothing I do to the prototype seems to alter this fact (i.e. ?if...else? > statements). > > Has anyone experiened/overcome this type of duplication? > > Thanks in advance. > > R. Parsons > _______________________________________________ > Data-users mailing list > Data-users@emsoftware.com > http://mail.emsoftware.com/mailman/listinfo/data-users > > - - > Inbound email: This email has been scanned for viruses by MessageLabs > (Fourninety) - - Fourninety Limited, a member company of the Media Square plc group. Registered in England No. 3737606. Registered address Clarence Mill, Clarence Road, Bollington, Cheshire. SK10 5JZ Confidentiality Notice: The information in this document and any attachments are confidential. It is intended only for the use of the named recipient. If you are not the intended recipient please notify us immediately and delete this document. The contents on this document must not be disclosed to any other person nor may any copies be taken. The views of the author may not represent the views of the Company. Security Warning: This e-mail has been created in the knowledge that Internet e-mail is not a 100% secure communications medium. All liability for any claims arising as a result of using this medium to transmit information by us or to us is excluded to the extent permitted by law. From support at emsoftware.com Thu Jun 26 09:43:55 2008 From: support at emsoftware.com (Joe Mathia - Em Support) Date: Thu Jun 26 10:04:58 2008 Subject: [EmData] Duplication Error In-Reply-To: Message-ID: Hi Radford, It does sound like a data issue, but it is hard to be sure without seeing your files. There is a limit to the file size that you can send to the data-users address, so please be sure to cc support@emsoftware.com, and I'll be happy to have a look. Please be sure to zip your files before sending. Regards, Joe Mathia Em Software Support / support@emsoftware.com / www.emsoftware.com (+1) 740 284 1010, fax (+1) 740 284 1210 On 6/26/08 4:07 AM, "Emma Glaisher" wrote: > This is a long shot... I've had a similar experience with data exported from > a Filemaker database. The database picks up images by sku code from a > separate database. For some reason if there is more than one image with that > name, a second copy of the record gets imported. > > Check your data by flowing in the text without InData - are there actually 2 > records? If not, there must be something wrong in your logic. Can you post > the prototype and a sample of the data? > > Emma > > > on 26.06.2008 07:01, Radford Parsons at radfordp@sales.oregonian.com wrote: > >> I am writing simple ?If...? conditional statements to produce real >> estate listings. Some include Open inline graphics and others just bold >> text. The problem I'm encountering is duplication, primarily with >> statements involving inline graphics. I set the graphic with an InDesign >> object style; it runs in fine. However, InData produces an immediate >> duplicate listing--WITHOUT the graphic--following the previous listing. >> Nothing I do to the prototype seems to alter this fact (i.e. ?if...else? >> statements). >> >> Has anyone experiened/overcome this type of duplication? >> >> Thanks in advance. >> >> R. Parsons >> _______________________________________________ >> Data-users mailing list >> Data-users@emsoftware.com >> http://mail.emsoftware.com/mailman/listinfo/data-users >> >> - - >> Inbound email: This email has been scanned for viruses by MessageLabs >> (Fourninety) > > > - - > Fourninety Limited, a member company of the Media Square plc group. Registered > in England No. 3737606. Registered address Clarence Mill, Clarence Road, > Bollington, Cheshire. SK10 5JZ > > Confidentiality Notice: The information in this document and any attachments > are confidential. It is intended only for the use of the named recipient. If > you are not the intended recipient please notify us immediately and delete > this document. The contents on this document must not be disclosed to any > other person nor may any copies be taken. The views of the author may not > represent the views of the Company. > > Security Warning: This e-mail has been created in the knowledge that Internet > e-mail is not a 100% secure communications medium. All liability for any > claims arising as a result of using this medium to transmit information by us > or to us is excluded to the extent permitted by law. > _______________________________________________ > Data-users mailing list > Data-users@emsoftware.com > http://mail.emsoftware.com/mailman/listinfo/data-users >