Skip to content

Instantly share code, notes, and snippets.

@coder-chenzhi
Last active April 13, 2017 02:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coder-chenzhi/0b5387dae3dacabe1df1b5b60f966c93 to your computer and use it in GitHub Desktop.
Save coder-chenzhi/0b5387dae3dacabe1df1b5b60f966c93 to your computer and use it in GitHub Desktop.
expand acm proceedings automatically
// take the Proceedings of the 2016 24th ACM SIGSOFT International Symposium on Foundations of Software Engineering as example
// http://dl.acm.org/citation.cfm?id=2950290&CFID=749075976&CFTOKEN=83437356
num = 152 // last index of tag need to expand
for(i = 1; i < num + 1; i++){
try {
expandcollapse('expcoll'+i, i)
}
catch (err) {
// some index is missing, so will throw exception
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment