La interfaz de usuario / preprocesador de PTXprint está escrito asumiendo que se trabaja en un idioma minoritario donde la lista de silabificación de PTX es todo lo que está disponible. Si se trabaja en un idioma mayoritario, (o alguien del equipo está familiarizado con la creación de diccionarios generados por patgen2 y su incorporación a TeX), entonces una solución es usar los patrones de TeX integrados (o que se pueden construir). Diferentes compilaciones de TeX a menudo vienen solo con un subconjunto seleccionado de lo que está disponible (para mejorar el tiempo de carga / evitar limitaciones de memoria en máquinas de los años 90, etc.) y es posible que sea necesario realizar alguna configuración de la instalación de TeX, y por supuesto, si está en Windows no tengo idea de qué tan reducida es la inclusión con PTXprint. También... los diseños y los esquemas de nomenclatura para cosas de bajo nivel como esta han cambiado desde la última vez que modificaba language.dat manualmente, y veo que ya no se supone que se haga eso, al menos en esta máquina Linux.
Así que... la ayuda exacta y apropiada es complicada, pero sí , si se trabaja en un idioma que tiene soporte de silabificación en TeX, aunque podría ser un poco engorroso habilitarlo, debería ser bastante posible usarlo, y dado que un número considerable de los motores de silabificación de código abierto tienen su ascendencia en TeX y su amigo patgen (que crea los archivos que se leen en iniTeX para construir su instalación de tex), debería ser posible convertir un diccionario si se tiene uno.
Una vez que se tenga una instalación de TeX que reconozca el idioma, debería ser solo una cuestión de agregar \uselanguage{esperanto} % o lo que sea
A su archivo ptxprint-mods.tex.
Cuidado... PTXprint usa XeTeX, no XeLaTeX, luaTeX/laTeX/conTeXt ni ningún otro sabor de TeX. Muchas de las preguntas y respuestas que encontrará en google para búsquedas relacionadas con TeX no van a ser especialmente relevantes. Al ser XeTeX, se necesitan patrones de silabificación utf8.
PTXprint's user-interface / preprocessor is written assuming that you're working in a minority language where the PTX hyphenation list is all that's available. If you are working in a major language, (or someone on the team is familar with building patgen2 created dictionaries and getting them into TeX), then a solution is to use the built-in (or buildable-in) TeX patterns. Different TeX builds often come with only a subset selected of what's available (to improve loading time/ avoid memory limitations on machines from the 1990s, etc) and you may need to do some configuring of the TeX installation, plus of course, if you're on Windows I have no idea how stripped down what's included with PTXprint is. Also... layouts and naming schemes for low-level things like this have changed since I was last modifying language.dat manually, and I see you're not supposed to do that anymore, at least on this linux machine.
So... exact and appropriate help is tricky, but yes , if you are working in a language that has TeX hypenation support, while it might be a bit of a fiddle to enable it, it should be quite possible to use that, and since a fair number of the open-source hypenation engines trace their ancestry back to TeX and it's friend patgen (which makes the files that get read into iniTeX to build your tex instalation), you ought to be able to convert a dictionary if you have one.
Once you have a TeX installation that knows about the language, it should just be a case of adding \uselanguage{esperanto} % or whatever
To your ptxprint-mods.tex file.
Beware... PTXprint uses XeTeX not XeLaTeX, luaTeX/laTeX/conTeXt or any other TeX flavours. A lot of the questions and answers you'll find on google for TeX-related searches are not going to be especially relevant. Being XeTeX, you need utf8 hyphenation patterns.
Traducción automática desde English Mostrar original