LyXConditional include and europecv class with bibentry package

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
User avatar
massimopinto
Posts: 2
Joined: Thu Apr 07, 2016 6:04 pm

Conditional include and europecv class with bibentry package

Post by massimopinto »

Hello,

after several years away from LaTeX, I started again with LyX to prepare my curriculum vitae and opted for the europecv class. That worked well, the package instructions were clear, and I have a nice output with pdfLaTeX.
However, I began by inserting my publications manually, and divided them in sections according to where they were published:
  • scientific journals
    conference proceeding
    tech reports
    internal reports
but Ideally, I would prefer to make this process more automatic, selecting these sections à la carte, and use a bibliography database to help me. To incorporate these sections -conditionally- into the CV, In LaTeX one could do a conditional \include, here with LyX how is this achieved? Is "Branching" the LyX solution?

I am sorry to have a second question, related to the former, and in particular to the use of multiple bibliographies in the europecv class that LyX provides. The europecv manual comes with an example that could do my case, and this requires the bibentry package. However, I cannot make it work, and I get no bibliographies inserted anywhere in the document
Taken from its manual, the idea is:

\ecvitem{}{\textsc{Publications}}
\ecvitem{}{\bibentry{pub1}}
[...]
\ecvitem{}{\bibentry{pubN}}


Has anyone in this community got that working correctly?

Running TeXLive 2015, Mac distribution

\ProvidesPackage{bibentry}
[2007/10/30 1.5 (PWD)]
Massimo Pinto
ENEA Casaccia
Department of Fusion and Technology for Nuclear Safety and Security
National Institute of Ionizing Radiation Metrology
Standards for protection-level dosimetry unit
http://www.inmri.enea.it/
https://about.me/massimopinto

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply