Closed traviscb closed 10 years ago
Originally on 2010-11-09
Replying to [#314 tbrooks]:
User asking for CV generator in INSPIRE, a la:
http://www.slac.stanford.edu/spires/hep/help/CV.shtml
Long term, would be good to do.
Bump. More users asking for this. Should be added on top of the BibAuthorID, when rolled out.
Originally by valkyrie (@valkyriesavage) on 2011-07-13
%\cite{Quigg:2011zu} \item%{Quigg:2011zu}
What is that number and how do I get it?
Originally by hoc on 2011-07-13
This is the texkey, latex uses it as a reference. In the body of the paper you just say \cite{texkey} and it matches it with the \bibitem{texkey} at the end of the paper. It's stored in 035$z http://inspirebeta.net/record/edit/?ln=en#state=edit&recid=884703
it should be called in the plain latex format. http://inspirebeta.net/record/884703/export/hlxu
Originally by valkyrie (@valkyriesavage) on 2011-07-13
Aha! Thank you.
Originally by valkyrie (@valkyriesavage) on 2011-07-13
I'm going to move on to something else for a little while, but I've pushed some stuff to AFS under branch 314-cv_format (for invenio). Comments appreciated!
Originally on 2011-07-14
I'm not paying attention but I noticed Heath said something about texkeys. I've been working on a component to attach texkeys to things at upload time; if you need to make them I can share my bits.
Originally by valkyrie (@valkyriesavage) on 2011-07-15
I don't need to make them, just access them. I figured it out. Thanks, though. :)
Originally by valkyrie (@valkyriesavage) on 2011-07-15
Uh, do I have to put this in-merge to get comments?
Originally by valkyrie (@valkyriesavage) on 2011-07-15
Ehh.. for reference I haven't added the output format options to the dropdown box (haven't looked for how to do it), but if you append &of='hcv', 'htcv', or 'tlcv' to your URL (on a site with CFG_INSPIRE_SITE set to True), you should get the HTML CV, the HTML text CV (i.e. no links), and the text LaTeX CV.
Originally on 2011-07-17
Who would you like comments from? If you'd like me to review it I can take care of that tomorrow; I'll mark the ticket email in my inbox as a 'todo'. If you want comments from someone who's actually ever seen CV format before, they've all been traveling, and will probably be happy to comment when they're conscious. You should probably add anyone you want comments from to Cc:
Originally on 2011-07-18
Quick review done IRL, regarding some LaTeX changes needed, and probably better to have format defined in a bfe/bft in INSPIRE or similar repo, and the format generator on the Invenio side, a la cite summarizer.
Originally on 2011-07-18
So can I safely ignore this for the time being?
Originally by hoc on 2011-07-18
Not sure how exactly to see this (maybe I can't over the web?) but I'm looking forward to it. We should put an announcment on the INSPIRE page about this when it's done because so many people have asked for it over the past year or so.
Originally by valkyrie (@valkyriesavage) on 2011-07-19
Fixes pushed.
Originally on 2011-08-04
This is now deployed on -dev and available for testing. See, e.g., http://inspire-hep-dev.cern.ch/search?ln=en&ln=en&p=find+a+aad%2C+g&action_search=Search&sf=&so=d&rm=&rg=25&sc=0&of=hb And then select for example 'LaTeX CV' from the 'Output format' dropdown.
HOC, TCB, if you approve I'll commit to inspire-ops and deploy to -prod.
Originally by hoc on 2011-08-04
Something strange going on, I get the headers and footers like I should but the papers are missing, it gives: [header deleted] %% LIST OF PAPERS %% Please comment out anything between here and the %% first \item %% Please send any updates or corrections to the list to %% tibor.simko@cern.ch
\end{enumerate} \end{document}
Originally on 2011-08-04
oops, my fault. I think it's fixed now, try again?
Originally by hoc on 2011-08-04
Hi Joe,
This looks good! A lot of people will be very happy to see this (esp. with job season on the horizon): http://www.slac.stanford.edu/~hoc/joe.pdf
A few matters of LaTeX fussiness to address:
Originally on 2011-08-09
1-6 are now all solved, but there's on lingering issue that Valkyrie spotted on her way out the door to her new life as a grad student. Apparently < is only < if you happen to have the right font sets installed. So on my machine it renders as ¡ (inverted bang). One way to fix this, according to http://tex.stackexchange.com/questions/2369/less-than-symbol-appears-as-upside-down, is to use some packages that make it explicit that a particular (correct) font family is requested. Another way is apparently to use \textless
or \textgreater
. The former is simpler than the latter, but the latter seems more likely to be portable and less annoying. Or we can always take the third option and punt.
What do you guys think?
Originally on 2011-08-09
Another way to fix it is $>$ which is even more annoying to implement, though \textless will also be annoying to implement, because I think you cannot be in math mode when you use it...and you won't know without counting the even v. odd number of $ in the string before your >...
...so you could do that, or you could leave it be.
I think a great future improvement would be to really handle LaTeX titles correctly in these CV and cut and paste formats. (There are a number of things one could do by parsing to make a better LaTeX title, i.e. detecting when math mode should have been used, translating old style SPIRES titles to TeX, etc etc). I would even suggest making a ticket for it, but don't fix it now.
Originally by hoc on 2011-08-09
Sounds like something where we need to give people an easy way to fix the tex in the titles (like Mike has done for references). They'd have a big incentive to do this.
We could also work ourselves on fixing tex-titles. We should make sure we use the formal Latex \lt and \gt rather than "<" and ">".
Originally by hoc on 2011-09-02
Currently this format is fixed to show reverse chronological order. Giving sorting options is non-trivial.
Originally on 2011-09-08
This has been merged into master, and also the remaining issues have been separately ticketized (and they're small, besides.)
Originally on 2011-09-12
Replying to [comment:24 jblayloc]:
This has been merged into master
Is that so? I have not merged "cvfier" into Invenio yet. Does this mean that you would like to merge some other branch instead of valkyrie/314-cv_format
? If so, which one?
Originally on 2011-09-12
Oh, right, I'm sorry. My mistake.
It's in inspire-ops, commit 77b482e73e087a58831cb50012717c84c41f375e, which I believe is materially the same as my own branch, '314-cv_format'. I the branch on Valkyrie's repo is ok, but is much older and has gone without a rebase.
Originally on 2011-09-13
The INSPIRE side has already been committed to the INSPIRE repo.
Originally by annetteh on 2012-02-08
done
Originally on 2012-02-10
Replying to [comment:26 jblayloc]:
It's in inspire-ops, commit 77b482e73e087a58831cb50012717c84c41f375e
This commit uses hard coded format names 'hcv', 'htcv', 'tlcv' that do not come with the commit, in spite of the commit log message. So the commit is incomplete. Moreover, the format names being hard coded, but not coming with the commit, this could result in a conflict with an Invenio installation that uses the same output format names for other stuff.
We should either (1) include these formats together with this commit into upstream Invenio (like the hcs format is), customised towards Atlantis demo site conditions, which would permit is to write test cases and stuff, and which would permit other Invenio installations to re-use this format. Or we should (2) use special CV actions for these hard-coded format names only when the CFG_INSPIRE_SITE flag is on, so that no other Invenio installation would get perturbed. (In which case the search_engine_cvifier.py
file would not even have to be included with the upstream Invenio sources.)
Note that the patch you mention does a bit of both approaches, since it commits some parts to Invenio and some parts to INSPIRE, but the parts are not completely consistent. Se need to clean the patch before merging, either in one direction or the other.
Originally by Valkyrie Savage vasavage@gmail.com on 2014-01-09
In 13ba19cf8a8ee3d4313426a8f62f1217516821cf:
#CommitTicketReference repository="invenio" revision="13ba19cf8a8ee3d4313426a8f62f1217516821cf"
WebSearch: CV output formats
- introduce hcv, htcv, and tlcv formats
* based on SPIRES html, text, and LaTeX formats (fixes #314)
* alphabetized Makefile.am
Reviewed-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Originally on 2010-10-14
User asking for CV generator in INSPIRE, a la:
http://www.slac.stanford.edu/spires/hep/help/CV.shtml
Long term, would be good to do.