Startseite Forums idx general support Entry and sub-entry format

Ansicht von 2 Beiträgen - 1 bis 2 (von insgesamt 2)
  • Autor
    Beiträge
  • Kate McIntosh
    Teilnehmer
    Post count: 2

    I do a lot of indexing of law books where I want case names and doctrines in italic but not the word „case“ or „doctrine“. Is this as simple as creating the index action:
    <i>\1</i> doctrine
    (where 1, in this case would be Aranyosi)

    or
    <i>\1</i> case
    (where one would be Dzodzi)

    So would I just highlight and make an entry of „Aranyosi“ and „Dzodzi“, then apply my index action, resulting in Aranyosi(in italics), space, doctrine (not in italics)?

    Thank you

    indexmanager
    Moderator
    Post count: 31

    In the edit window you can try out new index actions very well. Simply drag & drop sample entries into the edit window. The left window displays the actual state, the right window shows the search and replace change live. Please don’t forget to select the rx if you are not looking for a simple string but a general regular expression.
    For the above example, the index entries look slightly modified like this: Aranyosi doctrine and Dzodzi case
    The correct input in the Edit/Index actions window is as follows:
    Search: (.+)(doctrine|case)
    Replace: <i>\1</i>\2

    If the index action is used both in the main entry and in the subentry, two index actions must be created, which then differ in the column selection.
    I add the example to the index actions list in the forum.

Ansicht von 2 Beiträgen - 1 bis 2 (von insgesamt 2)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.