[Phpmyadmin-trk-patches] [ phpmyadmin-Patches-777451 ] (in 2.5.4) Improved Latex export From: SourceForge.net - 2003-10-19 04:35:14 Patches item #777451, was opened at 2003-07-25 12:32 Message generated for change (Settings changed) made by nijel You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377410&aid=777451&group_id=23067 Category: Data insertion/extraction Group: None >Status: Closed Resolution: Accepted Priority: 1 Submitted By: Kris Ven (hinayani) Assigned to: Michal Čihař (nijel) Summary: (in 2.5.4) Improved Latex export Initial Comment: While using phpMyAdmin to automatically generate documentation on my databases, I added the following improvements to the Latex export module (libraries/export/latex.php): - The 'table' environment is removed, because otherwise the longtable is terminated anyway at the end of a page. Only the longtable environment is required. - Table captions are included in the form "table x: Table " and "table x: Table (continued)" if the table spans multiple pages. This makes it easy to recognize the name of the table, since previously the name of the table wasn't included in the output. - A label for each table is also exported in the form "\label{tab:table-}". This is easy when refering to the table in a text. - Changed the format of the 'links to' field to '()', since the greater-than sign is a special character in Latex. See also bug 776957: http://sourceforge.net/tracker/index.php?func=detail&aid=776957&group_id=23067&atid=377408 - Fields that are part of the primary key of a table are highlighted in italic. - Column headings are still centered, but the other rows can have alternative alignment (for example left for the field names). The changes are limited to the 'structure' part of the script. No changes on the data exporting part are done. The patch file attached is against version 1.2 of latex.php, as shipped with phpMyAdmin 2.5.2. ---------------------------------------------------------------------- Comment By: Kris Ven (hinayani) Date: 2003-08-27 21:05 Message: Logged In: YES user_id=590508 Thanks, I will... ---------------------------------------------------------------------- Comment By: Michal Čihař (nijel) Date: 2003-08-26 18:35 Message: Logged In: YES user_id=192186 Merged into cvs, thanks. If you want to make further improvements, please base it on current cvs version. ---------------------------------------------------------------------- Comment By: Kris Ven (hinayani) Date: 2003-08-24 13:28 Message: Logged In: YES user_id=590508 I further developed the Latex export function. I also removed the table environment and added labels and captions for the export of data. Furthermore, the following improvements were added: - Data is now aligned left, instead of centered. Headings are still centered. - Added a function "PMA_texEscape" to reduce duplicate code. The function escapes 'special' tex characters. - Removed redundant \hline in the output of exporting the table structure, which caused a thicker line. - Language strings added for table captions, labels and options. - Added an option to allow the inclusion/exclusion of table captions and labels in the output. - Added an option to allow customization of the table caption. - Added an option to allow customization of the label. In the last two cases, __TABLE__ will be replaced by the name of the current table, as this macro's are already used in other places. I included a patch file (patch2b) that marks to changes compared to phpMyAdmin 2.5.2. To reduce the size of the patch file, only the English language files are included. Any suggestions concerning the features or coding style are welcome. ---------------------------------------------------------------------- Comment By: Michal Čihař (nijel) Date: 2003-08-05 13:29 Message: Logged In: YES user_id=192186 It looks good, I will merge this after 2.5.3 release. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377410&aid=777451&group_id=23067 

 [Phpmyadmin-trk-patches] [ phpmyadmin-Patches-777451 ] (in 2.5.4) Improved Latex export From: SourceForge.net - 2003-08-26 16:35:03 Patches item #777451, was opened at 2003-07-25 12:32 Message generated for change (Comment added) made by nijel You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377410&aid=777451&group_id=23067 Category: Data insertion/extraction >Group: None Status: Open >Resolution: Accepted Priority: 5 Submitted By: Kris Ven (hinayani) Assigned to: Michal Čihař (nijel) >Summary: (in 2.5.4) Improved Latex export Initial Comment: While using phpMyAdmin to automatically generate documentation on my databases, I added the following improvements to the Latex export module (libraries/export/latex.php): - The 'table' environment is removed, because otherwise the longtable is terminated anyway at the end of a page. Only the longtable environment is required. - Table captions are included in the form "table x: Table " and "table x: Table (continued)" if the table spans multiple pages. This makes it easy to recognize the name of the table, since previously the name of the table wasn't included in the output. - A label for each table is also exported in the form "\label{tab:table-}". This is easy when refering to the table in a text. - Changed the format of the 'links to' field to '()', since the greater-than sign is a special character in Latex. See also bug 776957: http://sourceforge.net/tracker/index.php?func=detail&aid=776957&group_id=23067&atid=377408 - Fields that are part of the primary key of a table are highlighted in italic. - Column headings are still centered, but the other rows can have alternative alignment (for example left for the field names). The changes are limited to the 'structure' part of the script. No changes on the data exporting part are done. The patch file attached is against version 1.2 of latex.php, as shipped with phpMyAdmin 2.5.2. ---------------------------------------------------------------------- >Comment By: Michal Čihař (nijel) Date: 2003-08-26 18:35 Message: Logged In: YES user_id=192186 Merged into cvs, thanks. If you want to make further improvements, please base it on current cvs version. ---------------------------------------------------------------------- Comment By: Kris Ven (hinayani) Date: 2003-08-24 13:28 Message: Logged In: YES user_id=590508 I further developed the Latex export function. I also removed the table environment and added labels and captions for the export of data. Furthermore, the following improvements were added: - Data is now aligned left, instead of centered. Headings are still centered. - Added a function "PMA_texEscape" to reduce duplicate code. The function escapes 'special' tex characters. - Removed redundant \hline in the output of exporting the table structure, which caused a thicker line. - Language strings added for table captions, labels and options. - Added an option to allow the inclusion/exclusion of table captions and labels in the output. - Added an option to allow customization of the table caption. - Added an option to allow customization of the label. In the last two cases, __TABLE__ will be replaced by the name of the current table, as this macro's are already used in other places. I included a patch file (patch2b) that marks to changes compared to phpMyAdmin 2.5.2. To reduce the size of the patch file, only the English language files are included. Any suggestions concerning the features or coding style are welcome. ---------------------------------------------------------------------- Comment By: Michal Čihař (nijel) Date: 2003-08-05 13:29 Message: Logged In: YES user_id=192186 It looks good, I will merge this after 2.5.3 release. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377410&aid=777451&group_id=23067 
 [Phpmyadmin-trk-patches] [ phpmyadmin-Patches-777451 ] (in 2.5.4) Improved Latex export From: SourceForge.net - 2003-08-26 16:35:36 Patches item #777451, was opened at 2003-07-25 12:32 Message generated for change (Settings changed) made by nijel You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377410&aid=777451&group_id=23067 Category: Data insertion/extraction Group: None Status: Open Resolution: Accepted >Priority: 1 Submitted By: Kris Ven (hinayani) Assigned to: Michal Čihař (nijel) Summary: (in 2.5.4) Improved Latex export Initial Comment: While using phpMyAdmin to automatically generate documentation on my databases, I added the following improvements to the Latex export module (libraries/export/latex.php): - The 'table' environment is removed, because otherwise the longtable is terminated anyway at the end of a page. Only the longtable environment is required. - Table captions are included in the form "table x: Table " and "table x: Table (continued)" if the table spans multiple pages. This makes it easy to recognize the name of the table, since previously the name of the table wasn't included in the output. - A label for each table is also exported in the form "\label{tab:table-}". This is easy when refering to the table in a text. - Changed the format of the 'links to' field to '()', since the greater-than sign is a special character in Latex. See also bug 776957: http://sourceforge.net/tracker/index.php?func=detail&aid=776957&group_id=23067&atid=377408 - Fields that are part of the primary key of a table are highlighted in italic. - Column headings are still centered, but the other rows can have alternative alignment (for example left for the field names). The changes are limited to the 'structure' part of the script. No changes on the data exporting part are done. The patch file attached is against version 1.2 of latex.php, as shipped with phpMyAdmin 2.5.2. ---------------------------------------------------------------------- Comment By: Michal Čihař (nijel) Date: 2003-08-26 18:35 Message: Logged In: YES user_id=192186 Merged into cvs, thanks. If you want to make further improvements, please base it on current cvs version. ---------------------------------------------------------------------- Comment By: Kris Ven (hinayani) Date: 2003-08-24 13:28 Message: Logged In: YES user_id=590508 I further developed the Latex export function. I also removed the table environment and added labels and captions for the export of data. Furthermore, the following improvements were added: - Data is now aligned left, instead of centered. Headings are still centered. - Added a function "PMA_texEscape" to reduce duplicate code. The function escapes 'special' tex characters. - Removed redundant \hline in the output of exporting the table structure, which caused a thicker line. - Language strings added for table captions, labels and options. - Added an option to allow the inclusion/exclusion of table captions and labels in the output. - Added an option to allow customization of the table caption. - Added an option to allow customization of the label. In the last two cases, __TABLE__ will be replaced by the name of the current table, as this macro's are already used in other places. I included a patch file (patch2b) that marks to changes compared to phpMyAdmin 2.5.2. To reduce the size of the patch file, only the English language files are included. Any suggestions concerning the features or coding style are welcome. ---------------------------------------------------------------------- Comment By: Michal Čihař (nijel) Date: 2003-08-05 13:29 Message: Logged In: YES user_id=192186 It looks good, I will merge this after 2.5.3 release. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377410&aid=777451&group_id=23067 
 [Phpmyadmin-trk-patches] [ phpmyadmin-Patches-777451 ] (in 2.5.4) Improved Latex export From: SourceForge.net - 2003-08-27 19:05:58 Patches item #777451, was opened at 2003-07-25 12:32 Message generated for change (Comment added) made by hinayani You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377410&aid=777451&group_id=23067 Category: Data insertion/extraction Group: None Status: Open Resolution: Accepted Priority: 1 Submitted By: Kris Ven (hinayani) Assigned to: Michal Čihař (nijel) Summary: (in 2.5.4) Improved Latex export Initial Comment: While using phpMyAdmin to automatically generate documentation on my databases, I added the following improvements to the Latex export module (libraries/export/latex.php): - The 'table' environment is removed, because otherwise the longtable is terminated anyway at the end of a page. Only the longtable environment is required. - Table captions are included in the form "table x: Table " and "table x: Table (continued)" if the table spans multiple pages. This makes it easy to recognize the name of the table, since previously the name of the table wasn't included in the output. - A label for each table is also exported in the form "\label{tab:table-}". This is easy when refering to the table in a text. - Changed the format of the 'links to' field to '()', since the greater-than sign is a special character in Latex. See also bug 776957: http://sourceforge.net/tracker/index.php?func=detail&aid=776957&group_id=23067&atid=377408 - Fields that are part of the primary key of a table are highlighted in italic. - Column headings are still centered, but the other rows can have alternative alignment (for example left for the field names). The changes are limited to the 'structure' part of the script. No changes on the data exporting part are done. The patch file attached is against version 1.2 of latex.php, as shipped with phpMyAdmin 2.5.2. ---------------------------------------------------------------------- >Comment By: Kris Ven (hinayani) Date: 2003-08-27 21:05 Message: Logged In: YES user_id=590508 Thanks, I will... ---------------------------------------------------------------------- Comment By: Michal Čihař (nijel) Date: 2003-08-26 18:35 Message: Logged In: YES user_id=192186 Merged into cvs, thanks. If you want to make further improvements, please base it on current cvs version. ---------------------------------------------------------------------- Comment By: Kris Ven (hinayani) Date: 2003-08-24 13:28 Message: Logged In: YES user_id=590508 I further developed the Latex export function. I also removed the table environment and added labels and captions for the export of data. Furthermore, the following improvements were added: - Data is now aligned left, instead of centered. Headings are still centered. - Added a function "PMA_texEscape" to reduce duplicate code. The function escapes 'special' tex characters. - Removed redundant \hline in the output of exporting the table structure, which caused a thicker line. - Language strings added for table captions, labels and options. - Added an option to allow the inclusion/exclusion of table captions and labels in the output. - Added an option to allow customization of the table caption. - Added an option to allow customization of the label. In the last two cases, __TABLE__ will be replaced by the name of the current table, as this macro's are already used in other places. I included a patch file (patch2b) that marks to changes compared to phpMyAdmin 2.5.2. To reduce the size of the patch file, only the English language files are included. Any suggestions concerning the features or coding style are welcome. ---------------------------------------------------------------------- Comment By: Michal Čihař (nijel) Date: 2003-08-05 13:29 Message: Logged In: YES user_id=192186 It looks good, I will merge this after 2.5.3 release. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377410&aid=777451&group_id=23067 
 [Phpmyadmin-trk-patches] [ phpmyadmin-Patches-777451 ] (in 2.5.4) Improved Latex export From: SourceForge.net - 2003-10-19 04:35:14 Patches item #777451, was opened at 2003-07-25 12:32 Message generated for change (Settings changed) made by nijel You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377410&aid=777451&group_id=23067 Category: Data insertion/extraction Group: None >Status: Closed Resolution: Accepted Priority: 1 Submitted By: Kris Ven (hinayani) Assigned to: Michal Čihař (nijel) Summary: (in 2.5.4) Improved Latex export Initial Comment: While using phpMyAdmin to automatically generate documentation on my databases, I added the following improvements to the Latex export module (libraries/export/latex.php): - The 'table' environment is removed, because otherwise the longtable is terminated anyway at the end of a page. Only the longtable environment is required. - Table captions are included in the form "table x: Table " and "table x: Table (continued)" if the table spans multiple pages. This makes it easy to recognize the name of the table, since previously the name of the table wasn't included in the output. - A label for each table is also exported in the form "\label{tab:table-}". This is easy when refering to the table in a text. - Changed the format of the 'links to' field to '()', since the greater-than sign is a special character in Latex. See also bug 776957: http://sourceforge.net/tracker/index.php?func=detail&aid=776957&group_id=23067&atid=377408 - Fields that are part of the primary key of a table are highlighted in italic. - Column headings are still centered, but the other rows can have alternative alignment (for example left for the field names). The changes are limited to the 'structure' part of the script. No changes on the data exporting part are done. The patch file attached is against version 1.2 of latex.php, as shipped with phpMyAdmin 2.5.2. ---------------------------------------------------------------------- Comment By: Kris Ven (hinayani) Date: 2003-08-27 21:05 Message: Logged In: YES user_id=590508 Thanks, I will... ---------------------------------------------------------------------- Comment By: Michal Čihař (nijel) Date: 2003-08-26 18:35 Message: Logged In: YES user_id=192186 Merged into cvs, thanks. If you want to make further improvements, please base it on current cvs version. ---------------------------------------------------------------------- Comment By: Kris Ven (hinayani) Date: 2003-08-24 13:28 Message: Logged In: YES user_id=590508 I further developed the Latex export function. I also removed the table environment and added labels and captions for the export of data. Furthermore, the following improvements were added: - Data is now aligned left, instead of centered. Headings are still centered. - Added a function "PMA_texEscape" to reduce duplicate code. The function escapes 'special' tex characters. - Removed redundant \hline in the output of exporting the table structure, which caused a thicker line. - Language strings added for table captions, labels and options. - Added an option to allow the inclusion/exclusion of table captions and labels in the output. - Added an option to allow customization of the table caption. - Added an option to allow customization of the label. In the last two cases, __TABLE__ will be replaced by the name of the current table, as this macro's are already used in other places. I included a patch file (patch2b) that marks to changes compared to phpMyAdmin 2.5.2. To reduce the size of the patch file, only the English language files are included. Any suggestions concerning the features or coding style are welcome. ---------------------------------------------------------------------- Comment By: Michal Čihař (nijel) Date: 2003-08-05 13:29 Message: Logged In: YES user_id=192186 It looks good, I will merge this after 2.5.3 release. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377410&aid=777451&group_id=23067