zoukankan      html  css  js  c++  java
  • LyX使用中的一些问题

    编译开始产生的检查错误

    试用LyX2.3,在2.15中能编译通过的文档,竟然提示错误

    The user preamble of your document contains glyphs that are unknown in the current document encoding (namely 如果没有这一句命令,XeTeX会出错,原因参见)
    These glyphs are omitted from the output, which may result in incomplete output.
    please select an appropriate document encoding (such as utf8) or change the preamble code accordingly.

    以及

    Some characters of your document are probably not representable in the chosen encoding.
    Changing the document encoding to utf8 could help.

    问题是我在“Document -> setting -> Laguage” 中,已经设定了UTF8格式。

    后来发现两个问题:

    1. 没有存档,用的临时没有起名字的默认文档测试
    2. 在“Document -> setting ->Fonts ”勾选上“Use non-TeX fonts (via XeTeX/LuaTeX)”,可以预览或生成PDF文件

    编译过程产生的问题

    1. 提示“missing glyphs”,查看描述为:Missing character: There is no ; in font nullfont! 找到出问题的地方: EU1/SimSun(0)/bx/n/10 答
      EU1/SimSun(0)/bx/n/10 解
      LaTeX Font Warning: Font shape `T1/Georgia(0)/m/n' undefined
      此错误点击show output anyway 可以看到结果PDF。
    2. 提示错误
      LaTeX Error: Command 'lvert' already defined
      LaTeX Error: Command '
      vert' already defined
      LaTeX Error: Command 'LVert' already defined
      LaTeX Error: Command '
      Vert' already defined

      解决方案:更换文档类。将Chinese Book(CTeX)更换为Book (Standard Class)。或者不使用{fourier}包。

    编辑过程中的问题

      1. 当有多个display 公司连续编号时,显示的每两个公式中间空一行。
        这是由于文档类型使用了fleqn:documentclass[fleqn]{article},增加了公式的垂直间距。
        fleqn document class option, long text lines, and hyperref package仍然没有解决该问题。
        解决:[1]每两个公式之间插入一个seperate line;如果这些公式是在定理环境,还需要将公式放在环境外。 只对其中的一个公式编号,其他公式不编号。——有时候也不起作用,但是导出到TeXStudio编译后没问题,LyX2.15的编译过程由问题。[2]在两行公式之间加一行文本,例如“和”、“及”。
      2. 表格中的分式,使用Gape时,如果Gape加在公式外,该单元会靠左对齐,使设置的对齐方式失效。想要居中对齐该单元格,将Gape插入公式中。
      3. Beamer中插入代码,提示“Illegal parameter number in definition of iterate.”。
        【解决方案】使用fragile选项:egin{frame}[fragile] end{frame}。LyX中要在Frame插入fragile参数。
      4. LyX2.3的编辑区(工作区)自动断行比较差,特别是双引号和公式混排时,即使在document->Text Layout中勾选了“justification...”也无效。只好用回2.15.
  • 相关阅读:
    sqli-labs(43)
    sqli-labs(42)
    sqli-labs(41) and 两php函数的讲解
    php的mysql语法
    msf
    域的建立过程
    sqli-labs(40)
    sqli-labs(39)
    sqli-labs(38)
    虚拟化之docker
  • 原文地址:https://www.cnblogs.com/ourweiguan/p/9669408.html
Copyright © 2011-2022 走看看