The formatting Index entries.

Hi all

Is it possible to apply with Index shaped like italics, bold entries etc. using javascript in Windows.  InDesign CS3 5.0.4.

Kind regards

Imagine.

Then, as in

bacteria

254 Commons

E. coli 255

other 256

The problem is that ID cannot store formatting information in an index entry (as it does not work in the variables for running headers and references paragraphs). You have to think about something like marking the formatting with codes in the entries, and then change them after the index generation.

For example, mark italic [i]... [/ i] in the index entry ' bacteria: [i] [/i] e. coli. " After you generate, use a GREP search-replace to remove the codes and apply italic.

[Ed.] Important: Add the original entry (without your codes) in the genre - as a field! Otherwise, the above example will be sorted as 'symbol' [(ou peut-être il viendra sous «i»).]

Tags: InDesign

Similar Questions

  • Appearing in the wrong index entries. CHM index

    * I made a post about RH7 and problems with the functionality of indexing... Since then, I came across several questions, so why I do a new post *.

    I RH7 and before I had trouble with the key words being missed in the index in the generated. chm. I open the index in HR and then compare it to the index of the .chm file - a few key words would be absent. This occurred in any project, converted from RH X 5 to RH7.

    Now, I have a project which began in RH7 - it has not been converted from an earlier version. I see no problems with missing keywords, but I notice that some keywords are being displaced in the .chm index. For example, 'dates of application' index HR is keywords. In the generated .chm, there are two secondary keywords to the terms "request date", nor one any where close to being related to the keyword. When I looked for the key word, that they SHOULD be under, he was not there.

    I installed all three HR fixed on my laptop, and I've even removed all the unique and re-registered index entries. My last guess is, if the model that I use was created in a different version of HR? The template file has been converted to RH7.

    Any help at all would be greatly appreciated - I have research on it a bit and can't stand all the answers and it hinders the production of project.

    Thank you!

    Why not try to compile with a hint of 'empty' and see what happens?

    See www.grainge.org for creating tips and RoboHelp

  • Problem using the pixel format indexed bytes in the PixelWriter setPixels method

    I'm trying to build a byte array and set it on a WritableImage using the PixelWriter setPixels method.

    If I use a RGB pixel format, it works. If I use a byte indexed pixel format, I get a NPE.
    Stride etc should be fine if I'm not mistaken.

    java.lang.NullPointerException
    to com.sun.javafx.image.impl.BaseByteToByteConverter. < init > (BaseByteToByteConverter.java:45)
    to com.sun.javafx.image.impl.General$ ByteToByteGeneralConverter. < init > (General.java:69)
    at com.sun.javafx.image.impl.General.create(General.java:44)
    at com.sun.javafx.image.PixelUtils.getB2BConverter(PixelUtils.java:223)
    to com.sun.prism.Image$ ByteAccess.setPixels (Image.java:770)
    at com.sun.prism.Image.setPixels(Image.java:606)
    to javafx.scene.image.WritableImage$ 2.setPixels(WritableImage.java:199)

    Independent, short example here:
    import java.nio.ByteBuffer;
    
    import javafx.application.Application;
    import javafx.scene.Scene;
    import javafx.scene.image.ImageView;
    import javafx.scene.image.PixelFormat;
    import javafx.scene.image.WritableImage;
    import javafx.scene.layout.BorderPane;
    import javafx.stage.Stage;
    
    public class IndexedColorTestApp extends Application {
    
        public static void main(String[] args) {
            launch(args);
        }
    
        @Override
        public void start(Stage primaryStage) {
            BorderPane borderPane = new BorderPane();
            Scene scene = new Scene(borderPane, 600, 1100);
            primaryStage.setScene(scene);
    
            ImageView imageView = new ImageView();
            borderPane.setCenter(imageView);
            primaryStage.show();
    
            int imageWidth = 200;
            int imageHeight = 200;
            WritableImage writableImage = new WritableImage(imageWidth, imageHeight);
    
            // this works
            byte[] rgbBytePixels = new byte[imageWidth * imageHeight * 3];
            PixelFormat<ByteBuffer> byteRgbFormat = PixelFormat.getByteRgbInstance();
            writableImage.getPixelWriter().setPixels(0, 0, imageWidth, imageHeight,
                                                     byteRgbFormat, rgbBytePixels, 0, imageWidth * 3);
            imageView.setImage(writableImage);
    
            // this throws an NPE in setPixels()
            byte[] indexedBytePixels = new byte[imageWidth * imageHeight];
            int[] colorPalette = new int[256];
            PixelFormat<ByteBuffer> byteIndexedFormat = PixelFormat.createByteIndexedInstance(colorPalette);
            writableImage.getPixelWriter().setPixels(0, 0, imageWidth, imageHeight,
                                                     byteIndexedFormat, indexedBytePixels, 0, imageWidth);
            imageView.setImage(writableImage);
        }
    
    }
    If there is no solution, maybe someone knows a solution? We chose to use the format indexed due to the size of the data / performance reasons.

    Published by: Andipa on 01.03.2013 10:52

    You have found a bug in the platform, filed against the project to-online http://javafx-jira.kenai.com to your sample code and a link to this forum question.
    Byte indexed pixel formats seem like a feature never completely (or maybe even any) implemented for me.

    The PixelFormat type uses your unsuccessful case is (PixelFormat.Type.BYTE_INDEXED):

    PixelFormat byteIndexedFormat = PixelFormat.createByteIndexedInstance(colorPalette);
    System.out.println(byteIndexedFormat.getType());
    

    Here are the valid PixelFormat types =>
    http://docs.Oracle.com/JavaFX/2/API/JavaFX/scene/image/PixelFormat.type.html

    BYTE_BGRA
    The pixels are stored in adjacent bytes with the non-premultiplied components stored in order of increasing index: blue, green, red, alpha.
    BYTE_BGRA_PRE
    The pixels are stored in adjacent bytes with the premultiplied components stored in order of increasing index: blue, green, red, alpha.
    BYTE_INDEXED
    The pixel colors are referenced by byte indices stored in the pixel array, with the byte interpreted as an unsigned index into a list of colors provided by the PixelFormat object.
    BYTE_RGB
    The opaque pixels are stored in adjacent bytes with the color components stored in order of increasing index: red, green, blue.
    INT_ARGB
    The pixels are stored in 32-bit integers with the non-premultiplied components stored in order, from MSb to LSb: alpha, red, green, blue.
    INT_ARGB_PRE
    The pixels are stored in 32-bit integers with the premultiplied components stored in order, from MSb to LSb: alpha, red, green, blue.
    

    As for a WritableImage native pixel format is not the same that you use the pixel format, the JavaFX platform needs to do a conversion while reading pixels in a format and write it in another format. To do this, he must be able to determine a PixelGetter for your PixelFormat (the PixelGetter is an internal thing, API not public).

    And here's the source determines the PixelGetter for a given type of PixelFormat:
    http://Hg.OpenJDK.Java.NET/openjfx/8/master/RT/file/06afa65a1aa3/JavaFX-UI-common/src/com/Sun/JavaFX/image/PixelUtils.Java

    119     public static  PixelGetter getGetter(PixelFormat pf) {
    120         switch (pf.getType()) {
    121             case BYTE_BGRA:
    122                 return (PixelGetter) ByteBgra.getter;
    123             case BYTE_BGRA_PRE:
    124                 return (PixelGetter) ByteBgraPre.getter;
    125             case INT_ARGB:
    126                 return (PixelGetter) IntArgb.getter;
    127             case INT_ARGB_PRE:
    128                 return (PixelGetter) IntArgbPre.getter;
    129             case BYTE_RGB:
    130                 return (PixelGetter) ByteRgb.getter;
    131         }
    132         return null;
    133     }
    

    As you can see, the BYTE_INDEXED format is not supported, and null is returned instead... it is the source of your NullPointerException.

  • Index entries properly merged into RoboHelp HTML 6

    When I compile a help file, the index entries that should appear in alphabetical order and therefore consecutively, such as 'Menu' and 'Message' are merged together, as in "Menu\Message", while the second index entry appears as a subkeyword of first entry, instead of as a separate entry. The keywords in the index appear as entries separated in the pane of the Index, so I don't know why they merge when compiling. No idea why this would happen or how to fix it?

    It's a matter of conditions and I managed to fix it. The application of the compilation tag conditional 'Admin' on the 'Message' inputs index has failed without an associated admin help topic. However, I searched help Admin listed some topics suitable admin 'Message' and adds the index entries "Message". After compilation, the index entries and 'Message' subkeyword now appear correctly and are not combined as well as the previous index entry.

  • All words with a certain style of character is automatically possible in the index entries?

    CS4 on Mac. I have a document where each occurrence of the first use of terms important was given a character style called "first." Is there a way I could do automatically each index entry?

    Hi Mary,

    This can be done using a script by Peter Kahrel.

    See:

    Index, lists of words and concordances. Peter Kahrel

    In particular:

    InDesign: Index of character styles. Peter Kahrel

    Kind regards

    Uwe

  • Formatting of index entries automatically

    I would put in the form of the index italicized entries (because they are scientific names). According to the help of InDesign (InDesign help |) Creating an index) "to add emphasis to a particular index entry, select the number Style replacement and then specify a character style.

    I did this. I have a character style named in italics (in all of my files from the book, including the index file). However, when I generate the index, nothing is in italics. Is this a bug or am I missing something?

    Thank you!

    Marina

    You can modify the page number character style.

    If you want to change the subject, you can add # or * at the end of the section and after generating the index change all the lines of desired character style.

    for example:

    using grep find/replace

    find: (^. +)(\#)

    set up: $1 with the italic character style.

  • How to find and replace text in the index entries?

    Hello

    Recently, I copied a manual to create a new one for another product. After a global search and replace the product names and other texts, I needed to replace a specific word that appears in the index entries.

    I noticed the search box would allow me to search the text of the marker, but I had to replaceme the word by hand - cut and paste the new Word, click on change the marker to save it and then find the next occurrence.

    It's with frame 7.2. Does anyone know a faster way to do this?

    Yours,

    Michael F.

    =========

    Peter,

    Thanks for the lead.

    I downloaded the zip file and all it contains is a DLL file, but no instructions.

    What should I do to make it work and how do I know that it works?

    Yours,

    Michael F

    ========

  • Find the page source for the index entries

    In ID CS4, I could Alt-Ctrl-click on the page number of an entry in my index and it would take me to the source page. This doesn't seem to work in CS5. Y at - it a keyboard shortcut that will do it, so I can check my index entries are correct?

    Click the entry in the Panel Index, to open it. This will display a list of occurrences; Select one, then click on one of the itty bitty small icons at the bottom to go (I think it's on the left).

    FM has allowed you to click directly in the generated index? Cool ID only adds hyperlinks in an exported PDF file.

  • derivative of the Index entries

    I am creating an index and would like to see my index entries highlighted in the text during the indexing process. Obviously, these are non-printable. I know that I can view hidden characters and see the blue signs, but there they are so small and difficult to discern with the representation of things hidden character all.

    I thought about setting up of a temporary character style, but some of the entries already have a different character style. Can I do something with layers?

    Ideally, I would like to see a transparent yellow highlight as what you can do with the Acrobat commenting tools.

    I see two problems with your idea

    1. the position of the index mark. It may be the beginning of a Word, or at the end or somewhere in the middle. In fact, it does not matter even if its anywhere near the word, as it is on the same page!

    2. the indexed text. Suppose you have a book on cats and dogs. For the index, you can add all of the cats like 'cats' and dogs like ' canines - the word you put into the Index Entry add should not be literally in your text. '. Another example is "Indexing", which would be indexed as "index" or possibly "index, creating a".

    Now on the right thing!

    You can create a GREP style that highlights the text surrounding an index mark. GREP styles are amazing - even if they apply character Styles, they interfere with any existing character styles! They blend together perfectly. It does not totally reliable - more on that below - but the general idea is:

    a. create a new character style 'Brand of Index'. Set it to emphasize and underline options, set 12 pt thickness, offset to pt - 3 and color to something real bright.

    b. in your main paragraph for the plain text style (you 're using paragraph styles, you're not? if not, you should!), select "GREP Styles.

    c. Add a new GREP style. Define its character style 'Brand of Index' and 'Text' '~I\w+' field - it's an eye in capital letters. Do not add quotation marks.

    d. Add another style GREP. Also define its style of character 'Brand of Index' and set the "text" field "\w+~I" (again, the eye uppercase, no quotes needed).

    e. click OK. Your index entries get highlighted.

    Why is this not perfect? Well, I guess it goes beyond what the Adobe engineers have been imagine we would use GREP styles to. The index mark, tilde-capital eye, seems to mess up the text turns a little. Therefore, the usual "\w+" expected thing pick up as many "Word characters" possible suddenly fails and may be missing a few characters.

    It takes two GREP styles, rather than a ubiquitous '\w*~I\w*' because this was to pick up all the words containing an index mark, but, in reality, does not pick up anything at all.

    There is another small disadvantage: because it's true underlining, it will also print and appear in the PDF files. But it is easily resolved: print (or export to PDF, or whatever), go to the character style "Benchmark" and turn off the underline. If you need to see the markers, put it back on and hey! They - re ba - ack!

  • FrameMaker 8: Possible to combine the index the same page entries?

    Is it possible in FrameMaker to have several identical index on one page entries 'sink' into a single entry?

    For example, if I a document which includes index for "Adams, John" entries on pages 13 and 14, the index shows "Adams, John, 13, 14". " If I can do some changes that cause the second entry to appear on the same page as the first entry (for example, by not including not not certain conditional text), the index shows "Adams, John, 13, 13.

    Other than the removal of the second index mark, is possible to have the index generate like "Adams, John, 13"?

    Thank you!

    The index entries were added within the FM, or were they imported and text from another application (such as Word)?

    If you want really legal to this topic, I would save the file as MIF, then we the freebie MIFBrowse

    http://www.grahamwideman.com/GW/tech/FrameMaker/mifbrowse.htm

    to look at each entry (if you have not yet seen MIF, it can be a little 'dense' to digest, but the best thing is to first search for a rather unique word which could be just before entries and then move down through the screen until you find the index entries).

    Or, if time is critical, I had it just delete the entries, save, then re-create them, being extremely careful, that it is not all the differences in their and update.

    Another possibility may be less if the reference of the index page has been inadvertently damaged - you could try to add a new index to the book and see if it generates correctly.

    Edit: on the other issues, please post the separate Forum ("topics") for each of them, otherwise it's hard for everyone offer advice if several problems are addressed in a single thread.  And, it is always helpful if you specify exactly which version of FM you use (help > on, "pxxx" numbers) and your platform + service pack level, too, it helps to avoid a lot of confusion.

    Sheila

    Post edited by: Sheila

  • Message popup for the top-level Index Entry Click enter subindex

    I built a CHM Help, and when I open with the index tab, and then double-click the sub containin Scripture Scriptures, I get the following message is displayed:

    To locate information on this keyword, select one of the subentries in the list.

    See a screenshot below.  The dialog box appears when I double-click on the 'Abgeischertes Signal' top-level index entry.

    ToplevelIndex.JPG

    Is it possible to translate this message?

    I use RoboHelp HTML 8.0.2.208 (from TCS2).

    I searched for the string in all the files in C:\Program Files\Adobe\Adobe Technical Communication Suite 2 without result.

    Thank you

    Niall

    Hello

    As far as I know, it is controlled by the Help Viewer HTML, just like the legends of standard button (home, etc.).

    On my local PC, I get this message in Dutch, whereas on the VMware Server, I get this message in English. Try to view the CHM operating system on a German (or other language) and see if that helps.

    Take a bow

    Willam

    This email is personal. In our view, full disclaimer, please visit www.centric.eu/disclaimer.

  • Where that we manage for the display and entry date formats

    the specification of the user that is displayed as DD-MON-YYYY dates. Is there a config or properties file that contains the date format for display? Is there a drop down calendar which can be positioned next to an input field to date for a question on a screen?
    Thank you
    Allan

    Hi Allan,

    Just had a look at this takeover bid 10.1 on my machine.

    I noticed that for an attribute date as on a screen, when you use Input type = Year, Month and Day edits (in the file screens), it seems to display the three drop-down lists in the same order (day, month, year), regardless of what's been defined in the configuration line "input-date-formats" in messages. file .properties (locale).

    However, I was not sure of your email if the DD-MON-YYYY format was necessary for the entriesto date, or just for the display of date output. If the latter, then using the following in your messages. (place) .properties file...

    output-date-format = yyyy-MMM-dd
    

    ... will translate dates displayed like this: 1980-Jan-27

    To force the OWD to accept only dates of entry of user in the format '1980-Jan-27' then you can edit the line input-date-formats of configuration:

    input-date-formats = yyyy-MMM-dd
    

    ... However, it is rare to restrict the dates of entry into a single format. As you will see in the messages. (locale) .properties file entry-date-formats is set to a combination of common entry to the regional settings date formats, in addition to the ISO international date format (YYYY-MM-DD, e.g. 1980-01-27).

    See you soon,.
    Jasmine

  • SQL error: ORA-01840: value not long enough for the format of the date of entry

    It is a delete SQL in a driver of demand, which gives no error, but does remove all the lines either. I have converted the removal 'from' to ' Select * ' and may see the following error:

    Select * FROM PS_GPDE_DV_TRIG40 WHERE EXISTS (SELECT FROM 'X'
    PS_GPDE_DV_ELIG_MO ELG WHERE ELG. EMPLID = PS_GPDE_DV_TRIG40. EMPLID AND
    ELG. EMPL_RCD = PS_GPDE_DV_TRIG40. EMPL_RCD AND TO_DATE (TO_CHAR (ELG. PRD_END_DT
    "YYYY"). TO_CHAR (ELG. PRD_END_DT, "MM"). '01', "YYYY-MM-DD") =.
    PS_GPDE_DV_TRIG40. GPDE_DV_EVT_EFFDT AND ELG. CAL_RUN_ID = "CAL_0812")
    Error report:
    SQL error: ORA-01840: value not long enough for the format of the date of entry


    The interesting thing is that if I attach a condition of emplid, then the SQL above does not give an error and return lines:

    Select * FROM PS_GPDE_DV_TRIG40 WHERE EXISTS (SELECT FROM 'X'
    PS_GPDE_DV_ELIG_MO ELG WHERE ELG. EMPLID = PS_GPDE_DV_TRIG40. EMPLID AND
    ELG. EMPL_RCD = PS_GPDE_DV_TRIG40. EMPL_RCD AND TO_DATE (TO_CHAR (ELG. PRD_END_DT
    "YYYY"). TO_CHAR (ELG. PRD_END_DT, "MM"). '01', "YYYY-MM-DD") =.
    PS_GPDE_DV_TRIG40. GPDE_DV_EVT_EFFDT AND ELG. CAL_RUN_ID = "FM_CG_0812")
    and emplid = "1234"

    now, if the number of lines is identified (by giving more number of emplids), it begins to give the error when the number of rows returned is greater than about 30. It is completely independent of what employee is used, so there is no question of data dependence.

    Function optimizer cost is off and a subquery nest is off on the init.ora file

    subquery UNNEST= false

    optimizercost_based_transformation = off


    I don't know if it has something to do with this problem.

    Explanations would be welcome!

    Thank you
    Vikas

    I think it is question of data combined with a not very sensible date format mask (it could fail when the null data, because of your concatenation with '01' and work when not null data).
    Have you tried with a simple TRUNC?

    Your code:

    ...TO_DATE(TO_CHAR(ELG.PRD_END_DT, 'YYYY') || TO_CHAR(ELG.PRD_END_DT , 'MM') || '01' , 'YYYY-MM-DD') =PS_GPDE_DV_TRIG40.GPDE_DV_EVT_EFFDT...
    

    After change:

    ...TRUNC(ELG.PRD_END_DT , 'MM') =PS_GPDE_DV_TRIG40.GPDE_DV_EVT_EFFDT...
    

    Nicolas.

  • Formatting index

    Hi all

    I work in unstructured FM 10. With a book that has a list of markers generated. "Entries similar to this" abnormal... 220 "I got everything working properly for content, points of the leader, the page number and the hyperlink. Boredom, in that I am running is when you change the font and size of the Level1IOM paragraph tag hyperlink area changes and is now applicable to the points of the leader and number of page «...» 220 "instead of the whole line. Any ideas on what I am doing wrong?

    Thank you

    Jenn

    Set all index entry paratags (SeparatorsIX, IndexIX, Level1IX, Level2IX, etc.) on the reference IX page to use the same formats. The GroupTitlesIX are generally different.

  • problem opening document pages. Get the message: the requested index.xml file is missing.

    I can't open the document 'Pages' and get "the index.xml file required is missing."

    You should post the related issues of Pages in the Pages for Mac community support.

    You try to open a document v5 Pages in Pages ' 08 or 09 ' which does not support the format of document Pages v5. Exit your application Pages ' 08 or 09 ' and then double-click the document even have it open in Pages v5.

    When you are in Pages ' 08, ' 09, or same v5, the red light on the title bar of the document just close the current document and fails to complete Pages.

Maybe you are looking for

  • iPhone keeps asking for password hotmail (iOS 10)

    Hello I had this problem since upgrading to iOS iOS 10 9. I have 3 accounts hotmail on the iphone, once I get the password it will work properly for a period of time (usually one day) and then ask for passwords with a message indicating an error has

  • My printer hp deskjet 2500 series will not print PDF

    I just installed my printer yesterday and finally managed to print on my laptop with my ubs agreement. However, I tried to print a document to PDF file today and my printer does that emit a noise, then the print job disappears off my computer. I don'

  • How to import contacts from Hotmail Yahoo.to

    I think I put then in a file to export to Hotmail but I'm not sure, thanks

  • Error codes: 8002400 & 800B 100 (unable to install KB947821)

    I'm unable to install Windows UpdateKB947821.  A 800B 100 error code appears.  You can help me solve this problemsd please

  • Undetected memory card

    Hi, my phone, experia Z3 comes back from repairs, apparently they did the software upgrades and replace a hard drive, now its not reading my memory card. Any suggestions on what could be the problem, it was before repairing well.