Alpha and numeric

Hi All,

If there a way to order my numeric reference alphabetically?

Marci
  • You mean in a document?

    There are a bunch of alphabetically sorted numeric styles we have explicitly called like it: https://www.zotero.org/styles?q=alphabetical&format=numeric

    There will be more, but they don't have it in the name, so you'd need to go through the list of numeric styles to find a match if one of those 11 doesn't fit your bill.
  • Yes, in the document. Hmm..I looked in there and did a search but I'm not very familiar with the repository. I'm wanting APA style. I'll dig around some more.
  • OK -- I followed all the steps (so I think) to making this edit and installing it but I'm getting a installation error message. I have no idea what is wrong. I see that others have requested this same edit.

    I'm wondering if someone might have this completed already and would share it with me.

    Otherwise, is there a way to help me understand why it won't install. If so, what would be needed?

    Really appreciate any help.

    Marci
  • We'd need to know what error you are getting
  • The error message is: An unexpected error occurred while installing "\\MARCI-PC\Documents\Miscellaneous\Zotero styles\apa-numeric-without-superscript-brackets.csl"

    I'm using Windows 11

    If I could send the code changes, but that's a lot

    What's confusing is in the repository there is one named:
    1. American Psychological Association 7th edition (numeric, brackets)
    and another
    2. American Psychological Association 7th edition (numeric, superscript)

    They appear to do the same. I am using the first one and getting superscript.

    Marci
  • Test validation on https://validator.citationstyles.org/
    If that passes, put a.copy of your modified style somewhere we can look at it, e.g. pastebin.com , and add a link here
  • I tried to post this earlier but it didn't go through.

    It didn't pass. Here's a screen print of the message. Unfortunately, I don't know what it means.

    As I've poked around a bit more, I get this message across the top for this code: American Psychological Association 7th edition (numeric, brackets)
    "This XML file does not appear to have any style information associated with it. The document tree is shown below."

    https://s3.amazonaws.com/zotero.org/images/forums/u17520194/k2olmk8swci0ukbiz1wt.png

    Thanks a bunch for any help.
    Marci
  • Looks like something is completely broken -- did you do this with AI? Looks like there might be text at the top of the file that should not be there. Beyond that, we'd need to see the style code as per the above
  • No, I didn't do it with AI. I have no idea how to do that.

    I have no idea what I've done, but it appears I did figure it out. Hunt and peck and search and read and by some miracle, it happened.

    Soooo frustrating.

    Thanks for your help.
    Marci
  • edited 2 days ago
    And then after all that, I thought I would change the biblio to single space and totally messed it up. I'd like it to be single place for each entry and double space between them. Can you tell me how to make that change?

    I thought it would be a simple as changing line spacing to 1 instead of 2, but removed the indentation when it wraps to the 2nd line.

    Oy vey -- so close and still don't know how. LOL

    Marci

    <bibliography hanging-indent="true" et-al-min="21" et-al-use-first="19" et-al-use-last="true" entry-spacing="0" line-spacing="2">
    <layout>


    1. Fuhlendorf, S. D., Harrell, W. C., Engle, D. M., Hamilton, R. G., Davis, C. A., & Leslie, D. M. (2006). Should heterogeneity be the basis for conservation? Grassland birid response to fire and grazing. Ecological Applications, 16(5), 1706–1716.
  • I would really need to see the style code at this point
  • I tried to copy it in but it wasn't happy with that. That's the large blank space.

    I copied it to Notepad++ and here it is:
    Under the "line spacing" I changed it to 1 and when that didn't work, I changed it back to 2 but can't get it to return to the indent after the 1st line.


    bibliography hanging-indent="true" et-al-min="21" et-al-use-first="19" et-al-use-last="true" entry-spacing="0" line-spacing="2">
  • I've worked on this some more. I'm not sure I've provided the right code.

    I'm using: APA style 7th edition (numeric, superscript, brackets)

    But I'd like the notation to not be superscript and the bibliography to single space

    I had the superscript removed, but the biblio screwed up. After working on this for a few more hours, I had more wrong than right. So, I'm starting over.

    Any help in making what I think are 2 simple edits, would be very much appreciated. It's clear I don't have the skills.

    Grateful,
    Marci
  • If you want the number set off for numeric styles, you need to use the second-field-align attribute, e.g.

    <bibliography hanging-indent="true" et-al-min="21" et-al-use-first="19"
    et-al-use-last="true" entry-spacing="0" line-spacing="1" second-field-align="flush">


    (I've added a linebreak before et-al-use-last here for easier readability -- that shouldn't be in the style)

    For removing superscript you just need to remove vertical-align="sup", making sure you don't remove anything else
  • Thank you so much for your help!
    Marci
Sign In or Register to comment.