Variable section prefix or marker

Hello,
I'm working on a book with numerous chapters and would like to number the chapter pages as follows
1-1, 1-2, 1-3,.....
2-1, 2-2, 2-3,......
etc.
where x-y represents (chapter number)-(page number). This format also needs to be in the table of contents.
I've looked at section marker and section prefix, however it looks like these are text markers, not variables. Right now I don't know the final order of the chapters, so ideally I need the section marker or prefix to be a chapter number variable.
Is it possible to do this?
Thanks you.

I ran bash, assuming that would refresh env... wrong.
Closed my ssh session, reconnected and.
pacman -Qi zoneminder
Name : zoneminder
Version : 1.28.1-2
Description : Capture, analyse, record and monitor video security cameras
Architecture : x86_64
URL : https://github.com/ZoneMinder/ZoneMinder/releases
Licenses : GPL
Groups : None
Provides : None
Depends On : mariadb perl-dbd-mysql perl-dbi apache php php-apache php-gd php-mcrypt
perl-php-serialization perl-libwww perl-net-sftp-foreign ffmpeg vlc
perl-sys-mmap gnutls polkit perl-expect perl-archive-zip perl-date-manip
perl-mime-lite perl-mime-tools
Optional Deps : netpbm [installed]
cambozola
perl-time-modules [installed]
perl-x10 [installed]
perl-astro-suntime [installed]
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 21.02 MiB
Packager : Unknown Packager
Build Date : Thu Jun 4 13:01:14 2015
Install Date : Thu Jun 4 13:01:31 2015
Install Reason : Explicitly installed
Install Script : Yes
Validated By : None
YOU ROCK! Thanks a million!

