KTUGFaq

KTUG FAQ

·Î±×ÀÎ:
ºñ¹Ð¹øÈ£:
°¡ÀÔ
Let him who takes the Plunge remember to return it by Tuesday.
FrontPage › MakingDic
¸ñÀû : ÀÏÀü¿¡ ChoF´Ô°ú karnes´ÔÀÇ ¸»¾¸¿¡ µû¶ó¼­ TeX¿Í DataBaseÀÇ ¿¬µ¿À» »ý°¢ÇØ º¸¾Ò½À´Ï´Ù.
  • ±â´ÉÀÇ ÇÑ°è´Â ÀÖÁö¸¸(PDF È­Àϸ¸µé±â´Â ¾ÈµË´Ï´Ù) ´ÙÀ½ÀÇ http://kbrobgy.linuxtop.co.kr/makingDic/main.html site¿¡¼­ ÇöÀç±îÁöÀÇ ÁøÇà»çÇ×À» º¼¼ö ÀÖ½À´Ï´Ù.
  • ÀüüÀûÀÎ DicÀÇ dataÀÇ ±¸¼ºµµÀÔ´Ï´Ù. °ü°èÇü DB¸¦ »ç¿ëÇؼ­ ÇÒ ¿¹Á¤ÀÔ´Ï´Ù.
  • ÀüüÀûÀÎ ÀÛ¾÷ÀÇ ¼ø¼­µµÀÔ´Ï´Ù. main.html¿¡¼­ ÀÔ·Â,¼öÁ¤,ã¾Æ¼­º¸±â(html),PDF¸¸µé±â ÀÔ´Ï´Ù.

    makingDicflow.png


¸ñÂ÷

1 APM¼³Ä¡(in linux)
2 mySQL database¹× table¸¸µé±â
3 ¹®¼­ ÀÔ·Â form°ú ¼öÁ¤ form ¹× º¸±â form ¸¸µé±â
4 LaTeX·Î Á¶ÆÇÇϱâ
5 PDFÈ­ÀÏ ¸¸µé±â
6 TeX4ht¸¦ ÀÌ¿ëÇÏ¿© html¹®¼­ ¸¸µé±â(optional)
7 Àüü ±¸¼ºÈ­ÀÏ
8 ´ëÈ­

1 APM¼³Ä¡(in linux)

ÀÏ´Ü À̶õÀº ºñ¿ö µÎ°Ú½À´Ï´Ù. ¸¹Àº Ã¥µéÀ» È°¿ëÇϰųª http://www.phpschool.com ¿¡ °¡½Ã¸é ¸¹Àº ¹®¼­µéÀÌ ÀÖÀ¸¹Ç·Î °Å±â¸¦ ÀûÀýÈ÷ ÂüÁ¶ÇÏ¸é µÉ°Í °°½À´Ï´Ù. ³ªÁß¿¡ ÀÌÀÏÀÌ ³¡³ª°í ³­ÈÄ¿¡ ÇÊ¿äÇÏ´Ù°í ÇϽô ºÐµéÀÌ °è½Ã¸é ä¿ö³Ö°Ú½À´Ï´Ù.

2 mySQL database¹× table¸¸µé±â

06ObGyDic database¿¡´Â ¾à 3°³ÀÇ tableÀÌ ÇÊ¿äÇÒ °Í °°´Ù.
  • Admission_Table : web¿¡¼­ ¿¬°áÇÒ¶§ admission id¿Í password¸¦ °¡Áö°í ÀÖ´Â table
  • ObGyDic_main table : ÁÖµÈ dic tableÀÌ´Ù. main_disease_id, ¿µ¾î Áúȯ¸í, ÇÑ±Û Áúȯ¸í, Á¤ÀÇ, Áúȯ¸í code, °¢ Áúȯ°ú °ü·ÃµÈ procedure code°¡ µé¾î °¡°Ô µÈ´Ù.
  • ObGyDic_acce table : Áúȯ¸íÁß¿¡¼­ Çü¿ë»ç(?)·Î µé¾î°¡´Â ºÎºÐÀ» ó¸®Çϱâ À§ÇÑ tableÀÌ´Ù. À§ÀÇ ObGyDic_main°ú °°Àº record°¡ µé¾î°¡¸ç, main_disease_id¸¦ ¿Ü·¡Å°(foreign key)·Î »ç¿ëÇÒ »ý°¢ÀÌ´Ù.(¿ì¼±Àº optional·Î µÎ±â·ÎÇÏ°Ú´Ù.)

1.¿ì¼± root»ç¿ëÀÚÀÇ ºñ¹Ð¹øÈ£¸¦ ¸¸µç´Ù.
#> /usr/local/mysql/bin/mysql mysql 
.....
mysql>update user set password=password('******') where user='root';
mysql>flush privileges;
mysql>quit


1.±× ÈÄ¿¡ 06ObGyDic database¹× »ç¿ëÀÚ settingÇÑ´Ù
#> /usr/local/mysql/bin/mysql -u root -p mysql
Enter password: ******
.....
mysql>create database TeXObGyDic;
....
mysql>insert into user (host,user,password) values('localhost','KTUG',password('KTUG1234'));
....
mysql>insert into db values ('localhost','TeXObGyDic','KTUG','y','y','y','y','y','y',
'n','y','y','y','y','y','y','y','y','y','y');
....
mysql>flush privileges;
mySQL ¹öÀü¿¡ µû¶ó dbÅ×À̺íÀ̳ª userÅ×À̺íÀÇ Ä®·³ ¼ö°¡ ´Ù¸£±â ¶§¹®¿¡, SQL¹®¹ý ¿À·ù°¡ ³¯ °æ¿ì¿¡´Â desc db;¸í·ÉÀ» »ç¿ëÇÏ¿© TypeÀÌ enum('N','Y')ÀÎ Ä®·³ ¼ö¿¡ ¸Â°Ô 'y'ÀÇ °¹¼ö¸¦ Á¶Á¤ÇÑ´Ù.

1. ±× ÈÄ¿¡ table»ý¼ºÇÑ´Ù.
#>/usr/local/mysql/bin/mysql -u KTUG -p TeXObGyDic
Enterpassword: KTUG1234
mysql>create table ObGyDic_main (
    -> main_disease_id int unsigned not null auto_increment primary key,
    -> Disease_En char(50) not null,
    -> Shortended_Word varchar(25) null,
    -> Disease_Ko char(50) null,
    -> Definition text null,
    -> Disease_Code varchar(250) null,
    -> Procedure_Code varchar(250) null,
    -> index idx1 (Disease_En) );
mysql>create table Admission_ObGyDic (
    -> name char(20) not null primary key,
    -> password char(20) not null );




