How to automatically create hyperlink destinations based on numbered list?

I am very new to InDesign and am creating a template for an academic journal. Each article contains a list of references at the end and the references are cited in the main text (like what you see in Wikipedia if you are not familiar with scientfic journal articles). In exported HTML, the citation in the main text should be hyperlinked to the coressponding reference in the reference list. I have two questions:
1) It is possible to ask paragraphy style to assign each numbered item a hyperlink destination? If this is possible, I can then manually inserted hyperlinks in the main text.
2) one step further, is there any way (e.g. script) which can then insert hyperlink to those destinations based on pattern match? For example, in main text, the citation to reference #1 appear in the text as [1] which should be hyperlinked to reference #1.
One more question, is there anyone who knows how academic journals handle the flow from InDesign to html? Certainly, the exported html cannot go directly online without further editing.
Thank you.

Hi Eric,
I posted the script here. But it should be adjusted to your particular document. (Anyone with basic scripting knowledge can do this). I am sure it won’t work as it is. I assume that “comments” and “references” are in two different stories.
Can I have the scripts from you (for a fee or free)?
I don't sell my scripts: they're free.
Can the scripts handle the pattens like these [3], [1-5], [3,4], [6, 8, 11-13]?
This script can't, but another handles both single page numbers and page ranges like so:
I can post it as well.
Now I’d like to make one thing clear:
I made a set of scripts for creating hyperlinks in InDesign documents for further exporting them to ePub/HTML. I can’t make a script that would work for everyone because all books are very different. I simply adjusted scripts for every book I had to work with (mainly changing GREP expressions and names of styles) and I have numerous variations of scripts. I can post them if someone is interested but you should be aware that they have to be reworked.

