GithubHelp home page GithubHelp logo

mdxconverter's People

Contributors

noword avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mdxconverter's Issues

报错

ValueError: Cannot insert None into a tag.

希望增强提取mdd中图片的功能。

带有图片的词典,好像大都无法正常提取:

  1. 有部分带图片的词典(通常图片是重复且简单的),输出html是正常的,但输出pdf就看不到图片。
  2. 有部分带图片的词典(通常图片较大、多个不同的图片),无论输出html还是pdf都看不到图片。

coronavirus为什么无法识别?

Microsoft Windows [版本 10.0.17763.107]
(c) 2018 Microsoft Corporation。保留所有权利。

C:\Users\Administrator>cd C:\Users\Administrator\Desktop\MdxConverter_v0.0.7L6mp3

C:\Users\Administrator\Desktop\MdxConverter_v0.0.7L6mp3>MdxConverter "LDOCE6++ En-Cn V2-19.mdx" "123.txt" "1.pdf"
基础词 Unit 22
coronavirus
WARNING: "coronavirus" not found
Traceback (most recent call last):
File "MdxConverter.py", line 275, in
File "MdxConverter.py", line 231, in mdx2pdf
File "MdxConverter.py", line 215, in mdx2html
File "MdxConverter.py", line 100, in merge_css
File "MdxConverter.py", line 86, in get_css
AttributeError: 'NoneType' object has no attribute 'link'
[11528] Failed to execute script MdxConverter

C:\Users\Administrator\Desktop\MdxConverter_v0.0.7L6mp3>

无法安装mdict-query

我在运行mdxconverter 事没有 mdcit-query 这个module
于是运行 pip install mdict-query
但是显示
ERROR: Could not find a version that satisfies the requirement mdict_query (from versions: none)
ERROR: No matching distribution found for mdict_query
我看了一下,这个module很久没有更新了,可能和这个有关。
不知道如何解决这个问题,海请赐教。
谢谢

pdf打印字体大小设置

请教:发现打印出来的pdf字体偏小影响阅读,有没有办法设定导出的字体大小来着?是在词典的css中修改吗》
找了一圈wkhtmltopdf也没有找到怎么设置的方法。
sample.pdf

UnicodeDecodeError: ‘utf-8’ codec

UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xd2 in position 52: invalid continuation byte
请教这个报错为什么在转化为html的时候不出现,但在转化为pdf的时候一定出现?

无法识别词组

通过二分法查找bug,发现该脚本无法识别词组。比如"accroding to "

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.