设为首页收藏本站繁体中文

轻之国度

 找回密码
 注册(右键在新窗口打开)

QQ登录

只需一步,快速开始

查看: 1064|回复: 14
收起左侧

第一次用sigil做epub《地错外传-芙蕾雅》

[复制链接]
发表于 2020-5-23 10:58 | 显示全部楼层 |阅读模式
本帖最后由 novel_human 于 2020-5-23 23:32 编辑

一直想做出类似多看那种排版格式比较好的epub,以前为了方便,就用python down下txt,然后用epubuilder做电子书,非常方便但是样式不好看,而且图片不能点击放大。这次 用sigil做了一下,主要排版都是:[自翻][大森藤ノ]在地下城寻求邂逅是否搞错了什么 眷族年代记Episode芙蕾雅 5.11 完  大佬 ashmay 的工作(划重点),我只是把帖子和图片用软件规整了一下。

不知道能不能发布,发布的要求和注意事项是什么(原来按照 轻小说分享区分享以前制作的《小书痴下克上》合集没有通过,不知道什么原因,所以现在先发个帖,问问路子)


效果预览





制作情况







 楼主| 发表于 2020-5-23 11:09 | 显示全部楼层
对应CSS

  1. /*预设文本样式*/
  2. body{
  3.         padding: 0%;
  4.         margin-top: 0%;
  5.         margin-bottom: 0%;
  6.         margin-left: 1%;
  7.         margin-right: 1%;
  8.         line-height: 130%;
  9.         text-align: justify;
  10. }

  11. h4{
  12.         font-size: 1.5em;
  13.         text-align: center;
  14.         line-height: 1.2em;
  15.         text-indent: 0em;
  16.         font-weight: bold;
  17.         margin-top: 1em;
  18.         margin-bottom: 1.5em;
  19. }
  20. div{
  21.         margin: 0px;
  22.         padding: 0px;
  23.         text-align: justify;
  24. }
  25. p{
  26.         text-indent: 2em;
  27.         display: block;
  28.         line-height: 1.3em;
  29.         margin-top: 0.4em;
  30.         margin-bottom: 0.4em;
  31. }

  32. /*图片相关*/
  33. .illus{
  34.         text-indent: 0em;
  35.         text-align: center;
  36. }
  37. .cover{
  38.         margin: 0em;
  39.         padding: 0em;
  40.         text-indent: 0em;
  41.         text-align: center;
  42. }
  43. .coverborder{
  44.         border-style: none solid none solid;
  45.         border-color: #000000;
  46.         border-width: 1px;
  47. }



  48. /*预设格式相关样式*/
  49. .right{
  50.         text-indent: 0em;
  51.         text-align: right;
  52. }
  53. .left{
  54.         text-indent: 0em;
  55.         text-align: left;
  56. }
  57. .center{
  58.         text-indent: 0em;
  59.     text-align: center;
  60. }
  61. .zin{
  62.     text-indent: 0em;
  63. }
  64. .bold{
  65.     font-weight: bold;
  66. }
  67. .stress{
  68.         font-weight: bold;
  69.         font-size: 1.1em;
  70.         margin-top: 0.3em;
  71.         margin-bottom: 0.3em;
  72. }
  73. .author{
  74.         font-size: 1.2em;
  75.         text-align: right;
  76.         font-weight: bold;
  77.         font-style: italic;
  78.         margin-right: 1em;
  79. }
  80. .dash-break{
  81.         word-break: break-all;
  82.         word-wrap: break-word;
  83. }
  84. .no-d{
  85.         text-decoration: none;
  86. }
  87. .bc{
  88.         border-collapse: collapse;
  89. }
  90. .dash-break{
  91.         word-break: break-all;
  92.         word-wrap: break-word;
  93. }
  94. .message{
  95.         text-indent: 0em;
  96.         line-height: 1.2em;
  97.         margin-top: 0.2em;
  98.         margin-bottom: 0.2em;
  99. }
  100. .meg{
  101.         font-size: 1.3em;
  102.         text-indent: 0em;
  103.         font-weight: bold;
  104.         margin-top: 0.5em;
  105.         margin-bottom: 0.5em;
  106. }

  107. /*文字大小*/
  108. .em05{
  109.     font-size: 0.5em;
  110. }
  111. .em06{
  112.     font-size: 0.6em;
  113. }
  114. .em07{
  115.     font-size: 0.7em;
  116. }
  117. .em08{
  118.     font-size: 0.8em;
  119. }
  120. .em09{
  121.     font-size: 0.9em;
  122. }
  123. .em10{
  124.     font-size: 1.0em;
  125. }
  126. .em11{
  127.     font-size: 1.1em;
  128. }
  129. .em12{
  130.     font-size: 1.2em;
  131. }
  132. .em13{
  133.     font-size: 1.3em;
  134. }
  135. .em14{
  136.     font-size: 1.4em;
  137. }
  138. .em15{
  139.     font-size: 1.5em;
  140. }
  141. .em16{
  142.     font-size: 1.6em;
  143. }
  144. .em17{
  145.     font-size: 1.7em;
  146. }
  147. .em18{
  148.     font-size: 1.8em;
  149. }
  150. .em18{
  151.     font-size: 1.9em;
  152. }
  153. .em20{
  154.     font-size: 2em;
  155. }

  156. .em21{
  157.     font-size: 2.1em;
  158. }
  159. .em22{
  160.     font-size: 2.2em;
  161. }
  162. .em23{
  163.     font-size: 2.3em;
  164. }
  165. .em24{
  166.     font-size: 2.4em;
  167. }
  168. .em25{
  169.     font-size: 2.5em;
  170. }
  171. .em26{
  172.     font-size: 2.6em;
  173. }
  174. .em27{
  175.     font-size: 2.7em;
  176. }
  177. .em28{
  178.     font-size: 2.8em;
  179. }
  180. .em29{
  181.     font-size: 2.9em;
  182. }
  183. .em30{
  184.     font-size: 3.0em;
  185. }

  186. .em31{
  187.     font-size: 3.1em;
  188. }
  189. .em32{
  190.     font-size: 3.2em;
  191. }
  192. .em33{
  193.     font-size: 3.3em;
  194. }
  195. .em34{
  196.     font-size: 3.4em;
  197. }
  198. .em35{
  199.     font-size: 3.5em;
  200. }
  201. .em36{
  202.     font-size: 3.6em;
  203. }
  204. .em37{
  205.     font-size: 3.7em;
  206. }
  207. .em38{
  208.     font-size: 3.8em;
  209. }
  210. .em39{
  211.     font-size: 3.9em;
  212. }
  213. .em40{
  214.     font-size: 4.0em;
  215. }

  216. .em41{
  217.     font-size: 4.1em;
  218. }
  219. .em42{
  220.     font-size: 4.2em;
  221. }
  222. .em43{
  223.     font-size: 4.3em;
  224. }
  225. .em44{
  226.     font-size: 4.4em;
  227. }
  228. .em45{
  229.     font-size: 4.5em;
  230. }
  231. .em46{
  232.     font-size: 4.6em;
  233. }
  234. .em47{
  235.     font-size: 4.7em;
  236. }
  237. .em48{
  238.     font-size: 4.8em;
  239. }
  240. .em49{
  241.     font-size: 4.9em;
  242. }
  243. .em50{
  244.     font-size: 5em;
  245. }

  246. /*预设目录样式*/
  247. .contents{
  248.         text-indent: 0em;
  249.         text-align: center;
  250.            border-bottom: 0.1em dotted #000000;
  251.     padding: 0.5em 0 0.4em 0;
  252.     margin-bottom: 0.7em;
  253.     font-weight: bold;
  254. }
  255. .mulu{
  256.         text-indent: 0em;
  257.         text-align: center;
  258. }
  259. .co20{
  260.         color:#000000;
  261. }

  262. /*预设title样式*/
  263. .title-width{
  264.     width: 100%;
  265. }
  266. .bb{
  267.     border-bottom: 3px solid #000000;
  268. }
  269. .blb{
  270.     border-left: 3px solid #000000;
  271.     border-bottom: 3px solid #000000;
  272. }
  273. .bl{
  274.     border-left: 3px solid #000000;
  275. }
  276. .br{
  277.     border-right: 3px solid #000000;
  278. }
  279. .brt{
  280.     border-right: 3px solid #000000;
  281.     border-top: 3px solid #000000;
  282. }
  283. .bt{
  284.     border-top: 3px solid #000000;
  285. }

  286. /*图片允许放大*/
  287. /*
  288. html代码:

  289. <div class="duokan-image-single illus"><img alt="图片名" src="../Images/图片名.jpg" /></div>
  290. */

  291. /*预设注释样式  
  292.          by lucifer004提供*/

  293. .sign{
  294.         font-size: 0.8em;
  295.         font-weight: bold;
  296.         vertical-align: super;
  297. }
  298. .note{
  299.         font-size: 0.8em;
  300.         text-indent: -1.6em;
  301.         margin: 0.5em 2% 1em 2.5em;
  302.         padding: 0.8em 0.8em 0.8em 1.9em;
  303.         background-color: #F1D99D;
  304.         border: 1px #BC905A solid;
  305.         border-radius: 0 10px;
  306.         box-shadow: 2px 2px 4px #555555;
  307. }


  308. /*以下填写自定义css样式*/

  309. /*常用*/

  310. .noindent {
  311.         text-indent: 0em;
  312. }

  313. .fr{
  314.         float:right;
  315. }
  316. .fl{
  317.         float:left;
  318. }

  319. .cut-line {
  320.         text-indent: 0em;
  321.     line-height: 0;
  322.         margin-top: 0.3em;
  323.         margin-bottom: 0.3em;
  324. }

  325. .lap {
  326.         font-size: 1.5em;
  327.         text-indent: 0em;
  328.         font-weight: bold;
  329.         text-align: center;
  330.         margin-top: 0em;
  331.         margin-bottom:0em;
  332. }

  333. .rotate90{  
  334.    -webkit-transform: rotate(90deg);
  335.    transform: rotate(90deg);   
  336. }

  337. /*行高*/

  338. .lh00{
  339.         line-height: 0em;
  340. }

  341. .lh01{
  342.         line-height: 1em;
  343. }

  344. .lh02{
  345.         line-height: 2em;
  346. }

  347. .lh03{
  348.         line-height: 3.5em;
  349. }

  350. .lh04{
  351.         line-height: 4em;
  352. }

  353. .lh05{
  354.         line-height: 5em;
  355. }

  356. /*字型*/


  357. .mtf{
  358.     font-family: mtf;
  359. }

  360. @font-face {
  361.     font-family: "mtf";
  362.     src: url(../Fonts/mtf.ttf)
  363.     }

  364. .stf{
  365.     font-family: stf;
  366. }

  367. @font-face {
  368.     font-family: "stf";
  369.     src: url(../Fonts/stf.ttf)
  370.     }

  371. .atf{
  372.     font-family: atf;
  373. }

  374. @font-face {
  375.     font-family: "atf";
  376.     src: url(../Fonts/atf.ttf)
  377.     }

  378. .itcf{
  379.     font-family: itcf;
  380. }

  381. @font-face {
  382.     font-family: "itcf";
  383.     src: url(../Fonts/itcf.ttf)
  384.     }

  385. .itef{
  386.     font-family: itef;
  387. }

  388. @font-face {
  389.     font-family: "itef";
  390.     src: url(../Fonts/itef.ttf)
  391.     }

  392. /*封面*/

  393. .cbg{
  394.    background-image: url(../Images/cbi2.jpg);
  395.    background-repeat:no-repeat;
  396.    background-position:right bottom;
  397.    background-size: cover;
  398. }

  399. .yellow {
  400.         color: #F0E68C;
  401. }

  402. .relativecover1 {
  403.   position: relative;
  404.   top : 150%;
  405.   left : -10%;
  406. }



  407. .relativecover {
  408.   position: relative;
  409.   top : 102%;
  410.   left : -10%;
  411. }

  412. .ill2-box{
  413.         width:15em;
  414.         margin:auto auto auto auto;
  415.         background-color:#EEE8AA;
  416.         border-bottom:solid 1px #000000;
  417.         border-top:solid 1px #000000;
  418.         border-left:solid 1px #000000;
  419.     border-right:solid 1px #000000;
  420. }

  421. .ill21-box{
  422.         width:22em;
  423.         margin:auto auto auto auto;
  424.         background-color:#EEE8AA;
  425.         border-bottom:solid 1px #000000;
  426.         border-top:solid 1px #000000;
  427.         border-left:solid 1px #000000;
  428.     border-right:solid 1px #000000;
  429. }

  430. /*目錄*/
  431. .contentsbox {
  432.     margin-top:15%;
  433.     margin-left:auto;
  434.     margin-right:auto;
  435.         text-indent: 0em;
  436.     text-align:center;
  437. }

  438. .white {
  439.         color: #FFFFFF;
  440. }

  441. /*人物介紹*/

  442. .pibk{
  443.    background-image: url(../Images/060bk.jpg);
  444.    background-repeat:no-repeat;
  445.    background-position:top;
  446.    background-size: cover;
  447. }

  448. .pi-box1{
  449.         width:25em;
  450.         margin:3% auto 0 auto;
  451.         border-bottom:solid 0px #000000;
  452.         border-top:solid 0px #000000;
  453.         border-left:solid 0px #000000;
  454.     border-right:solid 0px #000000;
  455.         border-radius:10px 10px 0 0;
  456.     border-radius:30px;
  457. }

  458. .bc{
  459.         border-collapse: collapse;

  460. }

  461. .vb{
  462.         vertical-align: bottom;
  463. }

  464. .pihalfwidth {
  465.     width:100%;
  466.     margin:0px auto;
  467.     height:5px;
  468.     border:none;
  469.     border-top:1px solid #000000;
  470. }