Similar Messages

  • How to automatically create a script based on XML input

    I was wondering if it is possible to automatically generate a script in Flash itself, so like a plug in or something that I can build that will allow me to take in an xml document and generate scripts on certain frames in certain movie clips
    or is it better to create a swf where users load in an xml file and things just happen from that (would that be safe? could I guarentee that no one would be able to screw things up?)

    Here are the steps to do for your requirement.
    1) In design console, create a rule like user-type ="end user"
    2) Create a role using the above rule and also create an access policy to provision these two resources using the above role.
    2) In design console, go to resource object --> select resource2->dependency tab--> assign resource1.
    3) Try to provision resource 1..it should provision resource 2 as well.

  • How to automatically create the custom migration scripts after recreating SSMA project?

    How to automatically create the custom data migration scripts after recreating SSMA project?
    There is number of tables ( big tables with BLOBS)  which I want to set up automatically to be migrated with custom migration scripts (replacing e.g. attribute named "FILE" with "TO_BLOB('') AS FILE" ).
    So the question is how to open MB file (I think that it should be standard db of some destktop RDBMS) ? 

    Hi Roman.Pokrovskij,
    According
    to your description, we can use SSMA tool to migrate data from one database (including Access, Oracle and so on) to SQL Server via GUI or the scripts. There is an example about migrating Access database to SQL Server via the
    custom migration scripts, you can review refer to them.
    <?xml version="1.0" encoding="utf-8"?>
    <ssma-script-file xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\Microsoft SQL Server Migration Assistant for Access\Schemas\A2SSConsoleScriptSchema.xsd">
    <config>
    <output-providers>
    <output-window suppress-messages="false"
    destination="stdout"/>
    <upgrade-project action="yes"/>
    <data-migration-connection source-use-last-used="true"
    target-server="target_1"/>
    <progress-reporting enable="false"
    report-messages="false"
    report-progress="off"/>
    <object-overwrite action="skip" />
    </output-providers>
    </config>
    <servers>
    <!-- Server definition for Sql server target server-->
    <sql-server name="target_1">
    <sql-server-authentication>
    <server value="$SQLServerName$"/>
    <database value="$SQLServerDb$"/>
    <user-id value="$SQLServerUsrID$"/>
    <password value="$SQLServerPassword$"/>
    <encrypt value="true"/>
    <trust-server-certificate value="true"/>
    </sql-server-authentication>
    </sql-server>
    </servers>
    <script-commands>
    <create-new-project project-folder="$project_folder$ "
    project-name="$project_name$"
    overwrite-if-exists="true"/>
    <connect-target-database server="target_1"/>
    <load-access-database database-file="$AccessDbFolder$\$AccessDatabaseFile$"/>---
    <!--Schema Mapping-->
    <map-schema source-schema="$AccessDatabase$" sql-server-schema="$SQLServerDb$.dbo" />
    <!-- Convert schema -->
    <!-- Example: Convert entire Schema (with all attributes)-->
    <convert-schema object-name="$AccessDatabase$"
    object-type="Databases"
    conversion-report-overwrite="true"
    verbose="true"
    report-errors="true" />
    <!-- Synchronize target -->
    <!-- Example: Synchronize target entire Database with all attributes-->
    <synchronize-target object-name="$SQLServerDb$.dbo"
    on-error="fail-script" />
    <!-- Data Migration-->
    <!--Example: Data Migration of all tables in the schema (with all attributes)-->
    <migrate-data object-name="$AccessDatabase$.Tables"
    object-type="category"
    report-errors="true"
    verbose="true"/>
    </script-commands>
    </ssma-script-file>
    There is a similar scripts about migrating Oracle database to SQL Server, you can use powershell script to automatically run the console for scripts/variable files, saved in the specified folder. For more information, review the following
    article.
    http://blogs.msdn.com/b/ssma/archive/2010/09/09/performing-database-migration-assessment-using-ssma-console-application.aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • How do we create Hyperlink to local file on c:\ in Web Intelligence

    How de we create Hyperlink to local file on c:\ in Web Intelligence.
    Thanks in advance,
    K.

    K,
    You can't hyperlink to a local file when you are in WebI.  The ability to hyperlink requires the http protocol to be employed, wrapped within a web service (like IIS, for instance).  So to hyperlink to any file, that file must be a part of a web service, and the web service must have access to the folder (again, like in IIS you must create web shares and IIS must "mount" those shares in an http environment).  Hopefully I'm making sense to you on why it can't be done. 
    On the other hand, content that is static and has been made available for browsing on the web can also be linked to by populating a cell in a WebI report, marking that cell as "read cell contents as hyperlink", etc, etc.
    Thanks,
    John

  • Possible bug with creating hyperlink destination while in story editor

    I'm just curious if anyone else is experiencing this and if it's proper behavior or a bug:
    I'm making manual cross references for endnotes in an ebook. To do this I'm creating hyperlink destinations for each endnote and endnote reference. I'm doing this in story editor because I can see the destination targets, however, I'm having a weird issue where when I hit enter when in the hyperlink destination dialog box, it closes and puts a hard return in my text. If I'm doing this in layout mode, I don't get the hard return--it's only in story editor. Creating a hyperlink and hitting enter on that dialogue box does not have the same behavior. It's just the "New Hyperlink Destination" dialog box that does it.
    Can someone else replicate this behavior: Open story editor for any length story. Select some text (doesn't matter where it is), and go to the hyperlink panel menu and select "New Hyperlink Destination" and then hit the keyboard "enter" [rather than clicking on OK] to close the dialogue box.
    When I do this on my Windows 8 laptop running the latest InDesign CC 2014, I'm getting a hard return that deletes whatever text was selected in the story editor. Is this supposed to happen?

    I'm just curious if anyone else is experiencing this and if it's proper behavior or a bug:
    I'm making manual cross references for endnotes in an ebook. To do this I'm creating hyperlink destinations for each endnote and endnote reference. I'm doing this in story editor because I can see the destination targets, however, I'm having a weird issue where when I hit enter when in the hyperlink destination dialog box, it closes and puts a hard return in my text. If I'm doing this in layout mode, I don't get the hard return--it's only in story editor. Creating a hyperlink and hitting enter on that dialogue box does not have the same behavior. It's just the "New Hyperlink Destination" dialog box that does it.
    Can someone else replicate this behavior: Open story editor for any length story. Select some text (doesn't matter where it is), and go to the hyperlink panel menu and select "New Hyperlink Destination" and then hit the keyboard "enter" [rather than clicking on OK] to close the dialogue box.
    When I do this on my Windows 8 laptop running the latest InDesign CC 2014, I'm getting a hard return that deletes whatever text was selected in the story editor. Is this supposed to happen?

  • How to automatically create a player schedule?

    I need your help how to automatically create a player schedule from a given list of players who will play doubles in a given period.
    Let's say, I have a list of 12 players who will each play doubles with random partners for 4 times.
    So play one could be: 1&2 vs 3&4, 5&6 vs 7&8, 9&10 vs 11&12.
    But now I want inumbers to plan the second, third and fourth play automatically but with unique combinations.
    In this example it's quite easy to do it manually, but I need to plan something similar for the tennisclub with many more players.
    It should be able to set up a worksheet where you will fill out the following parameters:
    List of players, number of available courts, whether you want ot let them play single or double games, number of plays.
    The last one could also be left empty so discover how many unique plays you have given the other parameters.
    I hope someone is able to help me, because this would save me a lot of time to make the planning for the tennisclub.
    Thanks in advance for any support!

    OK.  I think this may work for you:
    There are two parts:
    1) a small program you have to run (this is the part you may find difficult at first)
    2) a Numbers spreadsheet
    1) the program is invoked on the command line in the terminal.  You can open the Terminal by navigating to the folder "/Applications/Utilities"
    you need to download the zip file here, then copy and unzip  in the same folder where you plan to store the Numbers document for making the tennis schedule.
    Let's agree for this procedure that you are storing the program and Numbers file in the folder "/Users/<your user name>/Documents/TennisSchedule".
    Once you launch the terminal you can navigate to the folder where you stored the zip file by typing:
    cd ~/Documents/TennisSchedule
    now you can invoke the program by typing:
    ./TennisRandomList
    Then hit the return key.  Without any arguments the program simply emits some program information with a little help on how to use it-- described in the text starting with "USAGE" (see below)
    Proton:TennisRandomList wayne$ ./TennisRandomList
    Tennis Randomw List maker
    Version 0.1
    compiled on Nov 18 2012 @ 09:14:41
    USAGE: TennisRandomList numPlayers numCourts numWeeks type verbosity
      numPlayers: 1 - 255
      numCourts: 1 - 255
      numWeeks: 1 - 255
      type: [s]ingle or [d]ouble
      verbosity: 0 - 5
      0 -> player ids only
      1 -> player ids + inputs
      2 -> player ids + inputs + raw random values
      3 -> player ids + inputs + raw random values + pairings
      4 -> player ids + inputs + raw random values + pairings
      5 -> player ids + inputs + raw random values + pairings
    Proton:TennisRandomList wayne$
    so to make a schedule for:
    -12 players
      - 3 courts
    - 6 weeks
    - singles
    you would invoke as:
    ./TennisRandomList 12 3 6 s
    Then type return.
    you should get something like:
    Proton:TennisRandomList wayne$ ./TennisRandomList 12 3 6 s
    Weeks: 6
    Players: 12
    Courts: 3
    Type: singles
              Game
    Week          Slot          Court 1          Court 2          Court 3
    1          1          3          2          4          6          5          8
    1          2          9          11          10          12          1          7
    2          1          12          2          7          10          11          1
    2          2          3          5          8          4          9          6
    3          1          6          11          2          1          7          3
    3          2          4          8          5          10          9          12
    4          1          4          8          11          3          5          7
    4          2          10          12          1          6          9          2
    5          1          8          4          3          12          9          5
    5          2          6          10          7          11          1          2
    6          1          5          7          1          12          3          10
    6          2          6          8          2          4          9          11
    Proton:TennisRandomList wayne$
    You can select, then copy the text following the line "Week Slot Court 1 Court 2 Court 3" upto, but not including, "Proton:TennisRandomList wayne$ "-- bolded in the above quotation
    You can paste that into the Numbers document we will now make.
    2) a Numbers spreadsheet
    The Numbers document includes several tables as shown below:

  • How do I create a pivot table in numbers?

    How do I create a pivot table in numbers?

    SO HERE'S WHAT I GOT TO WORK:
    Truth is all the real functionality of categories and pivot tables exists in the formulas. You just have to
    Create a new table with a list of the categories in the header column.
    Add SUMIFS() formula from the browser into the next column.
    Enter your arguments and make sure to check "Preserve Column" for each of them.
    Although it might not be apparent, you can enter multiple test value and condition pairs.
    While I admit the formulas are not nearly so graphic as categories, they are cleaner and less restricting, and they aren't any more difficult to work with than pivot tables.

  • How can I create Hyperlinks with a Fixed-Ratio EPUB?

    I am using InDesign 2014's fixed ratio epub exporter. It looks great but all my hyperlinks are lost and I can't find any resources on how to maintain them or to recreate them in a reader program, if possible. Any help much appreciated?

    Are the hyperlinks you want to make supposed to go to specific pages of the document, or to a url.
    If it's to go to pages of the document, then click the Create Bookmarks when creating the TOC, it's in the bottom left, you may need to Show Options in the TOC dialog box.
    If it's for a URL, or to link to a different page other than what the TOC points to, then you can
    New Hyperlink Destination
    Choose URL/Page
    Insert a unique name
    Insert the url/page no.
    Then say ok
    Go to Hyperlink Options
    Type: URL
    Name: Choose the unique name you've created
    URL: it should show up as what you've put in the Name, if not just type it in
    similar for page no.
    Remember to inlcude bookmarks and hyperlinks when creating the PDF too.

  • How to automatically create fillable PDFs from XML

    We are looking for a way to create fillable PDFs that users can enter data into and save (so the PDF needs Reader Rights applied) and we want to be able to automatically create these PDFs from XML files. We are able to do what we want in a manual fashion using Acrobat Pro v8 but we need a way to automate this due to the volume of XML files that we will need to convert.
    Is there any way that this can be scripted from a command line interface with Acrobat.. like:
    Acrobat.exe –input FileName.xml –output FileName.pdf –applyReaderRights true
    If there is no command line options for this is there any way that this could be coded using .NET or any other programming language?

    You cannot automate applying usage rights with Acrobat. For that you'd need to use Adobe's LiveCycle Reader Extensions.
    How exactly are you currently converting XML into fillable forms? Are you using an XDP to somehow convert to an XFA-based PDF?

  • How to automatically create xml documents ?

    Hi,
    I have created an xml form with specific fields and properties. Now, I want to automatically create a large amount of xml documents based on it.
    Is there any means to do this ?
    Thanks,
    Loïc LEVEUGLE

    You cannot automate applying usage rights with Acrobat. For that you'd need to use Adobe's LiveCycle Reader Extensions.
    How exactly are you currently converting XML into fillable forms? Are you using an XDP to somehow convert to an XFA-based PDF?

  • How can I Create Hyperlinks on a computer generated Table Of Contents?

    I am trying to create hyperlinks on a TOC that was generated in InDesign CS3. It will allow me to make each item a new hyperlink destination, but I would like it to be just a new hyperlink. Is there a way to do this without having to re-type the whole Table of Contents?

    Are the hyperlinks you want to make supposed to go to specific pages of the document, or to a url.
    If it's to go to pages of the document, then click the Create Bookmarks when creating the TOC, it's in the bottom left, you may need to Show Options in the TOC dialog box.
    If it's for a URL, or to link to a different page other than what the TOC points to, then you can
    New Hyperlink Destination
    Choose URL/Page
    Insert a unique name
    Insert the url/page no.
    Then say ok
    Go to Hyperlink Options
    Type: URL
    Name: Choose the unique name you've created
    URL: it should show up as what you've put in the Name, if not just type it in
    similar for page no.
    Remember to inlcude bookmarks and hyperlinks when creating the PDF too.

  • APEX  How do I create a Form based on a Database Table from other schema

    My APEX schema is WISEXP. I have a database table that resides in WISDW schema on the same database. I want to create Tabular form based on this table.
    I am not able to create a FORM based on the table from WISDW schema. I am able to create a FORM based on SQL though from this table in WISDW schema - but it does not do any action on Update/Insert rows.
    Appropriate Synonyms and grants are created. Is there a limitation or am I missing something? Please advise.
    thanks
    Rupen

    If Rupen is using 2.2 or 2.2.1, it is likely he is running into the bug described here: Re: Workspace to Schema Assignments
    In that case, it may be a necessary and sufficient workaround to assign the foreign schema to the workspace.
    Scott
    Message was edited by:
    sspadafo

  • IDCS6 - How do I create tables with large whole numbers and small fractions?

    I have a lot of engineering data, dimensions, etc, to enter into an existing IDCS6 Table. I need whole numbers to display full size, but fractions to be small size. I know I can use Open Type and select the Fractions option for each individual fraction, but that would take forever and give me a roaring headache.
    How do I create a style (or whatever) that will allow me to just type in the numbers and have them automatically apply small formatting to the fraction portion of the number whenever it sees a "/"?
    Along a similar line, I was trying to copy table data from a PDF document from Acrobat X Pro and paste that into an IDCS6 table, so each cell is populated by the appropriate cell data from the PDF file, but didn't have any success. That would really save me a lot of time, because I have many complete tables in PDF format. The data is not protected in the PDF, but I'm having a hard time figuring out how to bring it over to IDCS6.
    On a Mac, OSX 10.8.5.
    Thanks,
    Lou

    There are a number of ways to do it, but I make fractions using Dan Rodney's excellent (and free) Proper Fraction script. After it's installed; assign it a keyboard shortcut. Then type your numerator/denominator, select it, and invoke the script. With just a couple keystrokes, you've got a perfectly formatted fraction.
    As for the PDF tables, I'd try exporting the host file to RTF and copy/pasting from there. In case you're unaware, to paste values into InDesign table cells, the number of (pre-existing), cells/rows/columns in InDesign must match those copied (from) exactly, and must be pre-selected when the Paste command is executed. So...
    1. Set up empty destination table in InDesign which matches the source structure.
    2. Select source cells and Copy.
    3. In Indesign, select exact same (x, y, qty), range of destination cells and Paste.

  • How do I create a group in my contacts list?

    I have a 4s and want to create a group in my contacts list and can't figure it out. Someone please help and tell me how I can do this. Thanks!

    This might help but I have never used it
    http://support.google.com/mail/bin/answer.py?hl=en&answer=138740

  • How do I get rid of multiple phone numbers listed in iMessage and Facetime?

    I just upgraded to the iPhone 5 and also upgraded my husband to the iPhone 4. I had originally activated his phone under my Apple ID but have since gotten him his own Apple ID. The problem I am having is that I have both of our phone numbers listed under:
    Settings>Messages>Send & Receive>You can be reached by iMessage at:
    It then lists my number and his number. Does anybody know how to delete his number? He seems to be getting some of my messages and his number is also listed under my Facetime contact numbers.

    basically, you have to backup your phone to your computer, restart it, and set up as a new one. then you can start fresh, but still keep all your data and contacts.

Maybe you are looking for