Import without Adobe Tagged text files linked styles
I have several weekly publications that have a lot of data where the link to all the files in text format that contains the Adobe tag have suddenly, paragraph styles and character styles stripped on hoisted. I am aware of the issue of the default settings, where you uncheck everything and ensure that styles of character is none, and that doesn't seem to be the issue. More precisely
- Work in CS 5 (Version 7.0.4)
- Files in text format that contains the Adobe tag are exported from Excel spreadsheets
- InDesign documents have links to the files in the referenced text in Adobe format, and updated link is used inside InDesign update the text when the file is exported from the spreadsheet.
- When publications are open on my workstation, all files related to the Adobe Tagged text files are not imported properly, they return to the standard paragraph style.
- These aren't new documents that I design or new text files containing the Adobe tag, this is part of a production process that has worked without problem for years.
- The same documents are open on another post work, and put up-to-date used links, they come in perfectly, so it doesn't seem to be a document or file corruption problem, but a problem with my environment, or settings ID.
- This isn't a specific document or file, it's every single document that has a link to a text file that contains the Adobe tag (and we have many, I tried several!)
- I opened the text file in the text editor to check, but as I said: same document, the same files, I'm the only person who cannot be updated without stripping on styles.
Thank you! Nancy
Hi Nancy,.
It is worth noting that you point out that you have configured your desktop to create links when placing text and spreadsheet files. This means that you don't him aren't placing, you simply update the links, right? Is that mean that you saw as not this window in a while?
Suggestions only I can think of are:
(1) place a file tagged text (Show Import Options) checked to you reassure remove text formatting is not enabled by default on your workstation
or
(2) if the machine everyone behaves properly, your InDesign installation may be borked. First try to replace your preferences; If this does not work, reinstall.
Of course there is always
(3) I hope someone who knows more about text InDesign containing the tag appears and records in your thread.
Edit: Okay, maybe Peter will exercise option no. 3 above.
Tags: InDesign
Similar Questions
-
Export to text file paragraph Style
I have an InDesign document (several really), where I would like to extract all the text formatted with a paragraph style to create a glossary.
I looked at ChangeCaseofSelectedStyle ExportAllStories and Dave Saunder trying to cobble something together (my scripting skills are next to zero). I had that day, now I'm stuck and errors.
Any help?
If ((app.documents.length! = 0) & & (app.selection.length! = 0)) {}
myDoc = app.activeDocument;
myStyles = myDoc.paragraphStyles;
myStringList = myStyles.everyItem () .name;
myExportFormatList = ['Text only', 'RTF', 'Text referenced InDesign'];myDialog = app.dialogs.add var ({name: "ExtractParagraphByStyle"})
{with (MyDialog)}
{with (dialogColumns.Add ())}
with (dialogRows.add ()) {}
with (dialogColumns.add ()) {}
staticTexts.add ({staticLabel: "Style of paragraph :"});})
}
with (dialogColumns.add ()) {}
myStyle = dropdowns.add({stringList:myStringList,selectedIndex:0,minWidth:133});)
}
}
with (dialogRows.add ()) {}
with (dialogColumns.add ()) {}
staticTexts.add ({staticLabel: "export as :"}); "})
}
with (myExportFormatButtons = {radiobuttonGroups.add ())}
radiobuttonControls.add ({staticLabel: "Text only", checkedState:true});})
radiobuttonControls.add({staticLabel:"RTF"});)
radiobuttonControls.add ({staticLabel: "InDesign tagged text"});
}
}
}
}
myReturn = myDialog.show ();
If (myReturn == true) {}
Get the values of the dialog box.
myExportFormat = myExportFormatButtons.selectedButton;
myDialog.destroy;
myFolder is Folder.selectDialog ("select a file");.
If ((mondossier! = null) & & (app.activeDocument.stories.length! = 0)) {}
myExtractParagraphByStyle (myExportFormat, myFolder);
}
}
else {}
() myDialog.destroy; s
}
}myExportStories function handles the export of the stories.
myExportFormat is a number between 0-2, where 0 = text only, 1 = 3 = tagged text and rtf.
myFolder is a reference to the folder in which you want to save your files.
function myExtractParagraphByStyle (myExportFormat, myFolder) {}
for (myCounter = 0; myCounter < app.activeDocument.stories.length; myCounter ++) {}
monarticle = app.activeDocument.stories.item (myCounter);
myID = myStory.id;
{Switch (myExportFormat)}
case 0:
myFormat = ExportFormat.textType;
myExtension = 'txt '.
break;
case 1:
myFormat = ExportFormat.RTF;
myExtension = ".rtf".
break;
case 2:
myFormat = ExportFormat.taggedText;
myExtension = 'txt '.
break;
}
myFileName = "StoryID" + myID + myExtension;
CheminMonFichier = myFolder + "/" + myFileName.
myFile = new File (myFilePath);
myStory.exportFile (myFormat, myFile);
}
}
+++ Functions start here +++function errorExit (message) {}
If (arguments.length > 0) {}
If (app.version! = 3) {beep()} / / CS2 includes beep() function.
Alert (message);
}
Exit(); CS ends with a beep; CS2 left silently.
}The example script, export all the text to the file might give you some clues:
ExportAllText.jsx
An InDesign CS4 JavaScript
//
Export all the text in the active document with a single
text file. To do this, the script will create a new document,
combine the stories in the new document using export/import
and then export the text into the new document.
main();
main() {} function
mySetup();
mySnippet();
myTeardown();
}
function mySetup() {}
myDocument var = app.documents.add ();
myDocument.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.points;
myDocument.viewPreferences.verticalMeasurementUnits = MeasurementUnits.points;
myDocument.viewPreferences.rulerOrigin = RulerOrigin.pageOrigin;
myPage var = myDocument.pages.item (0);
var myTextFrameA = myPage.textFrames.add ();
myTextFrameA.geometricBounds = [72, 144, 72, 288];
myTextFrameA.contents = 'This is story 1.';
var myTextFrameB = myPage.textFrames.add ();
myTextFrameB.geometricBounds = [72, 300, 228, 288];
myTextFrameB.contents = 'This is the story 2.';
var myTextFrameC = myPage.textFrames.add ();
myTextFrameC.geometricBounds = [72, 444, 312, 288];
myTextFrameC.contents = 'This is the story of 3.';
}
function mySnippet() {}
//
If (app.documents.length! = 0) {}
If (. stories.length app.documents.item (0)! = 0) {}
myExportAllText (app.documents.item (0) .name);
}
}
//
}
function myTeardown() {}
}
//
function myExportAllText (myDocumentName) {}
var monarticle;
File name for the exported text. Specify a valid file on your system path.
var myFileName = "/ c/test.txt ';
If you want to add a line of separation between the floors, myAddSeparator set to true.
var myAddSeparator = true;
var myNewDocument = app.documents.add ();
var app.documents.item (myDocumentName) = myDocument;
var myTextFrame = myNewDocument.pages.item (0).textFrames.add ({geometricBounds:myGetBounds (myNewDocument, myNewDocument.pages.item (0))});
var myNewStory = myTextFrame.parentStory;
for (myCounter = 0; myCounter)< mydocument.stories.length;="">
monarticle = myDocument.stories.item (myCounter);
Export the story as tagged text.
myStory.exportFile (ExportFormat.taggedText, leader (myFileName));
Import (place) the file at the end of the temporary history.
myNewStory.insertionPoints.item(-1).place (File (myFileName));
If the imported text does not end with a return, enter a return
to keep the stories running together.
If (myCounter! = myDocument.stories.length-1) {}
If (myNewStory.characters.item(-1).contents! = '\r') {}
myNewStory.insertionPoints.item(-1).contents = "\r";
}
if(myAddSeparator == true) {}
myNewStory.insertionPoints.item(-1).contents = '-\r ";
}
}
}
myNewStory.exportFile (ExportFormat.taggedText, File("/c/test.txt));
myNewDocument.close (SaveOptions.no);
}
//
function myGetBounds (myDocument, myPage)}
var myPageWidth = myDocument.documentPreferences.pageWidth;
var myPageHeight = myDocument.documentPreferences.pageHeight
if(MyPage.Side == PageSideOptions.LeftHand) {}
var myPage.marginPreferences.left = myX2;
myX1 = myPage.marginPreferences.right var;
}
else {}
var myPage.marginPreferences.left = myX1;
myX2 = myPage.marginPreferences.right var;
}
var myY1 = myPage.marginPreferences.top;
myX2 var = myPageWidth - myX2;
var myY2 = myPageHeight - myPage.marginPreferences.bottom;
return [myX1, myY2, myY1, myX2];
} -
Import data from the text file to open the Document
This should seem simple, but I can't find a way to import a text file delimited to tab automatically on opening the document. I can open my form fill pdf document, select Forms > more form Options > data management > Import Data > change the bottom right "Text (*.txt) files" file type, select the file, then import with no problems. I can't find a way to do this automatically when the document opens. I know a *.fdf file will do, but my data are in a tab delimited text file. If this is not possible, is there a program or a script that will convert *.txt to import *.fdf? Thanks for your time. Steve
Have you looked at using custom JavaScript?
You will need to work on how the data file select the line form.
-
Importing data from a text file in a table
Hi Experts,
I have the following flat file
I need to insert the data that it contains in the following tableweekly_eft_repo 1.0 Page: 1 CDC:00304 / Sat Oct-31-2009 Weekly EFT Sweep for 25/10/09 - 31/10/09 Effective Date 03/11/09 Sat Oct-31-2009 22:06:14 ---------------------------------------------------------------------------------------------------------------------------------- Bill to Retailer Retailer Name Name on Bank Account Bank ABA Bank Acct On-line Amount Instant Amount Total Amount ======== ============================== ============================== ========== ==================== =============== =============== =============== 0200101 Triolet Popular Store Triolet Popular Store 111111111 62030100130659 10,868.00 0.00 10,868.00 0200103 Le Cacharel Snack Le Cacharel Snack 111111111 62030100130813 9,728.00 0.00 9,728.00 0200104 Advanced Co-operative Self Ser Advanced Co-operative Self Ser 111111111 111111111 7,334.00 0.00 7,334.00 0200105 Chez Popo Supermarket Chez Popo Supermarket 111111111 61030100044898 30,932.00 0.00 30,932.00 0200106 Vana Supermarket Vana Supermarket 111111111 111111111 17,775.00 0.00 17,775.00 0200107 Mont Choisy Store Mont Choisy Store 111111111 62030100130804 8,840.00 0.00 8,840.00 0200108 Vijay Store Vijay Store 111111111 62030100131229 16,416.00 0.00 16,416.00 0200109 Neptune Confection Neptune Confection 111111111 62030100130931 11,077.00 0.00 11,077.00 0200110 Antoine Store Antoine Store 111111111 111111111 2,470.00 0.00 2,470.00 0200111 P.S.C Cold Storage P.S.C Cold Storage 111111111 111111111 10,431.00 0.00 10,431.00 0200113 Mini Prix Boutique Mini Prix Boutique 111111111 62030100131501 26,315.00 0.00 26,315.00 0200114 Hotel Cassim Hotel Cassim 111111111 111111111 135,147.00 0.00 135,147.00 0200116 Aman Snack Aman Snack 111111111 62030100129481 7,334.00 0.00 7,334.00 0200117 Best For Less Company Ltd Best For Less Company Ltd 111111111 111111111 3,325.00 0.00 3,325.00 0200118 Central Way Central Way 111111111 111111111 25,137.00 0.00 25,137.00
What is the easiest and best to proceed on this?TABLE weekly_eft_report_temp Name Null? Type ----------------------------------------- -------- ---------------------------- BILL_TO_RETAILER NOT NULL VARCHAR2(15) RETAILER_NAME VARCHAR2(100) NAME_ON_BANK_ACCOUNT VARCHAR2(100) BANK_ABA VARCHAR2(1) BANK_ACCT VARCHAR2(1) ON_LINE_AMOUNT NUMBER INSTANT_AMOUNT NUMBER TOTAL_AMOUNT NUMBER
Thank you
KevinIf that's what you're looking for, then you can do
with t as ( select 'BILL_TO_RETAILER' col1 from dual union all select 'Some unwanted info' from dual union all select 'Some unwanted info' from dual union all select '==============' from dual union all select 'Actual Data' from dual union all select 'Actual Data' from dual union all select 'BILL_TO_RETAILER' from dual union all select 'Some unwanted info' from dual union all select 'Some unwanted info' from dual union all select '==============' from dual union all select 'Actual Data' from dual union all select 'Actual Data' from dual ) select col1 from ( select col1, last_value(val ignore nulls) over(order by rno) val1 from ( select t.*, case when col1 = 'BILL_TO_RETAILER' then 1 when regexp_like(col1,'=+') then 0 else null end val, rownum rno from t ) ) where val1 = 0 and not regexp_like(col1,'=+')
-
I use Filemaker to generate a tagged text file. I can't find the correct tags for a tab character and a tab on the right.
Quark, it was < \#9 > and < \t >, but when I look at the text in InDesign that contains the tag, the tabs do not appear as a tag in their own right. Any ideas? Or a different tack, does anyone know how to insert a 'leg' in a Filemaker calculation?
Thank you
Emma
I don't know if this helps you, but if you select any character in InDesign and go in the Info Panel (window > info or press F8) it will show the unicode character. A tabulation of withdrawal right is 0 x 8 unicode is then 0 x 0008
-
Hello
I have a script that exports a text selection into a temporary folder (Unicode) text file with label. This file is then loaded in a variable AS and transformed line-by-line for some changes to the text. Subsequently a new text file with the modified content is written.
Up to CS2 (and 10.4 PPC) this script worked like a charm. He stopped working with the new system and Intel. Meanwhile, I discovered that it must have something to do with encoding problems. «Everything in the old writing with ' as a unicode text "forced a mistake (since AS 2 each text is processed as UTF - 16), so I changed these lines to ' as text '.»
In addition, I realized, that InDesign exports to tag text Unicode like UTF-16 (little endian), but importing tagged text to UTF-16BE (big-endian). "As variables and" write iconv ' command uses MACROMAN, so I added a few conversions with ""and it worked.
Unfortunately the last conversion of MACROMA in UTF-16BE converts all spaces in the output string en normal spaces.
I am therefore a little at my end of the problem. Can someone help me please?
See you soon
Tobias
[InDesign 6.0.4 with AppleScript on Mac OS v2.0.1 X 10.5.8, Intel]
A code for the relevant parts:
Export as referenced text selection:
on TMPexportTaggedText(myFileName, myText, myEncoding) tell application "Adobe InDesign CS4" tell tagged text export preferences if myEncoding = "ascii" or myEncoding = 1 then set character set to ASCII else if myEncoding = "ansi" or myEncoding = 2 then set character set to ansi else if myEncoding = "unicode" or myEncoding = 3 then set character set to unicode else if myEncoding = "jis" or myEncoding = 4 then set character set to shift JIS else if myEncoding = "gb" or myEncoding = 5 then set character set to GB18030 else if myEncoding = "ks" or myEncoding = 6 then set character set to KSC5601 else set character set to ansi end if set tag form to abbreviated end tell export myText format tagged text to (myFileName) without showing options end tell tell application "Finder" try do shell script "iconv -f UTF-16LE -t UTF-16 " & (POSIX path of myFileName) & " > " & (POSIX path of myFileName) & "1" set myFileName to myFileName & "1" end try end tell end TMPexportTaggedText
Line and placement in InDesign (circleLines not the textual changes and throw a string with):
set theOutput to my circleLines(IN_File & "1", myOptions) if theOutput ≠ "" then tell application "Finder" open for access file (OUT_File & "1") with write permission write (theOutput) to file (OUT_File & "1") close access file (OUT_File & "1") try do shell script "iconv -f MACROMAN -t UTF-16BE " & (POSIX path of (OUT_File & "1")) & " > " & (POSIX path of OUT_File) do shell script "cat " & (POSIX path of OUT_File) & " | tr '\\n' '\\r'" end try end tell end if place (OUT_File) on curSel without showing options
The string output with
write (theOutput) to file (OUT_File & "1") as unicode text
an error of InDesign (bodychecking).The problem is not as long as ID's export is little-endian - someone ' one has not heard of Intel chips - but it does not add a byte order mark. If you add a BOM, the problem should go away. Here's how you can add a Bill adapted to an exported file to tag:
the fileRef value (open for access file "Macintosh HD:Users:shane:Desktop: Untitled - 16.txt" with write permission)
the value of x to read fileRef
Set x to character id {711, 731} & x - add THE BOM
write x to fileRef starting with 0
FileRef close access
Then you can read it using "text Unicode", and it should also cross-platform very well.
And stop putting your file read/write inside blocks Finder - is not the business of the Finder.
-
Is it possible to turn the dilemma 2 projects (.2qn file extension) in Adobe Captivate 8 projects? I tried to save the embarrassing situation in a text file, but Captivate wouldn't import correctly.
Hello
I've never seen such a method. I think you will find that you must simply recreate your dilemma inside Captivate project and forget all means of import.
The only thing that comes to mind would be to import the project dilemma in PowerPoint. (Assuming that such a thing exists) then import the PPT in Captivate. But you wouldn't be able to make everything connect.
See you soon... Rick
-
special characters in the text file import
My project requires me to import a text file into a dynamic text field using the loadVariables function. My problem is that the text file contains an ampersign '& '. It seems that the ampersign stops the rest of the text of any on my flash movie. Is there a special character or an escape character that I can use to allow me to import the ampersign?
I tried to use the & amp; and my dynamic text as HTML field. No luck. Oh... I use flash MX :(
Any ideas?I found a link that allows you to:
Example: & equivlant to 26%
It works for me!
Thanks for your suggestions. -
Hello Adobe support team,
We're going to go from the Adobe flash professional CS 6 to animate CC and we have already purchased licenses for our developer team. In all our former software projects, we have imported and exported text to the screen (xml_files) through the string table to assign the ID. It was very uncomfortable for us, because all our projects are multilingual. Now, we read in the animate using the channel Panel is obsolete with CC to animate. So our problem is how to manage our current programs where all text files are based on the Panel of the chain.
Find out here: How can I load external XML content to my HTML5 doc?
-
Display of text file as external table without trimming spaces
Hi all:
I am trying to display a text file of db break with initial spacing.
Well, it is not entirely related to the APEX.
It's table how external is created:
create the table u_x
(rowline varchar2 (255))
EXTERNAL ORGANIZATION
(
TYPE ORACLE_LOADER
DIRECTORY by DEFAULT ext_tab <-this is a dir command I created
access settings
(
records delimited by newline
notrim fields
)
LOCATION ("aaa.txt")
)
REJECT LIMIT UNLIMITED;
on the first line of the aaa.text (it's a report), it shows something like:
Sat Dec 29 Page 1
but when I select * from u_x, the result is:
Sat Dec 29 Page 1
all them above is done in the workshop sql command /sql APEX 4.2.1 (db 10.2.0.5)
Is it possible to preserve the spaces between "29" and "Page"?
(the result compressed all the in-between spaces instead of 1).
I think that the ideal way is to invoke Notepad to the customer to open the text file of the server.
in any case to generate the link?
Thank you
John
Finally, he made inside:
Application Builder > application 110 > Page 8 > report attributes > column attributes
with:
Column formatting
CSS class:
CSS style: white-space: pre; do-family: monospace;
If do in the header of the region, have to use this report template: default: HTML (Standard) \\u
Thanks for your help!
BTW, used classic report
-
Why the FF fix the links click on a text file, but IE10 works fine?
I'm composing a text file LibreOffice prepare for the publication of an e-book. In this text I incorporated hyperlinks to locations on the map Icelanders for the development system. I replaced these links with Google URL shortener for easy management and use.
When I test the links with FF as the default browser on this laptop under Win8/64, FF tries to open the pages of the card but stalls with no image displayed. In IE10, however, they work very well. These links also work on FF or IE on Windows 7/64 on my desktop.
In addition, when I click on the same link listed in my account Google shortened the list of URLS, it works in both FF and IE on this same laptop - only when the user clicks on the link in the doc file. fact FF fail to open the page target card. This is the case if the OL WRITE option 'Ctrl + click' or simply 'click' is specified.
Doc file: LibreOffice 4.1.x with hyperlinks embedded URL "googleized", usually a clickable link to graphic character after the place agreed.
Target Web site: http://atlas.lmi.is/kortasja_en/ zoom to specific locations.
Note that the http://atlas.lmi.is/kortasja_en/ page is a Flash object, so check the address bar to see if there is an icon to the left of the address bar on the blocking of the version of the Flash plugin.
-
My Internet EXPLORER Favorites list include several photos, text files and downloaded web pages, of which none appear when I import my Internet EXPLORER Favorites list in Firefox. Is there a way I can remember those?
There is a work around:
Export your IE Favorites to an HTML file, and then import it into Firefox. If you have questions more do not hesitate to ask.
-
Import data from text file of control of the ring.
Is it possible to import data to a text ring with labview control.
I have several definitions of register in the ring controls, but manual entry would take a lot of time.
Was wondering if there was more automatic way, I could read the values from a file.
Thank you
Jim
Using the first method gives you the ability to extend such that each column specifies a control of the ring if you need fill the multiple rings.
This example assumes that all of the three rings contain the same number of elements. If this isn't the case, you will need to create a Subvi, which removes the empty elements. [Edit - create a text file that contains a column for each ring, separated by a tab character.]
-
Write array of strings in the text file delimited by tabs without Report Generation Toolkit
I find that writing in the File.vi worksheet does not Append REAL mode. http://digital.NI.com/public.nsf/allkb/D1629D863F0442CC86256A0200558A15
That url describes a workaround solution is to first create a file in Excel, save and then writing adds to it. This is something that users of my compiled application will simply not do.
Writing File.vi measure generates tab limited text files but only takes some input signals.
I would take my array of strings and simply write that in a limited file tab. Is there really no way to go in LabVIEW without spending $500 one another?
-
Is it possible to get the details of the file (for example the subject and comments) off the screen and to an Excel file or a text file without having to retype this information
* original title - file details *.
Hello
Could you explain what is exactly? What do you mean by off the screen?
According to my way of thinking, you want to export the file details of all your files on your HARD drive to an excel file or a txt file. If I'm right in this case, it is not possible to export the details of each & every file in the excel sheet.
Maybe you are looking for
-
I'm still likely to encounter problems with 9.3.2?
I held off to install on my old iPad mini - did get the "bricking" problem solved? Or are there other unusual concerns with her now? Thank you Lynne
-
"authd: copy_rights: _server_authorize failed" is repeated in the newspaper every minute. How do I know what it's complaining about to solve it?
-
Satellite R630-155 - no express card slot
Hello I have a R630 155 and I have a PC card / Express card slot as far as I know. Toshiba manual shows that it would be just below the optical drive [cd] on the right side of the laptop, but I do not have such a slot. Anyone know if it is possible t
-
SBS 2008 STOP: c000021a [fatal system error]
I found myself, it's a pretty irritating position. My SBS 2008 Server has failed and cause me a lot of pain in the process. There was a fairly comprehensive backup plan in place, Acronis image (daily), picture Windows system (per day) and Bexec. The
-
Just bought a Microsoft Keyboard and Mouse (Wireless Comfort Desktop 5000). For some reason any mouse is pointing upwards and is not followed correctly. What seems to be the case after a few minutes of use tracking becomes unstable and it feels like