复制代码
发表于 2020-5-23 14:22 | 显示全部楼层
不懂,我就看看,等个大佬解惑
发表于 2020-5-23 15:35 | 显示全部楼层
三月份的我:等下个月我有空了,研究一下做epub自用
四月份的我:等下个月我有空了,研究一下做epub自用……
五月份的我:等下个月我有空了……

评分

参与人数 1轻币 +18 收起 理由
净灵之火 + 18 我很赞同

查看全部评分

 楼主| 发表于 2020-5-23 15:55 | 显示全部楼层
咕咕哒的咕 发表于 2020-5-23 15:35
三月份的我:等下个月我有空了,研究一下做epub自用
四月份的我:等下个月我有空了,研究一下做epub ...

我是不是抢了大佬的活
发表于 2020-5-23 16:30 | 显示全部楼层
轻小说分享区是直接发文的杯,如果乃要发txt就到下载区去发,要发epub就到下载区里的epub区发。发之前看看版规有什么要求,有木有满足就好的杯
 楼主| 发表于 2020-5-23 17:57 | 显示全部楼层
yibabilun 发表于 2020-5-23 16:30
轻小说分享区是直接发文的杯,如果乃要发txt就到下载区去发,要发epub就到下载区里的epub区发。发之 ...

大佬,“轻小说分享区”,可以直接发制作好的epub吗?我是不是需要先向翻译大佬申请?
发表于 2020-5-23 17:59 | 显示全部楼层
咕咕哒的咕 发表于 2020-5-23 15:35
三月份的我:等下个月我有空了,研究一下做epub自用
四月份的我:等下个月我有空了,研究一下做epub ...

