Styling and indenting new 'blockquote' style

Hi,
I am new to pages, and am trying to create a new style. The style is meant to be a holder for source code, so I want it to be set off from the rest of the text. So I wanted the text to be on a gray background, indented one level from surrounding text, in a fixed width font etc.
I made these changes in the Inspector and the font panel, and then created a style, called 'code' for it.
The problem is the background fill color fills the width of the document, rather than being just behind my text (which is indented). Is there any way to define a style that has indented text with the rectangular background fill being indented the same amount?
Not unlike this site, which has code brackets like this:
this is a test

Looks like you've found something Pages cannot do at present. Go here to leave a feature request. In the meantime, looks like you'll have to make do with a text color and/or attribute.

Similar Messages

  • Why does CS6 InDesign Book epub output generate and apply new graf and character style names in CSS?

    I created an InDesign book composed of documents that had had no paragraph or character styles in the palettes until text was copied over from a single overall document. I worked absolutely as clean as I could.
    I synchronized the book to that single overall document several times, including immediately before exporting the book to epub. My export settings disallowed any local formatting. Character styles were restricted to one named "Italic" for which the only format applied was Italic in the Font Style field, and one named "Small Caps" for which NO formatting was included in the character style.
    There was, as far as I can see, no reason for any character or paragraph styles to export to anything but identically-named CSS entries. That is to say, any text with the character style "Italic" applied in the InDesign doc should have output with the same text with a span class entry of "Italic" around it.
    I still ended up with p and span CSS entries with extra numbers appended to them:
    span.Italic {
    font-style:italic;
    font-weight:normal;}
    span.Small-Caps-1 {
    font-variant:normal;}
    span.Italic-1 {
    font-style:italic;
    font-weight:normal;}
    span.Small-Caps-2 {
    font-variant:normal;}
    span.Italic-2 {font-style:italic;
    font-weight:normal;}
    span.Small-Caps-3 {
    font-variant:normal;}
    span.Italic-3 {
    font-style:italic;
    font-weight:normal;}
    and
    p.x-SECTION-BREAK, p.x-SECTION-BREAK-1, p.x-SECTION-BREAK-2, p.x-SECTION-BREAK-3  and so on.
    Why would the InDesign epub output engine choose to generate and apply new spans and paragraph-level styles, which multiply the complexity of editing the CSS directly? How can I prevent InDesign from doing this?

    Perhaps I wasn't clear. When I wrote "an InDesign book composed of documents that had had no paragraph or character styles in the palettes until text was copied over from a single overall document" I meant to emphasize  the part where I CLEARLY said "UNTIL text was copied over." The text I copied over had plenty of paragraph styles. I was trying to point out that each individual document had no PREVIOUSLY EXISTING character or paragraph styles that might have added complexity to the epub output. .
    So, every paragraph in each document had a paragraph style attached, a total of maybe 20 different paragraph styles throughout the book. The only CHARACTER LEVEL styles I cared about exporting were Italic, for text that was set in italic, and Small Caps, for CAPITALIZED text that I wanted to be able to make smaller in the CSS, since I am not allowed to embed fonts and therefore have no other way of creating small caps in the xhtml files inside the epub.
    So, given that I had two character styles applied to various bits of text throughout my InDesign book ("Italic" and "Small Caps"), I would like to know why there are multiple CSS entries generated: Italic, Italic-1, Italic-2, Small Caps, Small Caps-1, Small Caps-2, and so on.
    Ditto paragraph styles. I had a paragraph style called "SECTION BREAK" in each document. Not only did paragraph style "SECTION BREAK" contain identical specs in each document--I know they did because I copied each from one single doc where they were being used identically--but I also synchronized the book repeatedly.  So why would the xhtml docs and the CSS output need p.x-SECTION-BREAK-1, p.x-SECTION-BREAK-2, and p.x-SECTION-BREAK-3?

  • I am trying to make a second website in iweb, I click 'new site' and select the site style, but it keeps opening my existing website.  Any ideas?

    I am trying to make a second website in iWeb.  I have clicked 'new site' and then selected a style for the website, but then my existing website opens instead of a new one.  Any ideas how to fix this?

    Do you not get a new site folder at the left under your existing site?
    OT

  • Questions about tabs, spaces and indenting

    I tried to find some information about this in the forum, but I didn't succeed (perhaps I failed at the search). My apologies if this a trivial topic, but as I'm in the learning process of programming (I started with Python and php myself, and Pascal at college) this is a new world to me.
    Yesterday I was editing a txt file in Vim, and I encounter a few issues trying to print it. That's when I learned that tabbing all the way thought to format some text maybe is not a good idea. Then a guy in #Vim directed me to use spaces instead of tabs for indenting and formating the text / programs that I write, as the tab indenting is -almost- only needed by makefiles. Also he showed me than in Python programming it is suggested to use spaces as well.
    I googled a bit and I found sites like this, with pros and cons about both styles. Also I found a Vim plugin (Smart Tabs) that at first sight seems quite nice, like it have the best of both worlds.
    So my question here is: what should I do? Choose one style and stick with it for ever? Choose according the language? Mix up both? Without any experience on this subject it's hard to know the right way, as it seems that both styles have (strong) advantages and disadvantages.
    Also, if is not too much no ask, what tab size should I work with? 8 seems a bit large, although seems to be pretty standard for some languages.
    Currently I've this on my .vimrc (the relevant part, of course):
    set tabstop=4
    set shiftwidth=4
    set softtabstop=4
    set expandtab
    set autoindent
    set smartindent
    Thanks in advance for any advice.

    Yes, I think to "choose one style and stick with it" is the most important thing.
    I always use two spaces to indent because I like the way it looks. Besides makefiles, I don't use any language that forces me to use either tabs or spaces, so that's not a problem.
    I really like this quote:
    Linus Torvalds wrote:If you need more than 3 levels of indentation, you're screwed anyway, and should fix your program.
    (from Wikiquote) After reading that, I don't think about indentation as much anymore.
    Sorry for my English. Feel free to point my errors.
    "Sorry for my English. Feel free to point out my errors." ^_^

  • Creating a new paragraph style based on text in a document

    I'm working on some scripts for a new ad our company is working on. They are wanting to have the ability to change the font weekly in the ads. However, they want the style sheets to change based on this. What I am having to do is write a script that gets the properties of the different paragraphs in the selected text frame, and make paragraph styles. Is there a way to get the properties of paragraph 1, and use that information to make a new paragraph style? Here is what I have so far;
    set charaStyle to get properties of character charaSelect of paragraph paraOne of myBox
    set makeStyle to make character style with properties {name:"MF Price" & charaSelect, based on:properties of character charaSelect}
    We are using InDesign CS 3. Thank you in advance for the help.

    this way - build ParaStyle definition from selected text - works only in UI
    in scripting you need to write your own procedure - read all params and set them one-by-one in ParaStyle definition
    robin
    www.adobescripts.com

  • Create a new table style based on an existing table in a document

    Hi,
    In a document I'm working on, there is a specific table. It is made in the past by a colleague, and it has a very suitable format.
    Therefore I would like to use the layout of this table on all future tables in my document (or even in others).
    Is there an option to select my table, and create a new table style with it, so that I can use it over and over again? That would be very helpful.
    I'm working in MS Word, MS Office Professional Plus 2010, on a Windows 7 64-bit OS.
    Best regards, Sietske
    Ps.: I know
    a question like this was already asked, but the answer was quite dissatisfying (because it was not answering the question)
    Pps: Note that I'm now creating a new table style from scratch, so an answer to the above question is not that urgent, but it would still be nice to know for future use.

    you can  use format painter
    i hope that you already know about it.
    Nope, not the right answer. With Format Painter, you can copy the format of the table, but you can't create a new Table Style with it. I am looking for a solution as well.

  • New character style not showing up in TOC style

    I created a new character style called Subchapter....
    Then I went to layout>toc styles.. and hit [new]. Under "Style" my new character style "Subchapter" is not there. Also, under the "Styles in Table of Contents....include paragraph styles.." my new character style "Subchapter" is not in the other styles list.
    What am I missing?
    Thanks.
    Also, forgot to mention, I am in book mode at this point. Maybe I need to add that new character style to each .IDD chapter of the book?

    NEvermind, it was because I was making a character style, not a paragraph style. Now it shows up.
    Thanks anyways.

  • Installing new layer styles in PSE 7

    What is the correct way to install new layer styles into pse 7? ( I use Vista)
    Do I move my extracted style file into the layer styles folder by following this pathway: program data>adobe>photoshop elements>7.0>photo creations>layer styles.
    Do I need to create a metafile too?
    Thank you for helping me, I have about a dozen styles I need to add, but I am unsure how to get it done properly.

    Hello,
    You need to create a metadata.xml file too to view it in a specific category of your choioce.
    You need to paste the two things :
    1) .asl file.
    2) metadata.xml,
    to the following location:
    C:\ProgramData\Adobe\Photoshop Elements\8.0\Photo Creations\layer styles.
    Here you need to add the two files and relaunch PSE. This will show you the presets in the layer styles category with.
    While creating the metadat.xml file you need to take care of two things:
    1) Add a new category name so that you can easily find them.
    2) You need to verify that Type value is set "Style  as mentioned :  <type value="style" />
    Hope this helps you.

  • Mapping style templates and properties to Actual Style Sheet Classes

    I got this response to an email regarding creating a customized style sheet and thought others might find it useful following is my initial question and the response from David Phipps. If anyone else has input to this conversation please join in.
    Initial question: I'm trying to create a highly customized style sheet and could use a matrix that maps the various properties to the styles that each property affects. I have had some success determining the specific styles that I would like to change but am unable to use the style mill with any efficacy to make those changes. We are attempting to create a single language style sheet with a unique color scheme that matches our branding. One big problem we have run into is that certain styles are called in multiple places with different backgrounds (i.e. breadcrumbText). Any help along these lines that you could provide would be greatly appreciated.
    Response:The CSS style mapping is not terribly satisfying right now; many objects share common CSS styles, which means if you change one tiny thing the whole page changes. We don't have a matrix or spreadsheet or styleguide that lays out the page itself and defines the styles used in each point. However, the stylesheet mill should work for you, and it's possible that what you have going on is a problem with your mill or an incomplete copy of what it generates.
    There are 18 styles in the portal currently; you can actually create new styles and populate them, which sounds like the option you are interested in. The mill is just an ANT script that uses the template files in the templates directory and combines them with the property files in the prop-color and prop-text directories.
    The prop-text files are per language (10 languages); if you check you'll see the values are all the same right now; the idea is you could change the font names or sizes per-language if you wanted to.
    The prop-color files are per style (18 styles). If you want a new set of property values for, say, style 19, you'd add a file called color.19.properties, and the mill would pick that up and generate 190 files (19 styles x 10 languages). It would then add a new line to community-themes.txt, which has a name of each style for each language, based on data it picked up from your new color.19.properties file.
    The real secret is that you only add color style elements you want to override. If you want a specific set of styles to always be available, just add them directly to the appropriate template file (in your case, the portal50.template file) without using the @variable@ in place of actual values. Then you're just adding new style overrides that apply everywhere.
    Finally, you can add arbitrary new properties to your new prtoperties file and use those in the template:
    in portal50.template:
    ..actionbarPortletBg {background-color: @personal.and.interesting.setting@;}
    in color.19.properties:
    personal.and.interesting.setting=#ff9900
    So the CSS mill is just a glorified text replacement tool.
    Remember that the CSS mill works this way:
    - Run make_all.bat if you're not sure and want to insure you've remilled everything, otherwise use make_community_css.bat or make_menu.bat to remill only community styles or those for the jsportalmenus dropdown, respectively.
    - The resulting files are created in ptimages/tools/cssmill/css
    - You have to copy the resulting files by hand to the imageserver CSS location, which is
    ptimages/imageserver/plumtree/common/public/css
    - You have to forcibly stop and restart your imageserver, be it Apache, Tomcat, IIS, Websphere or whatever; no matter what anyone says the new content won't show up reliably until you restart your imageserver.
    You probably know all this and your real problem is the CSS is not specific enough, that is, you can't get individual items to change like you want. We have been working on this, and the new version of the portal will have much more addressable CSS styles, including the ability to specify styles for individual navigation elements, individual pages, and individual portlets. This basically meant rewriting the HTML we generate, of course.
    Since you can override and rewrite chunks of our HTML as well using View Overrides, if you're in a jam we can walk you through how to rewrite specific bits of the UI that are causing you trouble - for instance, the code that generates the breadcrumbs itself.
    David Phipps
    Senior Engineering Manager
    Plumtree Software

    One way to do this is to give the <body> tag an ID. In a template, you need to make the ID attribute of the <body> tag editable.
    You would then have something like this in your style sheet:
    #home.oneColFixCtrHdr #container #navigation li,
    #services.oneColFixCtrHdr #container #navigation li,
    #about.oneColFixCtrHdr #container #navigation li,
    #contact.oneColFixCtrHdr #container #navigation li,
    #testimonials.oneColFixCtrHdr #container #navigation li,
    #links.oneColFixCtrHdr #container #navigation li
    background-color:
    #66ccFF;
    border-bottom-width: 1px;
    border-bottom-style:
    solid;
    border-bottom-color: #FFFFFF;

  • Mac mail/creating new format style

    Hi all,
    I sometimes send emails with a good amount of copy ( I have my compose preference set to RTF). I notice that the default format style for macmail is Left aligned, Spacing 1.0x. (no leading or 'set solid'). I'd like to create a new 'favorite style' that includes the basic type 'Geneva' and flush left alignment but with more leading, maybe '2.0' so that the copy is more readable. I go to the menu Format-->Style-->Styles. A styles info box comes up:
    Can anyone tell me how to create a new format style with greater leading than the
    default style then add it to favorites? Will a person who receives my email who is using a different email client necessarily receive the formatting I am sending?
    I hope I'm not missing something obvious. lol.
    Also, if anyone knows the html code that would center my image in this email, please pass that along as well. I tried the <center> tags but they didn't work.
    Thanks in advance for any input.
    Regards,
    Dennis

    Replying to myself to add some more information, and ask some additional questions:
    Poking around, I have found some information -- a few years old, unfortunately -- that seems to indicate that you cannot create aliases to associate with a mac.com account. What I may have to do is add an address in the primary account, in the Email Address field of the Account Information tab, where she currently has this:
    [email protected], [email protected]
    If that works, that'll be great, but one flaw in this method is that you can't specify a different sender name. Her customers at "herdomain.com" will still just see her name, Jane Doe, when what she really wants in the sender field for that e-mail address is "Jane Doe, Director, Her Domain Inc."
    Can anyone verify if I am finally understanding this correctly? Or if there is something else I can do to get her that alternate identity on her mac.com account?
    Thanks.

  • How to create new character styles in Numbers 3.0

    In Numbers 3.0, it is possible to update existing characters styles, but I cannot find how to create a new character style, the + sign in the popup is always inactive when I edit text in a cell. The paragraph style popup has an active +, but it doesn't work for character style.
    Is there any way to create a new character style?

    Guillame,
    You're right about not being able to add styles, and I have not figured out how to modify a predefined character style, other than to Rename or Delete a predefined style. I have added this to my list of things lost.
    Jerry

  • Why Can't I make a New Graphic Style in Illustrator CC?

    Why Can't I make a New Graphic Style in Illustrator CC?
    Nothing works. I've tried several options to make a Graphic Style. Even tried to copy another and change it.
    Kindly Regards
    Christina Saugmann

    Hi
    It was a simple fillcolor with opacity. It is as if it doesnt respond. I can clic the symbol for a new layer, but nothing happens. I've dragged the style from appearance-box, to symbol for new style - Nothing. I've dragged the box directly to Graphic Styles - again - nothing. I've tried with my CS4 that worked. But not in CC.

  • Installing new layer styles in PSE8

    Hi
    I am trying to install new layer styles in PSE8 using Vista. I  can get them to appear in the "All" section but I am trying to get them  to appear in the dropdown list with no success.
    I have created an  xml file with the same name as the .asl file and this contains the  following:
    <?xml version="1.0" encoding="UTF-8"?>
    <PSEContent  xmlns="http://ns.adobe.com/PSEContent/2.0/">
        <subscription  value="free" />
        <type value="style" />
         <category value="$$$/content/category/type/metalstyles=metal styles"  />
    </PSEContent>
    File names = metal styles.asl  and metal styles.xml
    I have rebuilt the following 2 files
    C:\ProgramData\Adobe\Photoshop  Elements\8.0\ThumbDatabase.db3
    C:\ProgramData\Adobe\Photoshop  Elements\8.0\Locale\en_us\MediaDatabase.db3
    Could someone tell me  what I'm doing wrong
    Thanks

    A program-installer has come to my attention:
    http://www.graficalicus.com/graffishop/index.php?main_page=product_info&products_id=37&zen id=ba0034657f73d7300ab449e312ba5463
    Does this work? It may be just the thing for those of us not familiar with the manual process for installation.

  • How do I edit and create new Spry2 menu items?

    I have manged to use adobe air to style and insert a spry2 menu - looks OK
    However,I do not undestand how to edit the menu items
    i.e. creating new menu items and adding new sub menu items
    On spry1 it was easy - just click the top of the menu and a wizard appeared at the bottom of the page
    The spry2 menu icon seems to be unclickable/greyed out?
    Can anyone help
    [email protected]

    Thanks for the reply - I already thought of that and I can edit the menu using code view (although I am not sure how you would 'see the sub menus in design view?) but I was wondering if spry2 has the same time saving wizard in the properties panel (as Spry1) that simplifies and speeds up the process?
    To restate the question: I can see a spry2 menu icon in the properties panel but it doesn't do anything as it's greyed out.
    Is there an option in dreamweaver (or adobe air which styles the menu) that makes a menu wizard work in the properties panel?
    If not then I guess I have to do it in code view - very tedious!?
    Jonathan
    [email protected]

  • RH9: Can't create a new RoboHelp Style for tables

    I'm using TCS3 (FM 10, RH9) in a Windows XP environment.
    I have some tables in FM10 that I want to map to a RH style.  I'm on the Conversion Settings dialog box, and don't have a RH style to map to.  In RH7 I was able to create a new RH style and then map my FM style to it.  I don't see where that is possible in RH9.
    Thanks in advance for your help.

    Peter,
    Yes, the CSS that I am using is the one that I used to create the table. I use Dreamweaver for my CSS.  Here is the HTML that was created in DW when I created the table in RH:
    table.MultiColumn {
            font-family: Tahoma;
            font-size: 11pt;
            border-left-style: Solid;
            border-left-color: #000000;
            border-right-style: Solid;
            border-right-color: #000000;
            border-top-style: Solid;
            border-top-color: #000000;
            border-bottom-style: Solid;
            border-bottom-color: #000000;
            x-border-spacing: 0px;
            border-left-width: 1px;
            border-right-width: 1px;
            border-top-width: 1px;
            border-bottom-width: 1px;
            padding-left: 2px;
            padding-right: 2px;
            padding-top: 2px;
            padding-bottom: 2px;
    table.MultiColumn td {
            padding-left: 2px;
            padding-right: 2px;
            padding-top: 2px;
            padding-bottom: 2px;
    Please note that MultiColumn is one the FM table paragraph tags. When I created the table in RH, I named it MultiColumn and then mapped the FM style to the RH style. Here is the topic HTML:
    <a name="XREF_id09AND0Z0DHS"></a>Deployed Version field descriptions
    Following are field descriptions for the
    Deployed Version page views.
    There is nothing that indicates that there is a table in this topic.  We didn't have this problem in RH7.  All the tables came over beautifully.
    Thanks for your persistent help.

Maybe you are looking for

  • How to find discoverer log files and CPU usage

    Hi, i have a report running very slow in prod. but runs fast in dev and qa. **Where/how can i find the Log files generated after the report runs?** **Also i wanted to see how i can find the CPU Usage** i searched online for CPU usage... and found thi

  • Crystal Reports XI R2 (11.5.8.826) crashes when modifying charts

    I'm a very experienced Crystal Report designer.  I'm working on a chart that is pulling in and summing a large number of records (380,000 +).  As I have been working at attempting to make modifications to the chart, the program is crashing.  A few ex

  • Error printing with CUPS (SOLVED)

    Could some kind CUPS guru help me with a problem printing through CUPS? I have a postscript file which rendesr normally in all the software I have (okular etc) but for some reason does not print. The CUPS log shows: D [18/Dec/2012:08:27:57 +0000] [Jo

  • Raise exception vs bapiret2

    hi, please comment. may i know if FM raise exception, the sy-subrc will not be zero whereas bapi bapiret2 wouldn't set sy-subrc value to non zero. if yes, which means we use bapi bapiret2 if we still want the program to continue processing even has e

  • Problem with long path names?

    I tried to unpack the PHP eclipse package to a folder named like the ZIP package (pdt-2.0.0GA_debugger-5.2.15.v20081217-all-in-one-win32). WinRAR stopped with an error message (something like "file name to long"). I was unable to delete the folder un