Projecte

General

Perfil

Accions

ComVerificarLesReglesDeBibconvert

D'un missatge del Tibor Simko

http://cdsware.cern.ch/lists/project-cdsware-users/archive/msg00553.shtml

Re: How to introduce a constant value in a bibconvert template for websubmit
From: Tibor Simko <tibor.simko@xxxxxxx>
Subject: Re: How to introduce a constant value in a bibconvert template for websubmit
Date: Tue, 14 Feb 2006 14:31:10 +0100

Hello

On Tue, 14 Feb 2006, Ferran Jorba wrote:
> Hmmm.  It doesn't appear.  I've tried several variations:

For the WebSubmit context, please make this test:

  - if you have submitted a demo TEXT document in the past, go to the
    submitted archive and decompress one completed submission:

      $ cd /prefix/var/data/submit/storage/done/running/TEXT/
      $ tar xfvz TEST-ARTICLE-2006-014_20060207223015.tar.gz
      $ cd TEST-ARTICLE-2006-014_20060207223015

  - launch bibconvert for these data manually:

      $ /prefix/bin/bibconvert -l1 -d`pwd` -Cs/prefix/etc/bibconvert/config/EDSTEXT.tpl \
                                           -Ct/prefix/etc/bibconvert/config/EDSTEXTcreate.tpl

  - edit EDSTEXTcreate.tpl to add a DEFP() call (with END of FOOT):

     $ tail -3 /log/cdsware-DEMOPLUS/etc/bibconvert/config/EDSTEXTcreate.tpl
     END::DEFP()---this is a test
     END::DEFP()---</record>

  - rerun bibconvert and watch the output

You should see ``this is a test'' in the output.  (I have just tested
this on CDSware v0.7.1 demo site.)

> PS I may send my files to you, if you care to take a look.

Yes, please, if the above fails.

Tibor

Actualitzat per Ferran Jorba fa més de 11 anys · 6 revisions