我发现只有每天坚持做一点才能做一件事,想要等到有空基本是不可能的。。。
发表于 2020-5-23 18:00 | 显示全部楼层
novel_human 发表于 2020-5-23 17:57
大佬,“轻小说分享区”,可以直接发制作好的epub吗?我是不是需要先向翻译大佬申请? ...

如果只发epub,那要发到“epub区”,不是“轻小说分享区”。
如果是录入组录入的,那可以直接发。如果是翻译大佬翻译的,需要经过翻译大佬同意才可以发。
差不多就是这样
 楼主| 发表于 2020-5-23 19:50 | 显示全部楼层
yibabilun 发表于 2020-5-23 18:00
如果只发epub,那要发到“epub区”,不是“轻小说分享区”。
如果是录入组录入的,那可以直接发。如果是 ...

大佬,录入组是个什么概念,每次看文之前都有,但是概念不清楚
发表于 2020-5-23 19:59 | 显示全部楼层
novel_human 发表于 2020-5-23 19:50
大佬,录入组是个什么概念,每次看文之前都有,但是概念不清楚

呃,简单来说轻小说分享区(包括最新轻小说分享区)里面基本可以分为翻译贴和录入贴。
翻译贴就是翻译组的大佬或者是野生的翻译大佬,翻译的小说。
录入贴就是录入组的大佬或者野生录入君,录入的小说。这里录入基本来自台湾版官方出版的繁体翻译版本酱紫。
帖子名字最前面会有标明是录入的还是翻译的酱紫。
 楼主| 发表于 2020-5-23 20:19 | 显示全部楼层