1. ±âÁ¸ÀÇ OpenOffice.calc·Î ¸¸µé¾îÁø data¸¦ mySQL·Î Áý¾î³Ö±â.
¿©·¯ °¡Áö ¹æ¹ýÀÌ ÀÖÀ»°Í °°½À´Ï´Ù¸¸ ¿ì¼± http://www.phpschool.com ¿¡¼­ °¡Áö°í ¿Â ¹æ¹ýµéÀ» ³ª¿­ÇÏ°Ú½À´Ï´Ù.
  • ¿ì¼± openoffice¿¡¼­ csvÀúÀå(field±¸ºÐÀº ;·Î ÇÏ°í ³­ÈÄ¿¡ )-> mysql¿¡¼­ load data infile './test.csv' into table test_table fields terminated by ';' (.....);
  • openoffice->excel->access->ODBC->mySQL
  • php·Î ¸¸µé¾î¼­ queryÇÑ´Ù. Á¤µµÀÏ°ÍÀÔ´Ï´Ù.
  • Àú´Â óÀ½ÀÇ ¹æ¹ýÀ¸·Î ÇÏ¿´½À´Ï´Ù. ¹æ¹ýÀ¸·Î´Â load data infile '/usr/local/apache2/htdocs/0607TeXObGyDic.csv' into table ObGyDic_main fields terminated by ';' (Disease_En,Shortended_Word,Disease_Ko,Definition,Disease_Code,Procedure_Code); ÀÔ´Ï´Ù.
  • openoffice¿¡¼­ csv·Î ÀúÀåÇÒ¶§µµ ±×·¸°í mySQL¿¡ Áý¾î³ÖÀ»¶§µµ ±×·¸°í \´Â ¹«½Ã¸¦ ÇÏ´Â °Í °°½À´Ï´Ù. ±×·¡¼­ ¾î¿¼ö ¾øÀÌ \\Áý¾î ³Ö°í ÇÏ´Ï ¿øÇÏ´Â °á°ú´Â ³ª¿À´Â ±º¿ä. »õ·Î¿î ÷ºÎ "0603TeXObGyDic.csv"ÆÄÀÏ ¾÷·Îµå
  • 3 ¹®¼­ ÀÔ·Â form°ú ¼öÁ¤ form ¹× º¸±â form ¸¸µé±â

    ¹®¼­ÀÇ ÀÔ·ÂÀº °£´ÜÈ÷ spreadsheet¸¦ ÀÌ¿ëÇؼ­ ¸¸µé¾î¼­ ÇÏ¸é °£´ÜÇÒµí ½ÍÁö¸¸, ³ªÁßÀÇ À¯Áöº¸¼ö¸¦ À§Çؼ­´Â ¾Æ¹«·¡µµ web¿¡¼­ ¹®¼­¸¦ ¹Þ¾Æ¿À´Â °ÍÀÌ ´õ Çö¸íÇÒ °Í °°¾Æ¼­ phpµîÀ» ÀÌ¿ëÇؼ­ ¸¸µé±â·Î Çß½À´Ï´Ù.
    • DB_insert.php·Î formÀ¸·Î ¹Þ¾Æ¿Â data¸¦ hoze´ÔÀÇ WebTeXÀÇ µµ¿òÀ» ¹Þ¾Æ¼­ ġȯÈÄ¿¡ Áý¾î ³Ö´Â °ÍÀÔ´Ï´Ù. @DB_insert.txt (1.08 KB) (*wikiƯ¼º»ó php´Â ¿Ã¶ó°¡Áö ¾Ê½À´Ï´Ù.)

    ¼öÁ¤ formÀÔ´Ï´Ù. ¼öÁ¤Àº µÎ°³ÀÇ ÀԷ°ªÀ» °¡Áö°í ÀÛ¾÷À» Çß½À´Ï´Ù. °ÅÀÇ ¼öÁ¤À» ÇÏ´Â »ç¶÷Àº Á¦°¡ ÇÒ°ÍÀ¸·Î »ý°¢ÀÌ µÇ¹Ç·Î main_disease_id¸¦ °¡Áö°í ÀÛ¾÷À» ÇÏ·Á°í ÇÏ°í ÀÖ½À´Ï´Ù. µÎ°³ÀÇ php È­ÀÏÀÌ ÀÖ½À´Ï´Ù. ã¾Æ¼­ º¸±âÆûÀº source data¸¦ ±×´ë·Î º¸¿©ÁÖ´Â °Í°ú htmlÈ­ Çؼ­ º¸¿©ÁÖ´Â µÎ°³ÀÇ ¹æ¹ýÀ¸·Î ÇÏ¿´½À´Ï´Ù. html·Î Çؼ­ º¸¿©ÁÖ´Â ¹æ¹ýÀ¸·Î´Â À§ÀÇ preg_replace()ÇÔ¼ö¸¦ ÀÌ¿ëÇß½À´Ï´Ù. source ±×´ë·Î º¸±â´Â º°´Ù¸¥ ÇÊ¿ä°¡ ¾øÀ»°Í °°°í htmlÈ­ Çؼ­ º¸±â¸¸ phpÈ­ÀÏÀ» linkÇÕ´Ï´Ù.
    • mySQL¿¡ µé¾î ÀÖ´Â dataÁß¿¡¼­ \commandµÈ ºÎºÐÀ» ÀûÀýÈ÷ htmlÈ­ Çϱâ
      • mySQLÀÇ dataµéÀº Á÷Á¢ TeX·Î Á÷Á¢ »Ì¾Æ¾²±â À§Çؼ­ ¸î°¡Áö ¸í·É¹®ÀÌ µé¾î°¡ ÀÖ´Ù. ¸í·É¹®ÀÇ Á¾·ù·Î´Â
      • \prefix{text} Á¢µÎ¾î --> html¿¡¼­ º¯È¯Àº text ~ ÀÔ´Ï´Ù.
      • \postfix{text} Á¢¹Ì»ç --> html¿¡¼­ º¯È¯Àº ~ text ÀÔ´Ï´Ù.
      • \synonym{text} ºñ½ÁÇѸ» --> html¿¡¼­ º¯È¯Àº 슷한말 text ÀÔ´Ï´Ù.
      • \cnm{text} dhucsÀÇ macro --> html¿¡¼­ º¯È¯Àº text
      • \dis_ref{text} --> html¿¡¼­ º¯È¯Àº text
      • \idxcnt --> html¿¡¼­ º¯È¯Àº Ư¼ö¹®ÀÚ ÇÑ°³·Î º¯È¯ÇÏ¸é µÉ°Í °°À½.
      • \ --> ¾ø¾Ö±â
        • ÀÌ ¸í·É¹®Àº Disease_Ko¿Í Definiton field¿¡¸¸ µé¾î À־ ÀÌ µÎ field¿¡¼­ÀÇ data¸¦ printÇϱâÀü¿¡ ¹Ì¸® Çѹø phpÁ¤±ÔÇ¥Çö½ÄÀ» ÀÌ¿ëÇؼ­ Àüó¸®ÇÏ°í ³­ÈÄ¿¡ html viewÇØÁØ´Ù.
      • Á¤±ÔÇ¥Çö½ÄÀÇ Ç¥ÇöÀ¸·Î´Â
     $search_regex = array ("/\\\prefix{(.*?)}/i","/\\\postfix{(.*?)}/i",
    "/\\\synonym{(.*?)}/i","/\\\cnm\{(.*?)}/i","/\\\dis_ref\{(.*?)}/i",
    "/\\\idxcnt/i","/&/i","/\\\/i");
    
    $replace_regex = array ("\\1 ~","~ \\1"
    ,"¡ººñ½ÁÇѸ»¡» <span style=text-decoration:underline overline;>\\1</span>"
    ,"¡º\\1¡»","¡ºÂüÁ¶¡»<span style=text-decoration:underline;> \\1</span>"
    ,"¢º","&amp;","");
    $html_Disease_Ko = preg_replace($search_regex, $replace_regex, $search_result[Disease_Ko]);
    $search_regex = array ("/\\\prefix{(.*?)}/i","/\\\postfix{(.*?)}/i",
    "/\\\synonym{(.*?)}/i","/\\\cnm\{(.*?)}/i","/\\\dis_ref\{(.*?)}/i",
    "/\\\idxcnt/i","/&/i","/\\\/i");
    $replace_regex = array ("<span style=\"font-style: italic; font-weight: bold;\">\\1
     ~</span>","<span style=\"font-style: italic; font-weight: bold;\">~ \\1</span>",
    "<br>¡ººñ½ÁÇѸ»¡» <span style=text-decoration:underline overline;>\\1</span>",
    "¡º\\1¡»","<br>¡ºÂüÁ¶¡»<span style=text-decoration:underline;> \\1</span>",
    "<br>¢¹","&amp;","");
    $html_Definition = preg_replace($search_regex, $replace_regex, $search_result[Definition]);
    

    4 LaTeX·Î Á¶ÆÇÇϱâ

    ÇöÀç±îÁö µé¾î°¡ ÀÖ´Â data¸¦ ±âÁØÀ¸·Î Çؼ­ ¾à½ÄÀ¸·Î ¸¸µé¾î º¸°Ú½À´Ï´Ù.
  • mySQL¿¡¼­ ÇØ¾ß ÇÒÀÏÀº dataÀÇ sorting°ú ¼ø¼­ÀûÀ¸·Î ÃßÃâÇÏ´Â °ÍÀÔ´Ï´Ù.
     SELECT Disease_En, Shortended_Word, Disease_Ko,Definition,Disease_Code,Procedure_Code
     INTO OUTFILE 'DicA.txt' FIELDS TERMINATED BY ';' LINES TERMINATED BY '\n' FROM ObGyDic_main 
     WHERE Disease_En LIKE 'A%' ORDER BY Disease_En asc;
     
    • À§ÀÇ ¹æ¹ýÀº mySQLÀÇ root password¸¦ ¾Ë¾ß¾ß¸¸ °¡´ÉÇÕ´Ï´Ù.
  • php¿¡¼­ °ð¹Ù·Î tex È­ÀÏ ¸¸µé±â
  • 5 PDFÈ­ÀÏ ¸¸µé±â

    µµÀºÀ̾ƹö´ÔÀÇ ¸í·ÉÀ¸·Î pdfÈ­ÀÏ ¸¸µå´Â ±â´ÉÀ» Ãß°¡Çß½À´Ï´Ù.
  • ¿ì¼± ÀÛ¾÷ÇÑ°ÍÀ» ¿Ã·Á µÎ°Ú½À´Ï´Ù. @makingPDF.txt (1.86 KB)
  • ÇöÀç °³º°ÀûÀÎ Ç׸ñ¸¶´Ù ÀÛµ¿ÇÏ´Â PDF ÀÚµ¿¸¸µé±â(½ÇÇèÀº Z,Y,U¸¸ Çغ¸¾Ò½À´Ï´Ù.)¸¦ ¸¸µé¾ú½À´Ï´Ù. ÀüüÀûÀ¸·Î ¸¸µå´Â °Íµµ °¡´ÉÇÒ °ÍÀº °°Àºµ¥, Á¦°¡ mySQL dataÀÔ·ÂÇϴµ¥ ½Ç¼ö°¡ À־ ¾Æ¸¶µµ Á¦´ë·Î ÀÛµ¿Àº ÇÏÁö ¾ÊÀ»°Í °°½À´Ï´Ù. ÀÌ°ÍÀÌ¾ß ¾îÂ¥ÇÇ ÇϳªÇϳª ¸¸µé¾î º¸°í °íÄ¡´Â ¼ö¹Û¿¡ ¾ø´Â ÀÏÀ̶󼭿ä.. ÀÏ´ÜÀº ÀÌ°ÍÀ¸·Î ¸¶¹«¸® ÇÒ »ý°¢ÀÔ´Ï´Ù. ±×·±µ¥ »ý°¢¸¸Å­ Á¤±ÔÇ¥Çö½ÄÀ» php¿¡¼­ ¾²´Â ÀÏÀÌ ½¬¿îÀÏÀº ¾Æ´Ï¿´½À´Ï´Ù. @0618makingPDF.txt (3.27 KB)
  • ¸î°¡Áö °ÍÀ» °íÄ¡°í ³­ÈÄ¿¡ ¸ðµÎ Á¦´ë·Î ÀÛµ¿ÇÏ´Â °ÍÀ» È®ÀÎÇÏ¿´½À´Ï´Ù. ÀÌÁ¦ Á» ¹«¾ùÀÌ µÇ´Âµí ÇÕ´Ï´Ù. °ÅÀÇ ÇÑ´Þ °¡±îÀÌ Çؼ­ ¾î·Æ»ç¸® ÀÏÀ» ³¡³½°Í °°½À´Ï´Ù. (PDF È­ÀÏ ¸¸µå´Â directory¸¦ ¸¸µå´Â ÀÛ¾÷À» ÇÏ¸é µÉ°Í °°½À´Ï´Ù.) Á¶±Ý ¹Ù²Ù¾ú½À´Ï´Ù. @0619makingPDF.txt (3.4 KB)
  • 6 TeX4ht¸¦ ÀÌ¿ëÇÏ¿© html¹®¼­ ¸¸µé±â(optional)

    7 Àüü ±¸¼ºÈ­ÀÏ

    8 ´ëÈ­

    ¸¹Àº °ü½É°ú Áöµµ¸¦ ºÎŹµå¸³´Ï´Ù. ¿ëµÎ»ç¹Ì°¡ µÇÁö ¾Ê°Ô ÇØÁֽʽÿä.
    ÀÌ°Å Àç¹ÌÀְڳ׿ä. ±â´ë°¡ Å®´Ï´Ù. -- Karnes 2006-05-28 16:09:16
    °¨»çÇÕ´Ï´Ù. ¸¹ÀÌ µµ¿ÍÁֽʽÿä --synapse
    ÇÑ°¡Áö °í¹ÎÀÌ »ý°å½À´Ï´Ù. PerlTeX¿¹Á¦¿¡¼­ º¸µíÀÌ perltex¿¡¼­ mySQL·Î Á÷Á¢¿¬°áÀº ½ÇÆÐÇß´Ù°í Çß½À´Ï´Ù. google¿¡°Ô ¾Æ¹«¸® ¹°¾îºÁµµ, º°´Ù¸¥ ³»¿ëµµ ³ª¿ÀÁö ¾Ê±¸¿ä? ±×·¸´Ù¸é ±»È÷ mySQL¸¦ ½á¼­ data¸¦ Áý¾î ³ÖÀ» ÇÊ¿ä°¡ Àִ°¡? ¶ó´Â °ÍÀÔ´Ï´Ù. ¹°·Ð mySQL¿¡ data¸¦ Áý¾î ³ÖÀ¸¸é ¿©·¯¸ð·Î Æí¸®ÇÑ Á¡ÀÌ ÀÖ±â´Â ÇÏÁö¸¸, ¿ì¸®ÀÇ ÁÖÁ¦¿Í °ü·ÃÇؼ­´Â º°´Ù¸¥ ÀåÁ¡ÀÌ ¾ø¾î º¸À̱â´Â ÇÕ´Ï´Ù. ±×³É perlÀ̳ª php¿¡¼­ °£´ÜÈ÷ text ¹®¼­·Î ÀúÀåÇÏ°í °Å±â¼­ data¸¦ »Ì¾Æ¿Í¼­ ÀÛ¾÷À» Çصµ µÉ°Í °°Àºµ¥¿ä? ¾Æ´Ï¸é glossary¿Í index¿¡¼­ °¡²û¾¿ database¸¦ »ç¿ëÇÏ´Â °æ¿ì°¡ ÀÖ´Ù°í ÇÏ´øµ¥, ÀÌ°ÍÀ» source¸¦ Á» ±¸Çؼ­ »ìÆ캼±î¿ä?(source¸¦ ±¸ÇÑ´Ù°í ÇÏ´õ¶óµµ.. ±î¸·´«À̶ó ¾Ë¼ö³ª ÀÖÀ»Áö ½Í±â´Â ÇÕ´Ï´Ù.) ¿À´Ãµµ ¹«¾ùÀÎÁö Àß ¸ð¸£¸é¼­ ¿­½ÉÈ÷ »ðÁúÇÏ°í ÀÖ½À´Ï´Ù. --synapse
    Á¦ »ý°¢Àº ÀÌ·¸½À´Ï´Ù. ¸»¾¸´ë·Î ±»ÀÌ mySQL±îÁö ¾²´Â °ÍÀÌ ¹Ýµå½Ã ¿ä±¸µÇ´Â °ÍÀº ¾Æ´Ï°ÚÁö¿ä. ±×·¯³ª, »çÀüÀ̶ó´Â ¹°°ÇÀÇ Æ¯¼º»ó ÇÑ »ç¶÷ÀÇ ÀԷ¸¸À¸·Î ¸ðµç ÀÏÀÌ ³¡³­´Ù°í º¸±â´Â ¾î·Æ°í »çÀü¿¡¼­ °¡Àå Áß¿äÇÑ °ÍÀÌ ¿£Æ®¸®µéÀ» *ÀÔ·Â*ÇÏ´Â °ÍÀÓÀ» »ý°¢ÇÒ ¶§, °øµ¿ÀÛ¾÷À» À§Çؼ­, ±×¸®°í ¹æ´ëÇÑ ´ë¿ë·® µ¥ÀÌÅ͸¦ Ãë±ÞÇϱâ À§Çؼ­ SQLÀÌ ÀÌ»óÀûÀ̶ó°í º¸°í ÀÖ½À´Ï´Ù. ÀÏ´Ü »çÀüÀº 1000ÆäÀÌÁö°¡ ³Ñ¾î°¡´Â °ÍÀº ¿ì½ÀÁö ¾Ê°Ú½À´Ï±î? TeX ³»¿¡¼­ mySQLÀ» Á¦¾îÇÏ´Â [http]SQLTeXÀ̶ó´Â ¹°°Çµµ ÀÖ½À´Ï´Ù. ¾ó¸¶³ª µµ¿òÀÌ µÉ´ÂÁö´Â ¸ð¸£°ÚÁö¸¸ °£´ÜÇÑ SQL¸í·ÉÀ» ¿¬µ¿ÇÏ´Â °ÍÀº °¡´ÉÇÑ µíµµ ½Í½À´Ï´Ù. --Karnes2006-05-30 19:11:51
    °¨»çÇÕ´Ï´Ù. ÀÌ·¡Àú·¡ °øºÎÇÒ °Í¸¸ ´Ã¾î°¡´Â±º¿ä.:) --synapse
    ²À TeX¿¡¼­ MySQLÀ» Á÷Á¢ ¹°°í µé¾î°¥ ÇÊ¿ä°¡ ÀÖÀ»±î¿ä? Àúµµ »çÀü(?)°ú ºñ½ÁÇÑ °ÍÀ» ¸¸µé¾î º¸°í ÀÖ´ÂÁßÀÔ´Ï´Ù¸¸ access.MDB¸¦ delphi·Î ¸¸µç °£´ÜÇÑ ÇÁ·Î±×·¥À¸·Î ÃßÃâÇÏ¿© texÀ» ¸¸µé°í ÀÖ½À´Ï´Ù. ÇöÀç acess.MDB¿¡ ÀÔ·Â, °£´ÜÇÑ ÇÁ·Î±×·¥À» µ¹·Á access¿¡¼­ ³»¿ëÀ» ÃßÃâÇÏ¿© texÈ­ÀÏ ¸¸µê, latexÀ¸·Î compile, dvipdfmxÀ¸·Î PDF·Î ¸¸µé±â¸¦ ÇÏ¿©º¸°í Àִµ¥, HWP·Î ÀÛ¾÷ÇÏ´Â °Í¿¡ ºñÇÏ¿© ¸¸Á·ÇÏ°í ÀÖ½À´Ï´Ù. (Àú´Â ¸¸Á·ÇÏÁö¸¸, ´Ù¸¥ ºÐµéÀº HWPÀÇ Á÷°üÀû(?) interface¸¦ ¾Æ½¬¿ö ÇϽôõ±º¿ä. X-( ) -- likesam
    ÇÒ¼ö¸¸ ÀÖ´Ù¸é, MySQL¸¦ Á÷Á¢¹°°í µé¾î°¡´Â °Íµµ ÁÁÀ»°Í °°±â´Â ÇÕ´Ï´Ù. ½ÇÁ¦·Î web¿¡¼­ÀÇ ¹®¼­´Â ±×³É printÇؼ­ º¼ ±âȸ°¡ °¡²û¾¿ Àִµ¥, ÀÌ°Í ±×³É ºÁ¾ßÇؼ­ º¸´Â °ÅÁö... Á¤¸»·Î º¸±â°¡ ¾î·Æ½À´Ï´Ù. ÇÏÁö¸¸ mySQL¿¡¼­ Á÷Á¢(?) ¿¬°áÀÌ °¡´ÉÇÏ´Ù¸é, ÈÙ¾À ÁÁ¾ÆÁú°Í °°±â´Â ÇÕ´Ï´Ù. ƯÈ÷ ¿ì¸® ktug¿¡¼­ ¸¸ÀÌ¶óµµ ÀÌ·¯ÇÑ ±â´ÉÀÌ Ã·°¡ µÈ´Ù¸é ¸Å¿ì ÁÁÀ»°Í °°´Ù´Â Á¶±×¸¸ÇÑ ¼Ò¸ÁÀÌ ÀÖ½À´Ï´Ù. ¹¹°¡ ¹º ¸»ÀÎÁö Á¦°¡ ÀоîºÁµµ Á» ±×·¸±â´Â ÇÕ´Ï´Ù¸¸,.. ½±°Ô ¸»Çؼ­, practical useÀÇ ¾î´À ƯÁ¤ÇÑ ±ÛŸ·¡¸¦ Á»´õ º¸±â ÁÁ°Ô º¼¼öµµ ÀÖÁö ¾ÊÀ»±î? ÇÏ´Â »ý°¢ÀÔ´Ï´Ù.--synapse

    ¿¹Àü Á÷Àå¿¡¼­ Á¦°¡ Çß´ø °ÍÀº 1. ±Ù¹« ÀÏÁö¸¦ ¸ÅÀÏ ÀÔ·ÂÇÏ°í, ¸Å´Þ ¸»ÀÏ¿¡ ±×°ÍÀ» Ãâ·ÂÇÏ°Ô ÇÑ´Ù. À̶§ µ¥ÀÌÅͺ£À̽º ·¹Äڵ带 ÅØÀ¸·Î ¸¸µé°í À̸¦ ´Ù½Ã PDF·Î ¸¸µç´Ù. 2. »ç¾÷ °èȹ¼­ µûÀ§¸¦ ÀÔ·ÂÇÏ°í À̸¦ PDF·Î ¸¸µç´Ù. ÀÌ ¶§ ¹®Á¦°¡ µÇ¾ú´ø °ÍÀº 1.µ¥ÀÌÅͺ£À̽ºÀÇ ÀÎÄÚµù°ú ÅØ ÀÎÄÚµùÀ» µ¿ÀÏÇÏ°Ô ÇØ¾ß ÇÑ´Ù. 2. ampersand, backslash µî php¿¡¼­ÀÇ escape ¹®ÀÚ¿Í ÅØ¿¡¼­ÀÇ escape ¹®ÀÚ¸¦ ã¾Æ¼­ ó¸®ÇÑ´Ù. (ÀÌ°Å »ý°¢Ã³·³ ½±Áö ¾Ê´õ±º¿ä.) ±×·°Àú·° Àß ½è°í ²Ï ÆíÇß½À´Ï´Ù. --hoze
    °¨»çÇÕ´Ï´Ù. hoze´ÔÀÌ °æÇèÇϽŠ³»¿ëÀ» Á» ±¸Ã¼ÀûÀ¸·Î À̾߱â ÇØÁÖ½Ã¸é °¨»çÇÏ°Ú½À´Ï´Ù.ÀúÀÇ °æ¿ì¿¡´Â ¿ì¼± mySQL¿¡ ÀÔ·ÂÇÏ°í ³ª¼­, ÀÌ ³»¿ëÀ» ±×³É °ð¹Ù·Î TeX·Î »ç¿ëÇÒ°ÍÀÎÁö ¾Æ´Ï¸é text·Î º¯È¯ÇÏ¿© ¾µ°ÍÀÎÁö´Â °í¹ÎÁßÀÔ´Ï´Ù¸¸.. ¾îÂ¥ÇÇ ÀÌ°ÍÀÌ¾ß mySQL°ú TeXÀÇ ¹®Á¦¶ó°í »ý°¢ÀÌ µË´Ï´Ù. ±×·¸Áö¸¸ ÀÌÁ¦ Á¶±Ý´õ ½Ã°£ÀÌ ³²°í ¿©·ÂÀÌ ³²À¸¸é mySQL data¸¦ php·Î ºÒ·¯µé¿©¼­ web¿¡¼­ list¹× editÇØ¾ß ÇÒ ÀÏÀÌ »ý±æ°Í °°±â¿¡ ±×·³´Ï´Ù. °¨»çÇÕ´Ï´Ù.--synapse

    ÀÌÁ¦ ¾î´À Á¤µµÀÇ phpÀÛ¾÷Àº ³¡³­°Í °°´Ù´Â »ý°¢ÀÔ´Ï´Ù. ¾ÆÁÖ Ãʺ¸ÀûÀÌÁö¸¸ ÀԷ°ú ã±â º¸±â ±â´ÉÀÌ °¡´ÉÇØÁ³À¸´Ï±î¿ä?(¾ÆÁ÷±îÁö´Â ´Ù µÈ°ÍÀº ¾Æ´ÏÁö¸¸..) ÀÌ·¸°Ô ³Ê¹« php¿¡¸¸ ¸Ó¹°·¯ ÀÖ´Ù°¡´Â Á¦°¡ ÇÏ·Á°í ÇÏ´Â ÀÛ¾÷À» ¼ÕÀ» ¸ø´î°Í °°¾Æ¼­¿ä! Ȥ½Ã¶óµµ Çѹø ±¸°æÀ» ÇÏ°í ½ÍÀº½Å ºÐÀº http://kbrobgy.nameip.net/main.html ¿¡ Á¢¼ÓÇؼ­ 'ã¾Æ¼­ º¸±â(html)' ¶õÀ» Ŭ¸¯Çؼ­ ¿µ¾î Áúȯ¸í¿¡¼­ a¸¦ 󺸽ʽÿä. ±×Áß¿¡ Çϳª¸¦ ¼±ÅÃÇÏ¸é ¿©Å±îÁö ÇÑ °á°ú°¡ ³ª¿É´Ï´Ù. --synapse

    @WebTeX.zip (1.49 KB) ÀÌ°ÍÀº ÀÔ·Â ÆûÀ¸·ÎºÎÅÍ ¹ÞÀº ÅØÀ» PDF·Î ¸¸µå´Â °£´ÜÇÑ ÇÁ·Î±×·¥ÀÔ´Ï´Ù. µµ¿òÀÌ µÇ±æ ¹Ù¶ø´Ï´Ù. --hoze
    °¨»çÇÕ´Ï´Ù. --synapse

    Àß ºÃ½À´Ï´Ù. ¼º°øÇÑ °ÍÀ» ÃàÇÏÇÕ´Ï´Ù. ^^ ÀÌÁ¦ ³²Àº °ÍÀº, À¥ ÀÎÅÍÆäÀ̽º¿¡¼­ Generate PDF ¸Þ´º¸¦ Çϳª ¸¸µé°í ÀÌ°ÍÀ» ´©¸£¸é »çÀü ¹®¼­¸¦ »ý¼ºÇØÁÖ´Â °ÍÀÌ°Ú±º¿ä. Á¦¾ÈÀ» Çϳª ÇÏÀÚ¸é, A, B, C µî ¾ËÆĺª ¹®ÀÚº° PDF¿Í Àüü PDF¸¦ µû·Î »ý¼ºÇÒ ¼ö ÀÖµµ·Ï ÇÏ´Â °ÍÀÌ ÁÁ°Ú°í, ÀÌ ÀÚµ¿ »ý¼ºÀ» À§Çؼ­´Â *¼öÀÛ¾÷* °úÁ¤À» ÀüºÎ ½ºÅ©¸³Æ® ó¸®ÇÏ´Â °Í¸¸ÀÌ ³²Àº °Í °°½À´Ï´Ù. À§¿¡ ¼Ò°³ÇϽŠurlÀÌ Àß ¿¬°áÀÌ ¾È µÅ¼­ µé¾î°¡º¸Áö ¸øÇÏ°í Àִµ¥... --Karnes
    ÀÏ´Ü Á˼ÛÇÏ´Ù´Â ¸»¾¸À» µå¸®¾ß °Ú½À´Ï´Ù. ÀúÀÇ ÁýÀÇ computer¸¦ Ä¿³õ¾Æ¾ß µÇ´Âµ¥, ¾ÆÁ÷±îÁö´Â º»°ÝÀûÀ¸·Î ÀÛ¾÷À» ÇÏÁö ¾Ê¾Æ¼­ ÄѳõÁö ¾Ê¾Ò½À´Ï´Ù. À§¿¡¼­ ¸»¾¸ÇϽŠ°ÍÀº Çѹø Çغ¸°Ú½À´Ï´Ù... ³»ÀÏÀº(6¿ù15ÀÏ) Á¦°¡ Áý¿¡ À־ °è¼Ó ÄѳõÀ» »ý°¢ÀÔ´Ï´Ù. ±×¸®°í Á¦°¡ ÀÏÀü¿¡ Çѹø ¸»¾¸µå¸°°Í °°ÀÌ ÀúÈñ KTUG ¾î´À ƯÁ¤page¸¦ pdfÈ­ ÇÏ´Â °Í¿¡ ´ëÇÑ °ÍÀº ¾î¶»°Ô »ý°¢ÇϽôÂÁö¿ä?
    °ü½ÉÀ» °¡Á®Áּż­ °¨»çÇÕ´Ï´Ù. --synapse

    µé¾î°¡¼­ º¸¾Ò½À´Ï´Ù. Àß µÇ´Â °Í °°½À´Ï´Ù. ¼ö°íÇϼ̽À´Ï´Ù. ³ªÁß¿¡ ¾ó¸¶µçÁö ÀÀ¿ëÀÌ °¡´ÉÇÒ °Í °°³×¿ä. -- Karnes 2006-06-19 23:33:09
    ¿ì¿¬È÷ µé¾î¿Í¼­ º¸°ÔµÇ¾ú½À´Ï´Ù. µÎ°¡ÁöÁ¡ÀÌ ³î¶ø½À´Ï´Ù. ù°´Â ½Ã°£¿¡ ³î¶ó°í(¹°·Ð Àú¾ß Áö±Ý ´çÁ÷ÁßÀÌ¶ó¼­ ±ú¾î Àִ°ÍÀÌÁö¸¸...) µÑ°´Â ¸Å¹ø ÀÌ·¸°Ô ½Å°æÀ» ½áÁֽô °Í¿¡ ³î¶ú½À´Ï´Ù. ±×·±µ¥ ÀÌ ½Ã°£±îÁö ¹«¾ùÇϽôÂÁö¿ä? Ç×»ó º¸¸é ÀÌ ½Ã°£¿£°¡ ¹«¾ùÀΰ¡¸£ ÇϽôµí Çϴµ¥.... Á¤¸»·Î ³î¶ú½À´Ï´Ù. :D ±×¸®°í °¨»çµå¸³´Ï´Ù. --synapse


    ^
    Valid XHTML 1.0! Valid CSS! powered by MoniWiki
    last modified 2006-06-25 13:53:08
    Processing time 0.0673 sec