Dear Fr. Pierre,
Thank you so much for sharing your solution! I was informed by Élie that a fix is available, and I tried it by applying the code change to my system. The problem seems to be fixed (more testing might still need to be done), so I will just keep yours as a backup solution. Nevertheless your code is very useful and helpful for me to study GregorioTeX and LaTex because I am very new to this toolset. Thanks again! Michael ________________________________ 发件人: Gregorio-users <[email protected]> 代表 Pierre François <[email protected]> 发送时间: 2016年5月26日 16:50 收件人: [email protected] 主题: Re: [Gregorio-users] 答复: 答复: 答复: Chinese text Sorry, I sent the bad Makefile. Here comes a simplified one, stripped from my personal stuff. Pierre On 05/26/2016 10:44 AM, Pierre François wrote: Dear Michael I forgot to say that the scores (one line per page) in my system were transformed from pdf into svg graphics. In that way, you don't have pixelization and you don't lose quality. I use next software: lualatex, make and pdf2svg. I personnally run Linux (Ubuntu) as OS, but the software tools I speak about also available under MS-Windows and Mac-OS. I wrote a Makefile making it possible to compile a .gabc file, generating automatically the correspondig .tex file. This file uses a template, called score2svg.latex. I choosed extension latex for avoiding to lose the template file when cleaning the temporary files. In this implementation, the .tex files are to be seen as temporary files, since these are generated automatically by the make utility. Assuming you wrote a file my-chant.gabc, you just have to run make my-chant.svg-dir for creating a directory containing the svg files (one per line of the score). I hereby attach the Makefile and the score2svg.latex template. Hoping you can use this stuff. Pierre François, (http://www.romanliturgy.org) Roman Liturgy – Fonts, Missals, Lectionnaries, Partitions ...<http://www.romanliturgy.org/> www.romanliturgy.org Fonts, Missals, Lectionnaries, Partitions and all kind of online stuff, based on XML, SVG and PDF technologies On 05/26/2016 09:25 AM, Zhang Michael wrote: Dear Br. Samuel and Fr. Pierre, I just did a quick experiment to export an score to a separate .eps file and then include it in a .tex document with Chinese & Latin - it is much more straightforward than I, a LaTeX newbie, imagined. The only problem is that it cannot cross pages automatically. Now I understand why your solution 2 is one line per page. Would you please share with me the template? Thanks, Michael ________________________________________ 发件人: Gregorio-users <[email protected]><mailto:[email protected]> 代表 Zhang Michael <[email protected]><mailto:[email protected]> 发送时间: 2016年5月26日 13:53 收件人: Pierre François; [email protected]<mailto:[email protected]>; Br. Samuel Springuel 主题: [Gregorio-users] 答复: 答复: Chinese text Dear Br. Samuel and Fr. Pierre, Thank you for your advices! When we started evaluating the feasibility of this project a few weeks ago (and now we are still in the process), solution 2 was one of the technical options put forward with but was eventually vetoed due to the loss of quality and potential workload involved. We even looked into a few other possibilities such as importing the PDF score into a word processing software e.g. Pages on Mac (thanks to Élie and Sr. Maria for their wonderful advices) but it turned out to be imperfect. There were two major problems as I see: 1) the image quality was impaired by pixelization, and 2) the image and/or PDF could not cross page automatically. What if I export the scores to EPS files, and insert them into a .tex project in which luatex-ja is used to support Chinese/Japanese? Can an EPS image cross pages automatically? Thanks, Michael ________________________________________ 发件人: Gregorio-users <[email protected]><mailto:[email protected]> 代表 Pierre François <[email protected]><mailto:[email protected]> 发送时间: 2016年5月26日 4:56 收件人: [email protected]<mailto:[email protected]> 主题: Re: [Gregorio-users] 答复: Chinese text Dear Michael If you want to use the solution 2. of Br. Samuel, I can provide you files to produce that kind of output. Fr. Pierre On 05/25/2016 07:57 PM, R. Padraic Springuel wrote: I can think of two possibilities: 1. Use a package other than luatex-ja for typesetting the Chinese/Japanese. 2. Typeset the Gregorio scores in another document which is setup to have one line per page and no margins, and then include them as images. ✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝ Br. Samuel, OSB (R. Padraic Springuel) PAX ☧ ΧΡΙΣΤΟΣ On May 25, 2016, at 12:53 PM, Zhang Michael <[email protected]><mailto:[email protected]> wrote: Sad to hear that it is yet an unresolved issue, but thank you for letting me know, Br. Samuel. Do you see any possible workaround available before it is root-caused and fixed sometime later hopefully? Thanks, Michael ________________________________________ 发件人: Gregorio-users <[email protected]><mailto:[email protected]> 代表 Br. Samuel Springuel <[email protected]><mailto:[email protected]> 发送时间: 2016年5月25日 22:05 收件人: [email protected]<mailto:[email protected]> 主题: Re: [Gregorio-users] Chinese text This is a known issue (#1107, https://github.com/gregorio-project/gregorio/issues/1107). -- ✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝ Br. Samuel, OSB St. Anselm’s Abbey Washington, DC (R. Padraic Springuel) PAX ☧ ΧΡΙΣΤΟΣ _______________________________________________ Gregorio-users mailing list [email protected]<mailto:[email protected]> https://mail.gna.org/listinfo/gregorio-users _______________________________________________ Gregorio-users mailing list [email protected]<mailto:[email protected]> https://mail.gna.org/listinfo/gregorio-users -- Father Pierre FRANÇOIS (http://www.romanliturgy.org) Bosmanslei 16 2018 Antwerpen (Belgium) mobile: +32 474 719 131 phone: +32 3 237 63 96 _______________________________________________ Gregorio-users mailing list [email protected]<mailto:[email protected]> https://mail.gna.org/listinfo/gregorio-users _______________________________________________ Gregorio-users mailing list [email protected]<mailto:[email protected]> https://mail.gna.org/listinfo/gregorio-users -- Father Pierre FRANÇOIS (http://www.romanliturgy.org) Bosmanslei 16 2018 Antwerpen (Belgium) mobile: +32 474 719 131 phone: +32 3 237 63 96 _______________________________________________ Gregorio-users mailing list [email protected]<mailto:[email protected]> https://mail.gna.org/listinfo/gregorio-users -- Father Pierre FRANÇOIS (http://www.romanliturgy.org) Bosmanslei 16 2018 Antwerpen (Belgium) mobile: +32 474 719 131 phone: +32 3 237 63 96
_______________________________________________ Gregorio-users mailing list [email protected] https://mail.gna.org/listinfo/gregorio-users