yibabilun 发表于 2020-5-23 19:59
呃,简单来说轻小说分享区(包括最新轻小说分享区)里面基本可以分为翻译贴和录入贴。
翻译贴就是 ...

原来如此,受教了,我还是要问问翻译大大先
发表于 2020-5-23 20:31 | 显示全部楼层
novel_human 发表于 2020-5-23 20:19
原来如此,受教了,我还是要问问翻译大大先

如果得到允许,记得截图噢,然后去epub区发,记得看版规噢
 楼主| 发表于 2020-5-23 20:52 | 显示全部楼层
yibabilun 发表于 2020-5-23 20:31
如果得到允许,记得截图噢,然后去epub区发,记得看版规噢

截图是什么意思?就是协商的聊天记录?,不过这种事情确实需要留心
 楼主| 发表于 2020-5-23 20:52 | 显示全部楼层
yibabilun 发表于 2020-5-23 20:31
如果得到允许,记得截图噢,然后去epub区发,记得看版规噢

截图是什么意思?就是协商的聊天记录?,不过这种事情确实需要留心
发表于 2020-5-23 20:55 | 显示全部楼层
novel_human 发表于 2020-5-23 20:52
截图是什么意思?就是协商的聊天记录?,不过这种事情确实需要留心 ...

就比如乃问大佬能不能做了发布,大佬嗯一声,乃截个图就行的杯,帖子里问就行,或者私信也行的杯
 楼主| 发表于 2020-5-23 20:57 | 显示全部楼层
