Re: [Yade-dev] [Bug 1814286] Re: Various LaTeX symbols missing in Yade documentation

2019-02-04 Thread Janek Kozicki
Bruno Chareyre said: (by the date of Mon, 04 Feb 2019 18:39:36
-)

> It sounds like the pragmatic move is to replace the macros by what
they mean. Search & replace should work, and I think there are very few
pages where those macros are used (if not just one page).

I've seen an error not related to \def (or \newcommand). \bigO letter
is not found by command \fontstyle.

I suppose there are other incompatibility (between pngmath and
mathjax) errors. Spotting all of them might be difficult.


-- 
Janek Kozicki

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1814286

Title:
  Various LaTeX symbols missing in Yade documentation

Status in Yade:
  New

Bug description:
  See [1]. Looks like the builder is missing some important LaTeX
  libraries.

  
  [1] https://yade-dev.gitlab.io/trunk/formulation.html#variables

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1814286/+subscriptions

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


[Yade-dev] [Bug 1814286] Re: Various LaTeX symbols missing in Yade documentation

2019-02-04 Thread Janek Kozicki
Just have a look at errors produced by imgmath

https://yade-
dev.gitlab.io/-/trunk/-/jobs/156037536/artifacts/public/formulation.html

from what I saw they occur in exactly the same places as errors in
mathjax (and where pngmath worked). The only difference is that they are
more informative, and only some of them relate to \def

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1814286

Title:
  Various LaTeX symbols missing in Yade documentation

Status in Yade:
  New

Bug description:
  See [1]. Looks like the builder is missing some important LaTeX
  libraries.

  
  [1] https://yade-dev.gitlab.io/trunk/formulation.html#variables

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1814286/+subscriptions

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


[Yade-dev] [Bug 1814286] Re: Various LaTeX symbols missing in Yade documentation

2019-02-04 Thread Bruno Chareyre
It sounds like the pragmatic move is to replace the macros by what they mean. 
Search & replace should work, and I think there are very few pages where those 
macros are used (if not just one page).
Bruno

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1814286

Title:
  Various LaTeX symbols missing in Yade documentation

Status in Yade:
  New

Bug description:
  See [1]. Looks like the builder is missing some important LaTeX
  libraries.

  
  [1] https://yade-dev.gitlab.io/trunk/formulation.html#variables

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1814286/+subscriptions

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


[Yade-dev] [Bug 1814286] Re: Various LaTeX symbols missing in Yade documentation

2019-02-04 Thread Janek Kozicki
I checked on debian Buster (inside chroot). The problem is also present
there.

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1814286

Title:
  Various LaTeX symbols missing in Yade documentation

Status in Yade:
  New

Bug description:
  See [1]. Looks like the builder is missing some important LaTeX
  libraries.

  
  [1] https://yade-dev.gitlab.io/trunk/formulation.html#variables

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1814286/+subscriptions

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] [Bug 1814286] Re: Various LaTeX symbols missing in Yade documentation

2019-02-04 Thread Janek Kozicki
Robert Caulk said: (by the date of Mon, 04 Feb 2019 17:07:16 -)

> Have you tried replacing \def with \newcommand locally Janek?

yes, it did not help.

-- 
Janek Kozicki

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1814286

Title:
  Various LaTeX symbols missing in Yade documentation

Status in Yade:
  New

Bug description:
  See [1]. Looks like the builder is missing some important LaTeX
  libraries.

  
  [1] https://yade-dev.gitlab.io/trunk/formulation.html#variables

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1814286/+subscriptions

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] [Bug 1814286] Re: Various LaTeX symbols missing in Yade documentation

2019-02-04 Thread Anton Gladky
Sorry for causing those problems. Yes, I did not check this
change on older distributions.

Anyway, the pngmath is deprecated in sphinx_1.8, so this
change is necessary for the newer distributions, where 1.8
is used.

If imgmath is not working properly, we need to investigate
the problem deeper.

Regards

Anton

Am Mo., 4. Feb. 2019 um 18:20 Uhr schrieb Robert Caulk
<1814...@bugs.launchpad.net>:
>
> >>Hmm, this search in Buster indicates that pngmath is still there,
> am I missing something?
>
> I guess it exists without support based on this warning thrown by make
> doc:
>
> "WARNING: sphinx.ext.pngmath has been deprecated. Please use
> sphinx.ext.imgmath instead."
>
> Have you tried replacing \def with \newcommand locally Janek?
>
> --
> You received this bug notification because you are subscribed to Yade.
> https://bugs.launchpad.net/bugs/1814286
>
> Title:
>   Various LaTeX symbols missing in Yade documentation
>
> Status in Yade:
>   New
>
> Bug description:
>   See [1]. Looks like the builder is missing some important LaTeX
>   libraries.
>
>
>   [1] https://yade-dev.gitlab.io/trunk/formulation.html#variables
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/yade/+bug/1814286/+subscriptions

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1814286

Title:
  Various LaTeX symbols missing in Yade documentation

Status in Yade:
  New

Bug description:
  See [1]. Looks like the builder is missing some important LaTeX
  libraries.

  
  [1] https://yade-dev.gitlab.io/trunk/formulation.html#variables

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1814286/+subscriptions

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


[Yade-dev] [Bug 1814286] Re: Various LaTeX symbols missing in Yade documentation

2019-02-04 Thread Robert Caulk
>>Hmm, this search in Buster indicates that pngmath is still there,
am I missing something?

I guess it exists without support based on this warning thrown by make
doc:

"WARNING: sphinx.ext.pngmath has been deprecated. Please use
sphinx.ext.imgmath instead."

Have you tried replacing \def with \newcommand locally Janek?

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1814286

Title:
  Various LaTeX symbols missing in Yade documentation

Status in Yade:
  New

Bug description:
  See [1]. Looks like the builder is missing some important LaTeX
  libraries.

  
  [1] https://yade-dev.gitlab.io/trunk/formulation.html#variables

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1814286/+subscriptions

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


[Yade-dev] [Bug 1814286] Re: Various LaTeX symbols missing in Yade documentation

2019-02-04 Thread Janek Kozicki
Yes, I had the same errors locally with imgmath: https://yade-
dev.gitlab.io/-/trunk/-/jobs/156037536/artifacts/public/formulation.html

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1814286

Title:
  Various LaTeX symbols missing in Yade documentation

Status in Yade:
  New

Bug description:
  See [1]. Looks like the builder is missing some important LaTeX
  libraries.

  
  [1] https://yade-dev.gitlab.io/trunk/formulation.html#variables

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1814286/+subscriptions

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] [Bug 1814286] Re: Various LaTeX symbols missing in Yade documentation

2019-02-04 Thread Janek Kozicki
Anton Gladky said: (by the date of Fri, 01 Feb 2019 17:46:29 -)

> I committed those changes. pngmath is not part of sphinx any more,
> so the change is really necessary

Hmm, this search in Buster indicates that pngmath is still there,
am I missing something?

https://packages.debian.org/search?mode=filename=buster=all=any=contents=pngmath

Also I see that reverting your commit (git revert 34fb5ffef) fixes
the problem, for me at least.

I tried putting imgmath instead of pngmath, this did not help.

Only change (for me at least) was that with imgmath the rendering
errors were more informative: e.g. command \selectfont not working on
\bigO, and other errors.

-- 
Janek Kozicki

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1814286

Title:
  Various LaTeX symbols missing in Yade documentation

Status in Yade:
  New

Bug description:
  See [1]. Looks like the builder is missing some important LaTeX
  libraries.

  
  [1] https://yade-dev.gitlab.io/trunk/formulation.html#variables

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1814286/+subscriptions

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp