Slices & Extract Assets, or Copy CSS & paragraph styles for retina web designs?

I'm trying to figure out how Adobe wants me to work in Photoshop when producing website designs.
Extract Assets is useful for fixed-size objects to produce 50% & 100% assets. 200% png output results in anti-aliasing even from vector shapes. Please correct me if I'm wrong but this seemed to be the case. Slicing is useful for elements on the site that may have variable height/width needing end-caps and repeat-x or repeat-y images e.g. buttons and nav-bars.
If I need to work at 2x resolution for retina, using Extract Assets and Slices, my paragraph and character styles dimensions are doubled, as are the dimensions of all my objects. This makes the Copy CSS a bit pointless - double height, width, margin, padding, shadow blur etc.
Should I be designing at 2x resolution and extracting and slicing, or at 1x and using Copy CSS, exporting paragraphing styles? Or something in-between?

Hi Ben, I ammended this line of code as you have shown and still I have no joy. So I reverted to an older version which was correct, but i am stil having the same issue.
I have a my_site folder (defined local root folder), with the index.dwt in it. In my_site there is also an assets folder with 3 further folders, CSS, JS and Images and their respective files in these.
Bregent. Thanks, I did define at set up. I went back to manage sites and checked there too and thr root file on the local is the same at set up. I just don't get why after I made changes to the carousel and and reiploaded the site I have had issues :-(
Any other places I should be looking people? This is driving me crackers!