yibabilun 发表于 2020-5-23 20:55
就比如乃问大佬能不能做了发布,大佬嗯一声,乃截个图就行的杯,帖子里问就行,或者私信也行的杯 ...

ok,多谢告知
 楼主| 发表于 2020-5-23 20:57 | 显示全部楼层
yibabilun 发表于 2020-5-23 20:55
就比如乃问大佬能不能做了发布,大佬嗯一声,乃截个图就行的杯,帖子里问就行,或者私信也行的杯 ...

ok,多谢告知
发表于 2020-5-25 23:15 | 显示全部楼层
咕咕哒的咕 发表于 2020-5-23 15:35
三月份的我:等下个月我有空了,研究一下做epub自用
四月份的我:等下个月我有空了,研究一下做epub ...

你为什么不去抓一个人做,lk这边会做的大佬很多
发表于 2020-5-26 06:39 | 显示全部楼层
haozhao68 发表于 2020-5-25 23:15
你为什么不去抓一个人做,lk这边会做的大佬很多

我就想拿来自动,让别人做还得花时间联系,怪麻烦的

本版积分规则

手机版|Archiver|轻之国度

JS of wanmeiff.com and vcpic.com Please keep this copyright information, respect of, thank you!JS of wanmeiff.com and vcpic.com Please keep this copyright information, respect of, thank you!

  

GMT+8, 2024-4-29 12:33

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表