Map tags to style problem.

Hello!
I have a problem with indesign that i cannot understand. On the picture below, you can see my structure. PARAGRAPH is the tag of the text frame. Inside the text frame i have tagged the text. The things that should be paragraph style 1 (bröd) is tagged "PARAGRAPH1". The things that should be  paragraph style 2 (bröd_start) is tagged "PARAGRAPH2".
I use map tags to style to map the different tags to a specific style. It looks like this:
When I run the cursor over the text I can see the tags changing to the correct one in the tags panel. But the paragraph style is always "Bröd". It seems as if the tags to style is not applied!
The reason that I want to to this is so I can manage first lines better. I map the first word of a "new" line to "Bröd_Start" so that the first line is aligned flush left. Like this:
Anyone has any ideas why this is not working like it should?!
Tank you!
Regards,
Lukas

Hi,
Thanks for sharing the document. I tried with your file and scrolling is working fine. I could choose and select the styles also.
Did the bug happen after importing XML or before as well?
Do you have other documents open while you are working on this document?
Did you try cleaning your preferences and cache? If not, you can give this a try and let me know if the problem still remains.
Regards,
Pooja

Similar Messages

  • Map Tags to Style Pallet Issue

    When in the 'Map Tags to Style' pallet I can't scroll by either moving the scroll bar or clicking up/down arrows. Also the only way to select a style sheet is to click exactly on the paragraph icon. The scrolling is driving me crazy, anyone else have this issue in this pallet in ID CC (using ID from cloud and all updates have been run)?

    Hi,
    Thanks for sharing the document. I tried with your file and scrolling is working fine. I could choose and select the styles also.
    Did the bug happen after importing XML or before as well?
    Do you have other documents open while you are working on this document?
    Did you try cleaning your preferences and cache? If not, you can give this a try and let me know if the problem still remains.
    Regards,
    Pooja

  • Map tags to styles by javascript

    Hi All,
    I need to ‘Map Tags to Styles’ is this possible by javascript?
    By
    hasvi

    Hello hasvi,
    What I understood in Jongware & Everyone statement. You expect everything into this forum, I seen you every post you always expecting or requesting any one to create the script or help. This is not good path to develop to your career. First you have learn then come to forum, then you have any problem, everybody ready to help to you share their knowledge.
    See your below threads Titles. You not share your any ideas to any one also your score is 0. You only get everything into this forum but you not share any small request also.
    How to import tables without 'xmlns:aid5="http://ns.adobe.com/AdobeInDesign/5.0/' this format.
    https://forums.adobe.com/thread/1534167
    How to import tables without 'xmlns:aid5="http://ns.adobe.com/AdobeInDesign/5.0/' this format.
    https://forums.adobe.com/thread/1533132?sr=stream&ru=2170596
    XML structure validation by javascript
    https://forums.adobe.com/thread/1533131?sr=stream&ru=2170596
    Please correct this script for call xml element
    https://forums.adobe.com/thread/1471266
    How to 'import xml' in my script
    https://forums.adobe.com/thread/1531896?sr=stream&ru=2170596
    Need script for "Convert bullets and numbering to text"
    Need script for "Convert bullets and numbering to text"
    Overflow text copy on next page with same anchore box by script
    hasvi
    Again I tell you that don't miss use this forum pls change the attitude. Everybody sharing their thoughts and Ideas to develop only.....
    I hope you understand?
    thx,
    csm_phil

  • Js for Structure; XML; Map Tags to Styles...

    Hi all
    I am trying this forum entry again under a different heading. I may have confused readers.
    I have a ID file that contains XML content and lots of Character and Paragraph Styles.
    There is a map that connects Tags <-> Styles.
    This file is working fine. This file is now my "Template File"
    I have written a script that imports XML content of the same kind into a new file.
    The script also imports or loads all the Character and Paragraph Styles from the "Template File" into the "New File".
    Now I would like to import the maping between Tags <-> Styles into my "New File".
    Manually this is an easy process in ID, in the Structure pane, top right corner, is a pulldown, one of the commands is called "Map Tags to Styles..."
    I load the map and my "New File" looks perfect.
    I would now like to include this function into my script.
    So far I could not find any code samples for this.
    Can anybody help?
    Thanks Romano

    Thank you Fred
    No this imports the Tags only...
    what I am looking for is this:
    My script needs to "call this menu, press the Load... button, choose a file, import from that file"
    It would be some simple thing like loading the colour swatches from another file...
        app.activeDocument.loadSwatches(myStyleFile);  
    but would say something like     app.activeDocument."loadTagsStylesMap"(myStyleFile);  
    Romano

  • Map tags to styles (CS6, Applescript)

    I want to map a series of tags to styles in InDesign, but this seems not to work.
    The inverse, mapping styles to tags, works!
    Any idea? Thanks for your help!
    tell application "Adobe InDesign CS6"
              tell active document
      make XML export map with properties {markup tag:"Header", mapped style:"Header"}
      map XML tags to styles
              end tell
    end tell

    Hello, try
    tell application "Adobe InDesign CS6"
        set myDocument to active document
        tell myDocument
            set tList to name of every XML tag
            set tNumItems to count of tList
            -- XML tag to style mapping by name.
            repeat with j from 1 to tNumItems
                set tStyle to item j of tList
                make XML import map with properties {markup tag:tStyle, mapped style:tStyle}
            end repeat
            --Map tags to styles.
            map XML tags to styles
            --Map styles to XML tags by name
            repeat with j from 1 to tNumItems
                set tStyle to item j of tList
                make XML export map with properties {markup tag:tStyle, mapped style:tStyle}
            end repeat
            --Map styles to tags.
            map styles to XML tags
        end tell
        --Export xml para desktop para pasta a designar
        tell active document
            export to "xxxxxxxxx:aaaaaaaaa.xml" format "XML"
        end tell
    end tell

  • Map styles to tags v. Map tags to styles

    Hi everyone,
    Indesign CS4 has an option in the tags panel to:
    1) Map styles to tags
    and
    2) Map tags to styles
    Does anyone know what the difference between these two options are?
    Appreciate any help.

    Tags and Styles serve two separate functions.
    A Tag defines data that belongs to a specific element and is enclosed with an opening and closing tag.
    example:  <element>  This copy will be used for a headline  </element>
    A Style defines how that data will appear with specific attributes: font, font size, color, etc.
    So, say I have an Indesign document that has a predefined paragraph style named: Headline (with attributes of Times New Roman Bold, 18 Point) and I import a file that is tagged like my example. I can map the tag "element" to the style "Headline" and the import can automate the process like this:
    This copy will be used for a headline

  • [CS2][JS] Map tags to styles

    Hi
    I would like to map styles to tags and map tags to styles using a predefined file....
    I've tried using ...
    var thepath="/Volumes/test/Mapping.indd";
    var myImportfile=new File(thepath);
    app.activeDocument.xmlImportMaps.add(myImportfile);
    app.activeDocument.xmlExportMaps.add(myImportfile);
    ... but it raises an error... missing parameter...
    Does anyone have an idea?
    Thanx
    Tim

    Hi Eric,
    I just checked the link, and it's working fine. Try again?
    Also, I'd missed this thread earlier--what Tim is asking about (loading a tag to style mapping from a file) can't be done directly in the user interface (as far as I can tell), so it can't be done directly from scripting. Instead, you'd have to open the file containing the tag to style mapping, then transfer the mapping one import/export map at a time to the target file.
    Thanks,
    Ole

  • Problem Mapping Tags to Styles in CS2

    Hello, I am running CS2 (V4.0.5) on XP SP2. I have XML-tagged text that I am mapping to styles/map by name. While the paragraph styles apply correctly, character style sheets that shouldn't apply are being applied as well. I have replicated this multiple times.

    Hi,
    Can you provide some text examples from your xml file. This because to identify the concern in the xml coding.
    Regards
    Thiyagu

  • Map by name, Tags to Styles

    In JavaScript, I can map Styles to Tags using autoTag but how do I map Tags to Styles by name?
    Thank you,
    Richard

    #target indesign
    #include "/Applications/Adobe InDesign CS3/Scripts/Xml Rules/glue code.jsx"
    var myDocument = app.activeDocument;
    var myRuleSet = new Array (new ProcessAll);
    with(myDocument){                   
       var elements = xmlElements;
       __processRuleSet(elements.item(0), myRuleSet);
    myDocument.mapXMLTagsToStyles();
    function ProcessAll(){
       this.name = "ProcessAll";
       this.xpath = "//*"; 
       this.apply = function(myElement, myRuleProcessor){
          with(myElement){
             $.writeln(markupTag.name);
             var myParagraphStyle = myDocument.paragraphStyles.itemByName(markupTag.name);
             if (myParagraphStyle != null){
                myDocument.xmlImportMaps.add(markupTag.name, markupTag.name);
       return true;

  • Help needed for Graphical mapping.Tag only once produces

    Hello experts,
    I have a problem in my graphical mapping.This is the example:
    from each segment A in IDOC has to be made Tag A or Tag B in output XML.
    Segment A has a field USER_STATUS and if it is X than Tag B has to be made otherwise Tag A.
    Segment A is 0..9999999. occurence
    Tag A  0..unbounded
    Tag B 0..unbounded.
    I made a mapping
    mapping for Tag A:
    USER_STATUS -> mapwith default(empty)->length->EqualsA (with Constant =0)-> createif->Tag A
    for Tag B as following:
    USER_STATUS -> mapwith default(empty)->EqualsS (with Constant =X)-> createif->Tag B
    The problem is that in output XML, I have only one Tag A or B (depending on field USER_STATUS in first occurence of the segment) while in inbound IDOC 5 segments are with different value of the field: USER_STATUS.
    Does anyone idea to solve this problem!
    Thank you very much for your effort.
    King regards,
    Danijela Zivanovic

    HI,
    CAn you try this way,
    Use Maping Node UseOneAsMany for Tag B
    and pass 3 inputs as
    Constant[]----
    >
    USER_STATUS -> mapwith default(empty)->EqualsS (with Constant =X)----
    >
    USER_STATUS -> mapwith default(empty)->EqualsS (with Constant =X)----
    >
    Same way try for Tag A also.
    Thanks
    Swarup

  • How to handle paragraph styles in imported text with no tagged paragraph styles

    Hi
    Im currently trying to import a file (word file / excel I have both formats) into an indesign book and formatting the text automatically!
    My question is: How is it possible to reflow text into frames and when changing frame it changes paragraph?
    Or how is it possible to change paragraph style when forcing a line break when using text reflow?
    I have already figured out how to reflow the text, and actually also managed to relow text into the frames and change paragraph style. I know how to use the keep option, and by this change the paragraph style when e.g. changing frame break/page break etc.  (but if the content being flowed-in is not tagged with style names then I cannot figure out how to do it) The document and its content I whish to import do not have any tagged paragraphs!
    Then I tried to look into "object styles" and format a text frame on a master page with an object style, and by using a "dilimiter character" forcing the text to start in a new frame when bringing the frame into live on a page. But here I cannot make the "text frame/object style" to apply or to work.
    If any of you have a hint, I would be more than happy to hear from you
    This picture are illustrating the outcome I would to get to....

    If the incoming text does not have styles, or has only one style, there is really not much you can do other than assign styles after the import. If there are recognizable patterns in the formatting, a lot of that can be done with Find/Change, and there are a few scripts floating around that can help automate some of that.
    Also, if your styles have a a good "next style" heirarchy built in, you can select large blocks of text (up to the point where applying next style would be incorrect), then right click the style name in the paragraph styles panel and choose apply style and next style (remove overrides). Warning. Removing overrides will remove any locally applied formatting like bold or italics, so local formatting should be converted to character styles first. Applied character styles are not overrides and will be preserved.

  • HTML Map tag zoom problem.

    Hi,
    We have discovered a problem with our webpage that only occurs on safari. We have an image with an image where we use an <map><area> tags to indicate click-able hot spots on the image. When you change the zoom level in the browser, increasing or decreasing the size of the image the relative location of the hot spot changes within the image.
    This problem happens in both windows and mac versions of safari. IE, Chrome and FireFox handle this correctly.
    Does anybody know how to fix this?

    Hi
    a webkit nightly from http://webkit.org will likely fix it on an individual machine - but afaik, apple didn't include the fix in the recent safari updates.

  • Problem of cycle and stackoverflow when using JPA @OneToMany mapping Tag

    Hello everyone!
    Description:
    We are using the tag @OneToMany to map a collection of objects in an entity. In the other side, we use the tag @ManyToOne to map the father.
    Our simple example for testing consist of the following entities:
    This is the class Child:
    @Entity
    @Table(name="TEST_CHILD")
    public class Child implements Serializable{
    @Id
    @Column(name="ID_CHILD")
    private Long id;
    @ManyToOne(fetch=FetchType.LAZY)
    @JoinColumn(name="ID_FATHER", referencedColumnName="ID_FATHER")
    private Father father;
    and this is the Father class:
    @Entity
    @Table(name="TEST_FATHER")
    public class Father implements Serializable{
    @Id
    @Column(name="ID_FATHER")
    private Long id;
    @OneToMany(mappedBy="father", fetch=FetchType.EAGER)
    private List<Child> children;
    Problem:
    When a select over this entities is realized, we are getting the folling exception:
    The following Error is thrown by the VM [java.lang.StackOverflowError]. ErrorQueueHandler will just trace it. The caller component should take care to process it properly.
    java.lang.StackOverflowError
    at java.lang.Class.searchMethods(Class.java:2646)
    We've already used @OneToMany and @ManyToOne mapping in many other projects, and we've tried different parameters on the tags as well, but we still getting the exception. If applying fetch mode Lazy to the @OneToMany we had an detatched exception, cause ou the context. Anyways, we need and would like to use the EAGER loading mode.
    So what seems to happen is that the application runs into a cycle when loading the "father" attribute of Child, recreating the list collection within it.
    This same configuration works just fine in other implementations (i.e.: Hibernate JPA implementation), and many other examples over the web are not different of our implementation.
    Any suggestion of how we could solve this problem? Is this a standart behavior of mapping using Sap JPA?
    Evandro Pomatti
    Edited by: Evandro Pomatti on Dec 9, 2010 9:55 PM

    hi evandro,
    now I got same kind of error, how did you fix, pls help if you have remembered,
    hi all,
    I am getting folowing error in my JAVA portal system when executing webservices in WSnavigator.
    if anyone would have been faced this kind of error pls help me.
    The following Error is thrown by the VM [java.lang.StackOverflowError]. ErrorQueueHandler will just trace it. The caller component should take care to process i
    t properly.
    completere error log
    #2.#2014 04 27 23:52:42:197#0-500#Warning#com.sap.engine.core.thread.impl3.ErrorQueueHandler#
    com.sap.ASJ.krn_thd.000025#BC-JAS-COR#kernel.sda#C0000AF060EF002D000001A901AA0076###com.sap.engine.core.thread.impl3.ErrorQueueHandler#Guest#0##9586B2DBCCBD11E3
    A75E0000033325C2#9586b2dbccbd11e3a75e0000033325c2#9586b2dbccbd11e3a75e0000033325c2#0#Thread[ErrorQueueWatchDog,5,main]#Plain##
    The following Error is thrown by the VM [java.lang.StackOverflowError]. ErrorQueueHandler will just trace it. The caller component should take care to process i
    t properly.
    java.lang.StackOverflowError
            at java.security.AccessController.doPrivileged(Native Method)
            at java.io.FilePermission.init(FilePermission.java:183)
            at java.io.FilePermission.<init>(FilePermission.java:249)
            at sun.net.www.protocol.file.FileURLConnection.getPermission(FileURLConnection.java:198)
            at sun.security.provider.PolicyFile.canonicalizeCodebase(PolicyFile.java:1784)
            at sun.security.provider.PolicyFile.access$700(PolicyFile.java:264)
            at sun.security.provider.PolicyFile$7.run(PolicyFile.java:1247)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1243)
            at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1190)
            at com.sap.engine.services.security.jacc.provider.PolicyImpl.implies(PolicyImpl.java:71)
            at com.sap.security.core.UmePolicy.implies(UmePolicy.java:696)
            at com.sap.security.core.role.jacc.JACCPolicy.implies(JACCPolicy.java:367)
            at java.security.ProtectionDomain.implies(ProtectionDomain.java:222)
            at java.security.AccessControlContext.checkPermission(AccessControlContext.java:354)
            at java.security.AccessController.checkPermission(AccessController.java:549)
            at com.sap.engine.services.keystore.impl.security.CodeBasedSecurityConnector.checkPermissions_readEntry(CodeBasedSecurityConnector.java:542)
    and also find heap log info
    -----------  H E A P   C H E C K  -----------
    Suspension of other threads succeeded.
    6 Java thread local allocation buffers currently in use.
    Scanning young generation space 314368K,   1% used [0x0a00020000000000, 0x0a00020000334838, 0x0a00020013300000)
    Scanning young generation space 157184K,   0% used [0x0a00020013300000, 0x0a00020013300000, 0x0a0002001cc80000)
    Scanning young generation space 157184K,   0% used [0x0a0002001cc80000, 0x0a0002001cc80000, 0x0a00020026600000)
    Scanning old generation space 2516992K,  21% used [0x0a00020026600000, 0x0a000200c0000000)
    Scanning permanent generation space 409600K,  99% used [0x0a000200c0000000, 0x0a000200d9000000)
    Checked the complete java heap.
    ---  N O   H E A P   C O R R U P T I O N  ---
    -----------  R E G I S T E R   R E G I O N S  -----------
    Register pc points to 0x09000000332ef3a8, which is not a known memory location
    Register lr points to 0x09000000332ef388, which is not a known memory location
    Register ctr points to 0x0900000033421bc0, which is not a known memory location
    Register r0 points to 0x0000000000000000, which is not a known memory location
    Register r1 points into the stack of JavaThread "HTTP Worker [@1753615133]" [_thread_in_vm (_call_back), id=25193, stack(0x000000011a5ef888,0x000000011a6ef888)]
    Dump of memory region around register r1 at 0x000000011a6e2a70
       0x000000011a6e29f0 00 00 00 01 1A 6E 2A 70 00 00 00 00 00 00 00 15 [.....n*p........]
       0x000000011a6e2a00 09 00 00 00 33 63 12 DC 09 00 10 00 A6 6A F9 60 [....3c.......j.`]
       0x000000011a6e2a10 00 00 00 00 12 4C 35 C0 0A 00 01 00 16 3D 60 78 [.....L5......=`x]
       0x000000011a6e2a20 09 00 00 00 33 FB 54 98 00 00 00 00 33 F4 90 28 [....3.T.....3..(]
       0x000000011a6e2a30 09 00 10 00 A6 4D 98 10 00 00 00 01 1A 6E 2A E8 [.....M.......n*.]
       0x000000011a6e2a40 00 00 00 00 00 00 00 00 00 00 00 00 15 A8 00 69 [...............i]
       0x000000011a6e2a50 00 00 00 00 15 A8 00 69 09 00 00 00 33 F4 90 38 [.......i....3..8]
       0x000000011a6e2a60 00 00 00 00 00 00 01 08 00 00 00 00 00 00 00 00 [................]
    => 0x000000011a6e2a70 00 00 00 01 1A 6E 2B 60 00 00 00 00 00 00 00 08 [.....n+`........]
    Register r2 points to 0x09001000a66af960, which is not a known memory location
    Register r3 points to 0x00000001188fa130, which is not a known memory location
    Register r4 points to 0x0a000100163d6098, which is not a known memory location
    Register r5 points to 0x0900000033f49038, which is not a known memory location
    Register r6 points to 0x0000000000000108, which is not a known memory location
    Register r7 points to 0x09001000a648c308, which is not a known memory location
    Register r8 points to 0x09001000a64cf2b4, which is not a known memory location
    Register r9 points to 0x0000000000000000, which is not a known memory location
    Register r10 points to 0x0000000000000000, which is not a known memory location
    Register r11 points to 0x0000000000000000, which is not a known memory location
    Register r12 points to 0x09000000332ef388, which is not a known memory location
    Register r13 points into the stack of JavaThread "HTTP Worker [@2116488621]" [_thread_in_native (_at_safepoint), id=25450, stack(0x000000011a6f4888,0x000000011a
    7f4888)]
    [error occurred during error reporting (dumping memory regions for register values), id 0xb
    Exception details: SIGSEGV at pc=0
    Problematic frame: v  ~StubRoutines::SafeFetch32 (sp=0x000000011a6e1240) (pc=0x0a00010000067b58)]
    hs_err_pid26214604.log: END

  • Map tags to object styles?

    Hello ID users & developers!
    Well, now i know that tags from imported xml can be mapped to corresponding paragraph or table styles of ID document.
    But, if i have to map any tag to an object style?
    I import images with <Image href='image_path' /> tag.
    Now, how can i bind it to Image object style?
    Thanks in advance, Alex.

    It does not.
    It would be nice though some day.

  • Compound paths & graphic style problem (map related)

    Hi all,
    Been banging my head against a wal with this all morning. I'm hoping one of you can help.
    I need to replace portions of a map - it' slots and lots of shapes representing buildings.The original file has shapes made of compound paths (see illustration below). That's great, because the center needs to be knocked out (there are some items underneath that occasionally show through).  I thought I'd try to create a graphic style to replicate the look as closelty as possible, but I cannot get a fill to act as a knockout - so I have the basic shape and effect that I want, but with a colored center instead of a knocked-out one. This is a problem becuase I'll be changing dozens of shapes and I don't want to have to recreate the look on each shape manually.
    Here's a pic to help clarify. The original is on the left, my attempted recreation is on the right. Help!

    First, thansk so much for the help! I'm soooo close, but I keep doing something wrong. Let me run through my steps to see if you can spot where I'm falling down:
    Draw my rotated box (I Object> Compound Path > Make converted it to a compound path becuase I assuemd I'd need that when applying a knockout. I may be wrong there).:
    Fill with white, copy the fill and fill with brown:
    Apply a Transform effect to the 2nd fill (I need the numbers to be absolute, not scale, becuase I need to apply thsi to a variety of shapes but achieve a uniform look):
    I then go to the Opacity on that second layer and check Knockout:
    But when I drop the Opacity down to 0% (with knockout checked) that entire fill layer just goes transparent:
    And if I apply the Knowckout - Opacity settings to the main opacity at teh bottom, the whole thing goes blank:
    Incidentally, here's the shape I'm trying to replicate (I know my attempt doesn't reproduce the connected lower left and upper right rounded corners):
    And here's a small chunk of the map. I'll be changing dozens of these shapes and want to apply that consistent look to them without doing each one manually.
    G'ah! It's driving me nuts! What am I doing wrong?

Maybe you are looking for

  • HP Mini 110-3616 RAM Upgrade

    My Father in law is looking to buy a HP Mini 110-3616, they come with 1GB RAM (and Windows 7 Starter), I haven't ssen one of these, is it easy to increase the RAM, will it make it a lot faster? Thanks Steve

  • I have connect retina MBP to 23" studio display. Can the MBP be closed and still work?

    with a MBP retina, I have connected to a studio display 23". Can I now close the MBP and use just the studio display?

  • Forcing spotlight to search the web

    Is there a way to force spotlight to search the web. In other words, I'd like to force spotlight to send my search query to bing directly. Any ideas?

  • Vector Graphic / HPGL file processing VI ???

    Hi all, Is there a VI out there that will load AND interpret any common type of vector file format, producing an array of line start and end point coordinates (I only need to read lines, not shapes) ??? I have some "motorised" hardware to control via

  • CC download error: 1?

    Hi, Does anyone know anything about a CC download error: 1? I have tried everything I can think of, I have a 64 bit machine, disabled the firewall to allow the download and the installer downloads to a point and then quits and generates an error. Any