[Cjk] Re: HLaTeX fonts

Werner LEMBERG wl at gnu.org
Wed Aug 30 08:48:33 CEST 2006


> After some thinking, I just used the most simple way: rely on sed
> and use line numbers.  It's not that UKS-HLaTeX.sfd is constantly
> changing anyway.

Actually, I dislike this.  Why don't you use the comments

  # Hangul.sfd
  # Symbol.sfd
  # Hanja.sfd

to separate the blocks?  This would be more robust.

	echo "# $(sfdfile_hangul)" > latex-cjk/$(sfdfile_hangul)
	sed -e '1d' \
	    -e '/^# Symbol/,/^# eof/c\
# eof' \
	    latex-cjk/$(sfdfile_hangul_symbol_hanja) >> latex-cjk/$(sfdfile_hangul)

	echo "# $(sfdfile_hangul_symbol)" > latex-cjk/$(sfdfile_hangul_symbol)
	sed -e '1d' \
	    -e '/^# Hanja/,/^# eof/c\
# eof' \
	    latex-cjk/$(sfdfile_hangul_symbol_hanja) >> latex-cjk/$(sfdfile_hangul_symbol)

	echo "# $(sfdfile_hangul_hanja)" > latex-cjk/$(sfdfile_hangul_hanja)
	sed -e '1d'
	    -e '/^# Symbol/,/^# Hanja/c\
# Hanja.sfd' \
	    latex-cjk/$(sfdfile_hangul_symbol_hanja) >> latex-cjk/$(sfdfile_hangul_hanja)


    Werner



More information about the Cjk mailing list