Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

空白工作单中的宏命令用法 #1190

Open
renyh opened this issue Jul 16, 2024 · 0 comments
Open

空白工作单中的宏命令用法 #1190

renyh opened this issue Jul 16, 2024 · 0 comments

Comments

@renyh
Copy link
Collaborator

renyh commented Jul 16, 2024

空白工作单中的宏命令用法:
005{{macro:%year%%m2%%d2%%h2%%min2%%sec2%.%hsec%,trigger:load}}
005{{macro:%year%%m2%%d2%%h2%%min2%%sec2%.%hsec%,trigger:save}}

第一行 trigger:load 表示这是在空白工作单装载进入 MARC 编辑器的时刻兑现这个宏。
第二行 trigger:save 表示直到记录保存的时候才会兑现这个宏。
可以根据实际场景选择一种用法即可。

另外如果种册窗工具条上的宏定义中如果定义了名为 biblio_number+ 的宏,则空白工作单中也可以使用这样的宏命令:
001{{macro:%biblio_number+%,trigger:load}}
这样每次装载空白工作单的时候,都会兑现这个宏,可以看出这个宏值是一个增量的字符串,每次都会增量。

目前这个功能只能用到本地电脑的宏。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant