Skip to content

Commit

Permalink
Add camel casing of IEEETran entry type fields
Browse files Browse the repository at this point in the history
  • Loading branch information
lenhard committed Dec 11, 2015
1 parent be0a1ee commit 49dc0de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/net/sf/jabref/bibtex/CamelCaser.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class CamelCaser {
put("ctluse_forced_etal", "Ctl_Forced_Etal");
put("ctluse_paper", "CtlUse_Paper");
put("ctluse_url", "CtlUse_Url");
put("dayfiled", "DayFiled");
put("doi", "DOI");
put("editora", "EditorA");
put("editorb", "EditorB");
Expand All @@ -55,6 +56,7 @@ class CamelCaser {
put("mainsubtitle", "MainSubTitle");
put("maintitle", "MainTitle");
put("maintitleaddon", "MainTitleAddon");
put("monthfiled", "MonthFiled");
put("origlanguage", "OrigLanguage");
put("pagetotal", "PageTotal");
put("pubstate", "PubState");
Expand All @@ -63,6 +65,7 @@ class CamelCaser {
put("UNKNOWN", "UNKNOWN");
put("url", "Url");
put("urldate", "UrlDate");
put("yearfiled", "YearFiled");
}

/**
Expand Down

3 comments on commit 49dc0de

@stefan-kolb
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why camel case field names? I thought we only camel case the entry types?!
@JabRef/developers

@stefan-kolb
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is wrong in #116:

  • Bibtex keys are created only lower case
  • Field keys are formatted in camel case

Imho it should be the other way round!

@lenhard
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed via chat, we'll fix that in the next developer telco.

Please sign in to comment.