last day (14 days later) » 

2:32 PM
3
A: How to make Latex to do auto punctuation like Word

Keks DoseThis is a misunderstanding: LaTeX doesn't help you to write your text, which is the job of the editor. I'm quite confident that such a thing (capitalize each first letter after a dot) can be achieved with emacs or vim. Word is all and everything in one: editor, typesetting machine, spreadsheet ...

 
@user10064929 Please don't do the last suggestion. Kittens and puppies will start crying.
 
@Johannes_B you mean the latexmk thing?
 
@user1064929 Using Word as the editor, this is evil. latexmk is a great tool i use everyday. Really every single day.
 
@Johannes_B but last suggestion in this answer is about layexmk. in fact i use win edit. i am getting the feeling that it is a useless tool. why using Word is evil? I even seen many conferences providing instruction for that
 
@user1064929 Lets continue this in the main chat.
 
2:32 PM
@Johannes_B alright
 
@user1064929 This is not the main chat, but alright.
 
what bother my mind is that i thought there is a package or sth like that to make punctuation thing
but turned out it is not
 
Because punctuation is a difficult thing. It is hard to teach a computer how to do complicated stuff.
 
in fact, i use Ctex which has a win edit with itsefl
but for small things like capitalizing and spacing between words and some simple grammers( like he has not he have) etc, i think it would be helpful
 
@user1064929 The important thing is to use the editor you like best.
We have package selnolig that prevents ligatures to be printed were they don't belong.
 
2:37 PM
what that exactly means?
 
Doing this by hacking into the output using lua-callbacks.
 
what is a ligature?
 
This really isn't a thing for LaTeX. You are sending a finalised file (written and saved with your editor of choice) that is processed/compiled.
ligature: two letters combined in one glyph
If you like Word's spelling correction you can use Word to type your latex files, you can use any editor to type latex, some have spelling correction some do not, but in any case it is nothing that latex itself is concerned with as it is a matter if fixing the input to latex. — David Carlisle 47 mins ago
 
i know, but how to use words for latex operations?
 
@user1064929 Sorry, can you rephrase that?
 
2:45 PM
i mean, when i use ~\emph{...} is word, does it understand?
 
@user1064929 Sorry, i fear you have to be a bit more verbose. What is it you want to do? Are you talking about word, as there are many words in a language, or word the computer program?
 
i mean, when use "win edit" and using the latex operators, when compiling, it outputs a pdf to me
how to do such thing with word
while it gives punctuation and stuff
 
@user1064929 If you are using Word, you can still write LaTeX commands. But at best it will leave them alone, worst case would be that Word tries to change/correct stuff. You can later export your Word-document to plain text, rename it and process it with LaTeX.
Word *will* make changes to your input that will be hard for you to debug.
 
oh i see, i thought word will understand all the stuff like "\" operator
 
Instead of Word, there are many great text editors out there. LaTeX specialised ones with grammar control and all are vailable as well. For example Texstudio
 
3:02 PM
which one do u use? beside that latexxmk
latemk
latexmk i meant
 
@user1064929 You can edit your last post by using the up-arrow.
 
oh i didnt know
so
what do u suggest to use? textstudio?
 
@user1064929 I use vi to write my documents, call latexmk to process them and latexmk then takes care that pdflatex and all the helper programs are called.
 
oh i see. i am somehow more clear
ok
thanks anyway
all the time i thought it is latex duty for punctuation stuff. so it is somehow like if we use eclipse or netbeans to write in java language? i mean latex is like a programming language?
 
@user1064929 Additionally, i have a command line spell checker. This is the unix approach, one tool for one task. Word on the other hand tries to do all this by itself.
 
3:09 PM
but i don use unix OS
:(
 
@user1064929 LaTeX is a markup language like html
 
got it.
 
@user1064929 You don't need unix ;-) it is just the philosophy is use for my own stuff.
 
hehe ok
 
btw: LaTeX is just a layer of macros to cover the underlying TeX, a real turing-complete programming language meant for typesetting, i.e. placing boxes on a page.
@user1064929 You menationed that Word makes the next character after a period capital. What would happen in the above example? Does it recognice not to uppercase the p in placing?
 
3:12 PM
so tex is like assembly? or im just talking nonsense ?
 
@user1064929 Not sooo low level ;-)
 
i mean
assembly in computer programing
is like tex to this markup thing
right?
 
0
Q: "automatical corrections" of typos in english tex

user70214Is there any TeX-command for "automatical corrections" of typos in english text?Or something like that?

TeX doesn't do markup. It places boxes. LaTeX does markup.
 
oh , smilar to mine
i see
so complicated hehe
i got the idea now
thanks for clearing this
up
^^
 
no problem
 
3:19 PM
take care
 

last day (14 days later) »