How to preserve XML comments in indesign cs4 document
Hi,
I have the below table xml with me:
<?xml version="1.0" encoding="UTF-8"?>
<informaltable xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/" xmlns:aid5="http://ns.adobe.com/AdobeInDesign/5.0/" aid:table="table" aid5:tablestyle="UNTABLE" aid:trows="4" aid:tcols="2" float="0">
<!--tgroup aid:table="table" aid5:tablestyle="UNTABLE" aid:trows="24" cols="2" colsep="0" rowsep="0" align="left"--><!--colspec colnum="1" colname="c1" align="left" colwidth="25"/--><!--colspec colnum="2" colname="c2" align="left" colwidth="25"/--><!--thead--><Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="129" valign="top"><para aid:pstyle="CR_H1">Chronology:</para></Cell><Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="129" valign="top"><para aid:pstyle="CR_H1">14,000 Years Ago to 1590 c.e.</para></Cell>
<!--/thead--><!--tbody--><Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="129" valign="top"><para aid:pstyle="CR_UNTBL"><emphasis aid:cstyle="BOLD" role="strong">14,000 years ago</emphasis></para></Cell><Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="129" valign="top"><para aid:pstyle="CR_UNTBL">Early Paleo-Indians in Florida and Pennsylvania regions, and also in Monte Verde, Chile.</para></Cell>
<Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="129" valign="top"><para aid:pstyle="CR_UNTBL"><emphasis aid:cstyle="BOLD" role="strong">13,900 to 12,900</emphasis></para></Cell><Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="129" valign="top"><para aid:pstyle="CR_UNTBL">Clovis hunters spread</para></Cell>
<Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="129" valign="top"><para aid:pstyle="CR_UNTBL"><emphasis aid:cstyle="BOLD" role="strong">years ago</emphasis></para></Cell><Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="129" valign="top"><para aid:pstyle="CR_UNTBL">across North America.</para></Cell>
<!--/tbody--><!--/tgroup--></informaltable>
I am able to import this xml in to indeisgn document successfully. But when I export the same table out of Indesign, the xml comment <!--tgroup... is not exported.
Is there any method to preserve the comment on export. Please suggest a solution for this.
Thanks,
Gopal
You must include the comment() as one of the elements that you select to process.
It is best to use xsl:value-of or xsl:copy-of with select="informaltable/comment()" to avoid processing comments from other parts of your XML file. In other words, always make the processing of comment() specific to the location where you need to extract the content of the comment.
Similar Messages
-
How to create a smallest file size pdf from indesign CS4 document
How to create a smallest file size pdf (suitable for upload to a website) from indesign CS4 document which contains multiple illustrator CS4 illustrations.
I have chosen the "smallest file size option" but the pdf file is over 30MB, can anyone help please.
Thank youOne trick is to
Set the placed graphics to have a transparency of 99.9% (you can do this with Find/Change and select Objects)
This is enough to force the graphics throught the Transparency Flattener
Next set the Transparency Blend Space to RGB (Edit>Transparency Blend Space)
Next set a custom Transparency Flattner Preset Edit>Transparency Flattner
Next
Use File>Export and choose
Smallest file size
PDF Compatibility Acrobat 4 (PDF 1.3)
In Advanced Section - go to transparency and selec the new Flattener Preset you created.
*this will convert your vectors to raster, but it should reduce your file size -
How can I buy or license InDesign CS4? (I need to work in CS4 for a client, even though I have a CC subscription.)
There's no way to buy CS4 any longer through official reseller channels. If you can get the work done in 30 days you can use a trial, which you can download at Download and Installation Help
-
Color issue in an InDesign CS4 document
Something strange is happening in an InDesign CS4 document: All of my my objects that use RGB color swatches appear darker (or grayer) in the document than the RGB swatches themselves. It might be that all of the objects are converting to CMYK and I'm not getting the true RGB colors within this document. Oddly, when I copy an object from this document – say, a simple shape with 100% color fill – into a new document, the object renders correctly with RGB in the new document. That makes me think I've got a universal setting within the original document that is converting my colors strangely. (Potential clue: In the new document, when I click on an RGB swatch, the Swatch Options box shows the Color Mode as RGB, making the color correct. In the original document, when I click on the same swatch color, the Color Mode says System (Macintosh). But when I switch it to RGB, I see a warning icon referring to Out of Gamut color, and when I click on the Gamut correction, it renders the RGB swatch as the off-color I'm trying to avoid.) Is there a universal setting change I should make in the original document so my colors render correctly on screen (I'm trying to use the Web Color Mode)? Thanks!
Brilliant, Peter, thank you. I wouldn't have figured that out on my own. Oddly, the Edit Menu settings had been modified and I had to search to even find the Transparency Blend Space menu. Once I did and reset the Menus, I could switch the CMYK to RGB (no idea how that got switched), and the colors are as they should be. Thanks so much!
-
Add xml Tags in Indesign CS4 by Apple/Java script
Hi,
All, I'm new to Indesign Scripting, and I'm hoping someone can help me with the following add xml tags in my xml indesign cs4 files.
I have IDML (ETMV2) xml Indesign CS4 files. But i have lots of powermath equation without xml tags. So i want how i can insert xml tags.
My probleam like this =>
<no open xml tags>[&x^{2}+y_{3}&]<no close xml tags>
I want like this (But i do manualy)
<inlineequation><inlinemediaobject><textobject role="xpressmath">[&x^{2}+y_{3}&</textobject></inlinemediaobject></inlineequation>
Can anyone write/suggest me how i can add xml Tags. By Apple/Java Script
Any insight is appreciated!
snegigHi,
John Hawkinson thank you so much your suggestion.
I am new this type of discusion (on this page). So i think anybody could not replay my answer. So i repost my question.
I want insert tags in my Indesign CS4 files. Is this posible when i select my powermath equaiton then run script. Script add tags automatically before/after my equation. Please ignore IDML word.
Yes i an comfortable with XSLT presently i working with Pearson ETMV2.
I have one more question when i past my snapshot its appear properly but when i agin see my commant then my snapshot disappear (see small blue rectangle).
Thank you John again i am new in this industry please guide.
snegig -
How to reveal XML tags in InDesign CS5.5?
I'm trying to tag a business catalog for an XML export. I've never done it before - but our sister company has done the same task with a similar catalog. I can view their catalog in InDesign CS5.5 for Windows over a VPN connection in order to see how they tagged their catalog.
I'm doing this task on a Mac using InDesign CS4. The interfaces are not the same. The biggest problem is the sister company is in Czech and so is InDesign. I need to open the tags pane. On the Mac, its just "Window>>Tags." There is a "Window" (Okna) menu, but I'm not seeing a "Tags" choice. I have the structure open, but I want to see all the little colored tags. How do I reveal these on the Windows CS5.5 version?
ThanksWouldn't it be View > Structure > ... ?
-
XML Comment in Indesign using Apple script.
Hi all,
How to find the selected XML element is commented in indesign and get XML comment value in thru apple script. Any Ideas?
-JacinthaYou can have as many comments as you want so they require you to state the index of the comment in your reference.
Assuming you have an object reference for the XML element, you would replace "associated XML element of selection" with that.
tell application "Adobe InDesign CS3"
set myComments to {}
if every XML comment of associated XML element of selection is not {} then
set end of myComments to value of every XML comment of associated XML element of selection
end if
return myComments
end tell
if you know there's only going to be one comment then,
tell application "Adobe InDesign CS3"
if every XML comment of associated XML element of selection is not {} then
set myComment to value of XML comment 1 of associated XML element of selection
end if
return myComment
end tell
~Mike -
How to hyphenate page ranges in InDesign CS4 Index
Hello,
Does anyone know how to automatically hyphenate page ranges in an index in InDesign CS4? In other words, if I generate an index with a reference on multiple consecutive pages, it looks like this:
Entry 1, 4, 5, 6, 7, 8, 9, 10
Obviously, this is much more cluttered than if it could read:
Entry 1, 4-10
I'm wondering if anyone knows whether there is an option to cause InDesign to do this automatically. I'd hate to have to go through and do it by hand.
Thanks in advance,
Professor FThanks very much, Jong, this is a helpful start. Unfortunately, it creates a new problem for the one it solved; when I run it, it will insert page numbers after the first letter of the index entry. So
Certificate of insurance 389, 390, 391, 392
becomes:
C, 389–92
ertificate of insurance 390, 392
I regret that I don't know anything about scripting. Is there some way to fix this, either through InDesign settings or by adjusting Peter's script?
Many thanks!
F -
Hi,
I have loaded XML files into my table of XML Type . I have comments in XML file. This comments are important to us and I want to extract this comments . How can we extract the comments present in XML file. I was not able to find any function which can do it.
Thanks,
Ramesh.Hi Ramesh,
First of all, instead of posting three times in different forums, why not provide relevant details such as database version and a sample XML?
Generally, XML comments are not meant to be extracted.
If they contain so important data then most likely that data should be stored in regular element or attribute nodes.
Here's an example using XQuery though :
SQL> create table tmp_xml of xmltype;
Table created
SQL>
SQL> insert into tmp_xml values (
2 xmltype('<root>
3 <!-- this is a comment -->
4 <item/>
5 <!-- this is another comment -->
6 </root>')
7 );
1 row inserted
SQL>
SQL> select x.comment_text
2 from tmp_xml t
3 , xmltable(
4 '/descendant::comment()'
5 passing t.object_value
6 columns comment_text varchar2(200) path '.'
7 ) x
8 ;
COMMENT_TEXT
this is a comment
this is another comment -
How to find different styles from Indesign CS4 Grap style?*
Hi,
I would like to know how to find two different character style from a single grap command in Indesign CS4.
For instance, A word having bold/italic character style following with punctuation having normal/none character style.
Thanks for your help!
Regards,
BharatWith GREP styles you can search text only, not formatting.
Peter -
How can I allow commenting in a certified document/
In Acrobat Pro 9, I created a certified document by selecting "Certify with out Visible Signature." I tried all three settings in "Permitted Changes after Certifying" but my PDF still does not allow commenting in Reader. The PDF allowed commenting before I certified it---how can I enable commenting after certification?
Tags are independent of PDF page content. Removing/deleting a page or page(s) does not remove anything in the PDF's structure tree.
As Full Check is looking at the structure tree the report reflects what is present there.
In the Tags panel walk the structure tree to locate the Table tags. Delete these.
Be well... -
How to trigger xml publisher API (ex:Delivering Documents via e-Mail)?
Dear All:
How to use xml publisher API ?
In user's guide always talk API's code.(ex:Delivering Documents via e-Mail
// create delivery manager instance
DeliveryManager dm = new DeliveryManager();
// create a delivery request
DeliveryRequest req =
dm.createRequest(DeliveryManager.TYPE_SMTP_EMAIL);
// set email subject
req.addProperty(DeliveryPropertyDefinitions.SMTP_SUBJECT, "Invoice");
// set SMTP server host
req.addProperty(
DeliveryPropertyDefinitions.SMTP_HOST, "mysmtphost");
// set the sender email address
req.addProperty(DeliveryPropertyDefinitions.SMTP_FROM,
"[email protected]");
// set the destination email address
req.addProperty(
DeliveryPropertyDefinitions.SMTP_TO_RECIPIENTS,
"[email protected], [email protected]" );
// set the content type of the email body
req.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_TYPE,
"text/html");
// set the document file name appeared in the email
req.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_FILENAME,
"body.html");
// set the document to deliver
req.setDocument("/document/invoice.html");
// submit the request
req.submit();
// close the request
req.close(); )
Not say how to use this code to account effect !!
Having anybody to use API before?
Please tell me how to use that,thanks!!
BY Emily_yeHi Emily
I had the same question. After much research and a lot of deduction I produced the following:
import oracle.apps.fnd.cp.request.*;
import java.io.*;
import java.sql.*;
import java.util.Vector;
import oracle.apps.fnd.util.*;
import oracle.apps.xdo.XDOException;
import oracle.apps.xdo.common.pdf.util.PDFDocMerger;
import oracle.apps.xdo.delivery.DeliveryException;
import oracle.apps.xdo.delivery.DeliveryManager;
import oracle.apps.xdo.delivery.DeliveryPropertyDefinitions;
import oracle.apps.xdo.delivery.DeliveryRequest;
import oracle.jdbc.driver.OracleCallableStatement;
public class RunTravProgram implements JavaConcurrentProgram {
CpContext mCtx; // global reference to concurrent program context
LogFile logFile; // global reference to context logfile
OutFile outFile; // global reference to context outfile
Connection mConn = null;
ReqCompletion lRC;
//File Separator
private String mFileSeparator;
// globals for template
String XDOAppShortName = "";
String XDOtemplateCode = "";
// hard-wired constants for template addition
final String XDOLanguage = "en";
final String XDOTerritory = "US";
final String XDOFinal_format = "PDF";
final String XDOtemplateType = "TEMPLATE_SOURCE";
String PDFFile = "";
String outFilePath = "";
String progShortName = "";
String progDesc = "";
Integer iRequestID = 0;
String sWatermark = ""; // watermark text
String emailAddress = ""; // Not Implemented
String emailServer = "";
public static final String M_SUCCESS = "SUCCESS";
public static final String M_ERROR = "ERROR";
public static final String M_WARNING = "WARNING";
* Create a Java FND ConcurrentRequest objec to call fnd_request.submit_request
* The first three parameters are:
* Application Short Name -- Application Short name (ie. WAHC)
* Current Program Short Name -- Concurrent Program being called
* Current Program Description -- description for above
* These should be the first three parameters passed by the concurrent
* program in this order. The next two are constants set to null
* These are followed by the parameters passed by the first concurrent
* program that are being passed to the next concurrent program.
* I am limiting the parameter list to ten for now.
// Dynamic PLSQL statement used to get a concurrent request completion status
// This is necessary because the java class does not provide this method :-(
String mGetCompleteStatus =
"DECLARE R_VAL BOOLEAN; " + "b_phase VARCHAR2 (80) := NULL; " +
"b_status VARCHAR2 (80) := NULL; " +
"b_dev_phase VARCHAR2 (80) := NULL; " +
"b_dev_status VARCHAR2 (80) := NULL; " +
"b_message VARCHAR2 (240) := NULL; " + "BEGIN " +
"r_val := fnd_concurrent.wait_for_request (:1,5,1000," +
"b_phase,b_status,b_dev_phase,b_dev_status,b_message); " +
":2 := b_phase; " + ":3 := b_status; " + ":4 := b_message; " + "end;";
public RunTravProgram() {
// no constructor necessary for now
* Concurrent Processing provides an interface 'JavaConcurrentProgram' with abstract method
* runProgram() which passes the concurrent processing context 'CpContext'. The concurrent
* program developer will implement all of their business logic for a concurrent program in
* runProgram(). The main() method, implemented by AOL, will call runProgram() after
* performing all of the required initialization for the concurrent program, including
* establishing a database connection, initializing the required contexts, and setting up
* the log and output files. CpContext will have the request specific log and output
* file input methods
public void runProgram(CpContext pCpContext) {
mCtx = pCpContext;
OracleCallableStatement lStmt = null;
boolean bCompletion = true;
String sPhase = "";
String sStatus = "";
String sMessage = "";
//get handle on request completion object for reporting status
lRC = pCpContext.getReqCompletion();
// assign logfile
logFile = pCpContext.getLogFile();
// assign outfile
outFile = pCpContext.getOutFile();
// assign fileseparator
mFileSeparator = getFileSeparator();
// get the JDBC connection object
mConn = pCpContext.getJDBCConnection();
outFilePath =
((new File(outFile.getFileName())).getParent() == null ? "" :
(new File(outFile.getFileName())).getParent() +
mFileSeparator);
logFile.writeln("OutFile File Path: -> " + outFilePath, 0);
// get parameter list object from CpContext
// these come from the concurrent program
ParameterList lPara = pCpContext.getParameterList();
// create a temporary array and retrieve the parameters created by
// the program. Currently limiting the number of parameters to 10 for now
String pvals[] = new String[10];
int pcount = 0;
while (lPara.hasMoreElements()) {
NameValueType aNVT = lPara.nextParameter();
pvals[pcount] = aNVT.getValue();
pcount++;
if (pcount > 9)
break;
// send parameter values to the log file
logFile.writeln("Arg 1: APPL_SHORT_NAME -> " + pvals[0], 0);
logFile.writeln("Arg 2: CURR_PROG_SHORT_NAME -> " + pvals[1], 0);
logFile.writeln("Arg 3: CURR_PROG_DESCRIPTION -> " + pvals[2], 0);
logFile.writeln("Arg 4: TEMPLATE_CODE -> " + pvals[3], 0);
logFile.writeln("Arg 5: P_PLANT_CODE -> " + pvals[4], 0);
logFile.writeln("Arg 6: P_BATCH_NO -> " + pvals[5], 0);
logFile.writeln("Arg 7: P_SHOW_PROMISE -> " + pvals[6], 0);
logFile.writeln("Arg 8: P_WATERMARK -> " + pvals[7], 0);
XDOtemplateCode = pvals[3]; // store the template name globally
progShortName = pvals[1]; // store the program short name globally
XDOAppShortName = pvals[0]; // store the application short name
sWatermark = pvals[7]; // store the watermark globally
progDesc = pvals[2];
try {
// create a concurrent request object
ConcurrentRequest cr = new ConcurrentRequest(mConn);
// use the parameters to call fnd_request.submit_request
cr.addLayout(XDOAppShortName, XDOtemplateCode, XDOLanguage,
XDOTerritory, XDOFinal_format);
Vector param = new Vector();
param.add(pvals[4]); // plant code
param.add(pvals[5]); // batch ID
param.add(pvals[6]); // Show SO info flag
iRequestID =
cr.submitRequest(XDOAppShortName, progShortName, progDesc,
null, false, param);
mConn.commit();
// send the request ID to the log file
logFile.writeln("-- Request ID: ->" + Integer.toString(iRequestID),
0);
// call fnd_concurrent.wait_for_request to wait until the request
// has ended - use this to check the request status before proceeding
lStmt =
(OracleCallableStatement)mConn.prepareCall(mGetCompleteStatus);
lStmt.setInt(1, iRequestID);
lStmt.registerOutParameter(2, java.sql.Types.VARCHAR, 0, 255);
lStmt.registerOutParameter(3, java.sql.Types.VARCHAR, 0, 255);
lStmt.registerOutParameter(4, java.sql.Types.VARCHAR, 0, 255);
lStmt.execute();
// get the results of the completion
sPhase = lStmt.getString(2);
sStatus = lStmt.getString(3);
sMessage = lStmt.getString(4);
lStmt.close();
// send the results of the request processing to the log file
logFile.writeln("-- Phase: -> " + sPhase, 0);
logFile.writeln("-- Status: -> " + sStatus, 0);
logFile.writeln("-- Message: -> " + sMessage, 0);
// test here to make sure it completed correctly
if (sPhase.equals("Completed") && sStatus.equals("Normal")) {
// construct the PDF file name generated by the called request
PDFFile = progShortName + "_" + iRequestID + "_1.pdf";
// add a watermark to the generated PDF
// create an output stream for the existing PDF
// and set ouput to append
OutputStream pdfout =
new FileOutputStream(outFilePath + PDFFile, true);
// create an inputstream array (required by calling method)
InputStream pdfin[] = new InputStream[1];
pdfin[0] = new FileInputStream(outFilePath + PDFFile);
// add the watermark passed as a parameter
bCompletion = addWatermark(pdfin, pdfout);
// assign the modified file to the context out
// this will print using this request
if (bCompletion)
outFile.setOutFile(outFilePath + PDFFile);
// release the connection object
// and set the completion status for the request
if (bCompletion) {
pCpContext.getReqCompletion().setCompletion(ReqCompletion.NORMAL,
} else {
lRC.setCompletion(ReqCompletion.WARNING, M_WARNING);
pCpContext.releaseJDBCConnection();
} catch (SQLException s) {
logFile.writeln("SQL Error: Exception thrown w/ error message: " +
s.getMessage(), 0);
lRC.setCompletion(ReqCompletion.WARNING, M_WARNING);
pCpContext.releaseJDBCConnection();
} catch (IOException ioe) {
logFile.writeln("IO Error: Exception thrown w/ error message: " +
ioe.getMessage(), 0);
lRC.setCompletion(ReqCompletion.WARNING, M_WARNING);
pCpContext.releaseJDBCConnection();
} catch (Exception e) {
logFile.writeln("General Exception: " + e.getMessage(), 0);
lRC.setCompletion(ReqCompletion.WARNING, M_WARNING);
pCpContext.releaseJDBCConnection();
} finally {
try {
if (lStmt != null)
lStmt.close();
pCpContext.releaseJDBCConnection();
} catch (SQLException e) {
logFile.writeln(e.getMessage(), 0);
lRC.setCompletion(ReqCompletion.WARNING, M_WARNING);
* addWatermark()
* @param pdfin
* @param pdfout
* @return boolean
* This method will work for an existing document or a newly generated
* one. Set the outputstream append flag to false for a new document
* and true for an existing one.
* NOTE: PDFDocMerger requires an inputstream array even if it only
* contains one document.
private boolean addWatermark(InputStream[] pdfin, OutputStream pdfout) {
if (!sWatermark.equals("")) {
try {
PDFDocMerger docMerger = new PDFDocMerger(pdfin, pdfout);
//docMerger.setTextDefaultWatermark(sWatermark);
docMerger.setTextWatermark(sWatermark, 80f, 50f);
docMerger.setTextWatermarkAngle(25);
docMerger.setTextWatermarkColor(1.0f, .50f, .50f);
docMerger.setTextWatermarkFont("Garamond", 100);
docMerger.process();
docMerger = null;
return true;
} catch (XDOException e) {
logFile.writeln("Watermark process Failed: " + e.getMessage(),
0);
return false;
return true;
* Returns the file separator
private String getFileSeparator() {
return (System.getProperty("file.separator"));
* EBSEmailDelivery
* @return
* Just for testing right now.
private boolean EBSEmailDelivery() {
if (!emailAddress.equals("")) {
try {
// create delivery manager instance
DeliveryManager delMgr = new DeliveryManager();
// create a delivery request
DeliveryRequest delReq =
delMgr.createRequest(DeliveryManager.TYPE_SMTP_EMAIL);
// set email subject
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_SUBJECT,
"EBS Report:" + progDesc +
" for request: " + iRequestID);
// set SMTP server host
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_HOST,
emailServer); // need to supply the email smtp server
// set the sender email address
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_FROM,
emailAddress);
// set the destination email address
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_TO_RECIPIENTS,
emailAddress);
// set the content type of the email body
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_TYPE,
"application/pdf");
// set the document file name appeared in the email
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_FILENAME,
PDFFile);
// set the document to deliver
delReq.setDocument(outFilePath + PDFFile);
// submit the request
delReq.submit();
// close the request
delReq.close();
return true;
} catch (DeliveryException de) {
logFile.writeln("email process Failed: " + de.getMessage(), 0);
return false;
return true;
This is the class for a JCP I created to perform the following:
1) Launch an existing Concurrent Program that produces PDF output
2) Grab the PDF and apply a watermark based on user input or conditions
3) associate the modified PDF to CP output for PASTA printing
It isn't elegant but it is fairly simple. I added the email capability and tested it but am not implementing it at the present time.
there is a fair amount of information out there that explains how to create a JCP councurrent program but very little that demonstrates the class needed.
I hope this helps -
InDesign CS4 documents won't stay minimized
My newspaper just went to InDesign as our pagination software, switching over from Quark, and we love it. However, there is one nagging issue with it that we cannot seem to figure out, so I thought I'd toss it out here.
There are times, of course, when you want to minimize your page into the dock to tend to business in other application windows on your desktop. However, when you minimize an InDesign page/document, after a certain period of time, the window will spontaneously maximize back up onto the desktop.
Basically, we'd like to know how to keep an InDesign page/document minimized until we want it to be maximized. We don't want it to bounce back up of its own volition, we want it to maximize when we decide it should be maximized.
We are running Mac OS X 10.6.4.
Thanks in advance for any help.This happens to us, too. Drives me nuts.
In my case, it doesn't happen spontaneously or randomly, but when I have one or more pages minimized in the dock and open a NEW page to work on, the last page I was working on opens first. I don't want that one! If I did, I'd open it. I want to work on the NEW one.
Why does InDesign do this?
Does anyone have an answer?
Roshana -
How do I make comments on a pdf document that was sent to me?
I have windows XP and Reader 7.0. Is there a way to enable "edit" so that I can make "comments" on a pdf. document that was sent to me? withought spending $$$ for pro?
Thanks Sabian. It took me a while to figure out that "close Acrobat Reader 7.0" actually meant "delete it". After loading 10.1.2 I followed the instructions to send my pdf file and Internet Explorer decided to "quit" right in the middle of the process. ?? I'll try to use Chrome to see if that helps.
-
I need to know how to import xml files into indesign cs6.
My client wants to send me xml text files to import into Indesign for a multi-page publication. I don't have a clue where to start. Can you point me to a tutorial that would help me figure this out?
I have a sample file that looks like this:
<?xml version="1.0"?>
<providers>
<provider>
<name>Bow Valley College</name>
<description>Putting the Community back in college…in the Bow Corrid
ANY TIME, ANY PLACE, ANY PATH, ANY PACE LEARNING.
Designated as the comprehensive community college for Calgary & its
surrounding region, Bow Valley College offers you learning opportunities
through flexible delivery options, including classrooms, online or self
paced modules. Whether you are taking a course for interest, to enhance
your career skills or to finish high school you have access to all of the
traditional Bow Valley College student supports.
Visit our website [2] or come see us at our Canmore campus.
BOW VALLEY LEARNING COUNCIL MEMBER.
Links:
[1] http://www.bowvalleycollege.ca/bow-corridor.html
</description>
<contact_information>Canmore Campus
Provincial Building, 800 Railway Ave.
Canmore, AB  T1W 1P1
OFFICE HOURS: 8:30am - 4:30pm, Monday - Friday (except from 12 - 1pm)
PHONE: (403) 678-3125
FAX: (403) 678-3127
BANFF CAMPUS: Lower Level, Banff YWCA, 102 Spray Ave., Banff (ONLY OPEN
WHEN COURSES OFFERED). </contact_information>
<email>[email protected]</email>
<website>www.bowvalleycollege.ca/bow-corridor</website>
<registration_information>Cancellation policy: Once your course has begun no refunds or credits will
be given. Compassionate grounds may be considered with official
documentation. There are no refunds, transfers, or credits if you cancel
within one week of the course start date.
BY PHONE: (403) 678-3125. Payment by Visa or Mastercard
IN PERSON: Canmore Campus, Provincial Building, 800 Railway Ave., Canmore.
Payment by cash, Visa or Mastercard.
 
FUNDING ASSISTANCE MAY BE AVAILABLE FOR THOSE ON A LOW INCOME ON SOME
COURSES. PLEASE ASK FOR MORE INFORMATION.</registration_information>
<courses>
<course>
<title>Computer Basics/Windows 7 - Instructor led, Canmore</title>
<description>An instructor will lead the class through the basic features of Microsoft
Windows, the Internet and Email. Find out how to start programs, create,
save and organize your files and use the online help feature. You’ll also
get an introduction to surfing the internet and setting up an email
account. This course is designed for those with little or no computer
experience – and is still our most popular course. 18 HR COURSE.</description>
<schedule_entries>
<entry>
<date>Mon 6:30 - 9 pm, Oct 7 - Dec 2</date>
<date>Thu 6:30 - 9 pm, Oct 10 - Dec 5</date>
</entry>
</schedule_entries>
</course>
<course>
<title>Word 2010 Introduction - Self-paced</title>
<description>Explore the basics of Microsoft Word to produce professional letters and
documents. This course guides you through the effective use of the Word
Ribbon and Quick Access Toolbar. You’ll learn how to efficiently edit,
move and copy text; manipulate fonts; apply bullets and numbering; borders
and shading; insert and re-size Clip Art; enter headers and footers; insert
page numbers; set alignment and indents; and change page settings. You’ll
learn to use the AutoCorrect feature and finish documents using the
spelling, thesaurus and grammar features.
Self-paced, 18 hr course.
Prerequisite recommended: Computer Basics or equivalent experience.</description>
<schedule_entries>
<entry>
<date>Mon 7:30 - 9 pm, Oct 7</date>
<date>Thu 7:30 - 9 pm, Dec 5</date>
</entry>
</schedule_entries>
</course>
<course>
AND SO ON...FOR 64 PAGES WORTH OF CONTENT
HELP!!!
SGARENHello Sally,
First, I have only heard/read good things about the book Steve recommends. It is on my to buy list one day. Been awaiting a long deserved vaction to pick it up to read.
I approach XML files pretty much like I do any text file I am sent in that I will import or copy/paste a text file into a frame in ID and begin setting my styles. With XML, though, I first clean it up, move closing tags up to their logical close lines, remove spurious codes that mean something in HTML but don't necessarily belong in the XML file (like ’ which is an apostrophe so I do a search and replace. But for   which is a non-breaking space I simply search and replace with a regular space in general), and make sure the XML validates.
Validation is much like making sure an HTML page is formed properly. I use an XML editor (XML BluePrint) and a text editor (UltraEdit) for these tasks. If I had to only have one or the other, I suppose the XML editor is what I would use.
I always show the import options when I import the XML and make sure that I link to the file.
So once a sample of the XML is on a page in ID (via File | Import XML), I highlight text within a tag, say like in your example above, the Providor name, and make it like I want and then create a new style. I generally name the styles as per the XML tag. Later on, that makes mapping tags to styles a little easier.
Once I set up all the styles preliminarily, I map the tags to styles. You can do that either via the Tags palette or via the Structure Pane that will appear once the XML is imported. In both cases, it is found via the flyout menu at the top right of their respective windows.
After mapping my styles to the tags, I select the root element in the Structure Pane (the topmost element. In your sample above it is "providors" and delete it. This removes the XML in your ID file. But the styles and tags are still present.
Then I import the XML again and look to makes sure all the tags/elements are styled as intended. I then correct any errors/ommissions. Then...I'll delete the XML again and import the full XML file.
I can upload what I did with your XML sample above so you can compare it to your source file if you would like. You would then see how/where I moved tags. Now, moving the tags is only "necessary" to avoid all the extra blank paragraphs. That can be accomplished by ID's search/replace, too. But I like to start out with the XML cleaned up, so I take the few minutes to do it.
Take care, Mike
Maybe you are looking for
-
"Password Missing" Enter the password for the account "iCloud"
After upgrading my iPhone 4 to iOS 6.0 and setting up as a 'new phone'...I've had this recurring problem with my iCloud mail. Despite entering my iCloud password successfully in settings as well as my Apple ID (same email/password), I continue to ge
-
How to insert / Update value for PFAKT in BP Relationship
Hi Friends / Experts, How to insert the value for PFAKT ( Function value ) in BP Relationship in BP tcode , in SAP CRM. I have tried it but it BAPI_BUPR_CONTP_CREATE. But I need it with BAPI_BUPR_RELATIONSHIP_CREATE Function Module. Please help me ou
-
Drawing on pdf files on an ipad
I had a HTC tablet and I could receive prints, draw on them and email them back to my shop easily. I was able to do the same with photos. I would like to find an app or program that I can do this with my new ipad.
-
I applied to replace my 1st gen ipod due to recall and was assigned a repair
I applied for the 1st Generation IPod recall and was assigned a repair ID, but never received the box to return it, so who do I contact?
-
Why won't iTunes group songs from a compilation album together
Most of my CDs are compilation trance CDs. iTunes ignores the facts that they all come from the same album and groups them by composer instead, forcing me to create playlists for songs that should be grouped together. This occurs even for albums pu