Friday, June 3, 2016

Re: [pcgen] Re: Where are the outputsheet headlines to be found?

 

Hm, ok, I need to change some loops.

My starting idea to mod the ABB in the mpc_stats.lst file like this:
Weisheit    SORTKEY:5    ABB:WE    KEY:WIS    STATMOD:floor(SCORE/2)-5    DEFINE:MAXLEVELSTAT=WIS|WISSCORE-10
so there is the wanted text in ABB.

Now I'd want to have the output loop grab this item. Interestingly the long text "Weisheit" from the above homebrew entry immediately is printed on the pdf without further changes, but the short text everywhere is still "WIS".

Sadly the naming in all files different.

1)
In  block_stat_block.xslt I find "<xsl:value-of select="name/short"/>" which I would believe to be the three letters for a stat.

2)
In outputsheets\base.xml.ftl I find the following section
"<long>${pcstring('STAT.${stat}.LONGNAME')}</long>
 <short>${pcstring('STAT.${stat}.NAME')}</short>"

I just don't see how and where I would need to change something to connect the code in the output sheet to the ABB tag. Somewhere there must be connection between the stats.lst file entries and the expressions in the xslt and ftl files.

I am happy to ask in some other group if that is the right place. 
For outsiders this all is not so easy to understand and editing the resulting pdf is like handwriting with a pencil - not really an option.

__._,_.___

Posted by: oe.oe@chefmail.de
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (19)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.

PCGen&#39;s Mailing Lists and Links: http://wiki.pcgen.org/Mailing_Lists_and_PCGen_Links

.

__,_._,___

No comments:

Post a Comment