Similar Messages

  • Is there a way to control the section prefix (chapter, section, ...) to say something else ?

    i would like to use different section prefix text than author uses by default. i would not find a way to change the text anywhere.

    Philipp,
    Make sure your Styles Drawer is open.
    Then 'select' the text you want changed. You will see that its paragraph style is now highlighted in the Styles Drawer,
    Change font, style, size, colour, etc.
    While the text is still selected, click the little red arrow to the right of the style name in the drawer. In the drop down menu, select: "Redefine Style from Selection".
    The preview in the Style Drawer will now be the same as your selection, and will automatically change every instance of that style throughout the entire book.

  • Premiere CS3: How can you encode xml cue point data in the chapter section of a marker for FlashVid?

    Hi there,
    I'm a total newb to this forum, so hello adobe premiere community! I'm perplexed by Adobes documentation on Premiere (and I'm sure I'm not the first ) anyway on the live documents page below:
    http://livedocs.adobe.com/en_US/PremierePro/3.0/help.html?content=WS9390BED7-9466-46ea-A0E A-3240F1AFC36C.html
    it states that:
    “The cue point data in the Chapter field of a sequence marker in Adobe Premiere Pro will be encoded as Flash XML. For the XML protocol required, see Flash Help.”
    Which is great…except this information doesn’t exist seemingly in either the Premiere documentation or Flash either for that matter, but as I’m interested in working with the chapter/marker area in Premiere – should I really be told to go off and search the documentation for another application, probably not!  What would have been useful would have been a code snippet saying you do it like this, but of course, that would make things too easy!
    Basically, I understand that in After FX you can add Flash marker information specifically for interpretation when exporting to Flash Video (i.e. name, type and parameters etc) and it suggests that you can do the same above in Premiere CS3 using some kind of concatenated string in the chapter area…it just doesn’t tell you how anywhere seemingly – WHY ADOBE!
    Currently when I export markers as cue points based on the advice in the page above, anything I put in the chapter section to force Premiere to create a cue point is converted to a string, which becomes the cue point ‘name’.
    This cue point name is then automatically appended to the ‘time’ the marker was inserted at and is always encoded as type ‘navigation’, with no obvious means of adding ‘parameters’ into the equation.
    So (finally) does anyone know if you can insert this information into the chapter area for correct interpretation by flash (i.e. thus allowing you to choose between either 'navigation' or 'event' types, and pass as many 'parameters' as you wish etc) or are you just limited to supplying a name, and it being automatically set to the navigation type with no parameters?
    I’m sorry for this long essay but at least the issue is well defined for you to answer, honestly any help you can provide what so ever would really be most appreciated!
    Best regards,
    Kat
    PS – I have utterly no knowledge of XML either just in case you were wondering – and my only interest in XML is getting this basic information encoded into the FLV file from Premiere Pro CS3! Please help, pretty please with daisy’s!!!

    Hi dradeke,
    Thanks for your reply, which is indeed useful as clearly Adobe have made this task easier and less obscure in CS4 by adding simple interface functionality, however I'm stuck with using CS3 for the moment.  Its not majorly a problem as the video material in question can be exported uncompressed then setup with cue points using the Flash encoder as an alternative (i.e. or even After FX CS3 also) which both provide the same features as Premiere CS4 seemingly. It is just that it would be much easier to be able to drop in simple markers whilst working with Premiere CS3, as this is what we are going to be using primarily, I just wondered if anyone knew how to invoke this in CS3 - its possible you can't, the documentation is vague at best!
    However I really appreciate your response and help, thanks 

  • Bind variables in double quotation marks are not recognized

    Hello,
    when I do "Execute Statement" (F9) in the SQL Worksheet and the statement incorporates a bind variable in the form :"Some Variable", i.e. variable name is in double quotation marks, I will get an error message "ORA-01008: not all variables bound". No prompt for entering the bind variables is displayed. Our application uses this kind of bind variables only and it is quite time consuming to change all the bind variable names before executing it especially when bind variable names contain spaces. Is there an option to enable recognition of this kind of bind variables? If not I would like to see this annoying issue fixed.
    I am running Oracle SQL Developer 1.5.1 build MAIN-5440.
    I am connecting from the Windows XP SP2 (32bit) box to Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 (64bit) using Basic connection type.

    Hi mc1100 ,
    Bug logged: Bug No: 7323289 F9 BIND VARIABLES SHOULD BE ABLE TO BE IN DOUBLE QUOTES AND HAVE SPACES.
    -Turloch

  • Variable preceded with exclamation mark

    A colleague of mine just noticed something that I have never seen before and can't see the purpose of - preceding a variable with !.
    DATA:
      mydate TYPE d.
    mydate = sy-datum.
    ADD 1 TO !mydate.
    WRITE: mydate, !mydate.
    The memory reference is identical, changing MYDATE changes !MYDATE too.  Works for internal tables too.
    Odd.
    Scott

    Hi Christian,
    from my point of view, you are perfectly right.
    One should try not to use "reserved ABAP words" at all(even if ABAP doesn't have "reserved words" in a technical sense9. And to be perfectly sure to do so, one must follow some naming conventions because you can never be sure that a unprefixed word, that is not an ABAP word today, will not become an ABAP word in a future release.
    But this is my personal opinion. Officialy, ABAP does not enforce naming conventions and names that are equal to ABAP words are allowed. In some cases like
    DATA i TYPE i.
    this can be okay (different namespaces for types and data objects). But other declarations that lead to  syntactically correct statements like
    READ TABLE TABLE WITH TABLE KEY TABLE = TABLE.
    should of course be avoided, even if you do not have to use the escape symbol!
    So, it is the developers own responsibility to keep his or her source code readable. Naming conventions can be a great help, but are no necessity. But in fact there should never be a situation, where you use names that force you to use the escape symbol (introducing ! into above READ TABLE statment is not mandatory but would make it more readable).
    Regards
    Horst

  • Section Numbering in Header

    On a master page, I need the section number and section title to show in a header. I am setting up a template for a multi-section document and making the transition from Word to InDesign templates has been a bit of a leap.
    I created a text variable for my Heading 1 style and used it in my header to show the title of the section. For the number, all I could think of was that I needed use a section marker character in the header and had to specify it manually in the Section Marker box in my Numbering & Sections options window.
    (1) Is this the only/best way of accomplishing this task?
    and while we're talking about the window...
    (2) Is entering the Section Prefix manually the only/best way of getting the section number to show in my footer page numbers?

    I’m interested in answers to this problem too, and pleased that two of the “top minds” of this forum are on the case...
    I’ve had to deal with a similar problem while typesetting Shakespeare plays. Basically, I need a running header on every page that displays the act number and scene number. And it must all go into a single document (rather than an InDesign “book”).
    My own “solution” to this problem seems so clunky I hesitate to mention it. I use GREP to add numbers (using invisible character styles) to almost every line. One invisible number is the act number, the other is the scene number. The running header grabs the first occurrences on each page of these two character styles, and displays them at the top of the page -- which is the only place where they are visible.
    There simply has to be a better way. Alas, so far I’m unaware of it.
    I’ll modestly admit, however, that this method isn’t as bad as it sounds. The invisible numbers add a negligible amount to the size of the document, and it only took about ten minutes to add them to Hamlet, a l-o-n-g play.
    But tell me: what is the better way?
    Jeremy

  • Use variable in mapping

    Hi!
    How to use Variable in mapping ? I've tried #PROJECT_CODE.VARIABLE_NAME but execution ends with an error "Illegal character"
    With regards,
    PsmakR

    There is no need to use package name if variable is locate in the same package with the interace. Else (according with documentation):
    Referring to variable MY_VAR in your objects should be done as follows:
    • #MY_VAR: With this syntax, the variable must be in the same project as the object referring to it. Its value will be substituted. To avoid ambiguity, consider using fully qualified syntax by prefixing the variable name with the project code.
    • #MY_PROJECT_CODE.MY_VAR: Using this syntax allows you to use variables across projects. It prevents ambiguity when 2 variables in different projects have the same name. The value of the variable will be substituted at runtime.
    • #GLOBAL.MY_VAR: This syntax allows you to refer to a global variable. Its value will be substituted in your code. Refer to section Global Objects for details.
    • Using “:” instead of “#”: You can use the variable as a SQL bind variable by prefixing it with a colon rather than a hash. However this syntax is subject to restrictions as it only applies to SQL DML statements.
    And make sure you declare it in the package as was suggested in the previous post.

  • Section / Section #

    Hello,
    I'm trying to do something I thought would be fairly simple:
    I'm using CS2 (i know, i know, its not my fault.  I swear).  I'm trying to place a section title and a section number in the same document.  I would like them to be different fonts, so I need to somehow specify when I'm using a section title and when I'm using a section number.  I thought that this could be done using the section prefix vs. heading distinction but soon discovered that the section prefix could only be inserted as part of the page numbering.  I was wondering if there was a way to tell inDesign that every time I use a specific text, it adds another piece of text in a different front right next to it.  For example, using section markers, i could have indesign recognize that every time it reads section number 10.2, it would place the section title right next to it.  Or vice versa, if it reads a title, it would put the correct section number next to it.
    Of course, I would love this to be automated and dynamic, but maybe that's asking for to much.  In short, is there any way to get a section prefix without a page number next to it?  Or give sections two different section headings?

    Consider upgrading to CS5 if you are doing a lot of this sort of thing. The introduction of variables makes a lot of this very simple in later versions, but a lot of what you are trying to do in CS2 can really only be accomplished by making many master pages, each taylored to a particular section or chapter.
    CS2 is the earliest version eligible for upgrade pricing to CS5, and if current policy holds it will not be eleigible for CS6 when that is released (probably in a littel over a year from now if the current cycle continues). Suites can only be upgraded as a unit, which is not cheap untill you compare it to the full retail cost of  a suite pacakge, and then it starts to look very good, but if you InDesign is a stand-alone it can be upgraded for around $200. The difference between working with CS2 and CS5 in terms of productivity enhancements and new features will be somthing like switching from your old electric typewriter to a real word processor, and you'll make up the cost of the upgrade, even for a full suite, in little or no time on increaed prodcutivity alone if you work with the programs daily. (plus there's the failure-to-upgrade-now penalty  if you decide you want CS6 when it comes out -- you'll probably still save money by upgraing to both CS5 and CS6, you spread the cost over a longer period, and you get to use CS5 in the meantime.)

  • Can i assign a string to a variable in User Exit?

    Friends,
    I would like ot write a User Exit that will assign a string to a variable depending on the value of the other variable.
    I just wanted to know if such a code is valid:
    When zimport
    IF i_step = 2.      " read user input parameter
            l_s_range-low = 'Important'.
         APPEND l_s_range TO e_t_range.
        ENDIF.
    If so, my second problem is that in the variable exit definition with processing Customer type you need to identify a "Dimension" for the variable. Non of them really fit, because the value is a string so why convert it to another format?
    Your input is appreciated in advance,
    Xibi

    hi Xibi,
    say you have var1 and var2, var2 will be filled depend on value of var1, you can write something like following.
    please be remind that var2 is not marked as “ready for input” and is set to “mandatory variable entry”.
    hope this helps.
    The second step (I_STEP = 2) is called after the processing of the variable pop-up. This step is called only for those variables that are not marked as “ready for input” and are set to “mandatory variable entry”.
    WHEN 'var2'.
        IF I_STEP = 2.
          LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
                  WHERE VNAM = 'var1'.
            CLEAR L_S_RANGE.
            if LOC_VAR_RANGE-low = ...
              L_S_RANGE-LOW = 'IMPORTANT'.
            else.
              L_S_RANGE-LOW = '....'.       
            endif.
            L_S_RANGE-SIGN   = 'I'.
            L_S_RANGE-OPT    = 'EQ'.
            APPEND L_S_RANGE TO E_T_RANGE.
          ENDLOOP.
        ENDIF.

  • Do we need to update snpsagent.conf File and Windows Environmental variable in ERPI 11.1.2.2

    In ERPI 11.1.1.3 Admin guide its mentioned we need to update the below , do we need to do the same in 11.1.2.2 version also
    Updating the snpsagent.conf File
    ä To update the snpsagent.conf file:
    1 Navigate to the folder where Oracle Data Integrator is installed.
    For example, C:\OraHome_1\oracledi\tools\wrapper\conf.
    2 Using a text editor, open the snpsagent.conf file.
    3 Search for: wrapper.java.library.path.1.
    4 On a new line, add the following text:
    wrapper.java.library.path.2=../drivers
    5 Close and save the file.
    Updating the Windows Environment Variable
    After you update the snpsagent.conf file, add the ODI drivers path information to the
    Windows environment variable.
    ä To update the Windows environment variable:
    1 On the desktop, right-click My Computer, select Properties. Select the Advanced tab, and then click
    Environment Variables.
    2 In the System variables section, select the Path variable, and then click Edit.
    3 At the end of the Variable value line, add a semi-colon (;), and then add the Oracle Data Integrator
    driver path.
    For example, C:\OraHome_1\oracledi\drivers.
    4 Click OK three times.
    5 Restart the Oracle Data Integrator Agent Service.
    Thanks

    You should not have to do this in ODI 11.1.1.6 for ERPi 11.1.2.2.

  • Calculations on customer exit using input variable

    hi,
    suppose i have a date input variable on my query, and i want to use the input value as an input for a calculation to be done in a different characteristic variable whose value is derived via a customer exit. how could this be done?
    as an example - i have an input date field, and say, the user enters 1/15/2005. the other characteristic variable is, for example, sales for a given date, restricted against a characteristic variable (customer exit) which should restrict the KF to say, the start of the month of the input date up to the input date (in this case, 1/1/2005 - 1/15/2005).
    thanks in advance. =)
    ryan.

    Hi Ryan,
    you have to use parameter I_STEP = 2 in your exit (IF I_STEP = 2. (...))
    This second step is called after the processing of the variable pop-up and only for those variables that are not marked as “ready for input” and are set to “mandatory variable entry”.
    Build your second variable in this way and then you can use this step to see first (pop-up) variable value.
    For details see www.service.sap.com/bw -> SAP BW InfoIndex -> Variables -> How to... Derive a Variable value from another variable 2.x (pdf).
    Hope it helps (and please don't forget to assign some points by clickin'on the yellow star to the contributors that help you !!!)
    Bye,
    Roberto

  • Bind variable in OBIEE 11G

    Hi,
    Is there any bind variable concept in OBIEE 11g.
    If it is not there then how to achieve this.How to write a where clause to get the result set dynamically.
    Thanks-Bhaskar Gouda
    Edited by: 961171 on Sep 25, 2012 12:44 AM

    Hi,
    I can make use of repository variable ,but my scale marker doesn't get changed .I am giving all the details .Please help me if you can.
    My scale marker SQL Query is as below.
    select trucks.factrucks
    from "plant model"
    Now i want to add a where clause say:
    select trucks.factrucks
    from "plant model"
    where truckid=:p_truckid;
    How can i do this and pass the parameter from go_url.Please help me out.
    Thanks-Bhaskar

  • Setting Path variable in Win XP Pro

    Hello,
    I have installed Java SDK 1.3.0_02 on Windows XP professional.
    I have set my path to:
    %SystemRoot%\system32; %SystemRoot%; %SystemRoot%\system32\WBEM;
    %SystemRoot%; %SystemRoot%\system32\WBEM; C:\Program Files\Common
    Files\Adaptec Shared\System; %Java_Home%\bin; %Java_Home%; %Tomcat_Home%;
    where %JAVA_HOME% refers to C:\jdk1.3.0_02.
    I get the following error upon trying to use 'javac' in the DOS command
    prompt:
    'javac' is not recognized as an internal or external command, operable
    program or batch file
    According to the instructions at
    <http://java.sun.com/j2se/1.3/install-windows.html#Environment> I have done
    all I can. Also, according to this article I should not have to set a
    classpath variable. Should I set a classpath variable?
    Here are some conditions I cannot figure out:
    1) When I use the 'java' command with any switches (such as -version) I get
    a proper response.
    2) When I type on the command line "set path=C:\jdk1.3.0_02" and then try
    "javac" command it works. This happens only while the command window is
    opened. If it is closed and reopened I will have to do it again. This should
    not be required.
    3) When I navigate to the "C:\jdk1.3.0_02\bin" directory and try using the
    "javac" command it works fine.
    4) Everytime I use the 'autoexec' command in the C: root directory I get an
    old version of the path variable without my recent path settings.
    What do I need to do to simply open a command prompt and compile Java code?
    It seems to work fine on other installations. I want to be able to use
    'javac' from any directory without referencing in the command line the
    directory of 'javac'.
    My main question is how do I set the path variable so it permanently stays in
    Windows XP Pro? What is the simplist way to do this?
    Should it be set in the environmental variables section under 'My Computer'? Should it be set in DOS? Should it be set in 'autoexec.syd' in the C: root directory (there is not autoexec.bat)? Someone mentioned to set the
    Sincerley,
    Chris

    From the command prompt echo your classpath (echo %classpath%) and see what displays. If it's not the one from your environment variables, then something else is getting it's dirty hands in the way.
    You may want to take a look through your autoexec.bat and remove any lines that set the path variable. Leave it to your windows environment settings to do it for you.

  • Passing variables in an array to jtextarea?

    What method could I use to pass different Strings in an array to a jtextarea each time the "Next" button (a JButton) in my JFrame is pressed? So, for example, if i hit next, i might want the word "frank" to print in the jtextarea, but the next time i hit it, i might want it to print "joe" Thank you!!
    This is my code:
    public class discardedSaluteMyShorts extends JPanel implements ActionListener
        JTextArea textArea;
        String newline = "\n";
        static final public String NEXT = "next";
        public discardedSaluteMyShorts()
            super(new BorderLayout());
            //Create the toolbar.
            JToolBar toolBar = new JToolBar("Still draggable");
            addButtons(toolBar);
            //Create the text area used for output.  Request
            //enough space for 5 rows and 30 columns.
            textArea = new JTextArea(5, 30);
            textArea.setEditable(false);
            JScrollPane scrollPane = new JScrollPane(textArea);
            //Lay out the main panel.
            setPreferredSize(new Dimension(450, 130));
            add(toolBar, BorderLayout.PAGE_START);
            add(scrollPane, BorderLayout.CENTER);
        public void addButtons(JToolBar toolBar)
            JButton button = null;
            //third button
            button = makeNavigationButton("Forward24", NEXT,
                    "Next light or sound cue",
                    "Next");
            toolBar.add(button);
        public JButton makeNavigationButton(String imageName,
                String actionCommand,
                String toolTipText,
                String altText)
            //Look for the image.
            String imgLocation = "images/"
                    + imageName
                    + ".gif";
            URL imageURL = discardedSaluteMyShorts.class.getResource(imgLocation);
            //Create and initialize the button.
            JButton button = new JButton();
            button.setActionCommand(actionCommand);
            button.setToolTipText(toolTipText);
            button.addActionListener(this);
            if (imageURL != null)
            {                      //image found
                button.setIcon(new ImageIcon(imageURL, altText));
            else
            {                                     //no image found
                button.setText(altText);
                System.err.println("Resource not found: "
                        + imgLocation);
            return button;
        public void actionPerformed(ActionEvent e)
            String cmd = e.getActionCommand();
            String cmd1 = e.getActionCommand();
            String description="";
            String description1 = "";
            String description2 = "";
            // Handle each button.
            if (NEXT.equals(cmd))
            { // third button clicked
                description="23 up";
                description1 ="23 down";
                description2="adsfsd";
                displayResult(description, description1, description2);
        public void displayResult(String description, String description1, String description2)
            JButton button = new JButton();
            button.getActionCommand();
            textArea.append(description + newline);//adds description to document
            if(button.getActionCommand()!=null)
            textArea.append(description1 + newline);
            textArea.append(description2 + newline);
            textArea.setCaretPosition(textArea.getDocument().getLength());//scrolls down
        public void nextCue1()
            String description2 = "asdfasasdf";
            displayResult2(""+description2);
        public void displayResult2(String description2)
            String description3 = ".";
            textArea.append(description2 + newline);//adds description to document
            textArea.setCaretPosition(textArea.getDocument().getLength());//scrolls down
        public void displayResult3(String description3)
            textArea.append(description3 + newline);//adds description to document
            textArea.setCaretPosition(textArea.getDocument().getLength());//scrolls down
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event dispatch thread.
        public static void createAndShowGUI()
            //Create and set up the window.
            JFrame frame = new JFrame("ToolBarDemo");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Add content to the window.
            frame.add(new discardedSaluteMyShorts());
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        public static void main(String[] args)
            //Schedule a job for the event dispatch thread:
            //creating and showing this application's GUI.
            SwingUtilities.invokeLater(new Runnable()
                public void run()
                    //Turn off metal's use of bold fonts
                    createAndShowGUI();
    }Edited by: cubswar on Apr 1, 2008 8:47 PM

    First you declare the array and the index you currently are on in your class on the global variables section so for example:
    public class discardedSaluteMyShorts extends JPanel implements ActionListener {
        private int index = 0;
        private String arr[] = new String[] { "frank", "joe" };
        // The code would be here
    }Then in the method which displays the next value:
    public void showNextValue() {
        textArea.setText(arr[index]);
        index = (index + 1) % arr.length;
    }You probably want to call the method from the action performed of the button.

  • Substitution variable - Problem

    The requirement is to have numeric value to a substitution variable. In essbase there is a provision to set numeric value to a substitution variable . i tried out the below one its not working.
    Create a sub variable and assigned value "12" and tried using the same sub variable in the MDX query but getting error. kindly let me know is it possible to set a numeric value to a sub variable and use the same in MDX formula. Any help would be greatly appreciated.
    I have seen this note in dbag :
    If a substitution variable value is numeric, different rules apply for how you enter the variable:
    If it is not used in MDX statements, enclose a substitution variable value in quotation marks; for example, if the variable name is Month, and its corresponding value is 01 (corresponding to January), place quotation marks around 01 (“01”). Substitution variables usually are used with block storage databases; they are not used in MDX statements.
    If it is used in MDX statements only, such as in formulas in aggregate storage outlines, and the value is numeric or a member name, do not enclose the value in quotation marks.
    Note:
    If a substitution variable value is numeric or a member name starting with a numeral or containing the special characters referred to above is to be used both in MDX and non-MDX situations, create two substitution variables, one without the value enclosed in quotation marks and one with the value in quotation marks.

    i got the way to do

Maybe you are looking for