Coder Social home page Coder Social logo

Компиляция диссертации в pdf/a-1b. Ошибка Width information for rendered glyphs is inconsistent about russian-phd-latex-dissertation-template HOT 3 OPEN

zabhoz avatar zabhoz commented on June 1, 2024
Компиляция диссертации в pdf/a-1b. Ошибка Width information for rendered glyphs is inconsistent

from russian-phd-latex-dissertation-template.

Comments (3)

LSinev avatar LSinev commented on June 1, 2024

Превратить, что шаблон, что готовый диссер в совместимый с pdf/a-1b — непростая задача, "выстрелить" может где угодно. Всяким нюансам посвящено много обсуждений: https://tex.stackexchange.com/questions/tagged/pdf-a
Проще может быть в Acrobat Pro (если им потом и проверять будут) принудительно сконвертировать.
Пакеты из инструкции университета могут и мешать — надо проверять. И шрифты тоже. Ошибка на которую ругается может быть и с текстовым шрифтом и с математическим. biblatex-то про библиографию, а не про шрифты.
Имеет смысл обновить все пакеты и TeXlive до последних версий.
Я на старой версии шаблона пытался прикрутить костыли к диссертации и оно работало тогда, но на текущей версии шаблона — не знаю https://github.com/LSinev/candsci-dissertation и заготовка под произвольный документ https://gist.github.com/LSinev/74ea05423c9208d6677d

from russian-phd-latex-dissertation-template.

LSinev avatar LSinev commented on June 1, 2024

Если у вас, только одна описанная ошибка, попробуйте вписать

    %%% Solving \textnumero problem in russian pdflatex
    %%% Don't know how to explain why this works
    \ifnumequal{\value{usealtfont}}{2}{}{
        \UndeclareTextCommand{\textnumero}{T2A}
    }
    \UndeclareTextCommand{\S}{T2A}
    \UndeclareTextCommand{\textpertenthousand}{T2A}
    \usepackage[safe,warn]{textcomp}

вместо строки
https://github.com/AndreyAkinshin/Russian-Phd-LaTeX-Dissertation-Template/blob/master/common/packages.tex#L84
(\usepackage{textcomp}).

И интересно, куда в шаблоне вписали \usepackage[a-1b,usecharset]{pdfx}, чтобы других ошибок не подхватить?

from russian-phd-latex-dissertation-template.

zabhoz avatar zabhoz commented on June 1, 2024

@LSinev добавление приводит к ошибке LaTeX Error: Option clash for package textcomp.

\usepackage[a-1b,usecharset]{pdfx} добавил в packages.tex, что привело к серии warnings:

Package hyperref Warning: Option pdftitle has already been used

Package hyperref Warning: Option pdfauthor has already been used

Package hyperref Warning: Option pdfsubject has already been used
...

from russian-phd-latex-dissertation-template.

Related Issues (20)

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.