Comments (23)
Thanks. We can wait @gfngfn to fix font issue #13 #17 (since I don't know much about font) and I can fix build issue later (#21, #40)
from satysfi.
I am unsure but embedding $PREFIX into the source code in compile-time or using relative path would work, I guess.
from satysfi.
@objmagic, please consider free alternatives I listed too if you work on the font issue.
IMHO, using Latin Modern and/or TeX Gyre for Latin scripts and IPAex for Japanese scripts is a lightweight solution.
(Note that Latin Modern and some of TeX Gyre fonts already have corresponding OpenType Math fonts, so they will get harmonized results without much investigation after we get configurable math font feature.)
from satysfi.
@objmagic additional note for the font issue https://twitter.com/bd_gfngfn/status/964779203869556737
from satysfi.
Not yet. We still need to execute cp -R "$(opam config var prefix)/share/satysfi" "${HOME}/.satysfi"
as a workaround after installation. #109 addresses this, but it has not been reviewed yet.
from satysfi.
How about just making SATySFi $PREFIX
-friendly? (At least setup_root_dirs
will need some changes.) Maybe I am missing the point, though...
PATH
-like environment variable would be helpful anyway.
from satysfi.
Survey: TeX uses multiple TEXMF
.
References (in Japanese):
- TeX のディレクトリ構成 -- TeX Wiki
- texmf.cnf ファイル -- TeX Wiki
from satysfi.
@omasanori What do you think about the method to remember $PREFIX
?
from satysfi.
we shouldn't copy libraries under /usr/local/share
agree. We cannot assume every user has access to /usr/local
from satysfi.
Yes, root_dirs is now hard-coded and is not configurable.
I was aware, when I wrote that patch, that that may cause some problems, but could not find a neat way to tell opam to modify the source code and embed installation directory strings (e.g. /usr/local or ~/.opam/4.06.0/). (Is there?)
One possible workaround is to get opam installation directory at run time and append it to satysfi_root_dirs
with less priority than ~/.satysfi. Thoughts?
from satysfi.
@nyuichi Thanks for your comment! I almost agree with you. I also thought of getting the OPAM prefix at run time by running opam config var prefix
, however I noticed that the same problem will occur if other $PREFIX
is set at compile time. So I'm seeking more general solution.
from satysfi.
I can make a large clean up in #21 to address many issues including this one later when I have time. But before this I'd like to have font dependency issue resolved
from satysfi.
Right. That's not a fix but just a workaround, though I think it should work fine for most users. Meanwhile, I await @objmagic's fix, leaving this issue as it is.
from satysfi.
Are you still working on this? If you don't have time, I can write a patch instead.
from satysfi.
Has the problem solved?
from satysfi.
@gfngfn How's #109 going? I think it's great to resolve this issue for easy installation of SATySFi.
from satysfi.
FYI, for workaround, I made a tool https://github.com/na4zagin3/satyrographos which copies the directories under $(opam config var prefix)/share/satysfi/*
to $HOME/.satysfi/dist
with merging.
from satysfi.
@nekketsuuu do you mind to close this PR as the lib-satysfi is not installed under the OPAM registory now?
from satysfi.
@na4zagin3 Which commits or pull requests do you think of as that change?
from satysfi.
@nekketsuuu 3c1bd3c must be it.
from satysfi.
If #149 is merged, the dist library will be installed into OPAM registry again, fyi.
from satysfi.
Ah, I remember that. Personally I feel that does not resolve the core of this problem best, but this issue is fixed as you said.
I'm closing this issue, but feel free to reopen this or report an related issue if needed.
from satysfi.
Ah, I missed this PR actually includes a proposal to use environment variables.. I'd update the title and the description..
from satysfi.
Related Issues (20)
- Introduce “open record types” and use them for formalizing contexts and states
- Migrate from OCamlLex to Sedlex for Unicode-aware lexing
- Develop the package system #369
- Add an option for emitting errors in JSON
- Add an option for specifying where to put the `.satysfi-aux` file
- Distinguish the so-called `\textstyle` from `\displaystyle`
- Arrange the spec of config files for hyphenation and Unicode-aware typesetting
- Change how paddings are specified as to `{inline,block}-frame-breakable`
- Support LTR/RTL
- Introduce stage 2 for operations invoked during the page breaking
- Introduce base type `char` for Unicode code points
- Tail-call optimization
- Support Unicode Variation Sequences
- satysfi-dist installation fails due to URLs to math fonts being invalid HOT 3
- SATySFi 0.0.9 fails to process doc packages in Satyrographos Repo HOT 3
- Assert_failure src/backend/tabular.ml:124:15" HOT 2
- Is there a simple default document class for non-Japaneese documents? HOT 1
- Dune build fails when `camlimages.5.0.5` is installed HOT 3
- Add `block-fil`
- Alternative texts using tagged PDFs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from satysfi.