Correct quotation marks

Hi:
I know I had the process for this somewhere, as well as the code, but can't locate it. I need to replace the straight quotes and apostrophes in my text in GLCS1 with the correct, "curly" quotes...can anyone give me the steps, or direct me to a source of info?
thanks
L

In article <[email protected]>, [email protected]
wrote:
> 1 - can you give advice as to controlling line breaks and text rags? This is
> something I would do in ID with kerning, etc - but am stymied in GS.
The web is in its infancy when it comes to that level of control. First
there's no automatic hyphenation. There's a discretionary hyphen -
- but it's not well supported.
Try experimenting with the properties
letter-spacing
word-spacing
text-align
setting the value in a relative unit like for instance ems rather than
pixels.
> 2 - bulleted lists: I want to indent the second line to align with the first
> character in the first line, after the bullet. Again, I need the equivalent
> of the "Indent to here" character in ID. Is this doable in CSS?
CSS does that automatically. You can control the bullet character using
list-style-image: url(bullet.jpg)
to use a graphic of your choice or
list-style-type: none;
to use no character at all or any of the defaults.
Anyway, I bet you will find lots of interesting bits on this website:
The Elements of Typographic Style Applied to the Web
If that still leaves you a bit frustrated ;-) well, CSS has some
features that are mostly unmatched in traditional DTP applications:
descendant selectors: p strong
applies special formatting only to strong tags *within* plain paragraphs
(a bit like nested styles in ID)
adjacent sibling selectors: p+h2
applies special formatting to a level-two heading *immideately*
following a plain paragraph
child selectors: ul>li
applies special formatting only to li elements that are *direct
children* of an
leaving deeper nested list elements untouched.
See also here:
These last selectors are finally becoming usable since they are
supported in the majority of modern browsers including IE7 Win, Mozilla,
Firefox and KHTML (Safari, Konqueror, etc.)
Cheers Martin

Similar Messages

  • How can i get the correct text from a string like it show in the original source with the quotation marks in the right place ?

    The text is in hebrew so the problem is that sometimes the quotation marks not in the right place.
    For example i have this text: תווית
    על בגד: ''תן לאישה לכבס. זה תפקידה''
    This is the source original text you can see the quotations marks and they are not in the right place and all i did is copy paste.
    And this is a screenshot of how this text looks like in the website in the original:
    You can see now where the quotations marks should be.
    Now this is how i'm using the text in my program:
    First of all i'm using a webclient to download the page from the website and i'm also encoding it to windows-1255 since it's in hebrew.
    using (var webClient = new WebClient())
    webClient.Headers.Add("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705;)");
    byte[] myDataBuffer = webClient.DownloadData("http://rotter.net/scoopscache.html");
    page = Encoding.GetEncoding("windows-1255").GetString(myDataBuffer);
    Then i'm extracting the places i need by reading the html file lines and parsing the right text and it's link.
    string loc;
    List<string> metas = new List<string>();
    List<string> metas1 = new List<string>();
    List<string> lockedLinks1 = new List<string>();
    string text = "";
    string mys = "";
    public List<string> LockedThreads(string filename)
    lockedThreads = new List<string>();
    lockedLinks = new List<string>();
    Regex textRegex = new Regex("ToolTip.*?(?=','<)");
    string[] fall = File.ReadAllLines(filename);
    for (int i = 0; i < fall.Length; i++)
    if (fall[i].Contains("http://rotter.net") && fall[i].Contains("locked")||
    fall[i].Contains("locked_icon_general") ||
    fall[i].Contains("locked_icon_anchor") ||
    fall[i].Contains("icon_anchor") ||
    fall[i].Contains("locked_icon_fire") ||
    fall[i].Contains("locked_icon_sport") ||
    fall[i].Contains("locked_icon_camera") ||
    fall[i].Contains("locked_icon_movie"))
    Regex linkParser = new Regex(@"\b(?:https?://|www\.)\S+\b", RegexOptions.Compiled | RegexOptions.IgnoreCase);
    foreach (Match m in linkParser.Matches(fall[i + 2]))
    if (m.Value.Contains("><b"))
    loc = m.Value.Replace("\"><b", string.Empty);
    lockedLinks.Add(loc);
    string txt = fall[i - 1];
    string text = textRegex.Match(txt).Value.Replace("ToolTip','", String.Empty);
    if (text.Contains("&rsquo;"))
    text = text.Replace("&rsquo;", string.Empty);
    lockedThreads.Add(text);
    Already here on the List lockedThreads you can see the quotation marks not in the right place as in the original:
    After i'm parsing the text and links and adding them to the Lists in another class i'm doing a comparison using this Lists:
    foreach (List<string> l_branch in ListsExtractions.responsers)
    TreeNode l_node = treeView1.Nodes.Add(l_branch[l_branch.Count - 1]);
    if (ListsExtractions.lockedThreads.Contains(l_node.Text))
    l_node.ImageIndex = 0;
    l_node.SelectedImageIndex = 0;
    for (int l_count = 0; l_count < l_branch.Count - 1; l_count++)
    TreeNode l_subnode = l_node.Nodes.Add(l_branch[l_count]);
    if (ListsExtractions.lockedThreads.Contains(l_subnode.Text))
    l_subnode.ImageIndex = 0;
    l_subnode.SelectedImageIndex = 0;
    The problem is in the line:
    if (ListsExtractions.lockedThreads.Contains(l_node.Text))
    When it's getting to the line with the quotation marks it's never equal.
    Now there are more quotation marks.
    In general the problem when comparing both text if it's having quotation marks it's not the same.
    So i have two options:
    1. To fix it somehow so the quotation marks will be the same in both variables when comparing and also the same like in the original as they show in the html page.
    2. To remove the quotation marks from both variables.
    What should i do ? And how ? I was prefer to use the original quotation marks like in the original since they have a meaning in the place they should be. The question is how can i do it ?
    This is example of the block from the html file where the text with the quotation marks is:
    <TD ALIGN="RIGHT" VALIGN="TOP">&nbsp;<font size=-1 color=#ff9933><b>9418</b></font>&nbsp;</TD></TR><TR BGCOLOR="#eeeeee">
    <TD ALIGN="RIGHT" VALIGN="TOP">
    <body onmousemove="overhere()">
    <a onmouseover="EnterContent('ToolTip','תווית על בגד: &rsquo;&rsquo;תן לאישה לכבס. זה תפקידה&rsquo;&rsquo;','<u><span style=color:#000099;>כתב: Spook בתאריך: 08.03.15 שעה: 22:11</span></u><br>מחאת טוויטר קמה בעקבות תוויות שוביניסטיות שהדפיסה חברת אופנה באינדונזיה לפיהן תפקיד הכביסה מוטל על האישה. החברה התנצלה אך כנראה רק עשתה רק יותר נזק לע...'); Activate();" onmouseout="deActivate()" href="javascript:void(0)">
    <img src="http://rotter.net/forum/Images/new_locked_icon_general.gif" border="0"></a></TD><TD ALIGN="right" VALIGN="TOP" WIDTH="55%">
    <FONT CLASS='text15bn'><FONT FACE="Arial">
    <a href="http://rotter.net/cgi-bin/forum/dcboard.cgi?az=read_count&om=189696&forum=scoops1"><b>
    <font color="898A8E">תווית על בגד: ''תן לאישה לכבס. זה תפקידה''</b>
    </a></font></TD>

    Ok, it is unclear on what is happening here.
    Are you saying that when the webclient gets the data that it is not honoring the quote characters? Or the processing of the data buffer is causing issues?
    This is what I see the of your example text which is trying to be parse out:
    <a onmouseover="EnterContent('ToolTip','תווית על בגד: &rsquo;&rsquo;תן לאישה לכבס. זה תפקידה&rsquo;&rsquo;','<u><span style=color:#000099;>כתב: Spook בתאריך: 08.03.15 שעה: 22:11</span></u><br>מחאת טוויטר קמה בעקבות תוויות שוביניסטיות שהדפיסה חברת אופנה באינדונזיה לפיהן תפקיד הכביסה מוטל על האישה. החברה התנצלה אך כנראה רק עשתה רק יותר נזק לע...'); Activate();">";
    It appears to me that the  escapes `&rsquo;` does not have matching `&ldquo;` anywhere within the tooltip. So it appears that the page properly places left quotes in when processing the page, but the raw html has broken text.
    Hence a garbage in, garbage out situation.
    William Wegerson (www.OmegaCoder.Com)

  • Why I cant type correct single quotation mark in SQL Server 2014 (Please see the pic below)

                            I start to learn SQL Server 2014 by myself just several days ago. As shown above, I tried to input the code in the
    guide book for exercise like I do before. However, it seems to have some problems this time. I cant type a closed quotation mark as I did before for successfully execute those codes. I hope somebody who is so kind to help me with this problem.
    Thanks a lot! 

    Can you share your sample code?
    Ahsan Kabir Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. http://www.aktechforum.blogspot.com/

  • Typographically correct apostrophes and quotation marks? Bug?

    I am using the trial of Pages '08 (3.0) on a German Mac OS-X 10.4.10. Typographic quotation marks are switched on.
    Apostrophe:
    Whenever I type a phrase in English with an apostrophe, for instance the word "Let's" it uses a left single quotation mark (‘) instead of the right single quotation mark.
    Quotation marks and languages:
    Likewise, with typographic quotation marks set in the program settings, Pages uses the German quotation marks (which look like this: „word‟) although the text language is set to English. This behaviour occurs with English and English, GB. In Word this behaviour changes with the text language setting.
    I am a recent switcher, so maybe a solution to this problem is already known. If not, should I report this as a bug via feedback?

    Ian, yes, that would be Smart Quotes in English.
    You not being able to get German quotation marks in English would seem to be the same problem. I guess this is a bug then (or a missing feature) as I would expect this to change with each language (e.g. French has guillemots etc.).
    Would perhaps having several keyboard input setup in OS-X help here?
    Thanks for the link to Tom Gewecke's page. Tom, I'd be interested to hear of any other good recommendations. Are NeoOffice/OpenOffice good in this respect? Word compatibility and the ability to track changes is a must for me (as client's work with Office), but I'd rather invest in Microsoft Office when the new Universal version becomes available? I like the more simplified interface of Pages, which is why I'm trying the new version out via the trial.

  • Illustator CS6, my quotation marks aren't working correctly?

    Illustator CS6, my quotation marks are coming up either pointing in the wrong direction, or sitting on the baseline. I've restarted. I've changed the font. Tried pasting from another program.

    Are you getting the normal 66, 99 quotes? Can you post a screen shot? You can also go into Menu>Type>Glyphs with the type selected to see the charactors or glyphs in the font you are using.

  • How Do I Display Quotation Marks in Dynamic HTML Text

    I'm using a dynamic text file that has some Quotation Marks
    that need to be displayed with the content on certain words in the
    TXT file.
    How do i display Quotation Marks inside a Dynamic text field?
    Please Advise. As soon as possible.
    Thanks

    Try this page - it does the job for you:
    http://www.dommermuth-1.com/protosite/experiments/encode/index.html
    Otherwise search this forum for "Special and characters and
    dynamic and text"
    You'll see a couple of thread on the topic. You have to
    encode the special characters for them to display correctly.

  • Quotation Marks display as boxes

    I need to figure out why in some instance quotation marks
    display as boxes.
    This may also be a ColdFusion question but I'll start here:
    I have a site that displays articles from a coldfusion
    database. The articles display fine. There is no css or font tag
    applied to the text (so basically displaying default fonts).
    Now, I gave the page a new name and surrounded the code with
    formatting css. All quotation marks display as square box. I
    thought it may depend on the font that I chose (Ariel). So I
    removed the css style sheet for a moment but the quotation marks
    still show as box. Since I have the same code to pull the data,
    same browser, same computer, this is puzzling.
    Any idea what is causing this?
    Thanks.

    Are the quotes 'straight' quotes, or 'curly' quotes? Although
    both straight
    and curly quotes are special characters (&quot; and
    &#8220; respectively) a
    ' " ' (i.e. straight quote) will usually appear as a straight
    quote when put
    directly in the code, but I have never had curly quotes
    appear correctly. I
    guess this is because quotes are used within attributes and
    so on in regular
    HTML.
    If this isn't your problem then someone else will answer
    better than I
    have...
    Regards,
    Bruce
    "weblinkstudio" <[email protected]> wrote in
    message
    news:gnv4mg$82f$[email protected]..
    >I need to figure out why in some instance quotation marks
    display as boxes.
    > This may also be a ColdFusion question but I'll start
    here:
    >
    > I have a site that displays articles from a coldfusion
    database. The
    > articles
    > display fine. There is no css or font tag applied to the
    text (so
    > basically
    > displaying default fonts).
    >
    > Now, I gave the page a new name and surrounded the code
    with formatting
    > css.
    > All quotation marks display as square box. I thought it
    may depend on the
    > font
    > that I chose (Ariel). So I removed the css style sheet
    for a moment but
    > the
    > quotation marks still show as box. Since I have the same
    code to pull the
    > data,
    > same browser, same computer, this is puzzling.
    > Any idea what is causing this?
    > Thanks.
    >

  • SSMS 2012:XQuery-doing "Retriving Job Candidates with the query Method" in AdventuresWorks 2012. Unclosed quotation mark after string '//*:Name.First?

    Hi all,
    From Page 354 of the the Book "Pro T-SQL 2008 Programmer's Guide" written by Michael Coles (published by apress), I copied the following code (Listing 12-9 Retrieving Job Candidates with the query Method):
    --Coles12_9.sql // saved in C:/Documemnts/SQL Server Management Studio
    -- Coles Listing 12-9 Retrieving Job Candidates with the query Method
    -- Doing XQuery and the xml Data Type in AdvantureWorks
    -- 17 March 2015 1105 AM
    USE AdventureWorks;
    GO
    SELECT Resume.query
    N'//*:Name.First,
    //*:Name.Middle,
    //*:Name.Last,
    //*:Edu.Level
    FROM HumanResources.JobCandidate;
    I executed this set of Listing 12-9 code in my SQL Server 2012 Management Studio and I got the following error messages:
    Msg 105, Level 15, State 1, Line 4
    Unclosed quotation mark after the character string '//*:Name.First,
    //*:Name.Middle,
    //*:Name.Last,
    //*:Edu.Level
    FROM HumanResources.JobCandidate;
    Msg 102, Level 15, State 1, Line 4
    Incorrect syntax near '//*:Name.First,
    //*:Name.Middle,
    //*:Name.Last,
    //*:Edu.Level
    FROM HumanResources.JobCandidate;
    I am not able to figure out why I got the error messages.  Please kindly help and advise me how to correct this set of sql codes.
    Thanks in advance,
    Scott Chang

    Hi Scott,
    I don't have that book at hand, but your problem is the "Unclosed quotationmark after the character string",as the error message shows. You have to enclose the 'XQUERY' string quotation in the
    query().
    SELECT jobcandidateid, Resume.query
    N'//*:resume,
    //*:Name.Middle,
    //*:Name.Last,
    //*:Edu.Level' --enclose the quotation here
    FROM HumanResources.JobCandidate;
    For XQUERY learning, here is a good
    link.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • Quotation marks and apostophes reversed

    When editing text, I'm getting reversed quotation marks and apostophes if they are added to preexisting test. Quotation mark added to the end of a sentence that was already in the document will be pointed the wrong way. Erasing the last letter and retyping it with the quotation mark will perform correctly.
    The same happens when placing an apostophe on preexisting text.
    This happens in AppleWorks, TextEdit, and Tex-Edit Plus. This does NOT happen in Pages or InDesign. It only happens on one of my computers.
    Any ideas?
    Ric Carter

    Hello
    This may be due to a corruption of preferences files dedicated to the named applications.
    Try to trash these preferences files.
    It may also be due to corruption of some documents but I assumes that if it was specific to only some docs you had wrote this detail.
    Some system preferences may be corrupted too but I assumes that if one of them is corrupted, the corruption would strike on every applications on a single computer.
    Yvan KOENIG (from FRANCE jeudi 24 mai 2007 19:04:45)

  • Type tool quotation marks display like greater-than symbols

    I'm having trouble with getting quotation marks to display correctly, they look like 2 stacked >> symbols.  They change slightly depending on what font I'm using, but they all ride at the base of the text.  I cannot acheive normal looking curly or staight quotes at all.  I have tried switching smart quotes on and off in the preferences, restarting, etc.  I've noticed this problem in the past, but I thought it was the font I was using.  The same thing happens with Times New Roman.  I'm running an up to date version of PSextended CS5, 64bit on win 7 64.  Any help would be greatly appreciated!

    Not sure if this is where you looked, but check the overall Windows settings as follows: 
    Click Start and type Language in the search box.  When Region and Language comes up, click it. 
    Look through all the tabs to ensure everything's set as expected.
    Outside of finding something unexpected in there, it's never a bad idea to try resetting the Character tool, or even the Photoshop overall preferences.  To reset the Type Tool, select the T tool, then right-click in the T tool icon in the options area:
    -Noel

  • ME edition - quotation marks after LTR words

    I am working on a right-to-left document. In the document, in some places there are left-to-right words. Sometimes there are quotation marks after the LTR words that are supposed to be on the left of the LTR words because they would be (for example) at the end of a sentence. The problem is, that because it's a RTL document, so after the LTR words, InDesign places those quotation marks to the right of the LTR word.
    How can I be sure that throughout the document, the right sided quotation marks will always be on the correct side of my text (in the case, to the left of the words [since I'm using a RTL language])? Is there a GREP find/change I could do for this?
    Thank you.

    Changing the font does not make a difference.
    I'll paste the problem in ashby going to Times new roman on the next line (It's a knitting pattern):
    heel flap
    Turn work so WS of heel is facing.
    Weird. It does not show when I copy/paste it. It prints when I print. It shows up on my screen. Other ideas?

  • When I write in hebrew from right to left the periods/quotation marks/question marks at end of sentences jump to the beginning of the sentence. help

    I cannot seem to format a message correctly when I write in hebrew from right to left
    even if I press left margin and the message starts from the left side, all question marks, and end of sentences (periods, etc) jump to the front of the sentence and quotation marks or separation marks (such as dashes) split up the lines and jump words to the front of the sentence.
    how can I change the formatting to solve this so the recipient receives a properly formatted email?

    are you using in bidi add-on?
    https://addons.mozilla.org/en-US/thunderbird/addon/bidi-mail-ui/

  • Passing quotation mark in parameter

    Hi,
    I have one query which I migrated from sql server database. It is given below. I am passing single quote mark as a parameter to this query but it always retrieves 0 as count. But I have 1 record in table. As a solution to this I have resolved this issue for sql server by passing two quotation mark (replacing single quotation mark with double quotation mark). This same solution applies here too. when I pass any parameter with single quote in it, it will replace single quote with double quote and then pass it to the below given procedure. But still it is not working correctly. I have similar query for retrieving that record and it is working fine. Any idea why the below query is not working correctly?
    PROCEDURE GetEntUserGroupCountWithOther
    ppGroupName IN VARCHAR2 DEFAULT '%' ,
    cp1 IN OUT SYS_REFCURSOR
    AS
    BEGIN
    OPEN cp1 FOR
    SELECT COUNT(*) TotalRecords
    FROM ( SELECT Id EnterpriseUserGroupId,
    Name NAME,
    Description DESCRIPTION,
    IsDefault
    FROM EnterpriseUserGroup ) T1
    WHERE UPPER(NAME) LIKE +UPPER('%' || ppGroupName || '%');
    END;
    Thanks,
    Edited by: user10768079 on Jul 14, 2009 10:56 PM

    not sure what your question is, seems to work
    create table EnterpriseUserGroup
    (name varchar2(10))
    insert into EnterpriseUserGroup values ('Hello');
    insert into EnterpriseUserGroup values ('World');
    insert into EnterpriseUserGroup values ('''');
    commit;
    create or replace
    PROCEDURE GetEntUserGroupCountWithOther
    (ppGroupName IN VARCHAR2 DEFAULT '%'
    ,cp1 IN OUT SYS_REFCURSOR
    AS
    BEGIN
       OPEN cp1 FOR
          SELECT COUNT(*) TotalRecords
            FROM EnterpriseUserGroup T1
           WHERE UPPER(NAME) LIKE UPPER('%' || ppGroupName || '%');
    end;
    /and to test it
    SQL> var rc refcursor
    SQL>
    SQL>
    SQL> begin
      2     GetEntUserGroupCountWithOther ('''', :rc);
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> print
    TOTALRECORDS
               1
    SQL> begin
      2     GetEntUserGroupCountWithOther ('hello',  :rc);
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> print
    TOTALRECORDS
               1
    SQL> begin
      2     GetEntUserGroupCountWithOther ('not there',  :rc);
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> print
    TOTALRECORDS
               0

  • Problem with quotation marks in Reports

    Hello,
    in Reports i have a text item, and i wrote a text „test” (this is copy/paste from a Word Document). At runtime i see ?text?
    Why those quotation marks does not appear correctly at runtime?
    It's about Reports Developer 2000. Please help if you can.
    Regards,

    my NLS_LANG, before editing in registry was AMERICAN_AMERICA.WE8ISO8859P1 (without that '5' at the end).
    it's WE8ISO8859P1 not WE8ISO8859P15. and i have the NLS_LANG, AMERICAN_AMERICA.WE8ISO8859P1. stil not displaying ok..
    this problem has nothing about the server, but the client, i think.
    the problem appears when i call a report from a form. when i run the report inside Report Builder, the quotation marks appears as „ ".
    Regards

  • Quotation marks

    Am using font type Helvetica for the body. Want to use curly quotation marks which are not part of the Helvetica world. So, I created another style sheet using Georgia, Times Roman as the font. Applying the new style - .apostrophe - to just the quote marks and then applying the correct style to the paragraph.
    The problem is that when view in a browser, the quote marks are not accruate representations. In fact the representation is gibberish to me. Something like this “In and â€&#157;.
    How to get the curly quotes?
    Thanks.

    Mixing fonts just to get curly quotes seems like a bad design decision to me, but if that's the way you want to go...
    The problem with  “In and â€&#157; is almost certainly caused by mismatched page encoding. Open Page Properties from the Modify menu, and select Title/Encoding. Change the page encoding to Unicode UTF8, save the page, and test it again. If that solves the problem, you can make all future pages use the same encoding by changing the New Document preferences in the Preferences panel (Edit menu on Windows, Dreamweaver menu on a Mac).

Maybe you are looking for

  • Unable to execute EXECUTE IMMEDIATE statement in a stored procedure...

    Hi People, I use oracle 10g.In which i tried a procedure with follwing code and am thrown with the error that says, SQL>   create or replace procedure ptable(ptab varchar2) is   2  lstmt varchar(200);   3  begin   4  lstmt:='CREATE TABLE '||ptab||'(a

  • Running Eclipse on Mavericks

    I have a problem with running Mavericks on OS X Mavaricks with the problem that Java SE 6 is needed for running Eclipse'. If I press the button, install, OS X starts downloading Java 6, but I have already Java 7 installed. I checked my Java version i

  • Memory full for Internal table

    Hi all, I have an intenal table where I need to pass millions of records. I am getting short dump due to the memory full. The message is 'the maximum no of bytes passed is exceeded'. To avoid this, I have used the Hash table, but still got the same e

  • Job is in Dispatched status

    Hello Experts, I had some problem in the running of the daily jobs in the Redwood Production Environment.Actually A job was to run at around 2P.M as per its scheduled,But the job did not run as per its scheduled.Instead of showing the status as runni

  • Inconsistent port configuration on SP2 (ms/db is 3600 or 3610 ?)

    Hi All, Inconsistent port configuration on SP2 (ms/db is 3600 or 3610 ?) Dear All, There seems to be an inconsistency in the port configuration on the SP2 that could possibly explain why Tradelink (LN) sometimes is not able to connect to SP2. - the s