Giter Site home page Giter Site logo

csas-style's People

Contributors

andrew-edwards avatar cgrandin avatar grinnellm avatar seananderson avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

csas-style's Issues

Travis CI testing

After an exceedingly painful day last week of pushing, tweaking the config script to add one more LaTeX package, and trying again, we now have continuous integration testing for csas-style:
https://travis-ci.org/pbs-assess/csas-style

Also see the front-page/README.md for the badge https://github.com/pbs-assess/csas-style

This will ensure that we don't break the example but we can also use this set up to automatically compile any documents that use csas-style on Travis. If you break it you get a nasty e-mail. :)

@ricardd thanks for the pain of trying a broken example, which made this finally happen.

.bst file should render article titles as sentence case

Currently the CSAS style .bst file is not converting article titles to sentence case. My understanding is that the style file is supposed to leave the title verbatim if the bibliography style requires title case. If the bibliography style requires sentence case than the style file is supposed to squash the unprotected capitals. I believe the CSAS style is sentence case so we should probably be converting the unprotected upper cases to sentence case.

E.g.

@article{saunders1998pollock,
  author  = {M. W. Saunders and W. Andrews},
  year    = {1998},
  title   = {{Walleye Pollock} Stock Assessment for 1997 and Recommended Yield
             Options for 1998},
  journal = {DFO Pacific Stock Assessment PSARC Working Paper},
  volume  = {2009/021},
  pages   = {18~p}
}

should render

Saunders, M.W. and Andrews, W. 1998. Walleye Pollock stock assessment for 1997 and recommended yield options for 1998. DFO Pacific Stock Assessment PSARC Working Paper 2009/021. 18 p.

not

Saunders, M.W. and Andrews, W. 1998. Walleye Pollock Stock Assessment for 1997 and Recommended Yield Options for 1998. DFO Pacific Stock Assessment PSARC Working Paper 2009/021. 18 p.

I wouldn't care too much about this except that it's a pain when I export from Zotero because Zotero does the correct thing and makes the titles title case but not protected unless explicitly protected.

retorquere/zotero-better-bibtex#558

https://tex.stackexchange.com/questions/10772/bibtex-loses-capitals-when-creating-bbl-file/140071#140071

The .bst file seems to strip out hyphens from first names

For Redbanded Rockfish assessment, the .bbl file incorrectly strips out hyphens in hyphenated first names. Fixing manually for Redbanded in for Lecomte (2013), both J.-B. and M.-P. Maybe just a quirk of my .bib file, but other .bst files don't seem to mess this up.

I can maybe provide a minimal working example one day. Not a huge issue but I'll note in the readme file.

Ordering of multi-author papers in bibliography

This is the one CSAS (maybe from CJFAS) rule that I couldn't quite automate. Here are some earlier notes; I think it is only (iii) that doesn't quite work correctly.

The ordering of papers for 2 and >2 authors is fiddly and maybe not possible to automate, and so just do manually prior to submission
(edit the order of the .bst file). The CJFAS rules are:

References must be listed in alphabetical order according to the name of the first author and not numbered. References with the same first author are listed in the following order.

(i) Papers with one author only are listed first in chronological order, beginning with the earliest paper.

(ii) Papers with dual authorship follow and are listed in alphabetical order by the last name of the second author.

(iii) Papers with three or more authors appear after the dual-authored papers and are arranged chronologically. These currently get arranged alphabetically (by second, or higher if necessary, author, instead of by year).

For Redbanded I had to manually (in the .bbl file, so don't re-bibtex):

  • re-order Edwards et al. (2012 and 2014 order)
  • re-order Yamanaka et al. references into chronological order.

Clean up README.md

The README.md file should probably include basic instructions for a user to get started. We should probably move at least some of the current details into a separate file or into the repo's wiki.

Soon we may want to also link to the csasdown repo as an alternative front end to using csas-style. Note that csasdown has some helper functions for installing arial on Windows with add_arial(). Longterm I'd like to get Arial working with tinytex to avoid the MikTeX headaches.

Make this a package

Some folks have had trouble because their directory structure is not correct. We need to make this a package.

Should Matt's frontmatter branch be merged into master?

Was on a conference call yesterday and Dan Ricard in Gulf Region mentioned that he was using our csas-style stuff. I think he may have just got an older version of mine, so I was going to let him know that you guys have been extending it. But with the two branches I was just wondering if they should be merged.

And (Sean) if Dan is not a member of pbs-assess then he should still fork it, yes? And if he makes improvements then we would pull them into our master (he can do a pull request). In other words, we don't want to start making outside people members of pbs-assess.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.