Similar Messages

  • Set by script the tag and/or the class of a paragraph style for HTML / EPUB export?

    Is it possible to set by script the tag and/or the class of a paragraph style for HTML / EPUB export?

    I found a way
    tell application "Adobe InDesign CS6"
      tell document 1
      tell paragraph style 2
      --get count of style export tag map
      tell style export tag map 1 -- HTML  , 2 = PDF
      --get export class
      --get export tag
      set export tag to "H1"
      set export class to "blue"
      end tell
      end tell
      end tell
    end tell
    and its works
    but thanks for help to use the class "style export tag map"

  • Using "Next style" with the same paragraph style for more than one paragraph

    Hi.
    I have been using paragraph styles with the "next style" option, it's a huge help. But I need a bit more. So I have the following paragraph structure: ABCCCABCCCAB...
    I defined paragraph styles for each kind of paragraph, then in paragraph style A, I added paragraph style B as the next style, and so on. However, when I get to paragraph style C I reach a dilemma. Should I define the next style as the same, or define three paragraph C styles (C1, C2 and C3), link them to each other with next style, and then loop the C3 style into the A style again?
    My hope is that there is a way, something like the nested style options, that allows me to define that style C should be used for 3 paragraphs and then the next style becomes style A again.
    Thanks.

    You just need two styles, almost identical, you can duplicate one.  The only
    difference is one has the next paragraph c and one has the next paragraph
    a.  After that I don't see the problem.

  • I copy text, paragraph styles, character styles & images from 1 document to another only text copies

    I have a few documents that have text and images that is frequently repeated through many chapters of an In Design book. (Printing, exporting etc.) I used to select all in the source document, Command + C to copy it, change to the target document, Command + V to paste it. It worked well for six months.
    About two weeks ago it stopped working (shortly after an update to In Design). I have text, paragraph styles, chacter styles and images in each document. Only the plain text copies over. This is the same for any document.
    I haven't changed Preferences in six months.
    I'm on a Mac 10.8.2, In Design CS6 version 8.0.1.
    It's driving me crazy! It's a lot of work to reformat each 2  to 10 pages after copying it in.
    Steven Hussey

    Source:
    Target:
    Here you go.
    Steve

  • Why does 'Copy Character/Paragraph Style' work so inconsistently?

    Is it just me, or do the 'Copy Character Style' and 'Copy Paragraph Style' format options barely ever work? Most of the time, I can't even USE the bloody CCS feature...it's greyed out. This occurs (for me at least) in both Pages version 1.0.2 and Pages '08. Any feedback is greatly appreciated.

    Jordan,
    There are a couple of Help Pages that may shed some light on your situation. They are: _Changing the Style of Text_ and _Copying and Pasting Character and Paragraph Styles_. As I often do after reading a post like yours, I tried to duplicate the situation. Before studying the help references, I would have had the same complaint that you do. I was only successful in getting the Copy Style and Paste Style Tools to work after I applied Styles to some text in my document. It seems that one may only copy a style from a block of text that has had a style applied, and so-called "overrides" won't be copied. So, it's not a "Format Painter" in the MS tradition, as it only looks at what Style has been applied, not how the formatting may have been altered.
    Hope this helps.
    Jerry

  • Can you apply different paragraph styles for each orientation?

    I would like to apply different paragraph styles to the text, depending if it is viewed on portrait or landscape mode, but everytime I change one the other changes automatically. Is there a way to break this link?
    Thanks

    Unfortunately, iBA doesn't provide a lever to pull that can make a particular text style orientation specific.

  • Change CSS styles for Acces Web App

    Here's the problem, the #s4-mini-header needs to be set to display:none so the SharePoint header is not shown.  Ideally this would be conditional based on group membership (i.e. Site Owners would see the section, for read only it would be hidden)
    I need to block the "Open in Access" option allows people with read only access to open my database on their local systems.  We're publishing a "member" price list and do not want someone to be able to download the whole list
    and share it with our competitors.
    I've seen quite a few posts on this without solution.  The most common is that "MS is aware of the issue".
    I should be able to hid it in CSS if I can find the file and edit it.  It appears to be using the minimal.master mater page.  SharePoint designer is not allowed to open the site, is this something I need Visual Studio to do?
    I've been given a deadline of today to make the site available for our partners so it looks like they'll get the Options header..
    Thanks for any help!
    VV

    I have found a KLUDGE that solves this particular problem.  Unfortunately it impacts all of the access websites served by that IIS server.
    The problem is that the default.aspx page created when the Access Web App is published has the MasterPageFile value set to point to a file named minimal.master located in \15\TEMPLATE\GGLOBAL.  That file is loaded by the default
    page.  I couldn't find the default.aspx file to edit so I did the next best thing:  I modified the minimal.master file.
    To repeat, the one big gotcha is that changing the file at that location applies the change to ALL access web apps on the IIS server.
    I added style="display:none !important" to the first s4-pr div and the banner was removed.
    A more elegant solution would have been to edit the default.aspx file but I couldn't find it.  If someone comes up with a better way to do this please post it!
    Thanks for all who helped!

  • Multiple paragraph styles in one line

    I'm creating a training manual and I am having trouble with paragraph styles. Here's an example of what I am trying to do:
    "The Dog walks up the hill"
    In the above example, I have created a style for the bolded text and connected it my table of contents. The idea is when I create and update the TOC, "The Dog" will be the entry with the remaining text omitted from the TOC. The issue I am having is because the text is on one line, I cannot have multiple styles. I've tried writing just "The Dog" and then either changing the style or deleting the paragraph break to connect the text below to the main line. Once I erase the paragraph break and the text is on one line, only ONE style is maintained. Now, I can modify the character style; however, because the paragraph style is still the one connected to the TOC, the entire paragraph appears in the TOC.
    Any advice would be greatly appreciated! I've searched everywhere to no avail.
    Thank you very much for your support.

    ajmiddle18 wrote:
    I'm creating a training manual and I am having trouble with paragraph styles. Here's an example of what I am trying to do:
    "The Dog walks up the hill"
    In the above example, I have created a style for the bolded text and connected it my table of contents. The idea is when I create and update the TOC, "The Dog" will be the entry with the remaining text omitted from the TOC. The issue I am having is because the text is on one line, I cannot have multiple styles. I've tried writing just "The Dog" and then either changing the style or deleting the paragraph break to connect the text below to the main line. Once I erase the paragraph break and the text is on one line, only ONE style is maintained. Now, I can modify the character style; however, because the paragraph style is still the one connected to the TOC, the entire paragraph appears in the TOC.
    Any advice would be greatly appreciated! I've searched everywhere to no avail.
    Thank you very much for your support.
    It depends on the breed of dog.
    Is the paragraph always a single line?
    Is this dog the leader of the pack? IE, does the phrase you want to keep always begin the paragraph? If so, then you can separate the dog from the pack in the TOC. One way is to surround the pack with a unique character or marker in the main text, like End Nested Style Here, - one after dog, and another after hill, and create a paragraph style for the doggie paragraph to use in the TOC. This paragraph should contain a nested character style that applies microscopic text properties, like paper character color, font .1pt, and horizontal scale .1%. The TOC entries should use nested paragraph styles; the source paragraphs need you to insert the End Nested Style Here markers. The nested style definition in the TOC paragraph styles should apply no character style through the first end nested style marker, then apply microscopic through the next end nested style marker. This will shrink the walks...hill text to an invisible speck, so small that it shouldn't interfere with tab leaders and page-references.
    Another approach is to use a single-row table for the heading, with the dog pent nicely in the left cell, and the pack in the right cell. Each cell contains a paragraph, so only extract the dog to the TOC.
    Search Google for terms like "InDesign hide part of paragraph in toc knowhowpro," "InDesign suppress part of paragraph in contents knowhowpro," "InDesign two paragraph styles on one line," and similar phrases without quotes for some good discussions and a variety of approaches that include layers, anchored frames, and conditional text.
    Search Google for terms like "InDesign conditional text," and "InDesign nested paragraph styles," without quotes for details.
    http://forums.adobe.com/message/3206266 has a long discussion that may shed some additional light.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Copy and paste style in custom toolbar

    I use the copy and paste stlye function frequently so added the icons to the toolbar. It seems that these buttons function only as copy/paste paragraph style rather than text style. Has anyone discovered a way to change their behavior? Dave

    David,
    have you tried the key combos Shift-Option-Command-C (Copy) and Option-Command-V (Paste) instead of the toolbar icons?

  • Multiple record data merge into paragraph styles-applies the wrong style

    Hi, I've been working on this project for sometime and everytime I manage to get one part of the workflow to work another seems to break. My agency publishes catalogs in multiple formats: large-print, audio, braille, and HTML. I've been trying to redesing our work process so that the catalogs will be laid out from merged data out of comma-separated file. The data merges have worked fairly well in Word, but InDesign is a challenge. I'm merging multiple records on a page, like a mailing label. The paragraphs need to be formatted and I'm trying to apply a paragraph style to them. After much work, I think I've finally got the data merge to work correctly, but the wrong paragraph styles are applied. I'm going to apply a new master page to the data once the data is merge that uses the paragraph styles for text variable running headers and I need to build a table of contents based on the paragraph styles so I need this to work. Attached are some screenshots.
    Master page set up for data merge with paragraph styles:
    Here is the merged document with the wrong paragraph styles applied:
    I have only a few weeks to get this process ironed out to keep to our rigorous production schedule. If anyone can help I would really appreciate it.
    thanks,
    Lina

    I don't remember this happening in past versions. But I mainly use XML. And a quicky test converting your file to XML worked fine (and besides, it ends up all in continuous text frames...).
    I don't do much GREP. But you can do this via a Find/Replace.
    First, in your main document, you can delete the tags--but do this on a second copy of your working file!
    Change your Content Placement options to not remove blank lines (these are in the Datamerge panel).
    Then after the merge, change the format of the two blank lines at the beginning of the records without the two lines of data:
    Note the Change Format style is changing those two paragraphs to Title.
    Then rerun the find to remove the two blank paragraphs.
    I suspect this can be done easier. I am sitting awaiting an appointment and cannot go much further than this for now, sorry.

  • Is there any Page function equivalent to Word's brush icon that can paste paragraph style to independent paragraphs multiple times in a Page document?

    In Page Manual, I did find an instruction that allows us to do something similar, but it is so tedious having to go back and forth between dropdown commands.
    I want something simple like Microsoft Word's paint brush icon that simply let me copy the paragraph style (size of font, character style, spacing etc) and then just paste the style to other paragraphs independently - separated by subtitles with different font size and styles that I want to keep.
    I am using iMac with the latest Mountain Lion and Page 09 now.

    Once you have a style set up it is only a single action to apply it to any text.
    Personally, I never got "the hang" of using that paint brush in Word. Give me copy & paste style any day, which is what I used in AppleWorks. With styles in Pages it's even easier.

  • How do I prevent unwanted paragraph style overrides when exporting an epub

    I am having trouble controlling the size of a  logo in an e-pub. Actually, it's only a problem with Amazon's Kindle which seems to insist on enlarging the image to the full screen width. So, I need a robust command in my CSS to override Kindle's preference. Seems easy. I placed the logo into my In Design layout in a picture box with the object style "frontmatterlogo" which should export into a div of the same name. Which it does. So far so good. However, In Design insists on creating a paragraph style override (see bold in the code below) which disregards the  frontmatterlogo settings I've written in to my CSS in favour of it's own image settings which correspond to the size of the placed image. Currently, I've just put together a hacked solution by writing a class for para-style-override into my CSS. It's an inelegant solution but seems to work for all the other e-readers. But, as mentioned, it doesn't work on the Kindle.
    Anyone have any idea what is causing these overrides and how I might prevent them so my div class can take over?
    Alan
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 //EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
        <head>
            <title>Titlepage2-1.html</title>
            <link href="template.css" rel="stylesheet" type="text/css"/>
        </head>
        <body>
            <div id="Titlepage2-1.html" xml:lang="en-US">
                <div class="story">
                    <p class="Pagebreak"/>
                    <h1 class="fulltitle">Far North</h1>
                    <h2 class="author">MARCEL THEROUX</h2>
                </div>
                <div class="frontmatterlogo">
                    <p class="para-style-override-1">
                        <img width="191" height="19" src="images/HarperPerennialClassic_fmt.jpeg" alt="HarperPerennialClassicsLogo.jpg"/>
                    </p>
                </div>
            </div>
        </body>
    </html>

    Thanks for getting back so quickly, Bob.
    I'm using Version 5.5. I have basically the same problem when the object is anchored. In the case below, I created a new paragraph style for the line on which the logo would be anchored, also mapping to the frontmatterlogo entry in my CSS. This time, no paragraph-style-override is added but In Design still adds it's own image dimensions corresponding to the size at which the image was placed in the layout. This overrides the settings in my CSS and, I suspect, might be what's allowing the Kindle settings to take over as well. I had kind of resigned myself to fixing this in the code  on a book by book basis, which is fine if the only images the book contains is a cover and a title page logo. But I'm worried about what happens when I have to create an e-pub from a photo-heavy book. You can see how it would be ideal to create a few specific object styles for different image situations in In Design and have them map them to specific div styles in my CSS. Basically it's a workflow issue. This would minimize the amount of after-the-fact coding our already swamped designers would have to do.
    It's so obvious in the code where the problem lies, and so I just have a feeling that there may be a simple fix. If only I knew why In Design felt obliged to specify the image size.
    A.
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 //EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
        <head>
            <title>Titlepage2-1.html</title>
            <link href="template.css" rel="stylesheet" type="text/css"/>
        </head>
        <body>
            <div id="Titlepage2-1.html" xml:lang="en-US">
                <div class="story">
                    <p class="Pagebreak"/>
                    <h1 class="fulltitle">Far North</h1>
                    <h2 class="author">MARCEL THEROUX</h2>
                    <p class="frontmatterlogo"><img class="frontmatterlogo" width="196" height="20" src="images/HarperPerennialClassic_fmt.jpeg" alt="HarperPerennialClassicsLogo.jpg"/></p>
                </div>
            </div>
        </body>
    </html>

  • Scripts to insert metadata automatically to document with paragraph style

    Hello,
    I am trying to find a way to automatically insert  metadata into my document through paragraph style in indesign cs5.5.
    This will be myDocument title, the Author name and myDocument description.
    Is there anyone who can help me with this project?
    Thanks.

    Place the script in the following location: C:\Program Files\Adobe\Adobe InDesign CS6\Scripts\startup scripts
    If you close the document the script will automatically put the metadata in your indesign file (use ctrl+w or menu -> file -> close option to close the file)
    Code:
    #targetengine session
    //if you want to test the script for your active document, comment the below line else copy the script in your startup folder
    app.menuActions.itemByName("Close").eventListeners.add("beforeInvoke", function()
    var myDoc = app.activeDocument;
    var docTitleText="";
    var docDescripText="";
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.findWhat = '.+';
    found = app.activeDocument.findGrep (true);
    for (j = found.length-1; j >=0 ; j--)
        var foundText = found[j].contents;
        //You can define multiple Paragraph style for Document Title
        if(found[j].texts[0].appliedParagraphStyle.name=="docTitle1")
            docTitleText=found[j].contents;
        else if(found[j].texts[0].appliedParagraphStyle.name=="docTitle2")
            docTitleText=docTitleText + " " + found[j].contents;
        else if(found[j].texts[0].appliedParagraphStyle.name=="docTitle3")
            docTitleText=docTitleText + " " + found[j].contents;
        //You can define multiple Paragraph style for Document Description
        else if(found[j].texts[0].appliedParagraphStyle.name=="docDescription1")
            docDescripText=found[j].contents;
        else if(found[j].texts[0].appliedParagraphStyle.name=="docDescription2")
            docDescripText=docDescripText + " " + found[j].contents;
        else if(found[j].texts[0].appliedParagraphStyle.name=="docDescription3")
            docDescripText=docDescripText + " " + found[j].contents;
    with (myDoc.metadataPreferences){
        author = "My Name";
        documentTitle = docTitleText;
        description = docDescripText;
    Vandy

  • How do I use multiple paragraph styles in one line?

    I'm working on my thesis in APA style.  I'm creating a Table of Contents with the help of Pages.  When you get to Level 3 in APA headings (no problems with Levels 1 and 2) it needs to look like this:
    [0.5in Indent] Masculinities in higher education.  For men, the college experience.... (paragraph starts on same line as the heading).
    I created a paragraph style for the (bolded) heading above [Heading 3].  When I do this, like magic the heading shows up in the table of contents (yeah!).  However when I do this the rest of the paragraph shows up too (boo!).  When I highlight to change the just rest of the paragraph (not the heading) to the style "Body" it changes the heading too and removes it from the table of contents.  How can I make 2 paragraph styles work together in the same paragraph so I can use the tale of contents tool??  Surly there is a work-around.
    Pages 5

    As the name implies, paragraph styles are not intended to be used on a unit smaller than a paragraph. Therefore if you want the TOC to be automatically generated then you need to have distinct  paragraphs... as you specify the APA style with the content and heading continuous then you will have to manually create the TOC.

  • Cross Reference, Paragraph Style conflict?

    I'm created an epub file and have a cross reference for one of my chapter titles. When I export it to ADE the final product has the cross reference in the file but the paragraph style for the text that I linked lost all of it's styling somehow. The paragraph style is supposed to be centered and have space after it but it is completely gone but the code is still in the xhtml file.
    I have opened the xhtml file and cannot see where the issue is. Has anyone else had this problem exporting from CS4? If so, how do you fix it?
    Thank you so much!

    According to the FM7 Help, the variables for background text frame use might be:
    <$paranumonly[paratag]>
    to pick up the first instance on a page, and
    <$paranumonly[+,paratag]>
    to pick up the last.
    The "+," bit is the key. I've never tried it myself.
    This presumably also assumes that the paras of interest all have the same format name.

Maybe you are looking for

  • User Variable Options: How can I use them in a Business Rule?

    How can I use a "User Variable" set in File / Preferences in a Business Rule? It doesn't seem to appear as an Essbase Substitution Variable or as a Global Variable of Business Rules. The only way I know how to use it is to place the dimension on the

  • Auto date field

    I am looking to put in a field that will automatically populate the current date mm/dd/yyyy - I am creating a certificate for the user to enter their name and print out the certificate with the date they took the course. also while I am at it how can

  • Hide/Show Javascript

    Hello, I have a page with javascript which works in Firefox but not in Internet Explorer. The functions check to see if an "Other" checkbox is selected. If the box is not selected, then a separate text box should not be shown and vice versa. Here is

  • Associate a file type or protocol with a program.

    I have Windows Vista- and I tried to change the program to open file .url "Internet Shortcut" with Safari, I went to Start > Control Panel > Default Programs > Associate a file type or protocol with a program. The 'Associate a file type or protocol w

  • If I have an good idea that someone will take as a part of there brand. Who do I contact them?SAFER

    Hey. My name is Reidar Johnsen. And think I have a good idea for apple products, the products that will make this fully self-contained. (ipad, ipod, iphone tablets and so on. + + Will help to help many people. And apple brand will expand furter than