Re: Devanagari characters input distortion
Am Freitag 26 September 2014, 19:48:40 schrieb abhiram lohit: > Hi, > > I recently installed Lyx 2.1.1 and set it up to type Devanagari. I use a > Sanskrit QWERTY keyboard to directly type Sanskrit characters into the Lyx > file. > > I get the correct PDF output file, however the UI display of the vowels > symbols and conjuncts is not correct. There are weird spaces with circles > that have the symbols and these overlap with the next syllable and display > is very jumbled. This makes it very hard to locate errors and edit the > text. Can you please suggest a solution? > > I don't know if this is a bug in Lyx? LyX has known deficiencies with ligature display. In the development version (what will become LyX 2.2), this is fixed. Since the fix required a complete rewrite of the character painter, it cannot be backported to 2.1.x. Jürgen > Thanks!
Devanagari characters input distortion
Hi, I recently installed Lyx 2.1.1 and set it up to type Devanagari. I use a Sanskrit QWERTY keyboard to directly type Sanskrit characters into the Lyx file. I get the correct PDF output file, however the UI display of the vowels symbols and conjuncts is not correct. There are weird spaces with circles that have the symbols and these overlap with the next syllable and display is very jumbled. This makes it very hard to locate errors and edit the text. Can you please suggest a solution? I don't know if this is a bug in Lyx? Thanks!
Re: Typesetting in Devanagari
On 2011-05-06, Sachin Garg wrote: ... >3. http://www.wikihow.com/Create-Devanagari-Documents-in-Lyx-Using-Xelatex > looks to be awesome ... > Using the link #3, I created the attached file - which needed some > editing with regards to options to the article class and remove babel. With LyX 2, using XeTeX will become far more easy: * GUI to select output document font from the system fonts, (front end to the fontenc package) * no need to manually remove babel or fontenc calls. ~~~ > %% LyX 1.6.7 created this file. For more info, see http://www.lyx.org/. > %% Do not edit unless you really know what you are doing. > \documentclass{article} > \usepackage[T1]{fontenc} This line must be removed too (inside LyX, this can be achieved by setting "TeX-encoding" to OT1). > \makeatletter > %% User specified LaTeX commands. > \usepackage{fontspec} > \setmainfont[Script=Devanagari]{Sanskrit 2003} > \makeatother > \begin{document} > \font\dev="Sanskrit 2003:script=deva" at 12pt > \dev > हळदोणे ग्राम Instead of "raw" XeTeX font commands, the fontspec package can be used in the preamble. http://tug.ctan.org/pkg/fontspec It also allows to use different fonts for different scripts (Unicode ranges), see http://mirrors.ctan.org/macros/latex/contrib/fontspec/fontspec.pdf . > \end{document} Günter
Re: Typesetting in Devanagari
http://www.google.com/search?client=ubuntu&channel=fs&q=latex+devanagri&ie=utf-8&oe=utf-8 <http://www.google.com/search?client=ubuntu&channel=fs&q=latex+devanagri&ie=utf-8&oe=utf-8> gives me: 1. http://pravin.insanitybegins.com/posts/using-devanagari-in-latex 2. http://www.gaudiyadiscussions.com/topic_1718.html talks about iTrans 3. http://www.wikihow.com/Create-Devanagari-Documents-in-Lyx-Using-Xelatex looks to be awesome 4. http://devnag.sarovar.org/ 5. http://www.hackourlife.com/typewrite-in-hindi-and-sanskrit-with-latex/ Using the link #3, I created the attached file - which needed some editing with regards to options to the article class and remove babel. On Tuesday 19 April 2011 04:22 PM, Frederick Noronha wrote: > Can someone kindly help me by typesetting the attached word in > Devanagari? Even a JPG output would be fine. Many thanks! FN > > FN +91-832-2409490 or +91-9822122436 (after 2pm) > #784 Nr Lourdes Convent, Saligao 403511 Goa India > http://fn.goa-india.org http://goa1556.goa-india.org newfile1.pdf Description: Adobe PDF document %% LyX 1.6.7 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass{article} \usepackage[T1]{fontenc} \makeatletter %% User specified LaTeX commands. \usepackage{fontspec} \setmainfont[Script=Devanagari]{Sanskrit 2003} \makeatother \begin{document} \font\dev="Sanskrit 2003:script=deva" at 12pt \dev हळदà¥à¤£à¥ à¤à¥à¤°à¤¾à¤® \end{document}
Re: Typesetting in Devanagari
Thanks very much Julio, that was just what I needed. FN FN +91-832-2409490 or +91-9822122436 (after 2pm) #784 Nr Lourdes Convent, Saligao 403511 Goa India http://fn.goa-india.org http://goa1556.goa-india.org On 19 April 2011 21:20, Julio Rojas wrote: > Dear Frederick, I don't know if this is what you wanted or if you > wanted to do it directly from LyX. Anyway, here it goes. Regards. > - > Julio Rojas > jcredbe...@gmail.com > > > > On Tue, Apr 19, 2011 at 12:52 PM, Frederick Noronha > wrote: >> Can someone kindly help me by typesetting the attached word in >> Devanagari? Even a JPG output would be fine. Many thanks! FN >> >> FN +91-832-2409490 or +91-9822122436 (after 2pm) >> #784 Nr Lourdes Convent, Saligao 403511 Goa India >> http://fn.goa-india.org http://goa1556.goa-india.org >> >
Re: Typesetting in Devanagari
On Tue, Apr 19, 2011 at 12:52 PM, Frederick Noronha wrote: > Can someone kindly help me by typesetting the attached word in > Devanagari? Even a JPG output would be fine. Many thanks! FN > As long as you know the script, you can always use an utility such as Gucharmap to copy/paste the letters. In this case it would make sense to use XeTeX (coming in 2.0), for its Unicode support. Regards Liviu > FN +91-832-2409490 or +91-9822122436 (after 2pm) > #784 Nr Lourdes Convent, Saligao 403511 Goa India > http://fn.goa-india.org http://goa1556.goa-india.org > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Typesetting in Devanagari
Frederick Noronha wrote: > Can someone kindly help me by typesetting the attached word in > Devanagari? Even a JPG output would be fine. Many thanks! FN I'm completely unfamiliar with this script myself, but here seem to be some information (two likes to external howto pages): http://wiki.lyx.org/LyX/Unicode#toc5 Jürgen
Typesetting in Devanagari
Can someone kindly help me by typesetting the attached word in Devanagari? Even a JPG output would be fine. Many thanks! FN FN +91-832-2409490 or +91-9822122436 (after 2pm) #784 Nr Lourdes Convent, Saligao 403511 Goa India http://fn.goa-india.org http://goa1556.goa-india.org <>
Devanagari, Unicode, Latex
How do I set up Unicode Devanagari to work with Latex/Lyx? Tks, FN -- FN +91-9822122436 P +91-832-2409490 Konkani adages http://konkani-adages.notlong.com/ Medieval Goa http://medieval-goa.notlong.com/
Devanagari...
Sorry for raising such an elementary question... how do I typeset a page in Devanagari for Lyx? Thanks in advance. FN -- FN * http://fredericknoronha.wordpress.com http://twitter.com/fn M +91-9822122436 P +91-832-2409490 http://fredericknoronha.multiply.com/ http://goa1556.goa-india.org "Ever wonder what the speed of lightning would be if it didn't zigzag?" - George Carlin
Tutorial for Devanagari Documents in LyX (from FOSS-Nepal)
-- Forwarded message -- From: Prakash Manandhar <[EMAIL PROTECTED]> Date: 2008/6/21 Subject: [FOSS-Nepal] Tutorial for Devanagari Documents in LyX To: [EMAIL PROTECTED], "Suraj Adhikari (GMail)" <[EMAIL PROTECTED]> Hi, I have written a tutorial for Devanagari Document creation in LyX at WikiHow. LyX/LaTeX is a word processing alternative that is completely open source and free. Summary: With the incorporation of XeLaTeX in all major distributions of LaTeX including MikTeX, it has become easy to incorporate Devanagari and other Unicode characters in LaTeX/LyX documents. Here we describe a point-wise summary to help you do just that. http://www.wikihow.com/Create-Devanagari-Documents-in-Lyx-Using-Xelatex - Please help me expand/test the how-to. Thanks, jaH. --~--~-~--~~~---~--~~ FOSS Nepal mailing list: [EMAIL PROTECTED] http://groups.google.com/group/foss-nepal To unsubscribe, e-mail: [EMAIL PROTECTED] Community website: http://www.fossnepal.org/ -~--~~~~--~~--~--~--- -- Frederick FN Noronha * Independent Journalist http://fn.goa-india.org * Phone +91-832-2409490
Re: help adding Devanagari unicode symbols? + CJK and TIPA similarities?
Stacia Hartleben wrote: > I just realized that this could work if you were to manually put the > \dn around all unicode text. This vaguely rings a bell about how > someone solved the CJK problem, but I can't seem to find the mail > right now...something like that CJK was solved by manually putting the > \being{CJK} command in front of everything? You mean probably this: http://bugzilla.lyx.org/show_bug.cgi?id=3043 > I don't remember how this > was resolved but if the developers added something to account for > certain blocks of unicode text (CJK, Devanagari, etc) or even a manual > switch to "turn on" marking of the text as CJK/Devang/etc we could > probably solve this problem. I would be happy to write out a file for > the Devanag package when I have time. Please enter this to bugzilla if you don't want it to be forgotten. > Also did you ever post your IPA file on linguistlyx? I can take a look > at that and see if I can add any symbols..although honestly I hardly > ever have use for most of those really bizarre ones in there (though > strangely enough I needed a symbol in there once that I couldn't find! > And no, it wasn't the labiodental flap.) I added a section about this file now. Georg
Re: help adding Devanagari unicode symbols? + CJK and TIPA similarities?
I just realized that this could work if you were to manually put the \dn around all unicode text. This vaguely rings a bell about how someone solved the CJK problem, but I can't seem to find the mail right now...something like that CJK was solved by manually putting the \being{CJK} command in front of everything? I don't remember how this was resolved but if the developers added something to account for certain blocks of unicode text (CJK, Devanagari, etc) or even a manual switch to "turn on" marking of the text as CJK/Devang/etc we could probably solve this problem. I would be happy to write out a file for the Devanag package when I have time. Also did you ever post your IPA file on linguistlyx? I can take a look at that and see if I can add any symbols..although honestly I hardly ever have use for most of those really bizarre ones in there (though strangely enough I needed a symbol in there once that I couldn't find! And no, it wasn't the labiodental flap.) On 4/24/07, Georg Baum <[EMAIL PROTECTED]> wrote: Stacia Hartleben wrote: > So the combining character feature wouldn't help with Devanagari? Yes, I don't think so, since you wrote that several characters need to be put into the {\dn ...} command. Georg
Re: help adding Devanagari unicode symbols?
Stacia Hartleben wrote: > So the combining character feature wouldn't help with Devanagari? Yes, I don't think so, since you wrote that several characters need to be put into the {\dn ...} command. Georg
Re: help adding Devanagari unicode symbols?
So the combining character feature wouldn't help with Devanagari? On 4/23/07, Georg Baum <[EMAIL PROTECTED]> wrote: Stacia Hartleben wrote: > Doesn't this also mean that it will not work for TIPA? A previous mail > seemed promising but actually not all of TIPA is a one-to-one - > Unicode encodes diacritics after the character, wheras in TIPA they're > made similar to the Sanskrit (for example, \'e makes an accented "e" > or \c{c} makes a Cedilla). The diacritics work, since they are marked as combining characters in the unicode file. LyX takes care of the proper order when it encounters combining characters. > I'd be willing to take a shot at TIPA as > well once I have time but this little problem makes things > difficult...It may be that LyX will have to code in new support, I > don't know... AFAIK not for TIPA. I already added some TIPA symbols (including the ones you mentioned), but not all. As an example, the entry for cedilla looks like this: 0x0327 "\\c" "" "combining" # COMBINING CEDILLA Georg
Re: help adding Devanagari unicode symbols?
Stacia Hartleben wrote: > Doesn't this also mean that it will not work for TIPA? A previous mail > seemed promising but actually not all of TIPA is a one-to-one - > Unicode encodes diacritics after the character, wheras in TIPA they're > made similar to the Sanskrit (for example, \'e makes an accented "e" > or \c{c} makes a Cedilla). The diacritics work, since they are marked as combining characters in the unicode file. LyX takes care of the proper order when it encounters combining characters. > I'd be willing to take a shot at TIPA as > well once I have time but this little problem makes things > difficult...It may be that LyX will have to code in new support, I > don't know... AFAIK not for TIPA. I already added some TIPA symbols (including the ones you mentioned), but not all. As an example, the entry for cedilla looks like this: 0x0327 "\\c" "" "combining" # COMBINING CEDILLA Georg
Re: help adding Devanagari unicode symbols?
Doesn't this also mean that it will not work for TIPA? A previous mail seemed promising but actually not all of TIPA is a one-to-one - Unicode encodes diacritics after the character, wheras in TIPA they're made similar to the Sanskrit (for example, \'e makes an accented "e" or \c{c} makes a Cedilla). I'd be willing to take a shot at TIPA as well once I have time but this little problem makes things difficult...It may be that LyX will have to code in new support, I don't know... On 4/23/07, Georg Baum <[EMAIL PROTECTED]> wrote: Stacia Hartleben wrote: > I was looking at a previous mail that said you could edit a file to > put in Tipa codes...this got me thinking that perhaps I could do the > same for the Devanagari package. > > However IPA and Devanagari are reallly different. A big problem > especially is the "i" vowel which appears *before* the characters but > in unicode is actually encoded afterwards. Using the devanagari > package, in shorthand "ki" would be {\dn Ek}. Uh oh. Also, one of the > vowels ("u") is encoded like this for "ku" - {\dn \7{k}} Not sure how > this would work, or if any of it would work because the vowel and the > consonant have to go together to create a proper symbol - for example, > {\dn E} {\dn k} creates a space between the two characters that > shouldn't be there! > > I'd be willing to update the unicode file if someone gave me tips on > how to make the Devanagari package work - website is here: > http://sarovar.org/projects/devnag/ The unicode file can only handle simple replacements: There needs to be a 1:1 relationship between the UCS4 code point and the LaTeX command. It does also work for characters that are marked as "combining" in unicode (e.g. 0x0303 COMBINING TILDE), they can be combined with any base character. Everything that is more complicated does not work. > If we could get this working, it would be really neat, since it would > effectively get around the need for the preprocessor. My Sanskrit > teacher told me that I make a lot of mistakes in my assignments when I > use LaTeX no doubt due to the preprocessor making it difficult to > catch my mistakes. From what you describe it looks like the unicode file will not work for Devanagari. More sophisticated support in the LyX sources is probably needed. Georg
Re: help adding Devanagari unicode symbols?
Stacia Hartleben wrote: > I was looking at a previous mail that said you could edit a file to > put in Tipa codes...this got me thinking that perhaps I could do the > same for the Devanagari package. > > However IPA and Devanagari are reallly different. A big problem > especially is the "i" vowel which appears *before* the characters but > in unicode is actually encoded afterwards. Using the devanagari > package, in shorthand "ki" would be {\dn Ek}. Uh oh. Also, one of the > vowels ("u") is encoded like this for "ku" - {\dn \7{k}} Not sure how > this would work, or if any of it would work because the vowel and the > consonant have to go together to create a proper symbol - for example, > {\dn E} {\dn k} creates a space between the two characters that > shouldn't be there! > > I'd be willing to update the unicode file if someone gave me tips on > how to make the Devanagari package work - website is here: > http://sarovar.org/projects/devnag/ The unicode file can only handle simple replacements: There needs to be a 1:1 relationship between the UCS4 code point and the LaTeX command. It does also work for characters that are marked as "combining" in unicode (e.g. 0x0303 COMBINING TILDE), they can be combined with any base character. Everything that is more complicated does not work. > If we could get this working, it would be really neat, since it would > effectively get around the need for the preprocessor. My Sanskrit > teacher told me that I make a lot of mistakes in my assignments when I > use LaTeX no doubt due to the preprocessor making it difficult to > catch my mistakes. >From what you describe it looks like the unicode file will not work for Devanagari. More sophisticated support in the LyX sources is probably needed. Georg
help adding Devanagari unicode symbols?
I was looking at a previous mail that said you could edit a file to put in Tipa codes...this got me thinking that perhaps I could do the same for the Devanagari package. However IPA and Devanagari are reallly different. A big problem especially is the "i" vowel which appears *before* the characters but in unicode is actually encoded afterwards. Using the devanagari package, in shorthand "ki" would be {\dn Ek}. Uh oh. Also, one of the vowels ("u") is encoded like this for "ku" - {\dn \7{k}} Not sure how this would work, or if any of it would work because the vowel and the consonant have to go together to create a proper symbol - for example, {\dn E} {\dn k} creates a space between the two characters that shouldn't be there! I'd be willing to update the unicode file if someone gave me tips on how to make the Devanagari package work - website is here: http://sarovar.org/projects/devnag/ If we could get this working, it would be really neat, since it would effectively get around the need for the preprocessor. My Sanskrit teacher told me that I make a lot of mistakes in my assignments when I use LaTeX no doubt due to the preprocessor making it difficult to catch my mistakes.