这是命令 publicanp,可以使用我们的多个免费在线工作站之一在 OnWorks 免费托管服务提供商中运行,例如 Ubuntu Online、Fedora Online、Windows 在线模拟器或 MAC OS 在线模拟器
程序:
您的姓名
publican - DocBook XML 发布工具。
VERSION
本文档描述了 publican 4.0 版
概要
税吏
税吏
命令选项
--help 显示帮助信息
--man 显示手册页
--help_actions 显示有效操作列表
-v 显示Publican的版本
有效的操作是:
add_revision 在修订历史中添加一个条目
将 XML 转换为其他格式(pdf、html、html-single、drupal-book 等)
清除所有临时文件和目录
clean_ids 为源 XML 运行干净的 id
clean_set 删除远程设置书籍的本地副本
copy_web_brand 将品牌已安装的网络内容复制到另一个站点
创建 创建新书、套装或文章
create_brand 创建一个新品牌
create_site 在提供的位置创建一个新网站。
help_config 显示配置文件的帮助文本
install_book 将一本书安装到网站中。
install_brand 将品牌安装到提供的位置
lang_stats 报告 PO 统计信息
migrate_site 将网站数据库从 Publican < 3 迁移到 Publican 3。
包装 包装运输语言
print_banned 打印禁止的 DocBook 标签列表
print_known 打印 QA 的 DocBook 标签列表
print_tree 打印 xi:includes 的树
print_unused 打印未使用的 XML 文件列表
print_unused_images 打印未使用的图像文件列表
remove_book 从网站上删除一本书。
重命名 重命名一本公书
report 打印源文本的可读性报告。
site_stats 报告网站内容
trans_drop 快照源语言用于翻译。
update_db 添加或删除数据库条目。 用于处理预构建书籍,例如构建包时。
update_po 更新 PO 文件
update_pot 更新 POT 文件
update_site 更新现有站点模板。
zt_pull 从 Zanata 中提取翻译。
zt_push 将翻译推送到 Zanata。
运行:'bin/publican --help' 有关操作使用的详细信息
接口
添加_修订版
向修订历史添加条目
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
--lang= XML 将使用的语言
--revnumber= 用于修订的修订号。
--日期= 用于修订的日期。
--会员= 要添加到修订中的条目。 可以多次指定。
--名字= 用于修订的名字。
--姓氏= 用于修订的姓氏。
--email= 用于修订的电子邮件。
建立
将 XML 转换为其他格式(pdf、html、html-single、drupal-book 等)
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
--格式= 逗号分隔的格式列表,例如:html,pdf,html-single,html-desktop,txt,epub
--langs= 逗号分隔的语言列表,例如:en-US,de-DE,all
--publish 设置用于发布的构建内容
--embedtoc 在生成的 HTML 中嵌入网站 TOC 对象
--distributed_set 这个标志告诉 publican 正在处理的数据是一个分布式集。 注意:不要在命令行上使用distributed_set。 Publican 在调用自己处理分布式集时使用此标志。 这是唯一可以使用此标志的安全方式。
--novalid 不运行 DTD 验证
--src_dir= 从中获取 publican 文件的目录。
--pdftool= 覆盖创建 PDF 时使用的工具。 有效选项是 wkhtmltopdf 和 fop。
--pub_dir= 将文件发布到的目录。 默认发布。
清洁
删除所有临时文件和目录
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
--pub_dir= 将文件发布到的目录。 默认发布。
干净的ID
为源 XML 运行干净的 id
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
清洁集
删除远程设置书籍的本地副本
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
copy_web_brand 复制代码
将品牌已安装的 Web 内容复制到另一个站点
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
--品牌= 要使用的品牌
--site_config= 要使用或创建的网站配置文件。
--old_site_config= 在站点之间复制内容时要使用的网站配置文件。
创建信息图
创建新书、新书集或文章
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
--名称= 书籍、文章、套装或品牌的名称
--版本= 产品版本
--版本= 书籍、文章或集合的版本
--产品= 产品名称
--品牌= 要使用的品牌
--lang= XML 将使用的语言
--type= 类型(书籍、文章或集合)
--dtdver= 要使用的 DocBook DTD 的版本
创建品牌
创建一个新品牌
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
--名称= 书籍、文章、套装或品牌的名称
--lang= XML 将使用的语言
创建站点
在提供的位置创建一个新网站。
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
--site_config= 要使用或创建的网站配置文件。
--db_file= 覆盖默认数据库文件。
--toc_path= 覆盖默认的 TOC 路径。
--tmpl_path= 覆盖默认模板路径。
--lang= XML 将使用的语言
帮助配置
显示配置文件的帮助文本
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
安装书
在网站上安装一本书。
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
--site_config= 要使用或创建的网站配置文件。
--lang= XML 将使用的语言
安装品牌
将品牌安装到提供的位置
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
--path= /路径/到/安装/到
--web 为品牌安装 Web 内容。
--pub_dir= 将文件发布到的目录。 默认发布。
语言统计
报告采购订单统计
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
--lang= XML 将使用的语言
迁移站点
将网站数据库从 Publican < 3 迁移到 Publican 3。
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
--site_config= 要使用或创建的网站配置文件。
包
打包运输语言
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
--lang= XML 将使用的语言
--desktop 创建桌面而不是 web 包
--brew 推送 SRPM 来酿造
--scratch 使用scratch代替标签构建
--short_sighted 创建包而不在包名中使用版本
--binary 在运行包时构建二进制 rpm
--wait 等待 brew 完成构建
--pub_dir= 将文件发布到的目录。 默认发布。
禁止打印
打印禁止的 DocBook 标签列表
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
打印_已知
打印 QA 的 DocBook 标签列表
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
打印树
打印 xi:includes 的树
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
打印未使用
打印未使用的 XML 文件列表
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
打印未使用的图像
打印未使用的图像文件列表
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
删除书
从网站上删除一本书。
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
--site_config= 要使用或创建的网站配置文件。
--lang= XML 将使用的语言
重命名
重命名一本公共书籍
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
--名称= 书籍、文章、套装或品牌的名称
--产品= 产品名称
--版本= 产品版本
报告
打印源文本的可读性报告。
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
网站统计
报告网站内容
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
--site_config= 要使用或创建的网站配置文件。
反式滴
快照用于翻译的源语言。
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
更新数据库
添加或删除数据库条目。 用于处理预构建书籍,例如何时
建筑包。
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
--site_config= 要使用或创建的网站配置文件。
--add 添加数据库条目
--del 删除数据库条目
--lang= XML 将使用的语言
--产品= 产品名称
--版本= 产品版本
--名称= 书籍、文章、套装或品牌的名称
--格式= 逗号分隔的格式列表,例如:html,pdf,html-single,html-desktop,txt,epub
--字幕= 一本书的副标题
--抽象= 一本书的摘要
--product_label= 一本书的产品标签
--version_label= 一本书的版本标签
--name_label= 书名标签
--sort_order= 排序书籍
--book_version= 正在安装的书的版本号。
--book_src_lang= 此翻译所基于的语言。
更新_po
更新 PO 文件
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
--langs= 逗号分隔的语言列表,例如:en-US,de-DE,all
--msgmerge 使用 gettext 的 msgmerge 进行 POT/PO 合并。
--名字= 用于修订的名字。
--姓氏= 用于修订的姓氏。
--email= 用于修订的电子邮件。
--previous 在 PO 更新中检测到模糊匹配时保留以前的 msgid。
更新锅
更新 POT 文件
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
更新站点
更新现有站点模板。
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
--site_config= 要使用或创建的网站配置文件。
zt_拉
从 Zanata 提取翻译。
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
zt_推
将翻译推送到 Zanata。
选项:
--help 显示帮助信息
--config=s 使用非标准配置文件
--common_config=s 覆盖 Common_Config 目录的路径
--common_content=s 覆盖 Common_Content 目录的路径
--nocolours 禁用日志记录的 ANSI 着色。
--quiet 禁用所有日志记录。
--brand_dir=s 来源品牌文件的目录。
配置 AND 环境
Publican 需要访问 wkhtmltopdf 或 Apache FOP 才能创建 PDF 文件。
依赖
归档::Tar 归档::Zip Carp Config::Simple Cwd DBI DateTime DateTime::Format::DateParse
Devel::Cover 编码文件::Basename File::Copy::Recursive File::Find File::Find::Rule
文件::HomeDir 文件::就地文件::路径文件::规范文件::哪个文件::pushd Getopt::Long
HTML::FormatText HTML::FormatText::WithLinks HTML::FormatText::WithLinks::AndTables
HTML::TreeBuilder I18N::LangTags::List IO::String Lingua::EN::Fathom List::MoreUtils
List::Util Locale::Language Locale::Maketext::Gettext Locale::Maketext::Lexicon
Locale::Msgfmt Locale::PO 模块::Build Pod::Usage Sort::Versions String::Similarity
语法::Highlight::Engine::Kate Template Template::Constants Term::ANSIColor Test::More
测试::Pod 测试::Pod::覆盖文本::CSV_XS 文本::换行时间::本地时间 XML::LibXML
XML::LibXSLT XML::Simple XML::TreeBuilder 版本
不兼容
没有报道。
使用 onworks.net 服务在线使用 publicanp