Problem of numbered list in InDesign using paragraph Styles Code syntax highlighter

Styles using GREP in the options of styles paragraph that I managed to make it useful, HTML, CSS, and Javascript, styles of syntax highlighter.

Code can be copied and pasted, or can be typed and styles work well. codehighlighter_indesign.jpg.

My only problem is with the numbering.

I've implemented a character list ordered for my type of chip.

Although the size of characters must be greater than the size of the code in order to get the character bar to connect and be a solid line.

Is there a way to have the same size font for the numbering and the code and a bar of character which will connect? Do not be destroyed, because the separator between the numbered lines and the code?

Also it doesn't seem to be a way to change the color or the weight of the bar (it must be the same color as the number) with a bar automatically generate? Is it possible?

Here is an example of my InDesign CC 2015.4 German I did with a numbered list numbering and bar with a shading of paragraph:

Note that the width of the 'bar' would change, if you change the width of the text block.

5 mm added to the width of the text block:

Or would disappear.

The original text frame width less 5 mm:

Kind regards
Uwe

Tags: InDesign

Similar Questions

  • Using paragraph styles with numbered lists having paragraphs "child."

    Hi all

    I wanted just a checking the direction of your InDesign experts.

    When I create a numbered list when there are paragraphs separate 'child' who "belong" to the paragraph numbered list real (see below) how do I use paragraph styles for formatting the list?

    Currently I apply a style numbered list to each of the bold numbered paragraphs and just a style of body text indented paragraphs of the child. Is this fair?

    3.1 it is a topic but also a part of a numbered list

    This is the text that goes with the above heading

    This is another paragraph which goes hand in hand with the above heading

    3.2 it comes is a topic, but also part of a numbered list

    This is the text that goes with the above heading

    This is another paragraph which goes hand in hand with the above heading

    3.2 it is a topic but as part of a list numbered

    This is the text that goes with the above heading

    This is another paragraph which goes hand in hand with the above heading

    Also, is there a power automatically apply a style to the last bullet in a list (as with the last CSS child selector) so that I can have a small space after each of my balls except the last one where I would want a larger space.

    Is this fair? Yes. And if you want the style of paragraph number somehow, each model numbered to give his name to the list.

    The styles will be applied by you. To get the last point in space after, add this attribute to its own paragraph style, perhaps also giving it a keep with previous keep option.

    Or give more simple, perhaps the paragraph numbered line style certain amount of space before as one of its attributes under withdrawal and spacing.

  • How to use paragraph styles?

    Can someone explain how to use paragraph Styles? OMG! This is so difficult for me to kiss - I can't seem to understand how to create a paragraph style in a document, in the first place, then I don't seem to be able to apply it to the rest of paragraphs in the document.  Whenever I have try this I lose the track and then I lose patience!

    I do appreciate this forum and hope someone can clarify this issue for me, I am eternally grateful. I'm trying to gather some my illustrations and story in a booklet for children and I need to get out to publishers (fingers crossed!) until I forget why I started to be a student in graphic design and Illustration in the first place

    Thank you!

    aganess wrote:

    Can someone explain how to use paragraph Styles? OMG! This is so difficult for me to kiss - I can't seem to understand how to create a paragraph style in a document, in the first place, then I don't seem to be able to apply it to the rest of paragraphs in the document.  Whenever I have try this I lose the track and then I lose patience!

    I do appreciate this forum and hope someone can clarify this issue for me, I am eternally grateful. I'm trying to gather some my illustrations and story in a booklet for children and I need to get out to publishers (fingers crossed!) until I forget why I started to be a student in graphic design and Illustration in the first place

    Thank you!

    I've been there. It was a long time ago, but I still remember the confusion and despair.

    First, know that you will survive and ask what was the hang up. If you are a special person, do you promise never to forget what was the hang up, then you can help others when it is time to pay back the community.

    Think about how things work without paragraph styles. When you want a paragraph to look a certain way, regardless of the software you have used to work with text, you select ("highlight") some text and look for ways to style it (check its appearance, or 'attributes' or 'features' or 'features'.) You choose a font (Helvetica, Times, etc.) weight ("BOLD", extra bold, light), a color of text, an angle (italic, Roman), the space between the lines ("leading,") space between paragraphs (space before, space after,) and so on. Without named styles, you must select each property in a menu or a list when the text is selected. The next time that you want this same paragraph look, you can recall everything you did and repeat with newly selected text, or you can copy and paste one that looks, then change the text inside.

    However, it does take long to realize that he has to be a way to save these settings and pull them up and slap them on the other selections, with a few clicks and make sure that you don't forget to do something. Creation and registration of collection of a paragraph of the property settings are called "define a style." Software for manipulation of more modern text can save paragraph styles that apply to full paragraphs, and they can also save character styles, which apply to parts of the text in a paragraph. A paragraph of normal text can be used a style called 'body '. You can select a bunch of miscellaneously style paragraphs and apply the body style for them with a single click on the paragraph styles list.

    If you decide that you would like the body to look different style, you can redefine, and all paragraphs in the active document using the body style change to show the look of the new definition.

    In a body paragraph, you can have same bold italic bold text and italictext and so on. You can always select text in a paragraph and find a menu that offers characters bold or italic in the selected text. But you can also create a character for each of these apparitions style and apply them to music. As for paragraph styles, character styles are more controllable and more useful than simply highlight and apply a property. If, you use a character style that applies "BOLD", you can change its character style definition and all the places it is used in a document will show the change.

    Here is an example which shows the usefulness of the styles of characters named:

    According to the standard style for writing guides that have been developed before computers, scientific names, the words of the foreign language in a host as the English language, the titles of the documents, movies and poems and a few other things are supposed to be italicized. With character styles, you can create and apply styles of characters for each category of text in italics. In this forum, * sapiens, The Pentagon Papers and Gone With the Wind, all look the same, but with character styles, styles, named 'scientificName', 'bookTitle', and 'filmTitle', can distinguish between texts in italics. Sometimes, you gotta be able to treat these things differently, and styles is a way to keep them organized.

    Most writing tools can create a style named for the existing sample. So, if you have customized a paragraph for your body text, you can use InDesign to set the body of the paragraph in the example chosen style.

    Google search for terms like 'InDesign create the paragraph of the selection style,' "InDesign redefine style', 'Create a character style, InDesign' and"InDesign tutorial character and paragraph styles."

    HTH

    Kind regards

    Peter

    _______________________

    Peter gold

    Know-how ProServices

  • InDesign CS4 - Paragraph Style - Justification applying do not

    Hello

    I'm in College and Indesign is the software that we use for our projects.  The version we have is CS4.  It is the second project where I had a problem with the rationale.  I can use the justification above icons to move the text where I want to after you apply the paragraph style, but what causes the override bit + appears and which is not allowed.  My instructor says that we should use the style itself.  I am happy to do and found the area of justification in the paragraph style settings, however, any justification I specify (with the text highlighted and preview enabled), the text does not move.  I've also set it, applied, and then decided to go back to the document, just in case it was a mistake to read-only, but it doesn't always.

    I have to justify everything THEN apply the paragraph style to work around this problem?  If the option of justification in the paragraph style settings does not actually move the text-this is expected end?

    Thanks in advance for your help.

    It is difficult to say without seeing what you have. Can you do a similar to this screenshot:

    This screenshot, you can see the text that is in style with display of hidden characters (Type > show hidden characters), the Editor of history (Edit > edit in story editor), the withdrawal and spacing of the Paragraph Style Options of window tab and justification at the top of the screen buttons.

  • Script for Indesign find paragraph style change at the table with the table style

    Hello

    I hope someone could help me with a script.

    I can tab with a paragraph style and I want to convert that to a table with a table style.

    Kind regards

    Patrick

    Yes

    My problem is solved

    Thank you very much.

    Patrick

  • InDesign, using typical display, watch type highlighted in blue (and Teal'c) how do I disable this

    I understand ID tries to help with the glyphs and the others, but I don't have the time to learn this new feature. I have an immediate project that I would like to finish, and this feature is an obstacle does not help me. I tried turning some market checkboxes in prefs, advanced type but cannot disable the feature. No time.

    Thanks in advance for any help.

    It looks like this? If so, stop the highlighter to substitute style in the window > Styles > paragraph Styles.

  • Help on using paragraph styles...

    When I create a paragraph of a bit of text style, paragraph style area picks him up and when the preview is checked it looks perfect, then when I press on apply, completely it messes up. The text reduced one, and sometimes it turns into itallics.

    Nobody knows the reason why this is happening?

    Thank you very much

    Sam

    I saw this happen when a character Style is applied to the text. Select all the text in a paragraph and character Styles palette, choose break link to Style, do the same thing in the paragraph Style palette (just to be safe), and then create a new paragraph style.

  • Numbered lists nested in bulleted lists

    I had to create this:

    Screen Shot 2014-08-19 at 4.04.07 PM.png

    First level with checkboxes items are set up as bulleted list with a square shape of police Wingding for the chip.

    Second level (a., b., c., etc.) include a list numbered, configured as level 2. (Both use the default list and paragraph styles)


    No matter after checking the ' numbers restart at this level after ' for the second level, the letters second level will not re-start. (The lettering would begin with 'c' to "Organize materials" where I wanted to restart with 'a' as in the photo)

    It seems that InDesign will not recognize a list bulleted as part of a pattern...

    To resolve this problem, I changed the first list to a numbered list level. I assigned just a typical style of numbering (1, 2, 3, etc.), but he gave a character style that is white while the figures can be seen. Then, I had to draw the boxes with the shape tool and align the text.

    Is there a better way I could have done this?

    You could do that

    Make the box line with a heartbeat of a numbered list.

    https://DL.dropboxusercontent.com/u/17210757/numberedlist%20with%20squares.IDML

    The line with the checkbox is a numbered - list but I defined the style of Wingdings character and just put o ^ t

    o the square in wingdings

    Start at 0

    NumberList following the value 'follow previous issue '.

  • Does not display do not properly on the page linked to numbered list

    I have a page where I placed numbered elements (instructions 1, 2)  Notice..., etc.). When I preview the page in RoboHelp 2015 the numbered list with numbers and everything seems good. When I view the output from RoboHelp file, the page with the numbered elements seems well. I inserted a hyperlink to this page (page A), another page (page B). When I click on the link to the page from page B, do not all numbers in the list on the page.

    The numbered list was created using several levels number list icon. All lists use a style.

    This problem does not appear on all pages that has been done with the help of the same structure and formatting. Any suggestions on how I might solve the problem number on the linked page?

    Margaret Johnson

    Post edited by: Rick Stone - deleted email address

    Hello

    Hmmm, it seems to suggest that when the linked page is presented, he somehow lost the link to the CSS of the page.

    It is when linking from another page, what happens if connect you the TOC? Same behavior?

    I remember in the weird behavior see happening with this stuff in my own projects. And in my case, I think I had too many nested folders. This should not be necessary, but it is solved for me was to copy the CSS in the same folder and ensure there is no character of "shortcut" leading to the CSS. (.. /) is the abbreviation.

    See you soon... Rick

  • Numbered list numbering

    How is it that when I apply the numbered list feature, the numbering is in the correct order, but if I try to create a paragraph style of this very paragraph which includes the numbering, the numbers get discounts so that each item in the list is numbered 1. ?  Is it possible to use a paragraph style that includes the numbered list and also keeps the good sequential numbers?

    Open your paragraph style and check the options in the list. I assume that you have configured to start at 1, not continue to last.

  • [JS CS3, win] Saving InDesign using app.activeDocument.save

    Hello.

    I have problems saving a document in InDesign using Javascript.

    My goal is to have a box in the document where I type the name of the file and the path where I want to save the InDesign file (eventually it will be generated from a datamerge).

    Then, I want to run a script that will read the contents of the box and then save the document to the file name or location.

    At the moment I have:

    SaveText.jsx
    A JavaScript InDesign CS3
    //
    Saves the document in the provided path

    get the content of the FileNameBox box on the document
    var varFileName = app.activeDocument.textFrames.item("FileNameBox").contents;
    Save now
    app.activeDocument.save ("/" + varFileName + ".indd");

    Alert (app.activeDocument.filePath);

    When I run the script (with 'Hello' in the FileNameBox) file changes its name on the top bar of InDesign to "Hello.indd", but (when I run the commented warning at the end) the file is not actually save anywhere.

    If I close InDesign, then open it the file is listed under 'Open recent' on the menu, but clicking on it does nothing - even when the file does not exist.

    Does anyone have ideas to help me to tear my hair out?

    Where is my save file? (Or, if not, how can I do save!).

    Thanks in advance for any help you can offer.

    var myFolder = new Folder ("~/Desktop/Test");
    If (! myFolder.exist) myFolder.create ();
    var varFileName = app.activeDocument.textFrames.item("FileNameBox").contents;
    app.activeDocument.save (myFolder.fsName + "\" + varFileName + ".indd");
    Alert (App.activeDocument.FilePath);

  • Initials of numbered list

    Hello

    I would get to the initials of numbered list (a lot in front of the text), but it seems that the initials do not work for lists numbered off the beaten path.

    I saw this (bottom of page) where it is said to convert numbers into text Live but I have no idea how to do to get there (and I've spent some time looking):

    Work with bulleted and numbered lists in InDesign | CreativePro.com

    Thank you.

    PJ

    What happened to apply a character style that will scale the number and adds a few vertical offset? Automatic number can have a style applied character.

  • paragraph styles

    without valid reason I later move to really use paragraph styles. but I encountered a small problem. the document that I'm actually has a TON of garbage styles attached to it from the word document (which has an OCR would scan...). But right now, I'm going to have this problem when I try to apply styles for titles and whatnot, but the style is applied to more than what is highlighted, probably only indesign because I'm stressing only part of a "paragraph", and it's all 'paragraph', even if it is actually just part of a title. Is there a way for the UN-paragraphize things? For things before and after should not be the same style? Mac/CS6

    As a trainer, I am obliged to pop and suggest take you back and learn the two functions that are themselves Scrums first, and then you can return to your document and hit the ground running.

    Start with paragraph styles for formatting entire paragraphs:
    Format text with Styles in InDesign paragraph | Adobe InDesign CC tutorials

    Then use character styles to change the text in the paragraphs:

    Format text with in InDesign character Styles | Adobe InDesign CC tutorials

  • Paragraph styles are not properly in automatic Table of contents

    Hi all

    I'm currently busy with the lay-out of my doctoral thesis in Indesign CS6. I did the separate files for each chapter, after that, I joined the files in a document of a book. Now, I need to create a table of contents and want to do using the Table of contents style.

    I've already customized a table style content in which I said Indesign which paragraph styles should be included in the table of contents. I also created new paragraph styles to use as entry style. When you create a table of contents the lay-out seems just perfect, except that I set the text for being "fat" in my paragraph style, but it comes in the form of 'regular' text in my table of contents. Now I can pass this "BOLD" text by selecting it and alt + shift clicking on the paragraph style in the paragraph style menu. Problem is that after updating the table of contents text back to "regular". All the other stuff that I defined in the paragraph for entry style style (e.g., tablets, the font size, leading) are applied.

    How can I solve this problem? I would appreciate your comments, because it's annoying me a lot: S.

    Thanks a lot already!

    Did you apply a character style to your topics throughout the book?

    If so, this could cause the erratic behavior that you see.

    Check your table of contents update to see if there is a character applied to the imported text style.

  • Clicking on a paragraph Style does not apply text Style

    I just switched from a PC to a whole new MacBook Pro (OS x 10.7 Lion), and InDesign CS5.5 bought. I use CS4 on a PC for a few years and had no problems. For some reason, I can't apply Styles to paragraph by moving my cursor in the text and clicking the paragraph style. It highlights the style clicked for a while and then goes to value all styles, but does not apply the changes. The only way I can apply a Style of paragraph right now is click with the right button on the style and selecting 'apply... '. "in the menu dropdown. It is very curious. I was wondering if anyone had experience with this. I also have Microsoft Office: Mac 2011 installed on the laptop, if it makes a difference to anyone. Any help would be greatly appreciated, since I dial and change my life, and this problem slows me down a bit.

    Right on any of the third party plug-ins. It was actually 'good Zoom '. A third-party application that corrects some native zonky zoom behavior for Mac. I disabled it, and it has cleared up the problem. It's pretty strange, however, isn't it? Thanks for your help!

Maybe you are looking for