econ.bst (ver.2.1)

econ.bst (ver.2.1) is released.

econ.bst is available from http://shirotakeda.org/en/tex/econ-bst.html

Ver. 2.1 (2013-07-09)

  • URL field: In the new econ.bst, URL field can be displayed. If you set non-zero to `bst.show.url’, url field is displayed before note field (this is the default behavior). If you set zero to `bst.show.url’, url field is suppressed.
  • Added the new function `bst.url.pre’ and `bst.url.post’. These functions specify the strings before and after url field.
  • access field: Added the new function `bst.access.pre’ and `bst.access.post’. These functions specify the strings before and after access field. Note that access field is specific to econ.bst and not inherent in the standard bib file. The value of access field is used for accessed date for URL. For example, suppose that there are the following two settings in the bib file
    
          url          = {http://shirotakeda.org/en/tex/econ-bst.html},
          access       = {4th July, 2013}
      
    In the default econ.bst, these settings generate the reference like
    URL: http://shirotakeda.org/en/tex/econ-bst.html, accessed on 4th July, 2013.
  • Added the new function `bst.show.doi’. If you set non-zero to `bst.show.doi’, DOI field is displayed before note field. If you set zero to `bst.show.doi’, DOI field is suppressed (this is the default behavior). Note that DOI field is not inherent in the standard bib file. See econ-sample.pdf for an example.
  • Added the new function `bst.doi.pre’ and `bst.doi.post’. These functions specify the strings before and after DOI field.
  • Added the new function `bst.post.note’. This function specifies the strings after note field.
  • Added new type “online”. This is the document type for web page. Note that this is not inherent in the standard bib file and it does not work for other bst files.

GAMS mode (ver.4.2)

GAMS mode for Emacs version 4.2 is released.

http://shirotakeda.org/en/gams/gams-mode.html

4.2: 2013-02-16

  • Added the new variables `gams-outline-regexp-font-lock’ and `gams-level-color-stars-only’. With this chage, headlines are colored according to their level. See Screenshot Page.

GAMS mode (ver.4.1)

GAMS mode for Emacs version 4.1 is released.

http://shirotakeda.org/en/gams/gams-mode.html

4.1: 2012-10-13

  • Fixed minor bugs.
  • Changed the explanation in BUGS_PROBLEMS.txt and README.txt. Until the previous version, I recommended to add the following setting to Emacs.
      (setq jit-lock-chunk-size 50000)
    
    This is for making coloring in GAMS mode work well. But now I recommend the following setting:
      (setq font-lock-support-mode '((gams-mode . nil) (t . jit-lock-mode)))
    
    This means that font-lock-support-mode is not used in GAMS mode. By this setting, Emacs is likely to slow down when you open GAMS files, but you will encounter less troubles in coloring of GAMS mode.
  • Abolished the command `gams-outline-external’ (and deleted files associated with this command).

GAMS mode (ver.4.0)

GAMS mode for Emacs version 4.0 is released.

http://shirotakeda.org/en/gams/gams-mode.html

  • Made several changes on GAMS-SIL mode.

    We often include the same file many times in a program. For example, supose that a GAMS program includes the following codes.

      $batinclude aggr vst i r vst_
      $batinclude aggr vtwr i j r s vtwr_
      $batinclude aggr vom g r vom_
    
    In this code, aggr.gms is included repeatedly. In the previous GAMS-SIL model, the content of aggr.gms is expanded repeatedly in GAMS-SIL buffer. But in the new gams.el, aggr.gms is expanded only once (only first time).

  • Added a new new function `gams-sil-toggle-expand-file-more’ and a lisp variable `gams-sil-expand-file-more’ (the default value is nil).

    In GAMS-SIL mode, the contents of files included by $include commands are usually expanded. For example, if your program includes the following code:

      $include zzz.gms
    
    then, the content of zzz.gms above is always expanded in GAMS-SIL. However, if the file is included conditionally like
      $if exist xxx.gms $include xxx.gms
      $if %scenario%="bau" $include xxx.gms
    
    the content of xxx.gms is not expanded by default.

    If you want to expand the content of conditionally inluced files, type “x” in GAMS-SIL buffer. This evokes `gams-sil-toggle-expand-file-more’ command.

    If you always want to expand the content of conditionally inluced files, then set non-nil to the lisp variable `gams-sil-expand-file-more’.

  • Added the new lisp variable `gams-sil-expand-batinclude’ (default value is t).

    In GAMS-SIL mode, the contents of files included by $include commands are always expanded. But files included by $batinclude are not expanded if `gams-sil-expand-batinclude’ is nil.

  • Changed the default value of `gams-special-comment-symbol’ from “com:” to “@”. This is the string to specify the special comment like
      display "@ This is the special comment line";
    
    The special comment line is used for headlines in GAMS-SIL mode and GAMS-OUTLINE mode.
  • Added outline representation like Org-mode (or outline mode). You can only show headlines of a GAMS program.

    By default, lines starting with *@ are regarded as headlines.

      *@ 	The top level headline
      *@@ 	Second level
            text text
      *@@@ 	Third level
            text text
      *@ 	Another top level headline
    
    You can change outline representation by the following two commands:
    • `org-cycle’ (binded to TAB key)
    • `org-global-cycle’ (binded to Shift+TAB key).

    `org-cycle’ command works only on headlines and toggles hide/show the body of programs. `org-global-cycle’ toggles hide/show entire program.

    Open a sample file “org-minor-mode.gms” and try TAB and Shift+TAB.

    This feature uses codes in Org-mode. So if you want to use this feature, Org-mode must be installed (The recent Emacs has Org-mode by default). In addition, note that this command may depend on the version of Org-mode. I test in Org-mode of 7.8.11.


    [How to change symbols for headlines]

    In the default setting, “*@” is used as symbols to represent headlines. This is determined by the lisp variable `gams-outline-regexp’. This variable specifies the regular expressions of the symbol used to represent headlines and its default value is

      "\\*@+[ \t]"
    
    If you change the value of this variable, you can change symbols for headlines. For example, add the following expression to your init.el file
      (setq gams-outline-regexp "[ \t]*display \"@+[ \t]")
    
    And open “org-minor-mode-alt.gms”.


    [Other commands for outline handling]

    • “C-cC-:n” -> Move to the next headlines (`outline-next-visible-heading’).
    • “C-cC-:p” -> Move to the previous headlines (`outline-previous-visible-heading’).
    • “C-cC-:f” -> Fold the current tree (`gams-org-fold-current-tree’).
    • “C-cC-:k” -> Show branches (`show-branches’).
  • Changed the default indent number from 8 to 4.
  • Changed the name of sample setting file from “dot-emacs-sample” to “setting-sample.el”.

GAMS mode (ver.3.6.6)

GAMS mode for Emacs version 3.6.6 is released. This is a bug fix release.

http://shirotakeda.org/en/gams/gams-mode.html
  • Quited supporting XEmacs because I have no environment for testing XEmacs.
  • Increased the default value of `gams-lxi-maximum-line’ (from 500000 to 1000000).
  • Fixed a bug in `gams-show-identifier’.
  • Fixed many minor bugs.

Website was restored

I tried to update MODX for my website and failed… The database was destroyed and I had to restore the website manually.

Here is the new website http://shirotakeda.org. There are only small changes in the contents but note that I changed URL for all pages (except for the top page).

  • Old URL is http://shirotakeda.org/home/…
  • New URL is given by http://shirotakeda.org/en/…

For example, the page for GAMS mode for Emacs changed from http://shirotakeda.org/home/gams/gams-mode.html to http://shirotakeda.org/en/gams/gams-mode.html.



econ.bst (ver.2.0.1)

econ.bst (ver.2.0.1) is released.

econ.bst is available from http://shirotakeda.org/en/tex/econ-bst.html

Ver. 2.0.1 (2011-12-05)

  • Fixed bugs for sorting entries. In version 2.0, entries of book and incollection type are not sometimes sorted in alphabetical order.
  • The previous econ.bst always puts `period’ before the content of note field. The new econ.bst uses `comma’ by default (but this depends on user customization).
  • Added new function `bst.hide.title’. If you set non-zero to bst.hide.title, title is not displayed.


econ.bst (ver.2.0)

econ.bst (ver.2.0) is released.

econ.bst is available from http://shirotakeda.org/en/tex/econ-bst.html

Ver. 2.0 (2011-11-10)

  • Added \bysame abbreviation of alternative style.
    Suppose that there are the following three entries:
    Mazda, A., Subaru, B., and Honda, C., (2011) “ABC”
    Mazda, A., Subaru, B., and Honda, C., (2011) “DEF”
    Mazda, A., Subaru, B., and Toyota, D., (2011) “GHI”
    When you set non-zero to `bst.use.bysame’ in the previous econ.bst, these entries are listed like
    [List 1]
    Mazda, A., Subaru, B., and Honda, C., (2011) “ABC”
    —-, (2011) “DEF”
    Mazda, A., Subaru, B., and Toyota, D., (2011) “GHI”
    That is, the abbreviation of authors by \bysame is only applied to entries with exactly the same name.
    In the new econ.bst, you can choose an alternative abbreviation style like
    [List 2]
    Mazda, A., Subaru, B., Honda, C., (2011) “ABC”
    —-, —-, and —-, (2011) “DEF”
    —-, —-, and Toyota, D., (2011) “GHI”
    In the new econ.bst, you can choose three values for `bst.use.bysame’.

    #0: Not use bysame command.
    #1: Use bysame command like List 1 (this is the default value).
    #2: Use bysame command like List 2.

    For the details, see econ-sample.pdf.
  • Abolished `bst.year.backward’ and added `bst.year.position’. Now you can choose the position of year.

    If set to #0, year is always placed right after “author”.
    If non-zero, year is placed at the end (before note field) except for aritcle type entry.

    In article type entry, the position of year changes according to the following rule:

    #1 -> year is placed at the end.
    #2 -> year is placed after journal name in aritcle type entry.
    #3 -> year is placed after volume in aritcle type entry.

  • Added `bst.year.na.pre’ and `bst.year.na.post’.
    These functions are `bst.year.pre’ and `bst.year.post’ for non-article type entry. In the new econ.bst, `bst.year.pre’ and `bst.year.post’ are only applied to aritcle type entry.
  • Added `bst.editor.btitle.order’.
    This determines the order of editor and booktitle in incollection and inproceedings entry.

    If #0, editors – booktitle order (the default value).
    If non-zero, booktitle – editors order.

  • Added `bst.address.position’.
    You can choose the order of address and publisher by this function.

    If #0, address -> publisher order (the default value).
    If non-zero, publisher -> address order.

GAMS mode (ver.3.6.5)

GAMS mode for Emacs version 3.6.5 is released. This is a bug fix release.

http://shirotakeda.org/en/gams/gams-mode.html
  • The previous version (ver.3.6.4) includes a bug in indentation function for $macro block. It is fixed in this version.
  • Fixed the bug related to $oneolcom and $offeolcom. In the previous versions, GAMS mode sometimes does not work well in files with $oneolcom and $offeolcom.
  • Added minor changes on `gams-model-library’.

GAMS mode (ver.3.6.4)

GAMS mode for Emacs version 3.6.4 is released. This is a minor update.

http://shirotakeda.org/en/gams/gams-mode.html

  • Added “nonnegative variables” to the GAMS statement list.
  • Changed the key-binding of `gams-comment-dwim-inline’ to `C-cM-;’.
  • Added minor change on `gams-insert-statement-extended’ (C-cC-n).
  • Supported indentation for $macro definition.
  • Various minor changes.