<?xml version="1.0" encoding="utf-8"?>
<FilingSummary xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Version>2.4.0.8</Version>
  <ProcessingTime />
  <ReportFormat>HtmlAndXml</ReportFormat>
  <ContextCount>376</ContextCount>
  <ElementCount>566</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>119</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>10</UnitCount>
  <MyReports>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>1001 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DocumentDocumentandEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <XmlFileName>R1.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>true</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1003 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/StatementOfFinancialPositionClassified</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <XmlFileName>R2.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1004 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/StatementOfFinancialPositionClassifiedParenthetical</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Parenthetical)</ShortName>
      <XmlFileName>R3.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1005 - Statement - Condensed Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/StatementOfIncome</Role>
      <ShortName>Condensed Consolidated Statements of Operations</ShortName>
      <XmlFileName>R4.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1006 - Statement - Condensed Consolidated Statements of Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/StatementOfOtherComprehensiveIncome</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive Income (Loss)</ShortName>
      <XmlFileName>R5.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1007 - Statement - Condensed Consolidated Statements of Comprehensive Income (Loss) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/StatementOfOtherComprehensiveIncomeParenthetical</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive Income (Loss) (Parenthetical)</ShortName>
      <XmlFileName>R6.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1008 - Statement - Condensed Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/StatementOfCashFlowsIndirect</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows</ShortName>
      <XmlFileName>R7.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1009 - Statement - Consolidated Statements of Shareholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/StatementOfShareholdersEquityAndOtherComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Shareholders' Equity</ShortName>
      <XmlFileName>R8.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>1010 - Disclosure - Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock</Role>
      <ShortName>Business</ShortName>
      <XmlFileName>R9.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>1011 - Disclosure - Restatement of Previously Issued Financial Statements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsAccountingChangesAndErrorCorrectionsTextBlock</Role>
      <ShortName>Restatement of Previously Issued Financial Statements</ShortName>
      <XmlFileName>R10.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>1012 - Disclosure - Summary of Significant Accounting Policies (Restated)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlock</Role>
      <ShortName>Summary of Significant Accounting Policies (Restated)</ShortName>
      <XmlFileName>R11.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>1013 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsInventoryDisclosureTextBlock</Role>
      <ShortName>Inventories</ShortName>
      <XmlFileName>R12.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>1014 - Disclosure - Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsPropertyPlantAndEquipmentDisclosureTextBlock</Role>
      <ShortName>Property and Equipment</ShortName>
      <XmlFileName>R13.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>1015 - Disclosure - Goodwill and Other Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsGoodwillAndIntangibleAssetsDisclosureTextBlock</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <XmlFileName>R14.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>1016 - Disclosure - Preferred Stock Subject to Mandatory Redemption</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsPreferredStockTextBlock</Role>
      <ShortName>Preferred Stock Subject to Mandatory Redemption</ShortName>
      <XmlFileName>R15.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>1017 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsDebtDisclosureTextBlock</Role>
      <ShortName>Debt</ShortName>
      <XmlFileName>R16.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>1018 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlock</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <XmlFileName>R17.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>1019 - Disclosure - Accumulated Other Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsAccumulatedOtherComprehensiveLossNoteTextBlock</Role>
      <ShortName>Accumulated Other Comprehensive Loss</ShortName>
      <XmlFileName>R18.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>1020 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsLeasesOfLesseeDisclosureTextBlock</Role>
      <ShortName>Leases</ShortName>
      <XmlFileName>R19.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>1021 - Disclosure - Stock-based Compensation Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock</Role>
      <ShortName>Stock-based Compensation Plans</ShortName>
      <XmlFileName>R20.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>1022 - Disclosure - Pensions and Other Postretirement Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsPensionAndOtherPostretirementBenefitsDisclosureTextBlock</Role>
      <ShortName>Pensions and Other Postretirement Benefits</ShortName>
      <XmlFileName>R21.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>1023 - Disclosure - Other Employee Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsCompensationAndEmployeeBenefitPlansTextBlock</Role>
      <ShortName>Other Employee Benefits</ShortName>
      <XmlFileName>R22.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>1024 - Disclosure - Fair Value Measurements and Derivative Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsDerivativesAndFairValueTextBlock</Role>
      <ShortName>Fair Value Measurements and Derivative Instruments</ShortName>
      <XmlFileName>R23.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>1025 - Disclosure - Other Non-Operating Income (Expense)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsOtherIncomeAndOtherExpenseDisclosureTextBlock</Role>
      <ShortName>Other Non-Operating Income (Expense)</ShortName>
      <XmlFileName>R24.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>1026 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsIncomeTaxDisclosureTextBlock</Role>
      <ShortName>Income Taxes</ShortName>
      <XmlFileName>R25.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>1027 - Disclosure - Earnings (loss) per Common Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsEarningsPerShareTextBlock</Role>
      <ShortName>Earnings (loss) per Common Share</ShortName>
      <XmlFileName>R26.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>1028 - Disclosure - Discontinued Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsDisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock</Role>
      <ShortName>Discontinued Operations</ShortName>
      <XmlFileName>R27.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>1029 - Disclosure - Carolina Starches Acquisition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsBusinessCombinationDisclosureTextBlock</Role>
      <ShortName>Carolina Starches Acquisition</ShortName>
      <XmlFileName>R28.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>1030 - Disclosure - Segment Reporting (Restated)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsSegmentReportingDisclosureTextBlock</Role>
      <ShortName>Segment Reporting (Restated)</ShortName>
      <XmlFileName>R29.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>1031 - Disclosure - Quarterly Financial Data (Unaudited) (Restated)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsQuarterlyFinancialInformationTextBlock</Role>
      <ShortName>Quarterly Financial Data (Unaudited) (Restated)</ShortName>
      <XmlFileName>R30.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>1032 - Disclosure - Legal Proceedings and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsLegalMattersAndContingenciesTextBlock</Role>
      <ShortName>Legal Proceedings and Contingencies</ShortName>
      <XmlFileName>R31.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>1033 - Disclosure - Summary of Significant Accounting Policies (Restated) (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Restated) (Policies)</ShortName>
      <XmlFileName>R32.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>1034 - Disclosure - Restatement of Previously Issued Financial Statements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsAccountingChangesAndErrorCorrectionsTextBlockTables</Role>
      <ShortName>Restatement of Previously Issued Financial Statements (Tables)</ShortName>
      <XmlFileName>R33.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>1035 - Disclosure - Summary of Significant Accounting Policies (Restated) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Restated) (Tables)</ShortName>
      <XmlFileName>R34.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>1036 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsInventoryDisclosureTextBlockTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <XmlFileName>R35.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>1037 - Disclosure - Property and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsPropertyPlantAndEquipmentDisclosureTextBlockTables</Role>
      <ShortName>Property and Equipment (Tables)</ShortName>
      <XmlFileName>R36.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>1038 - Disclosure - Goodwill and Other Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsGoodwillAndIntangibleAssetsDisclosureTextBlockTables</Role>
      <ShortName>Goodwill and Other Intangible Assets (Tables)</ShortName>
      <XmlFileName>R37.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>1039 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsDebtDisclosureTextBlockTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <XmlFileName>R38.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>1040 - Disclosure - Stockholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables</Role>
      <ShortName>Stockholders' Equity (Tables)</ShortName>
      <XmlFileName>R39.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>1041 - Disclosure - Accumulated Other Comprehensive Loss (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsAccumulatedOtherComprehensiveLossNoteTextBlockTables</Role>
      <ShortName>Accumulated Other Comprehensive Loss (Tables)</ShortName>
      <XmlFileName>R40.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>1042 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsLeasesOfLesseeDisclosureTextBlockTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <XmlFileName>R41.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>1043 - Disclosure - Stock-based Compensation Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlockTables</Role>
      <ShortName>Stock-based Compensation Plans (Tables)</ShortName>
      <XmlFileName>R42.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>1044 - Disclosure - Pensions and Other Postretirement Benefits (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsPensionAndOtherPostretirementBenefitsDisclosureTextBlockTables</Role>
      <ShortName>Pensions and Other Postretirement Benefits (Tables)</ShortName>
      <XmlFileName>R43.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>1045 - Disclosure - Fair Value Measurements and Derivative Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsDerivativesAndFairValueTextBlockTables</Role>
      <ShortName>Fair Value Measurements and Derivative Instruments (Tables)</ShortName>
      <XmlFileName>R44.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>1046 - Disclosure - Other Non-Operating Income (Expense) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsOtherIncomeAndOtherExpenseDisclosureTextBlockTables</Role>
      <ShortName>Other Non-Operating Income (Expense) (Tables)</ShortName>
      <XmlFileName>R45.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>1047 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsIncomeTaxDisclosureTextBlockTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <XmlFileName>R46.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>1048 - Disclosure - Earnings (loss) per Common Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsEarningsPerShareTextBlockTables</Role>
      <ShortName>Earnings (loss) per Common Share (Tables)</ShortName>
      <XmlFileName>R47.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>1049 - Disclosure - Discontinued Operations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsDisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlockTables</Role>
      <ShortName>Discontinued Operations (Tables)</ShortName>
      <XmlFileName>R48.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>1050 - Disclosure - Carolina Starches Acquisition (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsBusinessCombinationDisclosureTextBlockTables</Role>
      <ShortName>Carolina Starches Acquisition (Tables)</ShortName>
      <XmlFileName>R49.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>1051 - Disclosure - Segment Reporting (Restated) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsSegmentReportingDisclosureTextBlockTables</Role>
      <ShortName>Segment Reporting (Restated) (Tables)</ShortName>
      <XmlFileName>R50.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>1052 - Disclosure - Quarterly Financial Data (Unaudited) (Restated) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/NotesToFinancialStatementsQuarterlyFinancialInformationTextBlockTables</Role>
      <ShortName>Quarterly Financial Data (Unaudited) (Restated) (Tables)</ShortName>
      <XmlFileName>R51.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>1053 - Disclosure - Business - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureBusinessAdditionalInformation</Role>
      <ShortName>Business - Additional Information (Detail)</ShortName>
      <XmlFileName>R52.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>1054 - Disclosure - Restatement of Previously Issued Financial Statements - Reconciliation of Sales and Cost of Sales (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsReconciliationOfSalesAndCostOfSales</Role>
      <ShortName>Restatement of Previously Issued Financial Statements - Reconciliation of Sales and Cost of Sales (Detail)</ShortName>
      <XmlFileName>R53.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>1055 - Disclosure - Restatement of Previously Issued Financial Statements - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsAdditionalInformation</Role>
      <ShortName>Restatement of Previously Issued Financial Statements - Additional Information (Detail)</ShortName>
      <XmlFileName>R54.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>1056 - Disclosure - Summary of Significant Accounting Policies (Restated) - Allowance for Doubtful Accounts Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesRestatedAllowanceForDoubtfulAccountsActivity</Role>
      <ShortName>Summary of Significant Accounting Policies (Restated) - Allowance for Doubtful Accounts Activity (Detail)</ShortName>
      <XmlFileName>R55.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>1057 - Disclosure - Summary of Significant Accounting Policies (Restated) - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesRestatedAdditionalInformation</Role>
      <ShortName>Summary of Significant Accounting Policies (Restated) - Additional Information (Detail)</ShortName>
      <XmlFileName>R56.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>1058 - Disclosure - Summary of Significant Accounting Policies (Restated) - Components of Accrued Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesRestatedComponentsOfAccruedLiabilities</Role>
      <ShortName>Summary of Significant Accounting Policies (Restated) - Components of Accrued Liabilities (Detail)</ShortName>
      <XmlFileName>R57.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>1059 - Disclosure - Inventories - Components of Inventory (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureInventoriesComponentsOfInventory</Role>
      <ShortName>Inventories - Components of Inventory (Detail)</ShortName>
      <XmlFileName>R58.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>1060 - Disclosure - Property and Equipment - Components of Property and Equipment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosurePropertyAndEquipmentComponentsOfPropertyAndEquipment</Role>
      <ShortName>Property and Equipment - Components of Property and Equipment (Detail)</ShortName>
      <XmlFileName>R59.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>1061 - Disclosure - Property and Equipment - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformation</Role>
      <ShortName>Property and Equipment - Additional Information (Detail)</ShortName>
      <XmlFileName>R60.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>1062 - Disclosure - Goodwill and Other Intangible Assets - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsAdditionalInformation</Role>
      <ShortName>Goodwill and Other Intangible Assets - Additional Information (Detail)</ShortName>
      <XmlFileName>R61.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>1063 - Disclosure - Goodwill and Other Intangible Assets - Goodwill (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsGoodwill</Role>
      <ShortName>Goodwill and Other Intangible Assets - Goodwill (Detail)</ShortName>
      <XmlFileName>R62.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>1064 - Disclosure - Goodwill and Other Intangible Assets - Carrying Amount and Accumulated Amortization of Intangible Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsCarryingAmountAndAccumulatedAmortizationOfIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets - Carrying Amount and Accumulated Amortization of Intangible Assets (Detail)</ShortName>
      <XmlFileName>R63.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>1065 - Disclosure - Preferred Stock Subject to Mandatory Redemption - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosurePreferredStockSubjectToMandatoryRedemptionAdditionalInformation</Role>
      <ShortName>Preferred Stock Subject to Mandatory Redemption - Additional Information (Detail)</ShortName>
      <XmlFileName>R64.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>1066 - Disclosure - Debt - Long-term Debt and Capital Lease Obligations Current and Non Current (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureDebtLongtermDebtAndCapitalLeaseObligationsCurrentAndNonCurrent</Role>
      <ShortName>Debt - Long-term Debt and Capital Lease Obligations Current and Non Current (Detail)</ShortName>
      <XmlFileName>R65.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>1067 - Disclosure - Debt - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureDebtAdditionalInformation</Role>
      <ShortName>Debt - Additional Information (Detail)</ShortName>
      <XmlFileName>R66.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>1068 - Disclosure - Debt - Schedule of Maturities of Long-term Debt (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureDebtScheduleOfMaturitiesOfLongtermDebt</Role>
      <ShortName>Debt - Schedule of Maturities of Long-term Debt (Detail)</ShortName>
      <XmlFileName>R67.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>1069 - Disclosure - Stockholders' Equity - Common Shares Outstanding (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureStockholdersEquityCommonSharesOutstanding</Role>
      <ShortName>Stockholders' Equity - Common Shares Outstanding (Detail)</ShortName>
      <XmlFileName>R68.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>1070 - Disclosure - Stockholders' Equity - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureStockholdersEquityAdditionalInformation</Role>
      <ShortName>Stockholders' Equity - Additional Information (Detail)</ShortName>
      <XmlFileName>R69.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>1071 - Disclosure - Accumulated Other Comprehensive Loss - Components of Accumulated Other Comprehensive Loss (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfAccumulatedOtherComprehensiveLoss</Role>
      <ShortName>Accumulated Other Comprehensive Loss - Components of Accumulated Other Comprehensive Loss (Detail)</ShortName>
      <XmlFileName>R70.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>1072 - Disclosure - Leases - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureLeasesAdditionalInformation</Role>
      <ShortName>Leases - Additional Information (Detail)</ShortName>
      <XmlFileName>R71.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>1073 - Disclosure - Leases - Future Minimum Lease Payments for Noncancelable Operating and Capital Leases (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureLeasesFutureMinimumLeasePaymentsForNoncancelableOperatingAndCapitalLeases</Role>
      <ShortName>Leases - Future Minimum Lease Payments for Noncancelable Operating and Capital Leases (Detail)</ShortName>
      <XmlFileName>R72.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>1074 - Disclosure - Stock-based Compensation Plans - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureStockbasedCompensationPlansAdditionalInformation</Role>
      <ShortName>Stock-based Compensation Plans - Additional Information (Detail)</ShortName>
      <XmlFileName>R73.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>1075 - Disclosure - Stock-based Compensation Plans - Schedule of Share Based Compensation Stock Options Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureStockbasedCompensationPlansScheduleOfShareBasedCompensationStockOptionsActivity</Role>
      <ShortName>Stock-based Compensation Plans - Schedule of Share Based Compensation Stock Options Activity (Detail)</ShortName>
      <XmlFileName>R74.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>1076 - Disclosure - Stock-based Compensation Plans - Schedule of Share Based Payment Award Stock Options Valuation Assumptions (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureStockbasedCompensationPlansScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptions</Role>
      <ShortName>Stock-based Compensation Plans - Schedule of Share Based Payment Award Stock Options Valuation Assumptions (Detail)</ShortName>
      <XmlFileName>R75.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>1077 - Disclosure - Stock-based Compensation Plans - Schedule of Share-Based Compensation, Restricted Stock Award Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureStockbasedCompensationPlansScheduleOfShareBasedCompensationRestrictedStockAwardActivity</Role>
      <ShortName>Stock-based Compensation Plans - Schedule of Share-Based Compensation, Restricted Stock Award Activity (Detail)</ShortName>
      <XmlFileName>R76.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>1078 - Disclosure - Stock-based Compensation Plans - Schedule of Employee Service Share-Based Compensation, Allocation of Recognized Period Costs (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureStockbasedCompensationPlansScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCosts</Role>
      <ShortName>Stock-based Compensation Plans - Schedule of Employee Service Share-Based Compensation, Allocation of Recognized Period Costs (Detail)</ShortName>
      <XmlFileName>R77.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>1079 - Disclosure - Pensions and Other Postretirement Benefits - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosurePensionsAndOtherPostretirementBenefitsAdditionalInformation</Role>
      <ShortName>Pensions and Other Postretirement Benefits - Additional Information (Detail)</ShortName>
      <XmlFileName>R78.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>1080 - Disclosure - Pensions and Other Postretirement Benefits - Summary of Pension and Other Postretirement Benefit Plans (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosurePensionsAndOtherPostretirementBenefitsSummaryOfPensionAndOtherPostretirementBenefitPlans</Role>
      <ShortName>Pensions and Other Postretirement Benefits - Summary of Pension and Other Postretirement Benefit Plans (Detail)</ShortName>
      <XmlFileName>R79.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>1081 - Disclosure - Pensions and Other Postretirement Benefits - Components of Accumulated Other Comprehensive Loss Unrecognized (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosurePensionsAndOtherPostretirementBenefitsComponentsOfAccumulatedOtherComprehensiveLossUnrecognized</Role>
      <ShortName>Pensions and Other Postretirement Benefits - Components of Accumulated Other Comprehensive Loss Unrecognized (Detail)</ShortName>
      <XmlFileName>R80.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>1082 - Disclosure - Pensions and Other Postretirement Benefits - Benefit Obligations in Excess of Fair Value of Plan Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosurePensionsAndOtherPostretirementBenefitsBenefitObligationsInExcessOfFairValueOfPlanAssets</Role>
      <ShortName>Pensions and Other Postretirement Benefits - Benefit Obligations in Excess of Fair Value of Plan Assets (Detail)</ShortName>
      <XmlFileName>R81.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>1083 - Disclosure - Pensions and Other Postretirement Benefits - Components of Net Periodic Benefit Cost (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosurePensionsAndOtherPostretirementBenefitsComponentsOfNetPeriodicBenefitCost</Role>
      <ShortName>Pensions and Other Postretirement Benefits - Components of Net Periodic Benefit Cost (Detail)</ShortName>
      <XmlFileName>R82.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>1084 - Disclosure - Pensions and Other Postretirement Benefits - Benefit Plan Assumptions (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosurePensionsAndOtherPostretirementBenefitsBenefitPlanAssumptions</Role>
      <ShortName>Pensions and Other Postretirement Benefits - Benefit Plan Assumptions (Detail)</ShortName>
      <XmlFileName>R83.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>1085 - Disclosure - Pensions and Other Postretirement Benefits - Assumed Health Care Cost Trend Rates (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosurePensionsAndOtherPostretirementBenefitsAssumedHealthCareCostTrendRates</Role>
      <ShortName>Pensions and Other Postretirement Benefits - Assumed Health Care Cost Trend Rates (Detail)</ShortName>
      <XmlFileName>R84.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>1086 - Disclosure - Pensions and Other Postretirement Benefits - Effect of Changes in Assumed Health Care Cost Trend Rate (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosurePensionsAndOtherPostretirementBenefitsEffectOfChangesInAssumedHealthCareCostTrendRate</Role>
      <ShortName>Pensions and Other Postretirement Benefits - Effect of Changes in Assumed Health Care Cost Trend Rate (Detail)</ShortName>
      <XmlFileName>R85.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>1087 - Disclosure - Pensions and Other Postretirement Benefits - Weighted Average Asset Allocations of Investment Portfolio for Pension Plans (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosurePensionsAndOtherPostretirementBenefitsWeightedAverageAssetAllocationsOfInvestmentPortfolioForPensionPlans</Role>
      <ShortName>Pensions and Other Postretirement Benefits - Weighted Average Asset Allocations of Investment Portfolio for Pension Plans (Detail)</ShortName>
      <XmlFileName>R86.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>1088 - Disclosure - Pensions and Other Postretirement Benefits - Fair Value of Pension Plan's Assets by Major Asset Category (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosurePensionsAndOtherPostretirementBenefitsFairValueOfPensionPlansAssetsByMajorAssetCategory</Role>
      <ShortName>Pensions and Other Postretirement Benefits - Fair Value of Pension Plan's Assets by Major Asset Category (Detail)</ShortName>
      <XmlFileName>R87.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>1089 - Disclosure - Pensions and Other Postretirement Benefits - Changes in Fair Value of Pension Plan's Real Estate Equity Fund (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosurePensionsAndOtherPostretirementBenefitsChangesInFairValueOfPensionPlansRealEstateEquityFund</Role>
      <ShortName>Pensions and Other Postretirement Benefits - Changes in Fair Value of Pension Plan's Real Estate Equity Fund (Detail)</ShortName>
      <XmlFileName>R88.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>1090 - Disclosure - Pensions and Other Postretirement Benefits - Expected Benefit Payments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosurePensionsAndOtherPostretirementBenefitsExpectedBenefitPayments</Role>
      <ShortName>Pensions and Other Postretirement Benefits - Expected Benefit Payments (Detail)</ShortName>
      <XmlFileName>R89.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>1091 - Disclosure - Other Employee Benefits - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureOtherEmployeeBenefitsAdditionalInformation</Role>
      <ShortName>Other Employee Benefits - Additional Information (Detail)</ShortName>
      <XmlFileName>R90.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>1092 - Disclosure - Fair Value Measurements and Derivative Instruments - Fair Values of Company's Derivatives (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureFairValueMeasurementsAndDerivativeInstrumentsFairValuesOfCompanysDerivatives</Role>
      <ShortName>Fair Value Measurements and Derivative Instruments - Fair Values of Company's Derivatives (Detail)</ShortName>
      <XmlFileName>R91.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>1093 - Disclosure - Fair Value Measurements and Derivative Instruments - Fair Values of Company's Derivatives (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureFairValueMeasurementsAndDerivativeInstrumentsFairValuesOfCompanysDerivativesParenthetical</Role>
      <ShortName>Fair Value Measurements and Derivative Instruments - Fair Values of Company's Derivatives (Parenthetical) (Detail)</ShortName>
      <XmlFileName>R92.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>1094 - Disclosure - Fair Value Measurements and Derivative Instruments - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureFairValueMeasurementsAndDerivativeInstrumentsAdditionalInformation</Role>
      <ShortName>Fair Value Measurements and Derivative Instruments - Additional Information (Detail)</ShortName>
      <XmlFileName>R93.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>1095 - Disclosure - Fair Value Measurements and Derivative Instruments - Outstanding Futures Contracts (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureFairValueMeasurementsAndDerivativeInstrumentsOutstandingFuturesContracts</Role>
      <ShortName>Fair Value Measurements and Derivative Instruments - Outstanding Futures Contracts (Detail)</ShortName>
      <XmlFileName>R94.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>1096 - Disclosure - Fair Value Measurements and Derivative Instruments - Fair Values of Company's Derivatives by Contract Type (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureFairValueMeasurementsAndDerivativeInstrumentsFairValuesOfCompanysDerivativesByContractType</Role>
      <ShortName>Fair Value Measurements and Derivative Instruments - Fair Values of Company's Derivatives by Contract Type (Detail)</ShortName>
      <XmlFileName>R95.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>1097 - Disclosure - Fair Value Measurements and Derivative Instruments - Effect of Derivative Instruments on Financial Performance (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureFairValueMeasurementsAndDerivativeInstrumentsEffectOfDerivativeInstrumentsOnFinancialPerformance</Role>
      <ShortName>Fair Value Measurements and Derivative Instruments - Effect of Derivative Instruments on Financial Performance (Detail)</ShortName>
      <XmlFileName>R96.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>1098 - Disclosure - Other Non-Operating Income (Expense) - Other Non-Operating Income (Expense) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureOtherNonOperatingIncomeExpenseOtherNonOperatingIncomeExpense</Role>
      <ShortName>Other Non-Operating Income (Expense) - Other Non-Operating Income (Expense) (Detail)</ShortName>
      <XmlFileName>R97.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>1099 - Disclosure - Other Non-operating Income (Expense) - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureOtherNonoperatingIncomeExpenseAdditionalInformation</Role>
      <ShortName>Other Non-operating Income (Expense) - Additional Information (Detail)</ShortName>
      <XmlFileName>R98.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>1100 - Disclosure - Income Taxes - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureIncomeTaxesAdditionalInformation</Role>
      <ShortName>Income Taxes - Additional Information (Detail)</ShortName>
      <XmlFileName>R99.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>1101 - Disclosure - Income Taxes - Schedule of Income Tax Expense (Benefit) on Continuing Operations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureIncomeTaxesScheduleOfIncomeTaxExpenseBenefitOnContinuingOperations</Role>
      <ShortName>Income Taxes - Schedule of Income Tax Expense (Benefit) on Continuing Operations (Detail)</ShortName>
      <XmlFileName>R100.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>1102 - Disclosure - Income Taxes - Schedule of Allocable Comprehensive Tax Expense (Benefit) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureIncomeTaxesScheduleOfAllocableComprehensiveTaxExpenseBenefit</Role>
      <ShortName>Income Taxes - Schedule of Allocable Comprehensive Tax Expense (Benefit) (Detail)</ShortName>
      <XmlFileName>R101.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>1103 - Disclosure - Income Taxes - Reconciliation of Statutory Federal Tax to Actual Provision (Benefit) for Taxes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureIncomeTaxesReconciliationOfStatutoryFederalTaxToActualProvisionBenefitForTaxes</Role>
      <ShortName>Income Taxes - Reconciliation of Statutory Federal Tax to Actual Provision (Benefit) for Taxes (Detail)</ShortName>
      <XmlFileName>R102.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>1104 - Disclosure - Income Taxes - Schedule of Significant Components of Deferred Tax Assets and Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilities</Role>
      <ShortName>Income Taxes - Schedule of Significant Components of Deferred Tax Assets and Liabilities (Detail)</ShortName>
      <XmlFileName>R103.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>1105 - Disclosure - Income Taxes - Reconciliation of Beginning and Ending Amount of Unrecognized Tax Benefits (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureIncomeTaxesReconciliationOfBeginningAndEndingAmountOfUnrecognizedTaxBenefits</Role>
      <ShortName>Income Taxes - Reconciliation of Beginning and Ending Amount of Unrecognized Tax Benefits (Detail)</ShortName>
      <XmlFileName>R104.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>1106 - Disclosure - Earnings (loss) per Common Share - Reconciliation of Income from Operations Applicable to Common Shares and Computation of Diluted Weighted Average Shares Outstanding (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureEarningslossPerCommonShareReconciliationOfIncomeFromOperationsApplicableToCommonSharesAndComputationOfDilutedWeightedAverageSharesOutstanding</Role>
      <ShortName>Earnings (loss) per Common Share - Reconciliation of Income from Operations Applicable to Common Shares and Computation of Diluted Weighted Average Shares Outstanding (Detail)</ShortName>
      <XmlFileName>R105.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>1107 - Disclosure - Earnings (loss) per Common Share - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureEarningslossPerCommonShareAdditionalInformation</Role>
      <ShortName>Earnings (loss) per Common Share - Additional Information (Detail)</ShortName>
      <XmlFileName>R106.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>1108 - Disclosure - Discontinued Operations - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureDiscontinuedOperationsAdditionalInformation</Role>
      <ShortName>Discontinued Operations - Additional Information (Detail)</ShortName>
      <XmlFileName>R107.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>1109 - Disclosure - Discontinued Operations - Financial Information for Discontinued Operations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureDiscontinuedOperationsFinancialInformationForDiscontinuedOperations</Role>
      <ShortName>Discontinued Operations - Financial Information for Discontinued Operations (Detail)</ShortName>
      <XmlFileName>R108.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>1110 - Disclosure - Caroline Starches Acquisition - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureCarolineStarchesAcquisitionAdditionalInformation</Role>
      <ShortName>Caroline Starches Acquisition - Additional Information (Detail)</ShortName>
      <XmlFileName>R109.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>1111 - Disclosure - Carolina Starches Acquisition - Purchase Price Allocation to Assets Acquired and Liabilities Assumed (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureCarolinaStarchesAcquisitionPurchasePriceAllocationToAssetsAcquiredAndLiabilitiesAssumed</Role>
      <ShortName>Carolina Starches Acquisition - Purchase Price Allocation to Assets Acquired and Liabilities Assumed (Detail)</ShortName>
      <XmlFileName>R110.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>1112 - Disclosure - Segment Reporting (Restated) - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureSegmentReportingRestatedAdditionalInformation</Role>
      <ShortName>Segment Reporting (Restated) - Additional Information (Detail)</ShortName>
      <XmlFileName>R111.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>1113 - Disclosure - Segment Reporting (Restated) - Segment Wide Reporting Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureSegmentReportingRestatedSegmentWideReportingInformation</Role>
      <ShortName>Segment Reporting (Restated) - Segment Wide Reporting Information (Detail)</ShortName>
      <XmlFileName>R112.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R113.htm</HtmlFileName>
      <LongName>1114 - Disclosure - Segment Reporting (Restated) - Assets by Segment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureSegmentReportingRestatedAssetsBySegment</Role>
      <ShortName>Segment Reporting (Restated) - Assets by Segment (Detail)</ShortName>
      <XmlFileName>R113.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R114.htm</HtmlFileName>
      <LongName>1115 - Disclosure - Segment Reporting (Restated) - Reconciliation of Income (Loss) from Operations for Segments to Income (Loss) Before Income Taxes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureSegmentReportingRestatedReconciliationOfIncomeLossFromOperationsForSegmentsToIncomeLossBeforeIncomeTaxes</Role>
      <ShortName>Segment Reporting (Restated) - Reconciliation of Income (Loss) from Operations for Segments to Income (Loss) Before Income Taxes (Detail)</ShortName>
      <XmlFileName>R114.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R115.htm</HtmlFileName>
      <LongName>1116 - Disclosure - Segment Reporting (Restated) - Sales, Attributed to Area to Which Product was Shipped (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureSegmentReportingRestatedSalesAttributedToAreaToWhichProductWasShipped</Role>
      <ShortName>Segment Reporting (Restated) - Sales, Attributed to Area to Which Product was Shipped (Detail)</ShortName>
      <XmlFileName>R115.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R116.htm</HtmlFileName>
      <LongName>1117 - Disclosure - Quarterly Financial Data (Unaudited) (Restated) - Summary of Quarterly Financial Data (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureQuarterlyFinancialDataUnauditedRestatedSummaryOfQuarterlyFinancialData</Role>
      <ShortName>Quarterly Financial Data (Unaudited) (Restated) - Summary of Quarterly Financial Data (Detail)</ShortName>
      <XmlFileName>R116.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R117.htm</HtmlFileName>
      <LongName>1118 - Disclosure - Quarterly Financial Data (Unaudited) (Restated) - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureQuarterlyFinancialDataUnauditedRestatedAdditionalInformation</Role>
      <ShortName>Quarterly Financial Data (Unaudited) (Restated) - Additional Information (Detail)</ShortName>
      <XmlFileName>R117.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R118.htm</HtmlFileName>
      <LongName>1119 - Disclosure - Quarterly Financial Data (Unaudited) (Restated) - Reconciliation of Restated Amounts of Sales and Cost of Sales (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureQuarterlyFinancialDataUnauditedRestatedReconciliationOfRestatedAmountsOfSalesAndCostOfSales</Role>
      <ShortName>Quarterly Financial Data (Unaudited) (Restated) - Reconciliation of Restated Amounts of Sales and Cost of Sales (Detail)</ShortName>
      <XmlFileName>R118.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R119.htm</HtmlFileName>
      <LongName>1120 - Disclosure - Legal Proceedings and Contingencies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.penx.com/taxonomy/role/DisclosureLegalProceedingsAndContingenciesAdditionalInformation</Role>
      <ShortName>Legal Proceedings and Contingencies - Additional Information (Detail)</ShortName>
      <XmlFileName>R119.xml</XmlFileName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Info">Element us-gaap_DefinedBenefitPlanContributionsByEmployer had a mix of decimals attribute values: -5 -3.</Log>
    <Log type="Info">Element us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities had a mix of decimals attribute values: -3 0.</Log>
    <Log type="Info">Element us-gaap_OtherNonoperatingExpense had a mix of decimals attribute values: -5 -3.</Log>
    <Log type="Info">Element us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock had a mix of decimals attribute values: -5 -3.</Log>
    <Log type="Info">Element us-gaap_PreferredStockValue had a mix of decimals attribute values: -5 -3.</Log>
    <Log type="Info">'Monetary' elements on report '1062 - Disclosure - Goodwill and Other Intangible Assets - Additional Information (Detail)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '1065 - Disclosure - Preferred Stock Subject to Mandatory Redemption - Additional Information (Detail)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '1067 - Disclosure - Debt - Additional Information (Detail)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '1074 - Disclosure - Stock-based Compensation Plans - Additional Information (Detail)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '1079 - Disclosure - Pensions and Other Postretirement Benefits - Additional Information (Detail)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '1091 - Disclosure - Other Employee Benefits - Additional Information (Detail)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '1094 - Disclosure - Fair Value Measurements and Derivative Instruments - Additional Information (Detail)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '1100 - Disclosure - Income Taxes - Additional Information (Detail)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '1110 - Disclosure - Caroline Starches Acquisition - Additional Information (Detail)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '1112 - Disclosure - Segment Reporting (Restated) - Additional Information (Detail)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '1120 - Disclosure - Legal Proceedings and Contingencies - Additional Information (Detail)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">Process Flow-Through: 1003 - Statement - Condensed Consolidated Balance Sheets</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Aug. 31, 2010'</Log>
    <Log type="Info">Process Flow-Through: 1004 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)</Log>
    <Log type="Info">Process Flow-Through: 1005 - Statement - Condensed Consolidated Statements of Operations</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Aug. 31, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
May 31, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Feb. 29, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Nov. 30, 2011'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Aug. 31, 2011'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
May 31, 2011'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Feb. 28, 2011'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Nov. 30, 2010'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '12 Months Ended
Aug. 21, 2010'</Log>
    <Log type="Info">Process Flow-Through: 1006 - Statement - Condensed Consolidated Statements of Comprehensive Income (Loss)</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Aug. 31, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
May 31, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Feb. 29, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Nov. 30, 2011'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Aug. 31, 2011'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
May 31, 2011'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Feb. 28, 2011'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Nov. 30, 2010'</Log>
    <Log type="Info">Process Flow-Through: 1007 - Statement - Condensed Consolidated Statements of Comprehensive Income (Loss) (Parenthetical)</Log>
    <Log type="Info">Process Flow-Through: 1008 - Statement - Condensed Consolidated Statements of Cash Flows</Log>
  </Logs>
  <InputFiles>
    <File>penx-20120831.xml</File>
    <File>penx-20120831.xsd</File>
    <File>penx-20120831_cal.xml</File>
    <File>penx-20120831_def.xml</File>
    <File>penx-20120831_lab.xml</File>
    <File>penx-20120831_pre.xml</File>
  </InputFiles>
  <SupplementalFiles />
  <BaseTaxonomies />
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
